Skip to content

Commit

Permalink
test on times
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmagalhaes committed Nov 8, 2024
1 parent 13529e1 commit aec740b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/astrohack/core/extract_holog.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,11 @@ def create_holog_meta_data(holog_file, holog_dict, input_params):

@njit(cache=False, nogil=True)
def _get_time_index(data_time, i_time, time_axis, half_int):
print(data_time)
if i_time == time_axis.shape[0]:
return -1
while data_time > time_axis[i_time] + half_int:
print(time_axis[i_time])
i_time += 1
if i_time == time_axis.shape[0]:
return -1
Expand Down

0 comments on commit aec740b

Please sign in to comment.