FindOverlaps
Calculate a which images obtained with a filter overlap
Space Telescope Science Institute
Synopsis
Calculate a which images obtained with a filter overlap with which others
Command Line Usage
usage: FindOverlaps.py [-all] Field Tile1 Tile2 .....
where -all implies that the ovelaps for all of the
tiles in afiled will be dound
Description
- Find the images that ovelap that have the same
filter.
The routine calculates overlaps of the same filter, regardless of the exposure times.
The overlaps are found based on the RA, DEC corrners of the immages.
The routine outputs a single file that indicates which images overlap subject to thise conditions
The routine DOES NOT calculate fluxes in the overlap regions, just that the ovelaps exist
Primary Routines
do_one_tile
Notes
- It is important to recognize that care has
been taken to avoid double listing, that is to say in separate lines of the output file that
file_a matches file_b file_b matches file_a
There is no significance to the order of file_a and file_b.
This routine depends on having run either SetupTile or SetupSpecial, but does not require SwarpSetup, or Swarp.
Version History
- 230524 ksl
Coding begun
- 250128 ksl
Modified the code so that both exposure times are recorded. Choosing
what exposure times to match background to occurs later.
Functions
|
Find the overlaps for one filter in one tile |
|
Find the overlaps for all of the filters in one tile |
|
Idenfify all of the files associated |
|
Get all of the images which have the |
|
This is just a steering routine for running swarp on one or more |
Module Contents
- FindOverlaps.do_one_filter(field='LMC_c45', tile='T07', xfilter='Ha')
Find the overlaps for one filter in one tile
- FindOverlaps.do_one_tile(field='LMC_c45', tile='T07')
Find the overlaps for all of the filters in one tile
- FindOverlaps.get_files(field, tile, xfilter='Ha')
Idenfify all of the files associated with a specific filter in a tile
Note: This reads the Field_Tile.txt files in the Summary directory
- FindOverlaps.get_overlap(row, xxtab)
Get all of the images which have the same exposure time as the given row and also overlap with a given row in the table
Note eliminating images that have different exposure times implies that we do not intend to match backgrounds from images that have differnt times
- FindOverlaps.steer(argv)
This is just a steering routine for running swarp on one or more tiles from the command line