pipeline.domain.datatype.DataType

class DataType(*values)[source]

Bases: Enum

Enumeration of data types used in the pipeline.

RAW

Raw, unprocessed data.

REGCAL_CONTLINE_ALL

Regular calibrated data for all scans.

BASELINED

Data after spectral baseline subtraction.

ATMCORR

Data corrected for residual atmospheric effects.

REGCAL_CONT_SCIENCE

Regular calibrated continuum-only data for target scans.

SELFCAL_CONT_SCIENCE

Self-calibrated continuum-only data for target scans.

REGCAL_CONTLINE_SCIENCE

Regular calibrated data for target scans.

SELFCAL_CONTLINE_SCIENCE

Self-calibrated data for target scans.

REGCAL_LINE_SCIENCE

Regular calibrated spectral line data.

SELFCAL_LINE_SCIENCE

Self-calibrated spectral line data.

Methods

get_specmode_datatypes

Return valid datatypes for given intent and specmode.

get_short_datatype_desc

Return a short summary string for weblog purposes.

Attributes

RAW

REGCAL_CONTLINE_ALL

ATMCORR

BASELINED

REGCAL_CONTLINE_SCIENCE

SELFCAL_CONTLINE_SCIENCE

REGCAL_CONT_SCIENCE

SELFCAL_CONT_SCIENCE

REGCAL_LINE_SCIENCE

SELFCAL_LINE_SCIENCE

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls's members. 3) value is a pseudo-member (flags)

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

static get_short_datatype_desc(datatype_str: str) str[source]

Return a short summary string for weblog purposes.

static get_specmode_datatypes(intent: str, specmode: str) list[DataType][source]

Return valid datatypes for given intent and specmode.

Return the list of valid datatypes depending on the intent and specmode, in order of preference for the automatic choice of datatype (if not manually overridden).

Parameters:
  • intent -- Intent to select datatypes for.

  • specmode -- Spectral gridding type to select datatypes for.

Returns:

List of valid datatypes for given intent and specmode.