kmo_fit_profile7
Fit spectral line profiles as well as spatial profiles with a simple function - for example to measure resolution or find the centre of a source
Usage
esorex kmo_fit_profile [OPTIONS] FILE.sof
Overview
This recipe creates either spectral or spatial profiles of sources using dif- ferent functions to fit. Spectral profiles can be created for F1I frames (if WCS is defined in the input frame, the output parameters are in respect to the defined WCS).
Spatial profiles can be created for F2I frames (any WCS information is ignored here).
If the frames contain no noise information, constant noise is assumed for the fitting procedure.
Basic parameters
--method F1I frames can be fitted using either ´gauss´, ´moffat´ or ´lorentz´ function.
F2I frames can be fitted using either ´gauss´ or ´moffat´ function.
Advanced parameters
--range For F1I frames the spectral range can be defined. With available WCS informa- tion the range can be provided in units (e.g. “1.2;1.5”), otherwise in pixels (e.g. “112;224).
For F2I frames the spatial range can be defined as follow: “x1,x2;y1,y2”
Input files:
DO KMOS
category Type Explanation Required #Frames
-------- ----- ----------- -------- -------
<none or any> F1I or Frame with or Y 1
F2I without noise
Output files:
DO KMOS
category Type Explanation
-------- ----- -----------
FIT_PROFILE F1I Fitted profile (without noise frame)
or (3 Extensions)
F2I
Options
-
--method <str> -
Either fit "gauss", "moffat" or "lorentz" for 1D data.Either fit "gauss" or "moffat" for 2D data. (str; default: ´gauss´). The full name of this option for the EsoRex configuration file is
kmos.kmo_fit_profile.method[default = gauss].
-
--range <str> -
The spectral or spatial range to combine. Default is the whole range. e.g. F1I: "0.5,2.1" (microns), e.g. F2I: "1,7;3,10" (pixels: x1,x2;y1,y2), pixels are counted from 1. (str; default: ´´). The full name of this option for the EsoRex configuration file is
kmos.kmo_fit_profile.range[default = ].
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.
Version
kmo_fit_profile 2.1.0
Releases
3 releases since Debian 8 (Jessie); the text changed 2 times.