debiasing

Attributes

MPC_CATALOGS

COORDS

COLUMNS

Functions

generate_bias_dict([cache_dir])

Convert the bias.dat file into a dictionary for fast access.

debias(ra, dec, epoch_jd_tdb, catalog, bias_dict[, nside])

radec2icrf(ra, dec[, deg])

Convert Right Ascension and Declination to ICRF xyz unit vector.

icrf2radec(x, y, z[, deg])

Convert ICRF xyz to Right Ascension and Declination.

Module Contents

MPC_CATALOGS[source]
COORDS = ['ra', 'dec', 'pm_ra', 'pm_dec'][source]
COLUMNS[source]
generate_bias_dict(cache_dir=None)[source]

Convert the bias.dat file into a dictionary for fast access.

Parameters:

cache_dir (str, optional) – Directory containing cache files for layup, by default None

Returns:

Dictionary representation of bias.dat file indexed by catalog keys.

Return type:

dict

debias(ra, dec, epoch_jd_tdb, catalog, bias_dict, nside=256)[source]
radec2icrf(ra, dec, deg=True)[source]

Convert Right Ascension and Declination to ICRF xyz unit vector. Geometric states on unit sphere, no light travel time/aberration correction. Parameters: ———– ra … Right Ascension [deg] dec … Declination [deg] deg … True: angles in degrees, False: angles in radians Returns: ——– x,y,z … 3D vector of unit length (ICRF)

icrf2radec(x, y, z, deg=True)[source]

Convert ICRF xyz to Right Ascension and Declination. Geometric states on unit sphere, no light travel time/aberration correction. Parameters: ———– x,y,z … 3D vector of unit length (ICRF) deg … True: angles in degrees, False: angles in radians Returns: ——– ra … Right Ascension [deg] dec … Declination [deg]