XPy-Teal: XP Tool for Emission and Absorption Lines
Project description
๐ XPy-Teal: XP Tool for Emission and Absorption Lines
This repository provides a modular Python toolkit for downloading, processing, and analyzing Gaia DR3 XP (BP/RP) spectra.
It includes tools for XP data retrieval via the Gaia Archive, data calibration, equivalent width measurement, and mathematical utilities for line analysis.
๐ Repository Structure
/
โโโ src
โ โโโ xpy_teal
โ โโโ Codes
โ โ โโโ __init__.py
โ โ โโโ config.py
โ โ โโโ dataIO.py
โ โ โโโ download_xp_spectra.py
โ โ โโโ line_analysis.py
โ โ โโโ main_MareNostrum.py
โ โ โโโ math_tools.py
โ โ โโโ spectrum_tools.py
โ โ โโโ xpy_teal_pipeline.py
โ โโโ Configuration_Data
โ โ โโโ BasisTransformationMatrix_BP.csv
โ โ โโโ BasisTransformationMatrix_RP.csv
โ โ โโโ DerivativeMatrix_D1.csv
โ โ โโโ DerivativeMatrix_D2.csv
โ โ โโโ DerivativeMatrix_D3.csv
โ โ โโโ DerivativeMatrix_D4.csv
โ โ โโโ HermiteIntegrals.csv
โ โ โโโ LSFModel_BP.csv
โ โ โโโ LSFModel_RP.csv
โ โ โโโ RootMatrix_H.csv
โ โ โโโ bpC03_v375wi_dispersion.csv
โ โ โโโ bpC03_v375wi_response.csv
โ โ โโโ rpC03_v142r_dispersion.csv
โ โ โโโ rpC03_v142r_response.csv
โ โโโ __init__.py
โโโ examples
โ โโโ XPy_TEAL_Results
โ โ โโโ Test_EqWidths.csv
โ โ โโโ Test_Extrema.pkl
โ โ โโโ xp_continuous_downloaded.csv
โ โโโ XPy_TEAL_config.xml
โ โโโ source_ids.csv
โ โโโ tutorial.ipynb
โโโ LICENSE
โโโ README.md
โโโ pyproject.toml
โโโ uv.lock
โ๏ธ Installation
โก Option 1 โ Using uv (recommended for speed)
uv is a fast, modern Python package manager built by Astral โ it handles environments, dependencies, and builds efficiently.
๐ช Step 1 โ Install uv
If you donโt have it already, install with:
pip install uv
or (recommended):
curl -LsSf https://astral.sh/uv/install.sh | sh
โ๏ธ Step 2 โ Install XPy-Teal In the root of this repository, run:
uv pip install xpy-teal
๐ Step 3 โ uv sync
uv sync
๐ Usage
from xpy_teal import xpy_teal_pipeline as xpy
results = xpy.run_pipeline(sources_table)
๐ License
GNU GENERAL PUBLIC LICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xpy_teal-1.0.0.tar.gz.
File metadata
- Download URL: xpy_teal-1.0.0.tar.gz
- Upload date:
- Size: 359.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
799f0a025f91a73306bc79c2dcc76d8b73142e435e596fb035029cbb816f72be
|
|
| MD5 |
c38767e339aca774bf014d1bc24b11bf
|
|
| BLAKE2b-256 |
d4ff9dc4346e1f2aab6c699fcec2f3ccb53a0d2eb9f8c99462540ce69a02d789
|
File details
Details for the file xpy_teal-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xpy_teal-1.0.0-py3-none-any.whl
- Upload date:
- Size: 271.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ee7d0fa84d1284c6d8164bdcf5903be74091a8447ec2542d74eb18d32a08f90
|
|
| MD5 |
db95516e3cd79e61d6244cfb5a1dc112
|
|
| BLAKE2b-256 |
25281eeada598e751509aa28dfbdc09e937432bccecd5600c24f61f8ca135e46
|