Submodules module

Things for type and consistency checking of spirit input parameters module

Type checking of spirit input parameters[source]

convert boolean to 1/0 integer for writing, val, len_check=None, minval=None, maxval=None)[source]

Validate array input, val)[source]

validate boolean, val, minval=None, maxval=None, allow_int=True)[source]

validate float[source]

Go through the complete parameters dict and validate the inputs, val, minval=None, maxval=None)[source]

validate integer, val, minval=None, maxval=None)[source]

Check if value is within range given by minval and maxval, val, allowed_strings=None)[source]

Validate string input, val)[source]

check input parameter for consistency and convert to string. Return the string version

Module contents