The visir_old_util_destripe recipe =============================================================== .. data:: visir_old_util_destripe Synopsis -------- Old DRS detector: Attempt to remove stripes in spectral data Description ----------- The files listed in the Set Of Frames (sof-file) must be tagged: VISIR-chopnod-corrected-file.fits BKG_CORRECTED The product(s) will have a FITS card 'HIERARCH ESO PRO CATG' with a value of: DESTRIPED Constructor ----------- .. method:: cpl.Recipe("visir_old_util_destripe") :noindex: Create an object for the recipe visir_old_util_destripe. :: import cpl visir_old_util_destripe = cpl.Recipe("visir_old_util_destripe") Parameters ---------- .. py:attribute:: visir_old_util_destripe.param.destripe_iterations Max number of destriping iterations (0 to disable destriping). Horizontal destriping is done first and if no horizontal striping is detected, vertical destriping is performed (int; default: 15) [default=15]. .. py:attribute:: visir_old_util_destripe.param.destripe_morpho Destripe with morphological cleaning (bool; default: False) [default=False]. The following code snippet shows the default settings for the available parameters. :: import cpl visir_old_util_destripe = cpl.Recipe("visir_old_util_destripe") visir_old_util_destripe.param.destripe_iterations = 15 visir_old_util_destripe.param.destripe_morpho = False You may also set or overwrite some or all parameters by the recipe parameter `param`, as shown in the following example: :: import cpl visir_old_util_destripe = cpl.Recipe("visir_old_util_destripe") [...] res = visir_old_util_destripe( ..., param = {"destripe_iterations":15, "destripe_morpho":False}) .. seealso:: `cpl.Recipe `_ for more information about the recipe object. Bug reports ----------- Please report any problems to `Julian Taylor `_. Alternatively, you may send a report to the `ESO User Support Department `_. Copyright --------- This file is part of the VISIR Instrument Pipeline Copyright (C) 2012 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 .. codeauthor:: Julian Taylor