The hawki_standard_process recipe¶
- hawki_standard_process¶
Synopsis¶
HAWKI standard field recipe
Description¶
hawki_standard_process – HAWKI standard field recipe.
Process a pawprint for HAWKI standard data. Remove instrumental signature, remove sky background, photometrically and astrometrically calibrate each image in the pawprint individually
The program accepts the following files in the SOF:
Tag Description STD A list of raw standard field images MASTER_DARK A master dark frame MASTER_TWILIGHT_FLAT A master twilight flat frame PHOTCAL_TAB A photometric calibration table MASTER_CONF A master confidence map MASTER_READGAIN A master readgain table MASTER_2MASS_CATALOGUE_ASTROM A master 2MASS index for astrometry or MASTER_PPMXL_CATALOGUE_ASTROM A master PPMXL index for astrometry or MASTER_LOCAL_CATALOGUE_ASTROM A master local astrometric FITS file MASTER_2MASS_CATALOGUE_PHOTOM A master 2MASS index for photometry or MASTER_PPMXL_CATALOGUE_PHOTOM A master PPMXL index for photometry or MASTER_LOCAL_CATALOGUE_PHOTOM A master local photometric FITS file SCHLEGEL_MAP_NORTH Northern Schlegel Map SCHLEGEL_MAP_SOUTH Southern Schlegel Map
All of the above are required unless specifically tagged as optional. Theastrometric and photometric files are not required if these can be obtainedfrom the CDS using the –cdssearch options
Constructor¶
- cpl.Recipe("hawki_standard_process")
Create an object for the recipe hawki_standard_process.
import cpl
hawki_standard_process = cpl.Recipe("hawki_standard_process")
Parameters¶
- hawki_standard_process.param.preview_only¶
Preview only? (bool; default: False) [default=False].
- hawki_standard_process.param.minphotom¶
Minimum stars for photometry solution (int; default: 1) [default=1].
- hawki_standard_process.param.prettynames¶
Use pretty product names? (bool; default: False) [default=False].
- hawki_standard_process.param.savemstd¶
Save matched standard catalogues? (bool; default: False) [default=False].
- hawki_standard_process.param.cdssearch_astrom¶
CDS astrometric catalogue (str; default: ‘none’) [default=”none”].
- hawki_standard_process.param.cdssearch_photom¶
CDS photometric catalogue (str; default: ‘none’) [default=”none”].
- hawki_standard_process.param.cat_ipix¶
Minimum pixel area for each detected object (int; default: 10) [default=10].
- hawki_standard_process.param.cat_thresh¶
Detection threshold in sigma above sky (float; default: 1.5) [default=1.5].
- hawki_standard_process.param.cat_icrowd¶
Use deblending? (bool; default: True) [default=True].
- hawki_standard_process.param.cat_rcore¶
Value of Rcore in pixels (float; default: 10.0) [default=10.0].
- hawki_standard_process.param.cat_nbsize¶
Background smoothing box size (int; default: 128) [default=128].
- hawki_standard_process.param.psm_ipix¶
Minimum pixel area for each detected object (int; default: 10) [default=10].
- hawki_standard_process.param.psm_niter¶
Number of iterations in pawsky mask (int; default: 5) [default=5].
- hawki_standard_process.param.psm_thresh¶
Detection threshold in sigma above sky (float; default: 1.5) [default=1.5].
- hawki_standard_process.param.psm_nbsize¶
Background smoothing box size (int; default: 256) [default=256].
- hawki_standard_process.param.psm_smkern¶
Smoothing kernel size (pixels) (float; default: 2.0) [default=2.0].
- hawki_standard_process.param.cacheloc¶
Location for standard star cache (str; default: ‘.’) [default=”.”].
- hawki_standard_process.param.magerrcut¶
Magnitude error cut (float; default: 100.0) [default=100.0].
The following code snippet shows the default settings for the available parameters.
import cpl
hawki_standard_process = cpl.Recipe("hawki_standard_process")
hawki_standard_process.param.preview_only = False
hawki_standard_process.param.minphotom = 1
hawki_standard_process.param.prettynames = False
hawki_standard_process.param.savemstd = False
hawki_standard_process.param.cdssearch_astrom = "none"
hawki_standard_process.param.cdssearch_photom = "none"
hawki_standard_process.param.cat_ipix = 10
hawki_standard_process.param.cat_thresh = 1.5
hawki_standard_process.param.cat_icrowd = True
hawki_standard_process.param.cat_rcore = 10.0
hawki_standard_process.param.cat_nbsize = 128
hawki_standard_process.param.psm_ipix = 10
hawki_standard_process.param.psm_niter = 5
hawki_standard_process.param.psm_thresh = 1.5
hawki_standard_process.param.psm_nbsize = 256
hawki_standard_process.param.psm_smkern = 2.0
hawki_standard_process.param.cacheloc = "."
hawki_standard_process.param.magerrcut = 100.0
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
hawki_standard_process = cpl.Recipe("hawki_standard_process")
[...]
res = hawki_standard_process( ..., param = {"preview_only":False, "minphotom":1})
See also
cpl.Recipe for more information about the recipe object.
Bug reports¶
Please report any problems to Jim Lewis. Alternatively, you may send a report to the ESO User Support Department.
Copyright¶
This file is part of the HAWKI Instrument Pipeline Copyright (C) 2015 European Southern Observatory
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Code author: Jim Lewis <jrl@ast.cam.ac.uk>