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

Add possibility to load in STIX spectrograms outputted from IDL (for ospex) #104

Closed
natsat0919 opened this issue Jun 5, 2023 · 0 comments

Comments

@natsat0919
Copy link
Contributor

Describe the feature

Currently Sunxspex can only handle spectrograms directly from the data centre, however one can also get a spectrogram outputted by stx_convert_spectrogram IDL routine. This spectrogram contains some updated corrections and uncertainty analysis that are not yet implemented to Sunxspex. It would be good to have an option for a user to be able to load in these spectrograms as well.

Proposed solution

Simply add another function in addition to _get_spec_file_info inside stix_spec_code.py that will be able to load in these spectrograms. The loading is very similar for both the data centre and IDL spectrograms, just some minor changes to keyword formatting and time and counts loading.

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

1 participant