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
- Create a virtual environment
python -m venv venv source venv/bin/activate
- Install the library with its requirements
python -m pip install git+https://github.com/aboucaud/galcheat
- 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.