BesselianEpoch¶
- class sofia_redux.scan.coordinate_systems.epoch.epoch.BesselianEpoch(equinox=None, immutable=False)[source]¶
Bases:
Epoch
Initialize a Besselian epoch.
The BesselianEpoch is an extension of the Epoch class which will always set and return Besselian years when necessary. The epoch and equinox will default to B1950 unless explicitly defined.
- Parameters:
- equinoxparameter, optional
The given equinox can be a string, int, float, Time, Header, FK4, FK5, or Epoch, or numpy.ndarray or list
- immutablebool, optional
If
True
, the equinox will be fixed and cannot be altered by standard methods.
Attributes Summary
Return the Besselian year.
Methods Summary
copy
()Return a copy of the BesselianEpoch.
get_equinox
([equinox])Return an astropy equinox frame from the given input.
get_indices
(indices)Return selected epoch for given indices.
Attributes Documentation
- default_epoch = 'B1950'¶
- default_format = 'byear'¶
- year¶
Return the Besselian year.
- Returns:
- float or numpy.ndarray (float)
Methods Documentation