Inelastica.misc.valuecheck

Contains general quantities that are used to do checks in the Inelastica package.

It allows users to edit the criterias of crashes without editing the code.

Currently if this is to be used with Inelastica or `pyTBT`_, it should be in a wrapper call which emulates the options.

Inelastica.misc.valuecheck.Check(name, val, *msgs)[source]

Checks the value and exits if the value “val” is above the one specified

Inelastica.misc.valuecheck.EditCheck(name, value)[source]

Sets the check of “name” to the value “value”. It will notify the user so that any log files will retain this information.

Inelastica.misc.valuecheck.GetCheck(name)[source]
Inelastica.misc.valuecheck.GetPositional(args, msg='You have not specified any positional argument')[source]
Inelastica.misc.valuecheck.OptionsCheck(opts)[source]

Generic routine for adjusting most used options for routines. I.e. Inelastica/EigenChannels/pyTBT.