ReductionVersion#

class sofia_redux.scan.reduction.version.ReductionVersion[source]#

Bases: ABC

Initialize the reduction version information.

The reduction version is used to store a few directory paths including the reduction work path, retrieve the reduction version information and add this information to headers.

Attributes Summary

Methods Summary

add_history(header)

Add history messages to a header.

get_full_version()

Return the SOFSCAN full version string.

Attributes Documentation

revision = ''#
version = '1.0.0'#

Methods Documentation

classmethod add_history(header)[source]#

Add history messages to a header.

Parameters:
headerastropy.io.fits.header.Header
Returns:
None
classmethod get_full_version()[source]#

Return the SOFSCAN full version string.

Returns:
versionstr