The sinfo_utl_cube2ima recipe¶
-
sinfo_utl_cube2ima
¶
Synopsis¶
Cube to image conversion
Description¶
This recipe performs cube to image comversion.
The input file is a cube which is contained in the sof file Its tag should be CUBE.
The output is an image resulting from the average of the cube over a wavelength rage which can be set by parameters sinfoni.sinfo_utl_cube2ima.ws sinfoni.sinfo_utl_cube2ima.we having aliases ‘ws’ ‘we’
Constructor¶
-
cpl.
Recipe
("sinfo_utl_cube2ima") Create an object for the recipe sinfo_utl_cube2ima.
import cpl
sinfo_utl_cube2ima = cpl.Recipe("sinfo_utl_cube2ima")
Parameters¶
-
sinfo_utl_cube2ima.param.
ws
¶ starting wavelength (float; default: 0.9999) [default=0.9999].
-
sinfo_utl_cube2ima.param.
we
¶ starting wavelength (float; default: 2.999) [default=2.999].
The following code snippet shows the default settings for the available parameters.
import cpl
sinfo_utl_cube2ima = cpl.Recipe("sinfo_utl_cube2ima")
sinfo_utl_cube2ima.param.ws = 0.9999
sinfo_utl_cube2ima.param.we = 2.999
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
sinfo_utl_cube2ima = cpl.Recipe("sinfo_utl_cube2ima")
[...]
res = sinfo_utl_cube2ima( ..., param = {"ws":0.9999, "we":2.999})
See also
cpl.Recipe for more information about the recipe object.
Bug reports¶
Please report any problems to Andrea Modigliani. Alternatively, you may send a report to the ESO User Support Department.
Copyright¶
This file is part of the SINFONI Instrument Pipeline Copyright (C) 2002,2003 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: Andrea Modigliani <Andrea.Modigliani@eso.org>