est.core.process package

Subpackages

est.core.process.process module

module for process base class

class est.core.process.process.Process(name)

Bases: object

addCallback(callback)
property advancement
property callbacks
definition()

definition of the process

getConfiguration()
Returns

configuration of the process

Return type

dict

static getXasObject(xas_obj)
property name
program_name()

Name of the program used for this processing

program_version()

version of the program used for this processing

register_process(xas_obj, data_keys)

Store the current process in the linked h5 file if any, output data stored will be the one defined by the data_keys

Parameters
  • xas_obj – object for which we want to save the treatment

  • data_keys (tuple) – keys of the id to save

  • relative_to (str) – x value

Type

XASObject

setConfiguration(configuration)
stop()

est.core.process.progress module

module for giving information on process progress

class est.core.process.progress.Progress(name)

Bases: object

Simple interface for defining advancement on a 100 percentage base

endProcess()
increaseAdvancement(i=1)
reset(max_=None)
setAdvancement(value)
setMaxSpectrum(n)
startProcess()

est.core.process.roi module

class est.core.process.roi.ROIProcess

Bases: est.core.process.process.Process

process(xas_obj)
Parameters

xas_obj – object containing the configuration and spectra to process

Type

Union[XASObject, dict]

Returns

spectra dict

Return type

XASObject

setProperties(properties)
setRoi(origin, size)
est.core.process.roi.xas_roi(xas_obj)

apply roi on the XASObject.spectra

Parameters

xas_obj – object containing the configuration and spectra to process

Type

Union[XASObject, dict]

Returns

spectra dict

Return type

XASObject

est.core.process.setup module

est.core.process.setup.configuration(parent_package='', top_path=None)

Module contents