Expand to expect keywords from the IVOA Spectrum data model?
Opened this issue · 2 comments
Are you interested in pull requests which expand the scope and generality of this package? In particular, we would add some expected header keywords to the HeaderSchema class from the IVOA Spectrum Data Model such as RA, Dec, Aperture, Specband, Spec_val, Spec_BW, TDMIN1, TDMAX1. Would you want to see these additions in a pull request or would you prefer we make our own custom HeaderSchema class for spectra?
Hi,
I thought this repo as limited to the fits standard itself, see e.g. ogadf schema for using this for a specific format
Ahhh, ok. So, I could have a module like common_headers where I could define the SpectrumHeader
class and then
SpectrumHeader.verify_header('my_header')
would check both the keywords I added to the SpectrumHeader class and the keywords in the HeaderSchema
? Am I understanding the way this works correctly?