Source¶
- class Source(source_id: int | integer, name: str, direction: dict, proper_motion: dict[str, dict], is_eph_obj: bool, table_name: str, avg_spacing: float | str)[source]¶
Bases:
objectA logical representation of an astronomical source.
- id¶
The numerical identifier of the source.
- name¶
The name of the source.
- fields¶
List of Field objects for field(s) associated with the source.
- is_eph_obj¶
Boolean declaring whether this is a moving source (with entry in the ephemeris table).
Attributes Summary
Returns the average time spacing (in minutes) between table entries in the ephemeris table or "" if this is not an ephemeris source.
Return declination of the source.
Return source direction as a CASA 'direction' measure dictionary.
Returns the name of the ephemeris table associated with this Source or "" if this is not an ephemeris source.
Return reference frame code for the direction to the source.
Return declination of the source.
Return longitude for the source, in DMS format.
Return unique scan intents associated with the source.
Return latitude of the source.
Return longitude of the source.
Return string representation of longitudinal component of proper motion of the source.
Return string representation of latitudinal component of proper motion of the source.
Return string representation of proper motion of the source.
Return right ascension of the source.
Attributes Documentation
- avg_spacing¶
Returns the average time spacing (in minutes) between table entries in the ephemeris table or "" if this is not an ephemeris source.
- dec¶
Return declination of the source.
- direction¶
Return source direction as a CASA 'direction' measure dictionary.
- ephemeris_table¶
Returns the name of the ephemeris table associated with this Source or "" if this is not an ephemeris source.
- frame¶
Return reference frame code for the direction to the source.
- gb¶
Return declination of the source.
- gl¶
Return longitude for the source, in DMS format.
- intents¶
Return unique scan intents associated with the source.
- latitude¶
Return latitude of the source.
- longitude¶
Return longitude of the source.
- pm_x¶
Return string representation of longitudinal component of proper motion of the source.
- pm_y¶
Return string representation of latitudinal component of proper motion of the source.
- proper_motion¶
Return string representation of proper motion of the source.
- ra¶
Return right ascension of the source.