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

Power spectra of data with regular gaps #23

Open
aarranshaw opened this issue Nov 10, 2017 · 2 comments
Open

Power spectra of data with regular gaps #23

aarranshaw opened this issue Nov 10, 2017 · 2 comments

Comments

@aarranshaw
Copy link

Hey guys, just following up on something I spoke to Abbie about. A lot of high energy data has regular gaps due to Earth Occultations and such, I'd love it if there was a feature to account for this, or just a tutorial on how to deal with the gaps so the X-ray folks can still easily do FFTs on their data.

An example: NuSTAR data has regular Earth Occultation gaps, but apart from that, I generally just bin my data evenly - 1s time bins for example. I can just run this data through powspec and it just ignores the gaps (GTIs are in NuSTAR light curves as a separate fits extension, so I think it picks up on that) and does the power spectrum. However, I hate powspec, and want to move to python to have more control over my timing analysis, Stingray is the perfect answer, but it would be nice to be able to deal with gaps if possible :)

Great work on Stingray by the way, it's a really nice set of tools!

@aarranshaw
Copy link
Author

Aaaaand I've just realized I've put this in the notebooks section. I'll move it to stingray. Sorry!

@matteobachetti
Copy link
Member

@Aarran89 Thanks for reporting this anyway. Daniela has answered your Stingray issue, and she said we do already take into account gaps if they are encoded in GTIs!

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

No branches or pull requests

2 participants