validate_keyrow¶
- sofia_redux.instruments.forcast.hdcheck.validate_keyrow(header, keyrow, dripconf=False)[source]¶
Check if a header of a FITS file matches a keyword requirement
- Parameters:
- headerastropy.io.fits.header.Header
- keyrowpandas.Series
Single key series from keywords table
- dripconfbool
If True, use the drip configuration to check for a keyword in addition to the header
- Returns
- ——-
- bool
True if header follows requirement, False if not