Table Of Contents

Previous topic

The hawki_step_basic_calib recipe

Next topic

The hawki_step_compute_bkg recipe

This Page

The hawki_step_detect_obj recipe

hawki_step_detect_obj

Synopsis

Object detection recipe

Description

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

Constructor

cpl.Recipe("hawki_step_detect_obj")

Create an object for the recipe hawki_step_detect_obj.

import cpl
hawki_step_detect_obj = cpl.Recipe("hawki_step_detect_obj")

Parameters

hawki_step_detect_obj.param.sigma_det

detection level (float; default: 6.0) [default=6.0].

hawki_step_detect_obj.param.growing_radius

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.

Bug reports

Please report any problems to Cesar Enrique Garcia Dabo. Alternatively, you may send a report to the ESO User Support Department.