Skip to main content

No project description provided

Project description

LightCurveLynx

A Fast and Nimble Package for Time Domain Astronomy

Template

PyPI Conda Version

GitHub Workflow Status Codecov Benchmarks Read the Docs

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:

  1. A flexible framework for consistently sampling model parameters (and hyperparameters),
  2. Realistic models of time varying phenomena (such as supernovae and AGNs),
  3. Effect models (such as dust extinction), and
  4. 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:

  1. The single quotes around '[dev]' may not be required for your operating system.
  2. 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

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.

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

lightcurvelynx-0.3.8.tar.gz (9.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightcurvelynx-0.3.8-py3-none-any.whl (248.4 kB view details)

Uploaded Python 3

File details

Details for the file lightcurvelynx-0.3.8.tar.gz.

File metadata

  • Download URL: lightcurvelynx-0.3.8.tar.gz
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightcurvelynx-0.3.8.tar.gz
Algorithm Hash digest
SHA256 3ebccf8e019b645dd4da5c736c198c4d6f3ca2076a972c60a1bad29136acc5d7
MD5 0ca73632173562dd387afb0d63c51b75
BLAKE2b-256 1c2a8c6453441fcb7156d548f8a93d192b5469541139949d610d2c23e1559f2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcurvelynx-0.3.8.tar.gz:

Publisher: publish-to-pypi.yml on lincc-frameworks/lightcurvelynx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightcurvelynx-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: lightcurvelynx-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 248.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightcurvelynx-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b2916db02e1068085cc6ab8166f04868e6b33e4a86268a38cbade551e1557d2c
MD5 c083cd4d8a9aec4b1cc1315407058ca7
BLAKE2b-256 1e94827e40c91562eeeb5697a4a8690930263d8a3d96085810c6fd1095bc6aa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcurvelynx-0.3.8-py3-none-any.whl:

Publisher: publish-to-pypi.yml on lincc-frameworks/lightcurvelynx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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