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

Need a generic spectrograph class #733

Open
jhennawi opened this issue Jun 26, 2019 · 0 comments
Open

Need a generic spectrograph class #733

jhennawi opened this issue Jun 26, 2019 · 0 comments
Assignees

Comments

@jhennawi
Copy link
Collaborator

Hi All, I think we should have the option to instantiate a generic spectrograph
currently this is not possible for cases where 'INSTRUME' didn't get written to the header.
I'd like to be able to access things like standard header cards or whatever
I think the load_spectrograph(None) should return this generic spectrograph instead of None
Right now if I try:

from pypeit.spectrographs.spectrograph import Spectrograph
spectrograph = Spectrograph()
returns errors because it cannot validate the meta data model
Thoughts?

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

2 participants