debiasing
Attributes
Functions
|
Convert the bias.dat file into a dictionary for fast access. |
|
|
|
Convert Right Ascension and Declination to ICRF xyz unit vector. |
|
Convert ICRF xyz to Right Ascension and Declination. |
Module Contents
- 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
- 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]