AlphaDist

class bin.alphaDist. AlphaDist ( fort13 , explist , distmin = - 1 , distmax = 1 , distmid = 0 , distsep = 0.1 ) [source]

Main method to execute all distortion calculations.

Parameters
fort13 str

Path to input Voigt profile model

explist str

Path to exposure list.

distmin float

Minimum slope to compute. Default is -1.

distmax float

Maximum slope to compute. Default is 1.

distmid float

Starting slope value. Default is 0

distsep float

Interval between consecutive slope values. Default is 0.1.

Examples

From executable:

>>> alphaDist --explist xshooter_exposures.dat --model finished.13

Methods Summary

atominfo (atomID)

Find transition in atom list and extract information.

convert26to13 ()

Create fort_fit.13 after fitting fort_ini.13 completed.

create_model (distmid, distsep)

Create distortion model from original fort.13.

fit_system ()

Fit original fort.13 distortion model.

makeatomlist (atompath)

Store data from atom.dat

write_model ()

Write input distortion model in fort_ini.13 file.

Methods Documentation

atominfo ( atomID ) [source]

Find transition in atom list and extract information.

Parameters
atomID string

Name of the transition, written as ion_wavelength.

convert26to13 ( ) [source]

Create fort_fit.13 after fitting fort_ini.13 completed.

create_model ( distmid , distsep ) [source]

Create distortion model from original fort.13.

fit_system ( ) [source]

Fit original fort.13 distortion model.

makeatomlist ( atompath ) [source]

Store data from atom.dat

write_model ( ) [source]

Write input distortion model in fort_ini.13 file.