Epochs

Any epochs used in the correction of proper motion throughout ATK can be set via an epochs file. This module allows the epochs file to be viewed and edited.

AstroToolkit.Epochs.delEpoch(name)[source]

Deletes an existing epoch definition for a Vizier catalogue alias.

Parameters:

alias (str) – alias name for which an epoch definition should be deleted

Returns:

None


AstroToolkit.Epochs.openEpochs()[source]

Opens the epoch definition file in the default text editor.

Returns:

None


AstroToolkit.Epochs.resetEpochs()[source]

Resets the catalogue alias list.

Returns:

None


AstroToolkit.Epochs.setEpoch(section, survey, epoch)[source]

Sets the epoch of a supported data, lightcurve or spectrum survey, or a Vizier catalogue alias.

Parameters:
  • section (str) – section name from: default_data_surveys, additional_data_surveys, lightcurve_surveys, spectrum_surveys

  • survey (str) – survey for which an epoch definition should be set

  • epoch (list<int>) – survey epoch in format: [year,month]

Returns:

None


AstroToolkit.Epochs.showEpochs()[source]

Prints the current epoch defintions to stdout.

Returns:

None