Find the positive beam in a nodded image
The files listed in the Set Of Frames (sof-file) must be tagged pair-wise: VISIR-raw-file.fits NODDED VISIR-bpm-file.fits BPM
The product(s) will have a FITS card ‘HIERARCH ESO PRO CATG’ with a value of: NODDED_REFINED
Create an object for the recipe visir_util_find_beam.
import cpl
visir_util_find_beam = cpl.Recipe("visir_util_find_beam")
The number of frames in the running mean used to make the object visible is 1 + twice this number (long; default: 3) [default=3].
The following code snippet shows the default settings for the available parameters.
import cpl
visir_util_find_beam = cpl.Recipe("visir_util_find_beam")
visir_util_find_beam.param.hmean = 3
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
visir_util_find_beam = cpl.Recipe("visir_util_find_beam")
[...]
res = visir_util_find_beam( ..., param = {"hmean":3})
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) 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
Code author: Lars Lundin <llundin@eso.org>