common/
ifsfa.pro
top ifsfa
IFSFIT
ifsfa, initproc [, cols=intarr] [, rows=intarr] [, noplots=byte] [, oned=byte] [, verbose=byte], _extra=_extra
This procedure is the core routine to plot the continuum and emission lines fits to a spectrum.
As input, it requires a structure of initialization parameters and the output XDR file from IFSF. The tags for the initialization structure can be found in INITTAGS.txt.
Parameters
- initproc in required type=string
Name of procedure to initialize the fit.
Keywords
- cols in optional type=intarr default=all
Columns to fit, in 1-offset format. Either a scalar or a two-element vector listing the first and last columns to fit.
- rows in optional type=intarr default=all
Rows to fit, in 1-offset format. Either a scalar or a two-element vector listing the first and last rows to fit.
- noplots in optional type=byte
Disable plotting.
- oned in optional type=byte
Data is assumed to be in a 2d array; choose this switch to input data as a 1d array.
- verbose in optional type=byte
Print error and progress messages. Propagates to most/all subroutines.
- _extra
Author information
- Author:
David Rupke
- Copyright:
Copyright (C) 2013-2014 David S. N. Rupke
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 3 of the License or 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, see http://www.gnu.org/licenses/.
- History:
Change History:
2009may13, DSNR, created 2013oct04, DSNR, started re-write for new data 2013oct09, DSNR, documented 2013nov25, DSNR, renamed, added copyright and license; changed required parameters from 'gal' and 'bin' to 'initproc', and optional parameter 'fibers' to 'oned', to make it more general 2014jan13, DSNR, propagated use of hashes; updated for new linelist routine; re-wrote IFSF_PRINTLINPAR and created IFSF_PRINTFITPAR 2014jan16, DSNR, bugfixes 2014jan29, DSNR, added _extra parameter to permit passing parameters to initialization routine; added some lines to deal properly with case of 1d data "cube"
File attributes
Modification date: | Mon Feb 17 09:46:52 2014 |
Lines: | 222 |
Docformat: | rst rst |