oasislmf.pytools.pla.manager¶
Attributes¶
Functions¶
|
Execute the main Post Loss Amplification workflow. |
Module Contents¶
- oasislmf.pytools.pla.manager.run(run_dir, file_in, file_out, input_path, static_path, secondary_factor, uniform_factor)[source]¶
Execute the main Post Loss Amplification workflow.
- Parameters:
run_dir (str) – the directory of where the process is running
file_in (str) – file name of input stream
file_out (str) – file name of output streak
input_path (str) – path to amplifications.bin
static_path (str) – path to lossfactors.bin
secondary_factor (float) – secondary factor to apply to post loss amplification
uniform_factor (float) – uniform factor to apply across all losses
- Returns:
if no errors occurred
- Return type:
0 (int)