v1.0.0-rc.31

This commit is contained in:
2025-03-02 13:15:28 +01:00
parent aeabc81a4c
commit ddf4c75645
309 changed files with 8705 additions and 1421 deletions
@@ -0,0 +1,19 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type file_writer_settings = {
/**
* Inform jfjoch_write to overwrite existing files. Otherwise files would be saved with .h5.{timestamp}.tmp suffix.
*
*/
overwrite?: boolean;
/**
* version 1 - legacy format with soft links to data files in the master file; necessary for DECTRIS Albula 4.0 and DECTRIS Neggia
* version 2 - newer format with virtual dataset linking data files in the master file, also includes better metadata handling
*
*/
file_writer_version?: number;
};
@@ -16,4 +16,12 @@ export type fpga_status = Array<{
packets_udp: number;
packets_sls: number;
idle: boolean;
/**
* PCIe link speed measured by generation (expected value is 4 == PCIe Gen4)
*/
pcie_link_speed: number;
/**
* PCIe link width (expected value is 8 == x8)
*/
pcie_link_width: number;
}>;
@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type image_buffer_status = {
/**
* Image numbers currently present in the buffer.
*/
image_numbers: Array<number>;
/**
* Number of slots in the image buffer. This number, compared to number of images in data collection and
* frame rate will determine "retention" rate of the image buffer.
*
*/
total_slots: number;
/**
* Slots available for the data collection
*/
available_slots: number;
};
@@ -6,6 +6,7 @@
import type { azim_int_settings } from './azim_int_settings';
import type { detector } from './detector';
import type { detector_settings } from './detector_settings';
import type { file_writer_settings } from './file_writer_settings';
import type { image_format_settings } from './image_format_settings';
import type { image_pusher_type } from './image_pusher_type';
import type { instrument_metadata } from './instrument_metadata';
@@ -23,6 +24,7 @@ export type jfjoch_settings = {
pcie?: pcie_devices;
zeromq?: zeromq_settings;
instrument?: instrument_metadata;
file_writer?: file_writer_settings;
detector: Array<detector>;
detector_settings?: detector_settings;
azim_int?: azim_int_settings;
@@ -8,6 +8,7 @@ import type { calibration_statistics } from './calibration_statistics';
import type { detector_list } from './detector_list';
import type { detector_settings } from './detector_settings';
import type { detector_status } from './detector_status';
import type { file_writer_settings } from './file_writer_settings';
import type { fpga_status } from './fpga_status';
import type { image_format_settings } from './image_format_settings';
import type { instrument_metadata } from './instrument_metadata';
@@ -27,6 +28,7 @@ export type jfjoch_statistics = {
detector_settings?: detector_settings;
image_format_settings?: image_format_settings;
instrument_metadata?: instrument_metadata;
file_writer_settings?: file_writer_settings;
data_processing_settings?: spot_finding_settings;
measurement?: measurement_statistics;
broker?: broker_status;
@@ -42,6 +42,26 @@ export type measurement_statistics = {
detector_pixel_depth?: measurement_statistics.detector_pixel_depth;
bkg_estimate?: number;
unit_cell?: string;
/**
* Moving average of 1000 images counting number of error pixels on the detector
*/
error_pixels?: number;
/**
* Moving average of 1000 images counting number of saturated pixels on the detector
*/
saturated_pixels?: number;
/**
* If there is an ROI defined with name "beam", this number will hold moving average of 1000 images
* for number of valid pixels within this ROI
*
*/
roi_beam_pixels?: number;
/**
* If there is an ROI defined with name "beam", this number will hold moving average of 1000 images
* for sum of valid pixels within this ROI
*
*/
roi_beam_sum?: number;
};
export namespace measurement_statistics {