Python toolkit for basic Gaia data simulation and data manipulation
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.
No competition! It is higly 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
The only functionality not (yet) provided in Astropy is the transformation of the covariance matrix of the
astrometric observables to to a different epoch. This is implemented in the class
pygaia.astrometry.coordinates.EpochPropagation. Epoch transformation as such is
implemented in Astropy as the
apply_space_motion() function of
All classes and methods/functions are documented so use the python help() function to find out more.
This package is intended for Python3.
The following python packages are required:
For the plotting tools:
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.
Copyright (c) 2012-2020 Anthony Brown, Leiden University, Gaia Data Processing and Analysis Consortium
PyGaia is open source and free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/licenses.html.