Object detection recipe
hawki_step_detect_obj – hawki detect objects recipe.
This recipe detects objects from the combined image creating a mask and a list of object properties The input of the recipe files listed in the Set Of Frames (sof-file) must be tagged as: combined.fits COMBINED The recipe creates as an output: hawki_step_detect_obj_mask.fits (OBJ_MASK): A mask with 1 where the objects are present and 0 elsewhere hawki_step_detect_obj_stars.fits (OBJ_PARAM): A table with the detected objects characteristics Return code: esorex exits with an error code of 0 if the recipe completes successfully or 1 otherwise
Create an object for the recipe hawki_step_detect_obj.
import cpl
hawki_step_detect_obj = cpl.Recipe("hawki_step_detect_obj")
detection level (float; default: 6.0) [default=6.0].
radius of convolution kernel to apply to objects (long; default: 5) [default=5].
The following code snippet shows the default settings for the available parameters.
import cpl
hawki_step_detect_obj = cpl.Recipe("hawki_step_detect_obj")
hawki_step_detect_obj.param.sigma_det = 6.0
hawki_step_detect_obj.param.growing_radius = 5
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
hawki_step_detect_obj = cpl.Recipe("hawki_step_detect_obj")
[...]
res = hawki_step_detect_obj( ..., param = {"sigma_det":6.0, "growing_radius":5})
See also
cpl.Recipe for more information about the recipe object.
Please report any problems to Cesar Enrique Garcia Dabo. Alternatively, you may send a report to the ESO User Support Department.
This file is part of the HAWKI Instrument Pipeline Copyright (C) 2002,2011 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: Cesar Enrique Garcia Dabo <usd-help@eso.org>