Default values for global Radis parameters
- AUTO_UPDATE_SPEC = False¶
experimental feature used to autoupdate .spec files to the latest format, by simply saving them again once they’re loaded and fixed. Warning! Better have a copy of your files before that, or a way to regenerate them.
Add to the top of your script (once is enough!):
import radis radis.AUTO_UPDATE_SPEC = True
- DEBUG_MODE = False¶
change this at runtime with:
import radis radis.DEBUG_MODE = True
radis.misc, typically with:
if __debug__: printdbg(...)
so that printdbg are removed by the Python preprocessor when running in optimize mode:
python -O *.py
- GRIDPOINTS_PER_LINEWIDTH_ERROR_THRESHOLD = 1¶
to determine the minimum feasible value of wstep using minimum FWHM value of spectrum. Makes sure there are enough gridpoints per line.
- GRIDPOINTS_PER_LINEWIDTH_WARN_THRESHOLD = 3¶
to determine the optimal value of wstep using minimum FWHM value of spectrum. Makes sure there are enough gridpoints per line.
- OLDEST_COMPATIBLE_VERSION = '0.9.1'¶
forces to regenerate cache files that were created in a previous version