pyatran.output.read_inp_par

pyatran.output.read_inp_par(fn, par)[source]

Read one parameter from SCE_INP_PARS.OUT

This function reads the value of a single parameter from a SCIATRAN SCE_INP_PARS.OUT file. The parameter value(s) will be sanitized, i.e., converted to list, float, int, str objects.

Parameters:

fn : str

Path to the file to read

par : str

Parameter to read from the file

Returns:

parvals : list or single parameter