blissoda.id26.rixs_plotter.RixsPlotter#

class blissoda.id26.rixs_plotter.RixsPlotter(config=None, defaults=None, **deprecated_defaults)[source]#

Bases: BaseProcessor

Online plotter for RIXS planes displayed in a Flint widget.

Typically instantiated in the Bliss session setup script.

Use enable() / disable() to start/stop automatic plotting on each new scan, or call the instance directly with a scan range:

rixs_plotter(start_scan_id, stop_scan_id)

Call reset() before enable() to start a new map from scratch.

The y_axis attribute can be set to either: - "emission energy" (default): plots emission energy on Y. - "energy transfer": plots (incident energy - emission energy) on Y.

Parameters:
  • config (dict[str, Any] | None)

  • defaults (dict[str, Any] | None)

  • deprecated_defaults (dict[str, Any])

CONFIG_MODEL_CLASS#

alias of BlissAutomationConfig

DEFAULT_PARAMETERS = {'_clear_plot': True, '_enabled': False, 'conc_corr_scan_id': None, 'data_mappings': {'signal': '.1/measurement/sim_gaussian_1', 'x': '.1/measurement/elapsed_time', 'y': '.1/instrument/positioners/xes_en'}, 'filename': None, 'start_scan_id': None, 'stop_scan_id': None, 'trigger_at': 'END', 'workflow': '/home/docs/checkouts/readthedocs.org/user_builds/blissoda/envs/latest/lib/python3.9/site-packages/blissoda/resources/id26/rixs_plotter.json', 'y_axis': 'emission energy'}#
property conc_corr_scan_id#
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 data_mappings#
disable()#
enable()#
property filename#
reset()[source]#
property start_scan_id#
property stop_scan_id#
property trigger_at: str | None#
property workflow#
property y_axis#