blissoda.demo.processors.streamline_id31.DemoId31StreamlineScanner#
- class blissoda.demo.processors.streamline_id31.DemoId31StreamlineScanner(config=None, defaults=None, **deprecated_defaults)[source]#
Bases:
DemoStreamlineScannerMixIn,Id31StreamlineScanner- Parameters:
config (
Optional[Dict[str,Any]])defaults (
Optional[Dict[str,Any]])deprecated_defaults (
Dict[str,Any])
- CONFIG_MODEL_CLASS#
alias of
BlissAutomationConfig
- property attenuator_name#
- property auto_stop_acc_mode#
- property auto_stop_attenuation_mode#
- property auto_stop_ghost_threshold_per_frame#
- property auto_stop_metric_timeout#
- property auto_stop_scan_npoints#
- property auto_stop_spottiness_threshold#
- property auto_stop_spotty_extra_atten#
- property auto_stop_spotty_safe_atten#
- property auto_stop_spotty_stability_frames#
- property auto_stop_spotty_stability_tol#
- property auto_stop_sum_frame_max_counts#
- property auto_stop_target_max#
- property auto_stop_target_min#
- property auto_stop_threshold#
- property auto_stop_workflow_path#
- property autotune_qrreader_per: str | None#
- property baguette_type: str | None#
Currently active baguette type name, returns None if unset.
- calib(*args, **kwargs)#
- property calib_ring_detector_name#
- property calibrant#
- property calibration_motor#
- property calibration_scans#
- 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 default_attenuator#
- property detector_name#
- property detector_saturation#
- determine_exposure_conditions()#
Pre-define optimal conditions: ascan at fixed attenuator position
- determine_exposure_conditions_individually()#
Pre-define optimal conditions: ct on each sample with adapted attenuator if the default attenuator position gives too much or too little counts
- property dryrun#
- eject()#
- property energy_name#
- property flat_enabled#
- property image_slice#
- init_auto_stop_workflow()[source]#
Initialise the demo auto-stop workflow.
Creates the PyFAI config file if needed, writes the
PyFaiConfig → IntegrateAndSendMsgEwoks workflow JSON into the proposal’s workflows directory, and setsauto_stop_workflow_path.- Return type:
None
- init_workflow(with_autocalibration=True)#
- Parameters:
with_autocalibration (
bool)
- property integration_options#
- load()#
- measure_sample(count_time=1, *args, has_qrcode=True, **kwargs)#
- Parameters:
count_time (
float)has_qrcode (
bool)
- property newflat#
- property oldflat#
- property optimize_attenuator#
- property optimize_exposure_per: str | None#
- property optimize_mask_file: str | None#
- property optimize_max_exposure_time#
- property optimize_min_exposure_time#
- property optimize_nb_frames#
- property optimize_pixel_value#
- property pyfai_config#
- qr_read()#
- Return type:
str
- property queue#
- property rockit_distance#
- run(*args, **kwargs)#
- run_context()#
- property sample_changer#
- property sample_changer_name#
- select_sample(sample_index, use_qr_code=True)#
- Parameters:
sample_index (
int)use_qr_code (
bool)
- Return type:
str
- property skip_when_no_qr_code#
- property trigger_workflows#
- tune_qrreader(force=False)#
- Return type:
str
- tune_qrreader_for_baguette()#
- Return type:
None
- property verify_qrcode#
- property vibration_speed_during_scan#
- property workflow#
- property workflow_has_calib#
- property workflow_has_flatfield#