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
Acknowledgements
If you use legacystamps in your work, please consider acknowledging this package through
This work made use of the legacystamps package (https://github.com/tikk3r/legacystamps).
and the acknowledgements associated to https://legacysurvey.org/.
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
Built Distribution
File details
Details for the file legacystamps-1.2.2.tar.gz
.
File metadata
- Download URL: legacystamps-1.2.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be42a4749d3a9ba87f1fda6ef96eb2dfb7d8aa1cd59423cbe516f1177b7b075 |
|
MD5 | 6280d981ff60ad0a3560afc7b428973f |
|
BLAKE2b-256 | 5e762669cc23f3275f447503f04474cd6e6bf62a673cbde73bc7fa8abd77b098 |
File details
Details for the file legacystamps-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: legacystamps-1.2.2-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9564ce992581a744f72c3471916016131d91d186dc18cb9e53d577e3a46462a8 |
|
MD5 | 01f31bd3bbb26874d5a4ebbc668efe6e |
|
BLAKE2b-256 | dee078f7b7a3fb3965f3b8fc56e1b1d00f8decc5175d84511d21b225a1f0d7cb |