ecpi.process.generic.component module

Section author: ECLAIRs GP team

Implementation of generic module components ran by ECPI.

Summary

Classes:

GenericComponentProcessing

.

Class diagram:

Reference

class GenericComponentProcessing(file_schema)[source]

Bases: abc.ABC

. Mother class for all ECPI modules.

check_params()[source]

Check parameters of component

Parameters of component are in self.d_pars attribute

complete_params_with_dict(new_dict_pars)[source]

Add params from section if not present in self.d_pars

run(data_in_obj=None)[source]

Run/processing with parameters and d_data_in

Parameters

data_in_obj – dictionary with data object

set_cfg_params(cfg_pars, section)[source]

Set parameters of component with dict or file with configparser

Parameters
  • cfg_pars (dict or string) – parameters containers dict or file

  • section (str) – name of ecpi section

set_dict_params(dict_pars)[source]

Set dictionary parameters

Parameters

dict_pars

set_model_effect_detector(mod_dpix)[source]
status_int()[source]

Return status number

status_msg()[source]

Return status message