Downloads Pan-STARRS data around given coordinates and performs difference imaging to extract light curves
Project description
diffpanstarrs
A small utility package to download and process Pan-STARRS data in the sense of difference imaging.
Installation
Simply clone and install using pip:
git clone git@gitlab.epfl.ch:dux/diffpanstarrs.git
cd diffpanstarrs
pip install .
Requires python ≥ 3.7.
One must also have a working installation of sextractor. For now, sextractor must
be set in the path under the aliases sex
or sextractor
.
Usage
See the example in tests/test_simple_download_and_process.py
:
from diffpanstarrs import downloadAndProcess
# feed the routine all the parameters like the coordinates, the size of the
# images to download, which color channels, etc.
res = downloadAndProcess(RA=69.5619,
DEC=-12.28745,
hsize=512,
workdir='myworkdir',
name="HE0435-1223",
channels=['g'])
# plot the light curves:
res.plotCurves()
# plot the difference images and variability image:
res.plotDiffImg(crop=30)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diffpanstarrs-0.11.tar.gz
(4.9 MB
view hashes)
Built Distribution
Close
Hashes for diffpanstarrs-0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945ed471c798b91dac3a0947aa1f2da397a38d63830a0c31d43b64a854044954 |
|
MD5 | 7929eb272c9349b3e617843f50ae8b04 |
|
BLAKE2b-256 | f7423c432cb341dd6daf419af7199f63e2b789984b724c3b4bc666fbb02b996c |