panstamps

https://zenodo.org/badge/52945341.svg

https://img.shields.io/pypi/pyversions/panstamps https://img.shields.io/pypi/v/panstamps https://img.shields.io/github/license/thespacedoctor/panstamps https://img.shields.io/pypi/dm/panstamps

http://157.245.42.153:8080/buildStatus/icon?job=panstamps%2Fmaster&subject=build%20master http://157.245.42.153:8080/buildStatus/icon?job=panstamps%2Fdevelop&subject=build%20dev https://cdn.jsdelivr.net/gh/thespacedoctor/panstamps@master/coverage.svg https://readthedocs.org/projects/panstamps/badge/?version=master https://img.shields.io/github/issues/thespacedoctor/panstamps/type:%20bug?label=bug%20issues

Download stacked and/or warp image stamps from the STScI PanSTARRS image server via CL or Python API.

Documentation for panstamps is hosted by Read the Docs ( development version and master version). The code lives on github. Please report any issues you find here.

Note

If working with warped PS1 images then you need to work off a machine that has an IP address whitelisted by the Pan-STARRS1 data archive, otherwise only stacked images will be available to you. Also w-band images are not (yet) accessible from the data archive.

Features

How to cite panstamps

If you use panstamps in your work, please cite using the following BibTeX entry:

@software{Young_panstamps,
    author = {Young, David R.},
    doi = {10.5281/zenodo.8037665},
    license = {GPL-3.0-only},
    title = ,
    url = {https://github.com/thespacedoctor/panstamps}
}

API Reference

Modules

panstamps.commonutils

common tools used throughout package

panstamps.image

The worker class for the image module

panstamps.commonutils.getpackagepath

Get common file and folder paths for the host package

panstamps.utKit

Unit testing tools

Classes

panstamps.downloader

Tools to download the panstarrs image stamps from STScI PanSTARRS image server

Functions

Release Notes

v0.6.5 - February 23, 2023

  • FIXED: fixed bug in parsing FITS urls. This was resulting in empty FITS files getting downloaded. (thanks to @fmannucci for reporting the issue.)

v0.6.4 - January 19, 2023

  • FIXED: a change to the JPEG endpoint URLs broke regex looking for images. JPEG images should be downloadable again. (thanks to @fforster for reporting the issue.)

v0.6.3 - January 6, 2023

  • refactor: moving from plpsipp1v.stsci.edu to ps1images.stsci.edu as end point to collect panstars images (thanks to Rick White for the pull-request)

v0.6.2 - May 11, 2022

  • FIXED doc fixes

  • UNFEATURE Removing Python 2 support

v0.6.1 - July 10, 2020

  • ENHANCEMENT Unit tests now added for command-line tools

  • FIXED Command-line tools now correctly parse arguments

  • FIXED Regex matching of warp image URLs updated to match filename changes made by STScI PanSTARRS image server

v0.6.0 - May 7, 2020

  • Now compatible with Python 3.*