Formats of input dictionaries or files#
Some information can be provided as a dictionary or as an input file. The formats are described here.
Components#
The information for the components is given with a dictionary, which can have one of the following format :
if you don’t have too many species, you can provide all the information directly in the dictionary ; it should be a dictionary of dictionaries:
{ 'c1': { 'size': parameter_infos(min=1., max=50., value=30.0, vary=True), 'tex': parameter_infos(min=10., max=300., value=100., vary=True), 'vlsr': parameter_infos(min=0., max=10.0, value=4.0, vary=True), 'fwhm': parameter_infos(min=1.0, max=15.0, value=3., vary=True) 'interacting': True, 'species': [ {'tag': 41505, 'ntot': parameter_infos(min=0.001, max=1000., value=2.e16, factor=True), }, {'tag': 28502, 'ntot': parameter_infos(min=0.001, max=1000., value=2.e15, factor=True), }, ] }, 'c2': {...} }
Thresholds#
In all cases, you can provide information on more species than needed, the program will only look for the
species given by the user via the keyword inspect or components.
As a dictionary, species by species:
thresholds = { 28501: {'eup_max': 150}, 28502: {'eup_max': 250, 'aij_min': 1.e-4} }
As a dictionary, for all species:
thresholds = { '*': {'eup_max': 150, 'aij_min': 1.e-4} }
As a file: coming soon
Velocity ranges#
# File giving the velocity ranges over which to compute chi2
# Format :
#
# tag
# vmin <tab> vmax <tab> list of transitions numbers
# <blank line>
#
# N.B. : transition numbers are as given by CASSIS, ordered by frequency, with the same thresholds
#
41505
0.5 5.5 2,4,7,9
-5.5 5.5 5,10
28502
1.0 5.0 3