Skip to content

Repository files navigation

euclidlib

PyPI version CI pre-commit Tests: pytest Linting: Ruff Code Style: Prettier Type Checking: mypy All Contributors

Table of Contents

Introduction

euclidlib is an unofficial Python library for accessing and reading cosmology-ready data products from the ESA Euclid mission. Its goal is to offer the Euclid community a user-friendly, ready-to-use library that enables immediate work with science-ready Euclid data.

The package is maintained on a best-effort basis by volunteers and contributors within the Euclid community. See the contributor list below.

Installation

As simple as:

pip install euclidlib

Prerequisites

  • python>3.7
  • fitsio
  • numpy

Structure and Format of euclidlib

The design of the euclidlib package closely follows the organisation of the Euclid Data Product Description Documentation and reflects the structure of the Euclid Science Ground Segment.

graph TD
    EUCLIDLIB[euclidlib]

    LE3[le3]
    PK_WL[pk_wl]
    TWOPCF_WL[twopcf_wl]
    PK_GC[pk_gc]
    TWOPCF_GC[twopcf_gc]
	BAO_GC[bao_gc]

    PHZ[phz]

    EUCLIDLIB --> LE3
    EUCLIDLIB --> PHZ

    LE3 --> PK_WL
    LE3 --> TWOPCF_WL
    LE3 --> PK_GC
    LE3 --> TWOPCF_GC
	LE3 --> BAO_GC
Loading

euclidlib provides all data products in a unified, Pythonic format based on dataclasses, ensuring consistent, intuitive, and easy-to-use interfaces across all supported products. Please consult the full documentation for additional details.

Contributing

If you would like to contribute, follow the following steps:

  1. Open an issue to let the euclidlib maintainers know about your contribution plans (new Euclid product? New feature? A suggestion?)
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Commit your changes:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Open a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors

This project follows the all-contributors specification. Contributions of any kind are welcome!

To discover the meaning of each icon, hover your mouse over it.

Guadalupe Cañas-Herrera
Guadalupe Cañas-Herrera

💻 👀 🤔 🚧 ⚠️ 💡
Nicolas Tessore
Nicolas Tessore

💻 👀 🤔 💡 🚧 ⚠️
Zahra Baghkhani
Zahra Baghkhani

💻
Jaime RZ
Jaime RZ

👀 🤔
itutusaus
itutusaus

👀
Felicitas Keil
Felicitas Keil

💻
WillHartley
WillHartley

🤔 🔣
FlorianDubath
FlorianDubath

🤔 🔣
Jacopo Salvalaggio
Jacopo Salvalaggio

💻 🤔 🔣
AndreaPezzotta
AndreaPezzotta

💻 🤔 👀
Chiara Moretti
Chiara Moretti

👀 💻 🤔
Samuel Farrens
Samuel Farrens

💻 👀 🤔 🧑‍🏫
Chaitanya
Chaitanya

💻 🐛

About

Unofficial python library for reading cosmology-ready data products from the ESA Euclid mission

Topics

Resources

Stars

16 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages