Skip to main content
logo

JOSS tests Docs python pypi License: GPL v3

lightcurver

Welcome to lightcurver! This is a photometry library leveraging STARRED, best used with time series of wide-field images. You can read more about it in the documentation.

Essentially, lightcurver provides the infrastructure to

  • prepare a Point Spread Function (PSF) model for each wide-field image,
  • precisely calibrate the relative zero point between each image.

This enables STARRED to model the pixels of the region of interest (ROI), yielding of course high quality light curves of the point sources in the ROI, but also recovering the subpixel information to provide a high signal-to-noise ratio/resolution of the ROI itself. The example below shows a cutout of a wide-field image (one in a set of a hundred), the fitted high resolution model, and the Hubble Space Telescope image of the same region.

example_deconvolution

Features

  • Plate solving: uses Astrometry.net to establish the footprint of each frame.
  • Gaia reference stars: leverages Gaia information to select the right reference stars in the field of view of each frame.
  • Preserves sub-pixel information: never interpolates, essential to preserve the sub-pixel information that can be recovered by STARRED in a multi-epoch forward modelling.
  • Incremental: uses SQL queries to dynamically determine which process needs be executed on which frame.
  • Semi-automatic: create a yaml configuration file once for the first few frames, then run the pipeline whenever a new frame is added, providing auto-updating light curves.

Getting Started

  1. Installation: the short version, install via pip:

    pip install lightcurver
    

    The slightly longer version, in case you plan on using a GPU or the plate solving.

  2. Usage: Adapt the yaml config file template, then run the pipeline with

    lc_run /path/to/config.yaml
    

    The pipeline is incremental, but in a scenario of testing, you can run specific steps only, for example:

    lc_run /path/to/config.yaml --start stamp_extraction --stop psf_modeling
    

    (The names of the pipeline steps/tasks are listed upon running lc_run -h.)

  3. Tutorial: follow the tutorial of the documentation, which provides a dataset you can experiment with. You can also test your installation with a subset of the dataset provided in the tutorial:

    cd /clone/of/lightcurver
    pytest .
    

Contributing

If you're encountering problems, then I would like to hear about them and will try to fix them. Feel free to create an issue in this repository. If you're finding this package useful and want to contribute, please create a pull request after forking the repository. If you need general help, feel free to reach out!

License

lightcurver is licensed under the GPL v3.0 License. See the LICENSE file for more details.

The implemented processing steps

This is an overview of the steps taken by the pipeline. flowdiagram

Metadata

Release files for lightcurver 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lightcurver 1.2.4
File Size Uploaded
lightcurver-1.2.4.tar.gz 103.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lightcurver 1.2.4
File Interpreter ABI Platform
lightcurver-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 227.6 kB

Release files / lightcurver-1.2.4.tar.gz

Download URL lightcurver-1.2.4.tar.gz
Size 103.9 kB
Tags Source
SHA-256 checksum
How to use checksums
692f843e80aecc3965932d22130e18026d349cb4982e69f2cc37454316ce1215
BLAKE2b-256 checksum
How to use checksums
8ab2ed1e1f7459883475b1725fab1a08001a52053a473b6bd3be5502f154cdc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / lightcurver-1.2.4-py3-none-any.whl

Download URL lightcurver-1.2.4-py3-none-any.whl
Size 123.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41bf6f84ca9380d52ad421fa8c3a2e05acdcf82e80c5c8722de3eca5cc6332fa
BLAKE2b-256 checksum
How to use checksums
8958df12bec4627bda2d95a1b32f509ed873b02576b27b5ba87142d8757eb2fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page