A Fast and Nimble Package for Time Domain Astronomy
NOTE: This project was recently renamed from TDAstro to LightCurveLynx. Users will need to update their import statements and dependencies to reflect the new name.
Realistic light curve simulations are essential to many time-domain problems. Simulations are needed to evaluate observing strategy, characterize biases, and test pipelines. LightCurveLynx aims to provide a flexible, scalable, and user-friendly time-domain simulation software with realistic effects and survey strategies.
The software package consists of multiple stages:
- A flexible framework for consistently sampling model parameters (and hyperparameters),
- Realistic models of time varying phenomena (such as supernovae and AGNs),
- Effect models (such as dust extinction), and
- Survey characteristics (such as cadence, filters, and noise).
For an overview of the package, we recommend starting with introduction notebook
(at notebooks/introduction.ipynb
).
Install from PyPI or conda-forge:
pip install lightcurvelynx
conda install conda-forge::lightcurvelynx
Before installing any dependencies or writing code, it's a great idea to create a
virtual environment such as venv
>> python3 -m venv ~/envs/lightcurvelynx
>> source ~/envs/lightcurvelynx/bin/activate
Once you have created a new environment, you can install this project for local development using the following commands:
>> pip install -e .'[dev]'
>> pre-commit install
Notes:
- The single quotes around
'[dev]'
may not be required for your operating system. pre-commit install
will initialize pre-commit for this local repository, so that a set of tests will be run prior to completing a local commit. For more information, see the Python Project Template documentation on pre-commit
This project is supported by Schmidt Sciences.