GaiaXPy
GaiaXPy is a Python package for working with Gaia Data Release 3 (DR3) XP (BP/RP) spectra. After 2nd December 2026, newer versions will also support Gaia DR4 XP spectra.
| Task | GaiaXPy tool |
|---|---|
| Sample continuous XP coefficients in pseudo-wavelength | convert |
| Reconstruct a flux spectrum on a wavelength grid in nm | calibrate |
| Compute synthetic photometry, including magnitudes, fluxes and flux errors | generate |
| Correct synthetic photometry flux errors where correction tables are available | generate with error_correction=True, or apply_error_correction |
| Plot sampled spectra | plot_spectra |
Input supports CSV, ECSV, FITS and XML/VOTable, including GZIP and ZIP files, as well as Gaia Archive source-ID lists and tuples, ADQL queries and pandas DataFrames.
Installation
To install the public release from PyPI:
pip install GaiaXPy
For a development or pre-release version, see the installation guide.
Documentation and tutorials
Questions and feedback
For questions, bug reports or feature requests, use the GitHub issue tracker. Bug reports should include the GaiaXPy and Python versions, the function call, the complete error message and a small example that reproduces the issue.
Citation
Cite the DOI corresponding to the GaiaXPy version used in your analysis. See the citation guide for version-specific DOIs and references.
From version 2.2.0 onwards, GaiaXPy also includes metadata in its outputs to support reproducibility and traceability, recording information about the processing run, and relevant configuration details. Find the relevant tutorial in the GaiaXPy website.
Licence
Metadata
Release files for GaiaXPy 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gaiaxpy-2.2.0.tar.gz | 680.9 kB | Without provenance | Details for gaiaxpy-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gaiaxpy-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for gaiaxpy-2.2.0-py3-none-any.whl |
Total release size: 1.5 MB
Release files / gaiaxpy-2.2.0.tar.gz
| Download URL | gaiaxpy-2.2.0.tar.gz |
|---|---|
| Size | 680.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ec15fd1ccbc6d6d4f6fe19b92f1f430bb5c982890f261199cbcbf5ef94a9cc2
|
|
BLAKE2b-256 checksum How to use checksums |
4da3c0283581df57ff983771b020a9d2e44e828e69e6fc18dd89249e3fedde9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / gaiaxpy-2.2.0-py3-none-any.whl
| Download URL | gaiaxpy-2.2.0-py3-none-any.whl |
|---|---|
| Size | 786.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a4b9fc7517bb2cadf1e875ed46aad7555a5e31e94052def9b76256bdfb0d2e5
|
|
BLAKE2b-256 checksum How to use checksums |
8766c58e74dc914c788d850ee7a2ad6221f20e6edc1e5a9b93d670826a4b622b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for GaiaXPy 2.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.