lightcurver


Namelightcurver JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryA thorough structure for precise photometry and deconvolution of time series of wide field images.
upload_time2024-04-01 18:13:25
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords photometry astronomy deconvolution psf pipeline
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img src="docs/mkdocs/contents/lightcurver_logo.svg" alt="logo" style="width:28em;"/>

[![python](https://img.shields.io/badge/Python-3.11-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org)
[![pypi](https://img.shields.io/pypi/v/lightcurver)](https://pypi.org/project/lightcurver/)
![tests](https://github.com/duxfrederic/lightcurver/actions/workflows/python-app.yml/badge.svg)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Docs](https://img.shields.io/badge/Docs-Available-green)](https://duxfrederic.github.io/lightcurver/)


# `lightcurver`
Welcome to `lightcurver`! 
This is a photometry library leveraging [STARRED](https://gitlab.com/cosmograil/starred), 
best used with time series of wide-field images. You can read more about it in the [documentation](https://duxfrederic.github.io/lightcurver/).

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 deconvolution of the ROI itself.
The example below shows a cutout of a wide-field image (one in a set of a hundred), 
the model/deconvolution, and the Hubble Space Telescope image of the same region.

![example_deconvolution](docs/mkdocs/contents/example_deconv.png)

## Features
* **Plate solving:** uses [Astrometry.net](https://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 deconvolution.
* **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](https://duxfrederic.github.io/lightcurver/installation/), in case you plan on using a GPU or the plate solving.
2. **Tutorial**: follow the [tutorial](https://duxfrederic.github.io/lightcurver/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:
```bash
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](mailto:frederic.dux@epfl.ch)!

## License
`lightcurver` is licensed under the GPL v3.0 License. See the [LICENSE](LICENSE) file for more details.

## The implemented processing steps
This is an overview of the steps taken by the pipeline.
![flowdiagram](docs/flow_diagram/workflow_diagram.svg)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "lightcurver",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "photometry, astronomy, deconvolution, PSF, pipeline",
    "author": null,
    "author_email": "Fr\u00e9d\u00e9ric Dux <duxfrederic@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/5e/1d/c0c3598711aa27f48ade0b286fda895ffa11085aa7e8235edbca7d13f7f5/lightcurver-1.0.4.tar.gz",
    "platform": null,
    "description": "<img src=\"docs/mkdocs/contents/lightcurver_logo.svg\" alt=\"logo\" style=\"width:28em;\"/>\n\n[![python](https://img.shields.io/badge/Python-3.11-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org)\n[![pypi](https://img.shields.io/pypi/v/lightcurver)](https://pypi.org/project/lightcurver/)\n![tests](https://github.com/duxfrederic/lightcurver/actions/workflows/python-app.yml/badge.svg)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Docs](https://img.shields.io/badge/Docs-Available-green)](https://duxfrederic.github.io/lightcurver/)\n\n\n# `lightcurver`\nWelcome to `lightcurver`! \nThis is a photometry library leveraging [STARRED](https://gitlab.com/cosmograil/starred), \nbest used with time series of wide-field images. You can read more about it in the [documentation](https://duxfrederic.github.io/lightcurver/).\n\nEssentially, `lightcurver` provides the infrastructure to \n- prepare a Point Spread Function (PSF) model for each wide-field image, \n- precisely calibrate the relative zero point between each image.\n\nThis enables `STARRED` to model the pixels of the region of interest (ROI), \nyielding of course high quality light curves of the point sources in the ROI, \nbut also recovering the subpixel information to provide a high signal-to-noise ratio deconvolution of the ROI itself.\nThe example below shows a cutout of a wide-field image (one in a set of a hundred), \nthe model/deconvolution, and the Hubble Space Telescope image of the same region.\n\n![example_deconvolution](docs/mkdocs/contents/example_deconv.png)\n\n## Features\n* **Plate solving:** uses [Astrometry.net](https://astrometry.net/) to establish the footprint of each frame.\n* **_Gaia_ reference stars:** leverages _Gaia_ information to select the right reference stars in the field of view of each frame.\n* **Preserves sub-pixel information**: never interpolates, essential to preserve the sub-pixel information that can be recovered by `STARRED` in a multi-epoch deconvolution.\n* **Incremental:** uses `SQL` queries to dynamically determine which process needs be executed on which frame. \n* **Semi-automatic:** create a `yaml` configuration file once for the first few frames, then run the \npipeline whenever a new frame is added, providing auto-updating light curves.\n\n## Getting Started\n1. **Installation**: the short version, install via `pip`:\n\n    ```\n    pip install lightcurver\n    ```\n   [The slightly longer version](https://duxfrederic.github.io/lightcurver/installation/), in case you plan on using a GPU or the plate solving.\n2. **Tutorial**: follow the [tutorial](https://duxfrederic.github.io/lightcurver/tutorial/) of the documentation, which provides a dataset you can experiment with.\n\nYou can also test your installation with a subset of the dataset provided in the tutorial:\n```bash\ncd /clone/of/lightcurver\npytest .\n```\n\n## Contributing\nIf you're encountering problems, then I would like to hear about them and will try to fix them. Feel free to create an issue\nin this repository.\nIf you're finding this package useful and want to contribute, please create a pull request after forking the repository.\nIf you need general help, feel free to [reach out](mailto:frederic.dux@epfl.ch)!\n\n## License\n`lightcurver` is licensed under the GPL v3.0 License. See the [LICENSE](LICENSE) file for more details.\n\n## The implemented processing steps\nThis is an overview of the steps taken by the pipeline.\n![flowdiagram](docs/flow_diagram/workflow_diagram.svg)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A thorough structure for precise photometry and deconvolution of time series of wide field images.",
    "version": "1.0.4",
    "project_urls": {
        "homepage": "https://duxfrederic.github.io/lightcurver/",
        "repository": "https://github.com/duxfrederic/lightcurver"
    },
    "split_keywords": [
        "photometry",
        " astronomy",
        " deconvolution",
        " psf",
        " pipeline"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "98d72763445b8b5b410cba9fabb9ce83cfdf932909f5eb98aeaf8059182fbb7c",
                "md5": "bc058cd8a5c176eaa884625b53b2fc28",
                "sha256": "05abaf18b0ba8c593a1f4ba8eaf8882cd47e6d30123d0d38bcc373a83168389e"
            },
            "downloads": -1,
            "filename": "lightcurver-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc058cd8a5c176eaa884625b53b2fc28",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 89995,
            "upload_time": "2024-04-01T18:13:23",
            "upload_time_iso_8601": "2024-04-01T18:13:23.767846Z",
            "url": "https://files.pythonhosted.org/packages/98/d7/2763445b8b5b410cba9fabb9ce83cfdf932909f5eb98aeaf8059182fbb7c/lightcurver-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e1dc0c3598711aa27f48ade0b286fda895ffa11085aa7e8235edbca7d13f7f5",
                "md5": "362b36ef25c5885aa148cf793f1c4e26",
                "sha256": "2ac3fc091d4b6116eae80de4129c379adfb0e949d6cb5a7066788bd7fe8c8ed0"
            },
            "downloads": -1,
            "filename": "lightcurver-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "362b36ef25c5885aa148cf793f1c4e26",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 73983,
            "upload_time": "2024-04-01T18:13:25",
            "upload_time_iso_8601": "2024-04-01T18:13:25.821485Z",
            "url": "https://files.pythonhosted.org/packages/5e/1d/c0c3598711aa27f48ade0b286fda895ffa11085aa7e8235edbca7d13f7f5/lightcurver-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 18:13:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "duxfrederic",
    "github_project": "lightcurver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "lightcurver"
}
        
Elapsed time: 0.22198s