Small module to retrieve cutouts from the Legacy Survey.
Project description
legacystamps
A tiny Python module to allow easy retrieval of a cutout from the Legacy survey.
Installation
This package can be installed simply by running pip install legacystamps
. It can also be installed manually with python setup.py install
.
Usage
To use it in a script, import and use the module as follows. To get a FITS cutout:
import legacystamps
legacystamps.download(ra=ra, dec=dec, mode='fits', bands='grz', size=cutsize)
or to get a JPEG cutout:
import legacystamps
legacystamps.download(ra=ra, dec=dec, mode='jpeg', bands='grz', size=cutsize)
It can also run standalone. See legacystamps.py -h
for available options after installation.
Requirements
The following packages are required:
- requests
- tqdm
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
legacystamps-1.2.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for legacystamps-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2586daa8b92f8ea2c2b17a1204ec3e7262a6ad8fad07e921ea58cbf439a3c6 |
|
MD5 | 8958b14d8a348a2f697e893f7453f6d6 |
|
BLAKE2b-256 | 56c8536caab66334f7005c758d17b972704b39238f6ea2d33102569300d660c1 |