xas.core.process.pymca package¶
xas.core.process.pymca.exafs module¶
-
class
xas.core.process.pymca.exafs.PyMca_exafs¶ Bases:
xas.core.process.process.ProcessProcess spectra for exafs and get information about the processing advancement
-
definition()¶ definition of the process
-
process(xas_obj)¶
-
program_name()¶ Name of the program used for this processing
-
program_version()¶ version of the program used for this processing
-
setProperties(properties)¶
-
-
xas.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
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
xas.core.process.pymca.ft module¶
-
class
xas.core.process.pymca.ft.PyMca_ft¶ Bases:
xas.core.process.process.Process-
definition()¶ definition of the process
-
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
-
setProperties(properties)¶
-
-
xas.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
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
xas.core.process.pymca.k_weight module¶
-
class
xas.core.process.pymca.k_weight.PyMca_k_weight¶ Bases:
xas.core.process.process.Process-
definition()¶ definition of the process
-
process(xas_obj)¶
-
program_name()¶ Name of the program used for this processing
-
program_version()¶ version of the program used for this processing
-
setProperties(properties)¶
-
-
xas.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
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
xas.core.process.pymca.normalization module¶
-
class
xas.core.process.pymca.normalization.PyMca_normalization¶ Bases:
xas.core.process.process.Process-
definition()¶ definition of the process
-
process(xas_obj)¶
-
program_name()¶ Name of the program used for this processing
-
program_version()¶ version of the program used for this processing
-
setProperties(properties)¶
-
-
xas.core.process.pymca.normalization.process_spectr_norm(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
- Type
dict
- Type
bool
- Type
multiprocessing.manager.list
- Type
dict
- Returns
processed spectrum
- Return type
tuple (configuration, spectrum)
-
xas.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
xas.core.process.pymca.setup module¶
-
xas.core.process.pymca.setup.configuration(parent_package='', top_path=None)¶