Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't assume inttag input is time-sorted #118

Open
sean-lockwood opened this issue Jun 25, 2020 · 0 comments
Open

Don't assume inttag input is time-sorted #118

sean-lockwood opened this issue Jun 25, 2020 · 0 comments

Comments

@sean-lockwood
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant