sinfo_utl_cube_arith(7) Cube arithmetics


esorex sinfo_utl_cube_arith [OPTIONS] FILE.sof


This recipe perform cube arithmetics.

If parameter value is specified the input frame is a cube in a sof file with tag CUBE Else the input files are a cube and an images or a spectrum their associated tags should be respectively CUBE, IMA or SPECTRUM.

The output is a cube with tag PRO_CUBE resulting from the operation CUBE op IMA or CUBE op SPECTRUM or CUBE op value where op indicates the operation to be performed


--op <str>
A possible operation: `/','*','+' or `-' (str; default: '/'). The full name of this option for the EsoRex configuration file is sinfoni.sinfo_utl_cube_arith.op [default = /].
--value <float>
A constant to add (float; default: 99999.0). The full name of this option for the EsoRex configuration file is sinfoni.sinfo_utl_cube_arith.value [default = 99999.0].

Note that it is possible to create a configuration file containing these options, along with suitable default values. Please refer to the details provided by the 'esorex --help' command.


sinfo_utl_cube_arith 2.9.0


Andrea Modigliani <[email protected]>


Please report any problems to [email protected]. Alternatively, you may send a report to the ESO User Support Department <[email protected]>.


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