Skip to main content

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


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 details)

Uploaded Source

Built Distribution

diffpanstarrs-0.11-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file diffpanstarrs-0.11.tar.gz.

File metadata

  • Download URL: diffpanstarrs-0.11.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.6

File hashes

Hashes for diffpanstarrs-0.11.tar.gz
Algorithm Hash digest
SHA256 c17e4ab1701d8ee22cdd475499f7380a03310679cecb4b7bd15c88afe9ed3726
MD5 6ae0c0c954791cd2bed5ff3bc91dac39
BLAKE2b-256 c48d7f0ca9b9a2f76833e063947e63195f140c3cec57fb81d29a40152f02ccee

See more details on using hashes here.

File details

Details for the file diffpanstarrs-0.11-py3-none-any.whl.

File metadata

  • Download URL: diffpanstarrs-0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.6

File hashes

Hashes for diffpanstarrs-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 945ed471c798b91dac3a0947aa1f2da397a38d63830a0c31d43b64a854044954
MD5 7929eb272c9349b3e617843f50ae8b04
BLAKE2b-256 f7423c432cb341dd6daf419af7199f63e2b789984b724c3b4bc666fbb02b996c

See more details on using hashes here.

Supported by

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