Minimize a set of parameters in a single spectrum#
Overview of the configuration keys#
For each key, a short description is given ; for more information, click on the link (name of the key).
Mandatory keys#
data_file: path to the datafileminimize: in this case must beTruecomponents: a file or a dictionary with the parameters of the componentstuning_info: a dictionary used to specify which telescope(s) to use over a given (list of) frequency range(s); if the ranges are smallerrms_cal: a file or a dictionary providing noise and calibration information(
v_rangeandbandwidth) orfit_freq_except; see Workflow
Recommended keys#
output_dir: the path to the directory for writing output files.
Optional keys#
thresholds: thresholds on the spectroscopic parameterssnr_threshold: when provided, only line with a modeled signal-to-noise ratio greater than this value will be saved.oversampling: oversampling of the model (for display purposes)line_shift_kms: if the data are in sky frequency, use this value to search for lines outside the observed range.tc: value(s) for the continuumtcmb: temperature of the CMBmax_iter: maximum number of iterationsoptions for the display (to come)
Workflow#
Components setup : for each component, the program finds the list of species
The program reads the file given with
data_fileIf
franges_ghzis provided, data are selected over these frequency rangesFor a given species, the program searches for transitions within the range(s) specified with
tuning_info. For display purposes, only transitions within the spectroscopic constraints provided by the user are selected.Warning
The constraints are only used to select lines to be displayed. The model will always use all the transitions found within a certain frequency range, regardless of the values of their spectroscopic parameters.
Data points used for the fit are:
either within the velocity ranges provided by the user
or all points except those in some (small) frequency windows