Making cutouts from local FITS images

Table of contents

  1. Single cutouts
  2. Batch cutouts from a catalogue

Single cutouts

The simplest cutout command is

everystamp cutout --image <fits image> --ra <ra> --dec <dec> --size <size>

where the position and size are in degrees. The option --cutout-mode option can be set to either astropy to use its Cutout2D, or fast to try and simply slice a subarray out of the main image. The latter can be faster for large images.

Batch cutouts from a catalogue

If you have a catalogue with RA and DEC columns, EveryStamp can make cutouts of all those sources automatically by specifcying the catalogue through --from_catalogue.

everystamp cutout --image <fits image> --ra <ra> --dec <dec> --size <size> --from_catalogue <mycatalogue>