Swarp

Create Combined images of the different filters in the field using swarp

Space Telescope Science Institute

Command Line Usage

Usage:   Swarp.py [-all] [-bsub] field [tiles]

where -all will cause swarp to be run on all 16 tiles.

and   -bsub will cause swarp to be run in the DECAM_SWARP2 directories, and should
be operating on files that are in background subtracted DECAM_PREP2 directories

If one wants to run only 1 or a few tiles then the command will be something like

Swarp.py LMC_c42  T01 T03 T05

Notes

It would be sensible to combine SetupSwarp and Swarp

Attributes

PREPDIR

SWARPDIR

exec_dir

Functions

add_header_keywords(root[, run_dir, field, tile])

Add header keywords to an the results of Swarp

run_swarp([field, tile, bsub])

run_all of the swarp commands in a particular field and tile

steer(argv)

This is just a steering routine for running swarp on one or more

Module Contents

Swarp.PREPDIR = b'.'
Swarp.SWARPDIR = 'DECam_SWARP'
Swarp.add_header_keywords(root, run_dir='./', field='', tile='')

Add header keywords to an the results of Swarp

Swarp.exec_dir
Swarp.run_swarp(field='LMC_c42', tile='T07', bsub=False)

run_all of the swarp commands in a particular field and tile

The normal outputs from swarp are writeen to a .txt file, a few are written to the screen here so that one can see that the routines have run correctly.

Swarp.steer(argv)

This is just a steering routine for running swarp on one or more tiles from the command line