version 1.0.0-rc.14

This commit is contained in:
2024-10-07 11:56:40 +02:00
parent 9e21d312b2
commit 3be959f272
217 changed files with 1299 additions and 2429 deletions

View File

@@ -6,7 +6,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -37,12 +37,12 @@ class DetectorSettings(BaseModel):
pedestal_g1_frames: Annotated[int, Field(strict=True, ge=0)]
pedestal_g2_frames: Annotated[int, Field(strict=True, ge=0)]
pedestal_g0_rms_limit: Annotated[int, Field(strict=True, ge=0)] = Field(description="Pixels with pedestal G0 RMS above the threshold are marked as masked pixels")
pedestal_window_size: Annotated[int, Field(strict=True, ge=32)] = Field(description="Running average window size for pedestal calculations")
pedestal_min_image_count: Annotated[int, Field(strict=True, ge=32)] = Field(description="Minimum number of collected images for pedestal to consider it viable")
storage_cell_delay_ns: Annotated[int, Field(strict=True, ge=2100)] = Field(description="Delay between two storage cells [ns]")
detector_trigger_delay_ns: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=0, description="Delay between TTL trigger and acquisition start [ns]")
fixed_gain_g1: Optional[StrictBool] = Field(default=False, description="Fix gain to G1 (can be useful for storage cells)")
use_gain_hg0: Optional[StrictBool] = Field(default=False, description="Use high G0 (for low energy applications)")
__properties: ClassVar[List[str]] = ["frame_time_us", "count_time_us", "storage_cell_count", "internal_frame_generator", "internal_frame_generator_images", "pedestal_g0_frames", "pedestal_g1_frames", "pedestal_g2_frames", "pedestal_g0_rms_limit", "pedestal_window_size", "storage_cell_delay_ns", "detector_trigger_delay_ns", "fixed_gain_g1", "use_gain_hg0"]
__properties: ClassVar[List[str]] = ["frame_time_us", "count_time_us", "storage_cell_count", "internal_frame_generator", "internal_frame_generator_images", "pedestal_g0_frames", "pedestal_g1_frames", "pedestal_g2_frames", "pedestal_g0_rms_limit", "pedestal_min_image_count", "storage_cell_delay_ns", "detector_trigger_delay_ns", "fixed_gain_g1", "use_gain_hg0"]
model_config = ConfigDict(
populate_by_name=True,
@@ -104,7 +104,7 @@ class DetectorSettings(BaseModel):
"pedestal_g1_frames": obj.get("pedestal_g1_frames") if obj.get("pedestal_g1_frames") is not None else 300,
"pedestal_g2_frames": obj.get("pedestal_g2_frames") if obj.get("pedestal_g2_frames") is not None else 300,
"pedestal_g0_rms_limit": obj.get("pedestal_g0_rms_limit") if obj.get("pedestal_g0_rms_limit") is not None else 100,
"pedestal_window_size": obj.get("pedestal_window_size") if obj.get("pedestal_window_size") is not None else 128,
"pedestal_min_image_count": obj.get("pedestal_min_image_count") if obj.get("pedestal_min_image_count") is not None else 128,
"storage_cell_delay_ns": obj.get("storage_cell_delay_ns") if obj.get("storage_cell_delay_ns") is not None else 5000,
"detector_trigger_delay_ns": obj.get("detector_trigger_delay_ns") if obj.get("detector_trigger_delay_ns") is not None else 0,
"fixed_gain_g1": obj.get("fixed_gain_g1") if obj.get("fixed_gain_g1") is not None else False,

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -18,8 +18,8 @@ import pprint
import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
from typing import Any, ClassVar, Dict, List, Optional, Union
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Union
from typing import Optional, Set
from typing_extensions import Self
@@ -27,12 +27,17 @@ class FpgaStatusInner(BaseModel):
"""
FpgaStatusInner
""" # noqa: E501
eth_link_count: Optional[StrictInt] = None
eth_link_status: Optional[StrictInt] = None
power_usage_w: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="power_usage_W")
fpga_temp_c: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="fpga_temp_C")
hbm_temp_c: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="hbm_temp_C")
__properties: ClassVar[List[str]] = ["eth_link_count", "eth_link_status", "power_usage_W", "fpga_temp_C", "hbm_temp_C"]
pci_dev_id: StrictStr
serial_number: StrictStr
base_mac_addr: StrictStr
eth_link_count: StrictInt
eth_link_status: StrictInt
power_usage_w: Union[StrictFloat, StrictInt] = Field(alias="power_usage_W")
fpga_temp_c: Union[StrictFloat, StrictInt] = Field(alias="fpga_temp_C")
hbm_temp_c: Union[StrictFloat, StrictInt] = Field(alias="hbm_temp_C")
packets_udp: StrictInt
packets_sls: StrictInt
__properties: ClassVar[List[str]] = ["pci_dev_id", "serial_number", "base_mac_addr", "eth_link_count", "eth_link_status", "power_usage_W", "fpga_temp_C", "hbm_temp_C", "packets_udp", "packets_sls"]
model_config = ConfigDict(
populate_by_name=True,
@@ -85,11 +90,16 @@ class FpgaStatusInner(BaseModel):
return cls.model_validate(obj)
_obj = cls.model_validate({
"pci_dev_id": obj.get("pci_dev_id"),
"serial_number": obj.get("serial_number"),
"base_mac_addr": obj.get("base_mac_addr"),
"eth_link_count": obj.get("eth_link_count"),
"eth_link_status": obj.get("eth_link_status"),
"power_usage_W": obj.get("power_usage_W"),
"fpga_temp_C": obj.get("fpga_temp_C"),
"hbm_temp_C": obj.get("hbm_temp_C")
"hbm_temp_C": obj.get("hbm_temp_C"),
"packets_udp": obj.get("packets_udp"),
"packets_sls": obj.get("packets_sls")
})
return _obj

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)

View File

@@ -5,7 +5,7 @@
Jungfraujoch Broker Web API
The version of the OpenAPI document: 1.0.0-rc.13
The version of the OpenAPI document: 1.0.0-rc.14
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)