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

Enable flagging for tod stats #1046

Open
earosenberg opened this issue Nov 28, 2024 · 0 comments
Open

Enable flagging for tod stats #1046

earosenberg opened this issue Nov 28, 2024 · 0 comments
Labels
enhancement New feature or request preprocess

Comments

@earosenberg
Copy link
Contributor

In #1028 we added summary statistics for tod, subscans, and PSDs, computed along the samps (or nusamps) axis. A boolean array or slice can be passed to flags.get_stats (link) to mask the signal array before computing the statistics. This was added to enable limiting the frequency range if the signal is a PSD.

Currently the mask is limited to 1d samps/nusamps, and cannot be used with subscan=True. It would be nice to

  • Allow mask to be a Ranges
  • Allow mask to be 2d / RangesMatrix
  • Combine the mask with subscan_flags to allow masking and subscan computation together.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preprocess
Projects
None yet
Development

No branches or pull requests

1 participant