Skip to content

Commit d0b0959

Browse files
committed
Rename short_end to usable_burst_end_epoch
1 parent 43eb575 commit d0b0959

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

imap_processing/mag/l1c/mag_l1c.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,14 @@ def interpolate_gaps(
509509
(filled_timeline_epochs > gap[0]) & (filled_timeline_epochs < gap[1])
510510
]
511511

512-
short_end = burst_epochs[burst_end - 1]
512+
usable_burst_end_epoch = burst_epochs[burst_end - 1]
513513
if not has_norm_context:
514514
# In the burst-only fallback, CIC delay compensation shortens the usable
515515
# filtered range at the trailing edge by roughly one output cadence.
516-
short_end -= int(1e9 / norm_rate.value)
516+
usable_burst_end_epoch -= int(1e9 / norm_rate.value)
517517

518518
short = (gap_timeline >= burst_epochs[burst_start]) & (
519-
gap_timeline <= short_end
519+
gap_timeline <= usable_burst_end_epoch
520520
)
521521
num_short = int(short.sum())
522522

0 commit comments

Comments
 (0)