crunchflow.util =============== .. py:module:: crunchflow.util .. autoapi-nested-parse:: Various utilities for working with CrunchFlow files. .. !! processed by numpydoc !! Functions --------- .. autoapisummary:: crunchflow.util.correct_exponent Module Contents --------------- .. py:function:: correct_exponent(filename, folder='.', verbose='med') Correct triple digit exponents within a file. CrunchFlow has trouble outputting triple-digit exponents and omits the 'E'. For example, '2.5582E-180' prints as '2.5582-180'. :Parameters: **filename** : str name of the file to be processed **folder** : str folder containing the file, either relative or absolute path **verbose** : {'med', 'high', 'low'} Print each correction as it's performed ('high'), print total number of corrections ('med'), or print nothing ('low'). The default is 'med' :Returns: None. Modifies the file in place. .. .. !! processed by numpydoc !!