Skip to main content

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


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.1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

legacystamps-1.1.0-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

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