Skip to content

Commit

Permalink
Merge pull request #118 from hiyoneda/scat_binning
Browse files Browse the repository at this point in the history
A bug fix due to parameter changes in the orientation module
  • Loading branch information
israelmcmc authored Dec 1, 2023
2 parents f51e16a + 2854459 commit 1e22cc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cosipy/image_deconvolution/coordsys_conversion_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ def time_binning_ccm(cls, full_detector_response, orientation, time_intervals, n
filtered_orientation = orientation.source_interval(init_time, end_time)
pixel_movement = filtered_orientation.get_target_in_sc_frame(target_name = f"pixel_{ipix}_{i_time}",
target_coord = pixel_coord,
quiet = True)
quiet = True,
save = False)

time_diff = filtered_orientation.get_time_delta()

dwell_time_map = filtered_orientation.get_dwell_map(response = full_detector_response.filename,
dts = time_diff,
src_path = pixel_movement,
quiet = True)
save = False)

ccm_thispix[i_time] = dwell_time_map.data
# (HealpixMap).data returns the numpy array without its unit. dwell_time_map.unit is u.s.
Expand Down

0 comments on commit 1e22cc4

Please sign in to comment.