blissoda.id09.txs_processor.TxsProcessor#

class blissoda.id09.txs_processor.TxsProcessor(config=None, defaults=None, **deprecated_defaults)[source]#

Bases: BaseProcessorWithPlotting

Parameters:
  • config (Optional[Dict[str, Any]])

  • defaults (Optional[Dict[str, Any]])

  • deprecated_defaults (Dict[str, Any])

CONFIG_MODEL_CLASS#

alias of BlissAutomationConfig

property binning#
property center#
clear_plots()#
Return type:

None

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 detector#
disable()#
disable_plotting()#
property distance#
enable()#
enable_plotting()#
property energy#
get_data(scan, channel, idx=())[source]#

Get processed data for a scan. Tries to mirror the existing scan.get_data for raw data. A list of available channels for a given lima name can be retrieved using get_data_keys.

Ex:
>>> scan = loopscan(5, 0.1, difflab6)
>>> xrpd_processor.get_data_keys(scan, 'difflab6')
['difflab6:intensity', 'difflab6:points', 'difflab6:q']
>>> xrpd_processor.get_data(scan, 'difflab6:intensity')
array([...], dtype=float32)
Parameters:
  • scan (_Unavailable)

  • channel (str)

get_data_keys(scan, lima_name)[source]#
Parameters:
  • scan (_Unavailable)

  • lima_name (str)

get_inputs(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

List[dict]

get_workflow(scan)[source]#
Parameters:

scan (_Unavailable)

property integrate1d_options#
property number_of_scans: int#
property pixel#
property plotter: plotter_class | None#
plotter_class#

alias of XrpdPlotter

purge_plotting_tasks()#
Return type:

int

property queue#
replot()#
Return type:

None

scan_requires_processing(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

bool

stop_plotting_tasks()#
Return type:

int

property trigger_at: str | None#
trigger_workflow_on_new_scan(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

None