ImageSoftware

class msumastro.header_processing.feder.ImageSoftware(name, fits_name=None, major_version=None, minor_version=None, bad_keywords=None, fits_keyword=None, purged_flag_keyword=None)[source]

Bases: object

Represents software that takes images at telescope.

Parameters
namestr

Name of the software. Can be the same is the name in the FITS file, or not.

fits_keywordstr

Name of the FITS keyword that contains the name of the software.

fits_namelist of str

Name of the software as written in the FITS file

major_versionint

Major version number of the software.

minor_versionint

Minor version number of the software.

bad_keywordslist of strings

Names of any keywords that should be removed from the FITS before further processing.

purged_flag_keywordstr, optional

Name of the keyword which indicates whether bad keywords have already been purged. Default value is ‘PURGED’

Methods Summary

created_this(self, version_string)

Indicate whether version string matches this software

Methods Documentation

created_this(self, version_string)[source]

Indicate whether version string matches this software

Parameters
version_stringstr

String from FITS header that indicates software version.

Returns
bool

True if the version string matches the software instance.