Lightcurvelynx
A Fast and Nimble Package for Time Domain Astronomy
Install / Use
/learn @lincc-frameworks/LightcurvelynxREADME
LightCurveLynx
A Fast and Nimble Package for Time Domain Astronomy
Introduction
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.
Installation
Install from PyPI or conda-forge:
pip install lightcurvelynx
conda install conda-forge::lightcurvelynx
Since LightCurveLynx relies on a large number of existing packages, not all of the packages are installed in the default configuration. You can install most of the optional depenencies with the "dev" or "all" extras:
pip install 'lightcurvelynx[all]'
If you need a package that is not installed as part of the default or all configurations, LightCurveLynx will provide a message with the information on which packages you need to install and how to install them.
Example Usage
The tutorial notebooks documentation page provides a variety of usage examples and technical deep dives.
Dev Guide - Getting Started
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 installwill 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
Advisories
This project is under active development and may see API changes.
Users should always carefully validate the science outputs for their use case. Please reach out to the team if you find any problems.
Acknowledgements
This project is supported by Schmidt Sciences.
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
