est.core.process.pymca package¶
est.core.process.pymca.exafs module¶
-
class
est.core.process.pymca.exafs.
PyMca_exafs
¶ Bases:
est.core.process.process.Process
Process spectra for exafs and get information about the processing advancement
-
definition
()¶ definition of the process
-
inputs
= [_input_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, handler='process', doc='')]¶
-
outputs
= [_output_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, doc='')]¶
-
process
(xas_obj)¶
-
program_name
()¶ Name of the program used for this processing
-
program_version
()¶ version of the program used for this processing
-
set_properties
(properties)¶
-
-
est.core.process.pymca.exafs.
process_spectr_exafs
(spectrum, configuration, overwrite=True, callbacks=None, output=None, output_dict=None)¶ - Parameters
spectrum – spectrum to process
configuration – configuration of the pymca normalization
overwrite – False if we want to return a new Spectrum instance
callback – callback to execute.
output – list to store the result, needed for pool processing
output_dict – key is input spectrum, value is index in the output list.
- Type
Spectrum
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
-
est.core.process.pymca.exafs.
pymca_exafs
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[XASObject, dict]
- Returns
spectra dict
- Return type
XASObject
est.core.process.pymca.ft module¶
-
class
est.core.process.pymca.ft.
PyMca_ft
¶ Bases:
est.core.process.process.Process
-
definition
()¶ definition of the process
-
inputs
= [_input_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, handler='process', doc='')]¶
-
outputs
= [_output_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, doc='')]¶
-
process
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[XASObject, dict]
- Returns
spectra dict
- Return type
dict
-
program_name
()¶ Name of the program used for this processing
-
program_version
()¶ version of the program used for this processing
-
set_properties
(properties)¶
-
-
est.core.process.pymca.ft.
process_spectr_ft
(spectrum, configuration, overwrite=True, callbacks=None, output=None, output_dict=None)¶ - Parameters
spectrum – spectrum to process
configuration – configuration of the pymca normalization
overwrite – False if we want to return a new Spectrum instance
callback – callback to execute.
output – list to store the result, needed for pool processing
output_dict – key is input spectrum, value is index in the output list.
- Type
Spectrum
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
-
est.core.process.pymca.ft.
pymca_ft
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[XASObject, dict]
- Returns
spectra dict
- Return type
dict
est.core.process.pymca.k_weight module¶
-
class
est.core.process.pymca.k_weight.
PyMca_k_weight
¶ Bases:
est.core.process.process.Process
-
definition
()¶ definition of the process
-
inputs
= [_input_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, handler='process', doc='')]¶
-
outputs
= [_output_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, doc='')]¶
-
process
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[
XASObject
, dict]- Returns
spectra dict
- Return type
XASObject
-
program_name
()¶ Name of the program used for this processing
-
program_version
()¶ version of the program used for this processing
-
set_properties
(properties)¶
-
-
est.core.process.pymca.k_weight.
process_spectr_k
(spectrum, configuration, overwrite=True, callbacks=None, output=None, output_dict=None)¶ - Parameters
spectrum – spectrum to process
configuration – configuration of the pymca normalization
overwrite – False if we want to return a new Spectrum instance
callback – callback to execute.
output – list to store the result, needed for pool processing
output_dict – key is input spectrum, value is index in the output list.
- Type
Spectrum
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
-
est.core.process.pymca.k_weight.
pymca_k_weight
(xas_obj)¶ Set weight for exafs values
- Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[
XASObject
, dict]- Returns
spectra dict
- Return type
XASObject
est.core.process.pymca.normalization module¶
-
class
est.core.process.pymca.normalization.
PyMca_normalization
¶ Bases:
est.core.process.process.Process
-
definition
()¶ definition of the process
-
inputs
= [_input_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, handler='process', doc='')]¶
-
outputs
= [_output_desc(name='xas_obj', type=<class 'est.core.types.xasobject.XASObject'>, doc='')]¶
-
process
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[XASObject, dict] If is a dict, should contain configuration or spectra keys. Otherwise is simply the spectra
- Returns
updated XASObject
- Return type
XASObject
-
program_name
()¶ Name of the program used for this processing
-
program_version
()¶ version of the program used for this processing
-
set_properties
(properties)¶
-
-
est.core.process.pymca.normalization.
process_spectr_norm
(spectrum: est.core.types.spectrum.Spectrum, configuration, overwrite=True, callbacks=None, output=None, output_dict=None)¶ - Parameters
spectrum – spectrum to process
configuration – configuration of the pymca normalization
overwrite – False if we want to return a new Spectrum instance
callbacks – callback to execute.
output – list to store the result, needed for pool processing
output_dict – key is input spectrum, value is index in the output list.
- Type
Spectrum
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
-
est.core.process.pymca.normalization.
pymca_normalization
(xas_obj)¶ - Parameters
xas_obj – object containing the configuration and spectra to process
- Type
Union[XASObject, dict] If is a dict, should contain configuration or spectra keys. Otherwise is simply the spectra
- Returns
spectra dict
- Return type
dict
est.core.process.pymca.setup module¶
-
est.core.process.pymca.setup.
configuration
(parent_package='', top_path=None)¶