moved files to more appropriate locations
This commit is contained in:
19
data/how_to_change_dap_params_in_slic.txt
Normal file
19
data/how_to_change_dap_params_in_slic.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
In [1]: from slic.core.acquisition.broker import restapi
|
||||
...:
|
||||
|
||||
In [2]: address = "http://sf-daq:10003"
|
||||
...:
|
||||
|
||||
In [3]: detector = "JF17T16V01"
|
||||
...:
|
||||
|
||||
In [4]: current = restapi.get_dap_settings(address, detector)
|
||||
...:
|
||||
|
||||
'aggregation_max': 1, 'apply_additional_mask': 0, 'apply_aggregation': 0, 'apply_threshold': 0, 'beam_center_x': 1612.0, 'beam_center_y': 1666.0, 'beam_energy': 11000.000000000000, 'detector_distance': 0.220, 'detector_rate': 100, 'disabled_modules': [], 'do_peakfinder_analysis': 1, 'do_radial_integration': 0, 'do_spi_analysis': 0, 'double_pixels': 'mask', 'hitfinder_adc_thresh': 600.0, 'hitfinder_min_pix_count': 4, 'hitfinder_min_snr': 4.0, 'npeaks_threshold_hit': 20, 'roi_x1': [], 'roi_x2': [], 'roi_y1': [], 'roi_y2': [], 'select_only_ppicker_events': 0, 'threshold_max': 0, 'threshold_min': 0.0, 'threshold_value': 'NaN')
|
||||
|
||||
|
||||
parameters = restapi.make_dap_parameters(hitfinder_adc_thresh=600, beam_energy=11000.00000, detector_distance=0.220)
|
||||
|
||||
restapi.set_dap_settings(address, detector, parameters)
|
||||
|
||||
5
data/results.sh
Executable file
5
data/results.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
db=/sf/cristallina/applications/mx/clara_tools/mxdbclient/src/
|
||||
env PYTHONPATH=$db /sf/cristallina/applications/mx/conda/miniconda/envs/39clara/bin/python /sf/cristallina/applications/mx/clara/src/results.py /sf/cristallina/data/p21981/res/run0153-hewl_cover_blue_roll/run0153_acq0018_20241113_182301/run0153_acq0018_off.stream off
|
||||
Reference in New Issue
Block a user