diff --git a/broker/redoc-static.html b/broker/redoc-static.html index f70387820..5f929e11d 100644 --- a/broker/redoc-static.html +++ b/broker/redoc-static.html @@ -552,6 +552,12 @@ Assuming that Smargon is used as static positioner and not moving during the sca
Maximum number of spots that are saved/used for indexing; spots with highest intensity are selected
Flag spots as ice rings and reduce their effect on indexing
When set to true, /start will not wait for detector and Jungfraujoch to be ready for the measurement.
Where the detector's modules are for this dataset, as rugnux measures them (rugnux --panel-refine
+writes it as <prefix>_panels.json; the file's module_geometry array goes here).
+Each entry names its module by the module's box in the assembled image (x0, y0, width,
+height), in any order; every module must be named once, else /start fails with 400.
+The image is assembled as configured; the placement goes into the start message and the
+NXmx module_NN groups, and the analysis takes it. Omitted or empty: modules as assembled.
Bearer tokens that protect this dataset: any number, all equivalent (e.g. a beamline
secret and a dataset-specific user secret). While set, the endpoints marked with the
bearerAuth security scheme require Authorization: Bearer <token> and answer 401 otherwise.
@@ -561,7 +567,7 @@ protection. Never returned by any endpoint.
{- "images_per_trigger": 1,
- "ntrigger": 1,
- "image_time_us": 0,
- "beam_x_pxl": 0.1,
- "beam_y_pxl": 0.1,
- "detector_distance_mm": 0.1,
- "incident_energy_keV": 0.001,
- "file_prefix": "",
- "images_per_file": 1,
- "space_group_number": 1,
- "sample_name": "",
- "compression": "bslz4",
- "total_flux": 0.1,
- "transmission": 1,
- "beam_size_x_um": 0.1,
- "beam_size_y_um": 0.1,
- "goniometer": {
- "name": "omega",
- "step": 0.1,
- "start": 50,
- "vector": [
- 1,
- 0,
- 0
], - "helical_step_um": [
- -5,
- -2,
- 0
], - "screening_wedge_deg": 0.1
}, - "grid_scan": {
- "n_fast": 20,
- "step_x_um": 5,
- "step_y_um": -3,
- "vertical": false,
- "snake": false
}, - "header_appendix": null,
- "image_appendix": null,
- "data_reduction_factor_serialmx": 1,
- "pixel_value_low_threshold": 0,
- "run_number": 0,
- "run_name": "string",
- "experiment_group": "string",
- "poisson_compression": 16,
- "write_nxmx_hdf5_master": true,
- "save_calibration": true,
- "polarization_factor": -1,
- "ring_current_mA": 0.1,
- "sample_temperature_K": 0.1,
- "poni_rot1_rad": 0,
- "poni_rot2_rad": 0,
- "poni_rot3_rad": 0,
- "unit_cell": {
- "a": 37,
- "b": 37,
- "c": 78,
- "alpha": 90,
- "beta": 90,
- "gamma": 90
}, - "spot_finding": true,
- "smargon": {
- "phi_deg": 0.1,
- "chi_deg": 0.1,
- "phi_axis": [
- 1,
- 0,
- 0
], - "chi_axis": [
- 0,
- 0,
- 1
]
}, - "max_spot_count": 250,
- "detect_ice_rings": true,
- "async_start": false,
- "tokens": [
- "string"
], - "xray_fluorescence_spectrum": {
- "energy_eV": [
- 0.1
], - "data": [
- 0.1
]
}
}{- "msg": "Detector in wrong state",
- "reason": "WrongDAQState"
}{- "images_per_trigger": 1,
- "ntrigger": 1,
- "image_time_us": 0,
- "beam_x_pxl": 0.1,
- "beam_y_pxl": 0.1,
- "detector_distance_mm": 0.1,
- "incident_energy_keV": 0.001,
- "file_prefix": "",
- "images_per_file": 1,
- "space_group_number": 1,
- "sample_name": "",
- "compression": "bslz4",
- "total_flux": 0.1,
- "transmission": 1,
- "beam_size_x_um": 0.1,
- "beam_size_y_um": 0.1,
- "goniometer": {
- "name": "omega",
- "step": 0.1,
- "start": 50,
- "vector": [
- 1,
- 0,
- 0
], - "helical_step_um": [
- -5,
- -2,
- 0
], - "screening_wedge_deg": 0.1
}, - "grid_scan": {
- "n_fast": 20,
- "step_x_um": 5,
- "step_y_um": -3,
- "vertical": false,
- "snake": false
}, - "header_appendix": null,
- "image_appendix": null,
- "data_reduction_factor_serialmx": 1,
- "pixel_value_low_threshold": 0,
- "run_number": 0,
- "run_name": "string",
- "experiment_group": "string",
- "poisson_compression": 16,
- "write_nxmx_hdf5_master": true,
- "save_calibration": true,
- "polarization_factor": -1,
- "ring_current_mA": 0.1,
- "sample_temperature_K": 0.1,
- "poni_rot1_rad": 0,
- "poni_rot2_rad": 0,
- "poni_rot3_rad": 0,
- "unit_cell": {
- "a": 37,
- "b": 37,
- "c": 78,
- "alpha": 90,
- "beta": 90,
- "gamma": 90
}, - "spot_finding": true,
- "smargon": {
- "phi_deg": 0.1,
- "chi_deg": 0.1,
- "phi_axis": [
- 1,
- 0,
- 0
], - "chi_axis": [
- 0,
- 0,
- 1
]
}, - "max_spot_count": 250,
- "detect_ice_rings": true,
- "async_start": false,
- "module_geometry": [
- {
- "x0": 0,
- "y0": 0,
- "width": 1,
- "height": 1,
- "ox": 0,
- "oy": 0,
- "fx": 0,
- "fy": 0,
- "sx": 0,
- "sy": 0
}
], - "tokens": [
- "string"
], - "xray_fluorescence_spectrum": {
- "energy_eV": [
- 0.1
], - "data": [
- 0.1
]
}
}{- "msg": "Detector in wrong state",
- "reason": "WrongDAQState"
}Block execution of external script till detector and Jungfraujoch are ready to collect data. To not block web server for a indefinite period of time, the procedure is provided with a timeout. Extending timeout is possible, but requires to ensure safety that client will not close the connection and retry the connection.
| timeout | integer [ 0 .. 3600 ] Default: 60 Timeout in seconds (0 == immediate response) @@ -1123,7 +1129,7 @@ then image might be replaced in the buffer between calling /images and /image.cb |