blissoda.exafs.processor.ExafsProcessor#
- class blissoda.exafs.processor.ExafsProcessor(config=None, defaults=None, **deprecated_defaults)[source]#
Bases:
BlissAutomationObjectRun a scan, execute a workflow every x seconds during the scan and plot the results in Flint. A fixed number of N scans stays plotted.
- Parameters:
config (
Optional[Dict[str,Any]])defaults (
Optional[Dict[str,Any]])deprecated_defaults (
Dict[str,Any])
- CONFIG_MODEL_CLASS#
alias of
BlissAutomationConfig
- copy_and_remove_parameters(shared, name)#
Copy&Remove parameters from another scope (global or session, singleton or instance).
- Parameters:
shared (
bool)name (
Optional[str])
- Return type:
None
- property counters: dict#
- property enabled#
- property energy_name: str | None#
- property energy_unit: str | None#
- property max_scans: int#
- property min_log: bool | None#
- property mon_name: str | None#
- property mu_name: str | None#
- property queue#
- property refresh_period#
- remove_scan(legend)[source]#
Disable subscan and remove from Flint.
- Parameters:
legend (
str)- Return type:
None
- reprocess(filename=None, scan_number=None, multi_xas_scan=None, multi_xas_subscan_size=None, energy_name=None, energy_unit=None, mu_name=None, mon_name=None, min_log=None)[source]#
Reprocess and re-plot.
- Parameters:
filename (
Optional[str])scan_number (
Optional[int])multi_xas_scan (
Optional[bool])multi_xas_subscan_size (
Optional[int])energy_name (
Optional[str])energy_unit (
Optional[str])mu_name (
Optional[str])mon_name (
Optional[str])min_log (
Optional[bool])
- Return type:
None
- run(scan, filename=None, **kw)[source]#
- Parameters:
scan (
Union[_Unavailable,_Unavailable])filename (
Optional[str])
- Return type:
None
- property scan_type: str | None#
- test(scan_number, auto_detect_monotonic=False)[source]#
- Parameters:
scan_number (
int)auto_detect_monotonic (
bool)
- Return type:
None
- property trim_n_points#
- property workflow#