Skip to main content

PyGaia

Python toolkit for Gaia science performance simulation and astrometric catalogue data manipulation.

Description

PyGaia provides python modules for the simulation of Gaia data and their uncertainties, as well modules for the manipulation of the Gaia catalogue data. In particular transformations between astrometric observables and phase space variables are provided as well as transformations between sky coordinate systems. Only (very) basic functionality is provided. Full blown simulations of Gaia data in all their gory detail requires the Java tools developed by the Gaia Data Processing and Analysis Consortium (DPAC) in particular its Coordination Unit 2 (CU2).

This toolkit is basically an implementation of the performance models for Gaia which are publicly available at: http://www.cosmos.esa.int/web/gaia/science-performance. In addition much of the material in chapter 4 of the book Astrometry for Astrophysics: Methods, Models, and Applications (2012, van Altena et al.) is implemented.

  • The code in this package is not intended for accurate astrometry applications, such as predicting in detail astrometric paths of stars on the sky.
  • Epoch transformation is provided, including the transformation of the astrometric covariance matrix to different epochs.

Astropy astrometry modules versus pygaia.astrometry

It is recommended to use the Astropy facilities for handling astrometric data, including transformations from (Cartesian) phase space coordinates to astrometric observables and vice versa. See the astropy.coordinates package. Compared to the pygaia.astrometry package this gives you more functionality, the use of units, and much better maintained code.

The only functionality not (yet) provided in Astropy is the propagation of the covariance matrix of the astrometric observables to to a different epoch. This is implemented in the class pygaia.astrometry.coordinates.EpochPropagation. Epoch propagation as such is implemented in Astropy as the apply_space_motion() function of the SkyCoord class.

Documentation

All classes and methods/functions are documented so use the python help() function to find out more.

Installation

To install from source.

git clone https://github.com/agabrown/PyGaia.git
cd PyGaia
python -m pip install .

From PyPI:

pip install pygaia

Dependencies

This package is intended for Python3.

The following python packages are required:

For the plotting tools:

Acknowledgements

PyGaia is based on the effort by Jos de Bruijne to create and maintain the Gaia Science Performance pages (with support from David Katz, Paola Sartoretti, Francesca De Angeli, Dafydd Evans, Marco Riello, and Josep Manel Carrasco), and benefits from the suggestions and contributions by Morgan Fouesneau, Tom Callingham, John Helly, Javier Olivares, Henry Leung, Johannes Sahlmann.

The photometric uncertainties code in PyGaia is based on the tool provided by Gaia DPAC (https://www.cosmos.esa.int/web/gaia/dr3-software-tools) to reproduce (E)DR3 Gaia photometric uncertainties described in the GAIA-C5-TN-UB-JMC-031 technical note using data in Riello et al (2021).

Attribution

Please acknowledge the Gaia Project Scientist Support Team and the Gaia Data Processing and Analysis Consortium (DPAC) if you used this code in your research.

License

Copyright (c) 2012-2024 Anthony Brown, Leiden University, Gaia Data Processing and Analysis Consortium

Release files for pygaia 3.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygaia 3.2.2
File Size Uploaded
pygaia-3.2.2.tar.gz 3.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygaia 3.2.2
File Interpreter ABI Platform
pygaia-3.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.7 MB

Release files / pygaia-3.2.2.tar.gz

Download URL pygaia-3.2.2.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
f98584907dfd535665110179ebe5750f5400993f5a911613b45725bc03371ae1
BLAKE2b-256 checksum
How to use checksums
08bc7dd0711f88ae40a22ebe415d0450f99fdb48b3c9ac2808a792e90f65bc8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 15, 2024.

Transparency log

Release files / pygaia-3.2.2-py3-none-any.whl

Download URL pygaia-3.2.2-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0c8ac616c4e20e7c01fce5a72c7b8cec84c0927b3e21bf4c7034000baae544b
BLAKE2b-256 checksum
How to use checksums
e05cfe93464d634f0aae444d6cde93878164e0320cf41b9f3bb38ecb5a675477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 15, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

3.2.2 This release

2 release files

3.2.1

2 release files

3.1

2 release files

3.0.3

2 release files

3.0.2

2 release files

2.2

3 release files

2.0

3 release files

1.21

1 release file

1.2

1 release file

1.1

2 release files

1.0

2 release files

0.83

2 release files

0.82

2 release files

0.81

2 release files

0.31

2 release files

0.9

2 release files

0.8

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page