Images burst combination recipe
visir_img_burst – VISIR burst mode recipe.
This recipe recombines data observed in chopping and/or nodding mode into one combined image using optionally cross-correlation methods
Create an object for the recipe visir_img_burst.
import cpl
visir_img_burst = cpl.Recipe("visir_img_burst")
starting image where the noise level is ok - -1 for auto mode (long; default: 1) [default=1].
index where the pos source changes position in the nodded cube (long; default: -1) [default=-1].
index where the neg source changes position in the nodded cube (long; default: -1) [default=-1].
tell if the source is in the left or right side in the chopped im (long; default: -1) [default=-1].
tell if the source is in the left or right side in the nodded im (long; default: -1) [default=-1].
threshold used for the detection of sources in the images nodded (float; default: 4.0) [default=4.0].
threshold used for the det. of sources in the images chopped (float; default: 4.0) [default=4.0].
threshold used for the detection of the position of 4 sources (float; default: 4.0) [default=4.0].
Flag to use the destriping (bool; default: False) [default=False].
Flag to use the morphological cleaning in the destriping (bool; default: False) [default=False].
Flag to make a debug computation and save files (bool; default: False) [default=False].
Ignored (str; default: ‘/dev/null’) [default=”/dev/null”].
The following code snippet shows the default settings for the available parameters.
import cpl
visir_img_burst = cpl.Recipe("visir_img_burst")
visir_img_burst.param.SI = 1
visir_img_burst.param.IPOS = -1
visir_img_burst.param.INEG = -1
visir_img_burst.param.left_chop = -1
visir_img_burst.param.left_nod = -1
visir_img_burst.param.sigma_nod = 4.0
visir_img_burst.param.sigma_chop = 4.0
visir_img_burst.param.sigma_4sources = 4.0
visir_img_burst.param.destripe = False
visir_img_burst.param.morpho = False
visir_img_burst.param.debug = False
visir_img_burst.param.psf = "/dev/null"
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
visir_img_burst = cpl.Recipe("visir_img_burst")
[...]
res = visir_img_burst( ..., param = {"SI":1, "IPOS":-1})
See also
cpl.Recipe for more information about the recipe object.
Please report any problems to Lars Lundin. Alternatively, you may send a report to the ESO User Support Department.
This file is part of the VISIR Instrument Pipeline Copyright (C) 2007 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
Code author: Lars Lundin <llundin@eso.org>