Open sean-lockwood opened 4 years ago
Update inttag to not assume TAG events are sorted in time-order. This is helpful when users are manually splicing together multiple tag files.
inttag
E.g., when allevents=True, use .min() and .max() instead of [0] and [-1]: https://github.com/spacetelescope/stistools/blob/master/stistools/inttag.py#L110
allevents=True
.min()
.max()
[0]
[-1]
Update
inttag
to not assume TAG events are sorted in time-order. This is helpful when users are manually splicing together multiple tag files.E.g., when
allevents=True
, use.min()
and.max()
instead of[0]
and[-1]
: https://github.com/spacetelescope/stistools/blob/master/stistools/inttag.py#L110