GaiaScanningLaw#

class gaiaunlimited.scanninglaw.GaiaScanningLaw(version='dr3_nominal', gaplist='dr3/Astrometry')#

Bases: object

Initialize a version of Gaia’s scanning law.

Parameters:
  • version (str, required) – Version of the FoV pointing data file to use. One of [“dr3_nominal”, “dr2_nominal”, “dr2_cog3”]. Defaults to “dr3_nominal”.

  • gaplist (str, optional) –

    Name of the gap list. Defaults to “dr3/Astrometry”. The gaplist should be “<dr?>/<sample_name>”. Possible values are:

    • None: To apply no gaps.

    • ”dr2/Astrometry”, “dr2/Photometry”, “dr2/Spectrocopy”

    • ”dr3/Astrometry”, “dr3/Photometry”, “dr3/Spectrocopy”

    These gaps lists are provided as auxiliary data products by DPAC.

Attributes Summary

version_trange

Methods Summary

query(ra_deg, dec_deg[, count_only])

Query the scanning law for a given position.

Attributes Documentation

version_trange = {'cog3_2020': [1192.13, 3750.56], 'cogi_2020': [1192.13, 3750.56], 'dr2_nominal': [1192.13, 3750.56], 'dr3_nominal': [1192.13, 5230.09]}#

Methods Documentation

query(ra_deg, dec_deg, count_only=False)#

Query the scanning law for a given position.

Returned times are in Julian days in TCB with time origin 2010-01-01:T00:00 (JD 2455197.5). See this page for details.

Parameters:
  • ra_deg (float) – right ascension in degrees

  • dec_deg (float) – declination in degrees

  • count_only (bool) – only return the total number of scans.

Returns

[fov1_times, fov2_times] [n_fov1, n_fov2] if count_only=True