blissoda.fluo.processor.FluoProcessor#

class blissoda.fluo.processor.FluoProcessor(config=None, defaults=None, **deprecated_defaults)[source]#

Bases: BaseProcessor

A class that holds parameters related to online workflow triggering for PyMCA.

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

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

  • deprecated_defaults (Dict[str, Any])

CONFIG_MODEL_CLASS#

alias of BlissAutomationConfig

add_xrf_names(detector, *spectra)[source]#

Add an xrf detector and its spectra to the processor

Parameters:

spectra (Sequence[int])

Return type:

None

clear_xrf_names()[source]#
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_portal_upload#
property detector_names: List[str]#

Bliss channel names or HDF5 names. Detector numbers are resolved as strings.

property detectors#
disable()#
enable()#
property energy_name#
get_filename(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

str

get_fluoxas_arguments(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

dict

get_mosaic_xrfmap_arguments(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

dict

get_scanned_motor_names(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

Optional[List[str]]

get_submit_arguments(scan, processing_type)[source]#
Parameters:
Return type:

Tuple[str, dict]

get_workflow(scan, workflow_stem)[source]#

Get the workflow to execute for the scan and ensure it is located in the proposal directory for user reference and worker accessibility.

Parameters:
  • scan (_Unavailable)

  • workflow_stem (str)

Return type:

Optional[str]

get_xrf_names(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

List[str]

get_xrfmap_arguments(scan)[source]#
Parameters:

scan (_Unavailable)

Return type:

dict

property h5_detector_names: List[str]#

HDF5 names only.

property ignore_axes#
property instrument_name#
master_output_url(scan)[source]#

URL which can be used to inspect the results after the processing.

Parameters:

scan (_Unavailable)

Return type:

str

property norm_counter_name#
property output_suffix#
property pymca_configs#
property quantification#
property queue#
scan_requires_processing(scan)[source]#

Check whether raw data is saved and whether it contains MCA spectra.

Parameters:

scan (_Unavailable)

Return type:

bool

property trigger_at: str | None#
property virtual_axes#
property workflow#
property xrf_names: List[str]#

Bliss channel names or HDF5 names. Detector numbers are resolved as strings.