Skip to content

tikk3r/legacystamps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legacystamps

CI license pyversion pkgversion ascl

A tiny Python module to allow easy retrieval of a cutout from the Legacy survey.

Instead of this package, please consider using the more actively maintained EveryStamp: https://github.com/tikk3r/EveryStamp/

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/.

About

A tiny Python module to allow easy retrieval of a cutout from the Legacy survey.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors