ch_ephem.sources

CHIME source objects.

Note: This submodule reads the CHIME radio source catalogues from disk at import time.

Constants

source_dictionary

The standard CHIME radio source catalogue. A dict whose keys are source names and whose values are skyfield.starlib.Star objects.

CasA

skyfield.starlib.Star representing Cassiopeia A.

CygA

skyfield.starlib.Star representing Cygnus A.

TauA

skyfield.starlib.Star representing Taurus A.

VirA

skyfield.starlib.Star representing Virgo A.

Functions

Functions

get_source_dictionary(*catalogs)

Return a source dictionary.

ch_ephem.sources.get_source_dictionary(*catalogs: str) dict[source]

Return a source dictionary.

Returns a dictionary containing skyfield.starlib.Star objects for common radio point sources. This is useful for obtaining the skyfield representation of a source from a string containing its name.

Parameters:

catalogs (str) – Catalogue names. These must be the basename of the json file in the ch_ephem/catalogs directory. If multiple catalogues are provided, the first catalogue is favoured for any overlapping sources.

Returns:

src_dict – Keys are source names. Values are skyfield.starlib.Star objects.

Return type:

dict