2.5 KiB
2.5 KiB
DetectorSettings
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| frame_time_us | int | Interval between consecutive frames. | |
| count_time_us | int | Integration time of the detector. If not provided count time will be set to maximum value for a given frame time. | [optional] |
| internal_frame_generator | bool | Use internal frame generator in FPGA instead of getting data from a real detector | [optional] [default to False] |
| internal_frame_generator_images | int | [optional] [default to 1] | |
| detector_trigger_delay_ns | int | Delay between TTL trigger and acquisition start [ns] | [optional] [default to 0] |
| timing | DetectorTiming | [optional] [default to DetectorTiming.TRIGGER] | |
| eiger_threshold_ke_v | float | [optional] | |
| jungfrau_pedestal_g0_frames | int | [optional] [default to 2000] | |
| jungfrau_pedestal_g1_frames | int | [optional] [default to 300] | |
| jungfrau_pedestal_g2_frames | int | [optional] [default to 300] | |
| jungfrau_pedestal_g0_rms_limit | int | Pixels with pedestal G0 RMS above the threshold are marked as masked pixels | [optional] [default to 100] |
| jungfrau_pedestal_min_image_count | int | Minimum number of collected images for pedestal to consider it viable | [optional] [default to 128] |
| jungfrau_storage_cell_count | int | [optional] [default to 1] | |
| jungfrau_storage_cell_delay_ns | int | Delay between two storage cells [ns] | [optional] [default to 5000] |
| jungfrau_fixed_gain_g1 | bool | Fix gain to G1 (can be useful for storage cells) | [optional] [default to False] |
| jungfrau_use_gain_hg0 | bool | Use high G0 (for low energy applications) | [optional] [default to False] |
Example
from jfjoch_client.models.detector_settings import DetectorSettings
# TODO update the JSON string below
json = "{}"
# create an instance of DetectorSettings from a JSON string
detector_settings_instance = DetectorSettings.from_json(json)
# print the JSON string representation of the object
print(DetectorSettings.to_json())
# convert the object into a dict
detector_settings_dict = detector_settings_instance.to_dict()
# create an instance of DetectorSettings from a dict
detector_settings_from_dict = DetectorSettings.from_dict(detector_settings_dict)