blissoda.xrpd.plotter.XrpdPlotter#

class blissoda.xrpd.plotter.XrpdPlotter(number_of_scans=0)[source]#

Bases: BasePlotter

Parameters:

number_of_scans (int)

clear()[source]#

Clear all plots.

clear_lima_plots(lima_name)[source]#
Parameters:

lima_name (str)

Return type:

None

handle_workflow_result(future, timestamp, lima_name, scan_name, output_url=None, retry_timeout=60, retry_period=1)[source]#

Handle workflow results in a background task

Parameters:
  • timestamp (Union[str, datetime, None])

  • lima_name (str)

  • scan_name (str)

  • output_url (Union[Dict[str, Optional[str]], str, None])

  • retry_timeout (int)

  • retry_period (int)

kill_tasks()#

Kill all tasks.

Return type:

int

property number_of_scans#

Maximum number of scans to be plotted

purge_tasks()#

Remove references to tasks that have finished.

Return type:

int

replot(**retry_options)[source]#

Re-draw all plots.

Return type:

None

reset_flint()#
Return type:

None

wait_tasks(timeout=10)#

Wait for all plot tasks to be finished.

Parameters:

timeout (int)

Return type:

int