Download OpenAPI specification:
Download OpenAPI specification:
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). @@ -607,8 +607,12 @@ If parameter is not provided calibration will be saved only if more than 4 image " class="sc-eVqvcJ sc-fszimp kIppRw drqpJr">
PONI angle rot2 (see PyFAI documentation for details) in radians
PONI angle rot3 (see PyFAI documentation for details) in radians
-Unit cell parameters. Necessary to run indexing. Units of angstrom and degree
+Enable spot finding and save spots
+Maximum number of spots that are saved/used for indexing; spots with highest intensity are selected
{- "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": 1000,
- "space_group_number": 0,
- "sample_name": "",
- "compression": "bslz4",
- "total_flux": 0.1,
- "transmission": 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
}
}{- "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": 1000,
- "space_group_number": 0,
- "sample_name": "",
- "compression": "bslz4",
- "total_flux": 0.1,
- "transmission": 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,
- "max_spot_count": 250
}{- "msg": "Detector in wrong state",
- "reason": "WrongDAQState"
}Number of search directions for the FFT algorithm; parameter value affects execution time of FFT.
Acceptance tolerance for spots after the indexing run - the larger the number, the more spots will be accepted
-Thread count for indexing algorithm
+Relative distance tolerance for unit cell vs. reference; Lattices outside given tolerance will be ignored
{- "algorithm": "FFBIDX",
- "fft_max_unit_cell_A": 250,
- "fft_min_unit_cell_A": 10,
- "fft_high_resolution_A": 2,
- "fft_num_vectors": 16384,
- "tolerance": 0.5,
- "thread_count": 1
}{- "msg": "Detector in wrong state",
- "reason": "WrongDAQState"
}{- "algorithm": "FFBIDX",
- "fft_max_unit_cell_A": 250,
- "fft_min_unit_cell_A": 10,
- "fft_high_resolution_A": 2,
- "fft_num_vectors": 16384,
- "tolerance": 0.5,
- "thread_count": 1,
- "unit_cell_dist_tolerance": 0.05
}{- "msg": "Detector in wrong state",
- "reason": "WrongDAQState"
}{- "algorithm": "FFBIDX",
- "fft_max_unit_cell_A": 250,
- "fft_min_unit_cell_A": 10,
- "fft_high_resolution_A": 2,
- "fft_num_vectors": 16384,
- "tolerance": 0.5,
- "thread_count": 1,
- "unit_cell_dist_tolerance": 0.05
}This can only be done when detector is Idle, Error or Inactive states.
| overwrite | boolean Default: false Inform jfjoch_write to overwrite existing files. Otherwise files would be saved with .h5.{timestamp}.tmp suffix. @@ -1135,7 +1141,7 @@ Address follows ZeroMQ convention for sockets - in practice ipc://Everything OK Response samples
Content type application/json {Response samples
Content type application/json { |