oasislmf.computation.base¶
Classes¶
"Abstract" Class for all Computation Step (ExposurePreAnalysis, GulCalc, ...) |
Module Contents¶
- class oasislmf.computation.base.ComputationStep(**kwargs)[source]¶
“Abstract” Class for all Computation Step (ExposurePreAnalysis, GulCalc, …) initialise the object with all specified param un step_param and sub- ComputationStep provide a generic interface to get the all those parameter definitions (get_params)
the Run method must be implemented and contain le business execution logic.
- classmethod get_params()[source]¶
return all the params of the computation step defined in step_params and the params from the sub_computation step in chained_commands if two params have the same name, return the param definition of the first param found only this allow to overwrite the param definition of sub step if necessary.