Skip to main content

Tiny library of galaxy surveys most useful parameters (with units)

Project description

Galaxy Surveys cheatsheet

Tiny package containing useful parameters from main galaxy surveys (with units)

The goal of this project is to provide a centralised library containing galaxy survey properties often required for simulations. Such information tends to be scattered in many places or is often copy/pasted without all of the relevant information like units or sources.

WORK IN PROGRESS

Setup | API | Acknowledgements | License

Setup

  1. Create a virtual environment
    python -m venv venv
    source venv/bin/activate
    
  2. Install the library with its requirements
    python -m pip install git+https://github.com/aboucaud/galcheat
    
  3. Run the demo = print the available surveys and associated filters
    python -m galcheat
    

API

from galcheat import survey_info

# Available surveys
print(list(survey_info.keys()))

# Rubin U band PSF FWHM
Rubin = survey_info["Rubin"]
fwhm = Rubin.filters.u.psf_fwhm  # Quantity object with units
print(fwhm)

# Retrieve the value in the original units
print(fwhm.value)

# Or convert to other units
import astropy.units as u
print(fwhm.to_value(u.arcmin))

Acknowledgements

This project was started in the context of the BlendingToolKit (BTK) and has initialy received contributions from (alphabetical order)

  • Alexandre Boucaud
  • Rémy Joseph
  • Ismael Mendoza
  • Maxime Paillassa
  • Thomas Sainrat

License

This project is developed under an MIT-license. See LICENSE file for more information.

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

galcheat-0.0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

galcheat-0.0.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page