API documentation#
gaiaunlimited.scanninglaw Module#
Functions#
|
Make rotational matrix from ICRS to Gaia body frame(ish). |
|
Calculate Gaia Barycenter coordinate time (TCB, days) from OnBoard Mission Time (OBMT, revs). |
|
Get equivalent 3d distance of an angle on a unit sphere. |
|
Check if values of array x falls in any gaps. |
Convert cartesian XYZ to (longitude,latitude). |
Classes#
|
Initialize a version of Gaia's scanning law. |
gaiaunlimited.selectionfunctions Package#
Functions#
|
Returns the probability that a star of given intrinsic colour (J-K)_0 and apparent magnitude H and given position on the sky was targeted by APOGEE or APOGEE-2. |
|
Query the Gaia database and create a high-resolution healpix map of the M_10 parameter for a given circular patch of sky. |
|
Predicts the completeness at magnitude G, given a value of M_10 read from a precomputed map. |
|
Generalized sigmoid function. |
Classes#
DR2 selection function developed by the Gaiaverse team. |
|
Internal selection function for the RVS sample in DR3. |
|
|
DR3 selection function developed by the Gaiaverse team. |
|
Model of the Gaia DR3 survey selection function calibrated on DECaPS. |
Internal selection function for the RVS sample in EDR3. |
|
Base class for Gaia selection functions. |
|
|
Internal selection function for any sample of DR3. |
Hierarchical maximum-likelihood estimate for the subsample selection function. |
gaiaunlimited.utils Module#
Functions#
|
Calculate HEALPix indices from an astropy SkyCoord. |
|
Get centers of HEALPix as astropy coordinates. |
Classes#
|
Forward model to estimate RUWE for single sources or binary systems in Gaia DR3. |
gaiaunlimited.fetch_utils Module#
Functions#
|
Download file from a url. |
|
Download scanning law datafiles if it does not already exist. |
Get gaiasf data directory as Path. |