version 1.0.0-rc.17

This commit is contained in:
2024-10-14 15:03:38 +02:00
parent ad579f5d22
commit ce19996874
183 changed files with 2155 additions and 954 deletions
+4 -2
View File
@@ -6,8 +6,8 @@ Jungfraujoch uses FPGA boards to acquire data at high data rates.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.0.0-rc.16
- Package version: 1.0.0-rc.16
- API version: 1.0.0-rc.17
- Package version: 1.0.0-rc.17
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
@@ -134,6 +134,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**start_post**](docs/DefaultApi.md#start_post) | **POST** /start | Start detector
*DefaultApi* | [**statistics_calibration_get**](docs/DefaultApi.md#statistics_calibration_get) | **GET** /statistics/calibration | Get calibration statistics
*DefaultApi* | [**statistics_data_collection_get**](docs/DefaultApi.md#statistics_data_collection_get) | **GET** /statistics/data_collection | Get data collection statistics
*DefaultApi* | [**statistics_get**](docs/DefaultApi.md#statistics_get) | **GET** /statistics | Get general statistics
*DefaultApi* | [**status_get**](docs/DefaultApi.md#status_get) | **GET** /status | Get Jungfraujoch status
*DefaultApi* | [**trigger_post**](docs/DefaultApi.md#trigger_post) | **POST** /trigger | Send soft trigger to the detector
*DefaultApi* | [**version_get**](docs/DefaultApi.md#version_get) | **GET** /version |
@@ -167,6 +168,7 @@ Class | Method | HTTP request | Description
- [ImagePusherType](docs/ImagePusherType.md)
- [InstrumentMetadata](docs/InstrumentMetadata.md)
- [JfjochSettings](docs/JfjochSettings.md)
- [JfjochStatistics](docs/JfjochStatistics.md)
- [MeasurementStatistics](docs/MeasurementStatistics.md)
- [PcieDevicesInner](docs/PcieDevicesInner.md)
- [Plot](docs/Plot.md)
+91 -24
View File
@@ -53,6 +53,7 @@ Method | HTTP request | Description
[**start_post**](DefaultApi.md#start_post) | **POST** /start | Start detector
[**statistics_calibration_get**](DefaultApi.md#statistics_calibration_get) | **GET** /statistics/calibration | Get calibration statistics
[**statistics_data_collection_get**](DefaultApi.md#statistics_data_collection_get) | **GET** /statistics/data_collection | Get data collection statistics
[**statistics_get**](DefaultApi.md#statistics_get) | **GET** /statistics | Get general statistics
[**status_get**](DefaultApi.md#status_get) | **GET** /status | Get Jungfraujoch status
[**trigger_post**](DefaultApi.md#trigger_post) | **POST** /trigger | Send soft trigger to the detector
[**version_get**](DefaultApi.md#version_get) | **GET** /version |
@@ -1708,7 +1709,7 @@ configuration = jfjoch_client.Configuration(
with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate radial integration profile
@@ -1726,7 +1727,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -1777,7 +1778,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate background estimate plot
@@ -1796,7 +1797,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -1848,7 +1849,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate error pixels plot
@@ -1867,7 +1868,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -1919,7 +1920,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate image collection efficiency plot
@@ -1938,7 +1939,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -1990,7 +1991,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate indexing rate plot
@@ -2009,7 +2010,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2061,7 +2062,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate receiver delay plot
@@ -2080,7 +2081,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2132,7 +2133,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate receiver free send buffer plot
@@ -2151,7 +2152,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2203,7 +2204,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate plot of ROI max count
@@ -2222,7 +2223,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2274,7 +2275,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate ROI sum plot
@@ -2293,7 +2294,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2345,7 +2346,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate plot of ROI valid pixels
@@ -2364,7 +2365,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2416,7 +2417,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate spot count plot
@@ -2435,7 +2436,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -2487,7 +2488,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
binning = 56 # int | Binning of frames for the plot (0 = default binning) (optional)
compression = True # bool | Enable DEFLATE compression of output data (optional) (default to True)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Generate strong pixels plot
@@ -2506,7 +2507,7 @@ with jfjoch_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional]
**compression** | **bool**| Enable DEFLATE compression of output data | [optional] [default to True]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
@@ -3308,6 +3309,72 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **statistics_get**
> JfjochStatistics statistics_get(compression=compression)
Get general statistics
### Example
```python
import jfjoch_client
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
from jfjoch_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:5232
# See configuration.py for a list of all supported configuration parameters.
configuration = jfjoch_client.Configuration(
host = "http://localhost:5232"
)
# Enter a context with an instance of the API client
with jfjoch_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
compression = True # bool | Enable DEFLATE compression of output data. (optional) (default to True)
try:
# Get general statistics
api_response = api_instance.statistics_get(compression=compression)
print("The response of DefaultApi->statistics_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DefaultApi->statistics_get: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to True]
### Return type
[**JfjochStatistics**](JfjochStatistics.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Everything OK | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **status_get**
> BrokerStatus status_get()
+34
View File
@@ -0,0 +1,34 @@
# JfjochStatistics
Pool statistics for Jungfraujoch to reduce transfers between frontend and jfjoch_broker
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**detector** | [**DetectorStatus**](DetectorStatus.md) | | [optional]
**measurement** | [**MeasurementStatistics**](MeasurementStatistics.md) | | [optional]
**broker** | [**BrokerStatus**](BrokerStatus.md) | | [optional]
**fpga** | [**List[FpgaStatusInner]**](FpgaStatusInner.md) | | [optional]
**calibration** | [**List[CalibrationStatisticsInner]**](CalibrationStatisticsInner.md) | | [optional]
## Example
```python
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
# TODO update the JSON string below
json = "{}"
# create an instance of JfjochStatistics from a JSON string
jfjoch_statistics_instance = JfjochStatistics.from_json(json)
# print the JSON string representation of the object
print(JfjochStatistics.to_json())
# convert the object into a dict
jfjoch_statistics_dict = jfjoch_statistics_instance.to_dict()
# create an instance of JfjochStatistics from a dict
jfjoch_statistics_from_dict = JfjochStatistics.from_dict(jfjoch_statistics_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+3 -2
View File
@@ -7,7 +7,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -15,7 +15,7 @@
""" # noqa: E501
__version__ = "1.0.0-rc.16"
__version__ = "1.0.0-rc.17"
# import apis into sdk package
from jfjoch_client.api.default_api import DefaultApi
@@ -55,6 +55,7 @@ from jfjoch_client.models.image_format_settings import ImageFormatSettings
from jfjoch_client.models.image_pusher_type import ImagePusherType
from jfjoch_client.models.instrument_metadata import InstrumentMetadata
from jfjoch_client.models.jfjoch_settings import JfjochSettings
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
from jfjoch_client.models.measurement_statistics import MeasurementStatistics
from jfjoch_client.models.pcie_devices_inner import PcieDevicesInner
from jfjoch_client.models.plot import Plot
+331 -73
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -31,6 +31,7 @@ from jfjoch_client.models.detector_status import DetectorStatus
from jfjoch_client.models.fpga_status_inner import FpgaStatusInner
from jfjoch_client.models.image_format_settings import ImageFormatSettings
from jfjoch_client.models.instrument_metadata import InstrumentMetadata
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
from jfjoch_client.models.measurement_statistics import MeasurementStatistics
from jfjoch_client.models.plots import Plots
from jfjoch_client.models.preview_settings import PreviewSettings
@@ -6495,7 +6496,7 @@ class DefaultApi:
@validate_call
def plot_azim_int_get(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6513,7 +6514,7 @@ class DefaultApi:
Generate average radial integration profile
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6562,7 +6563,7 @@ class DefaultApi:
@validate_call
def plot_azim_int_get_with_http_info(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6580,7 +6581,7 @@ class DefaultApi:
Generate average radial integration profile
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6629,7 +6630,7 @@ class DefaultApi:
@validate_call
def plot_azim_int_get_without_preload_content(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6647,7 +6648,7 @@ class DefaultApi:
Generate average radial integration profile
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6756,7 +6757,7 @@ class DefaultApi:
def plot_bkg_estimate_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6776,7 +6777,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6828,7 +6829,7 @@ class DefaultApi:
def plot_bkg_estimate_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6848,7 +6849,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -6900,7 +6901,7 @@ class DefaultApi:
def plot_bkg_estimate_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -6920,7 +6921,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7037,7 +7038,7 @@ class DefaultApi:
def plot_error_pixel_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7057,7 +7058,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7109,7 +7110,7 @@ class DefaultApi:
def plot_error_pixel_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7129,7 +7130,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7181,7 +7182,7 @@ class DefaultApi:
def plot_error_pixel_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7201,7 +7202,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7318,7 +7319,7 @@ class DefaultApi:
def plot_image_collection_efficiency_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7338,7 +7339,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7390,7 +7391,7 @@ class DefaultApi:
def plot_image_collection_efficiency_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7410,7 +7411,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7462,7 +7463,7 @@ class DefaultApi:
def plot_image_collection_efficiency_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7482,7 +7483,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7599,7 +7600,7 @@ class DefaultApi:
def plot_indexing_rate_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7619,7 +7620,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7671,7 +7672,7 @@ class DefaultApi:
def plot_indexing_rate_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7691,7 +7692,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7743,7 +7744,7 @@ class DefaultApi:
def plot_indexing_rate_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7763,7 +7764,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7880,7 +7881,7 @@ class DefaultApi:
def plot_receiver_delay_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7900,7 +7901,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -7952,7 +7953,7 @@ class DefaultApi:
def plot_receiver_delay_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -7972,7 +7973,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8024,7 +8025,7 @@ class DefaultApi:
def plot_receiver_delay_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8044,7 +8045,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8161,7 +8162,7 @@ class DefaultApi:
def plot_receiver_free_send_buffers_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8181,7 +8182,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8233,7 +8234,7 @@ class DefaultApi:
def plot_receiver_free_send_buffers_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8253,7 +8254,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8305,7 +8306,7 @@ class DefaultApi:
def plot_receiver_free_send_buffers_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8325,7 +8326,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8442,7 +8443,7 @@ class DefaultApi:
def plot_roi_max_count_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8462,7 +8463,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8514,7 +8515,7 @@ class DefaultApi:
def plot_roi_max_count_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8534,7 +8535,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8586,7 +8587,7 @@ class DefaultApi:
def plot_roi_max_count_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8606,7 +8607,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8723,7 +8724,7 @@ class DefaultApi:
def plot_roi_sum_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8743,7 +8744,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8795,7 +8796,7 @@ class DefaultApi:
def plot_roi_sum_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8815,7 +8816,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -8867,7 +8868,7 @@ class DefaultApi:
def plot_roi_sum_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -8887,7 +8888,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9004,7 +9005,7 @@ class DefaultApi:
def plot_roi_valid_pixels_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9024,7 +9025,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9076,7 +9077,7 @@ class DefaultApi:
def plot_roi_valid_pixels_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9096,7 +9097,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9148,7 +9149,7 @@ class DefaultApi:
def plot_roi_valid_pixels_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9168,7 +9169,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9285,7 +9286,7 @@ class DefaultApi:
def plot_spot_count_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9305,7 +9306,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9357,7 +9358,7 @@ class DefaultApi:
def plot_spot_count_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9377,7 +9378,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9429,7 +9430,7 @@ class DefaultApi:
def plot_spot_count_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9449,7 +9450,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9566,7 +9567,7 @@ class DefaultApi:
def plot_strong_pixel_get(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9586,7 +9587,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9638,7 +9639,7 @@ class DefaultApi:
def plot_strong_pixel_get_with_http_info(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9658,7 +9659,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -9710,7 +9711,7 @@ class DefaultApi:
def plot_strong_pixel_get_without_preload_content(
self,
binning: Annotated[Optional[StrictInt], Field(description="Binning of frames for the plot (0 = default binning)")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data")] = None,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
@@ -9730,7 +9731,7 @@ class DefaultApi:
:param binning: Binning of frames for the plot (0 = default binning)
:type binning: int
:param compression: Enable DEFLATE compression of output data
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
@@ -12928,6 +12929,263 @@ class DefaultApi:
@validate_call
def statistics_get(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Tuple[
Annotated[StrictFloat, Field(gt=0)],
Annotated[StrictFloat, Field(gt=0)]
]
] = None,
_request_auth: Optional[Dict[StrictStr, Any]] = None,
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> JfjochStatistics:
"""Get general statistics
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:type _request_timeout: int, tuple(int, int), optional
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the
authentication in the spec for a single request.
:type _request_auth: dict, optional
:param _content_type: force content-type for the request.
:type _content_type: str, Optional
:param _headers: set to override the headers for a single
request; this effectively ignores the headers
in the spec for a single request.
:type _headers: dict, optional
:param _host_index: set to override the host_index for a single
request; this effectively ignores the host_index
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
_param = self._statistics_get_serialize(
compression=compression,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "JfjochStatistics",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
)
response_data.read()
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
).data
@validate_call
def statistics_get_with_http_info(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Tuple[
Annotated[StrictFloat, Field(gt=0)],
Annotated[StrictFloat, Field(gt=0)]
]
] = None,
_request_auth: Optional[Dict[StrictStr, Any]] = None,
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[JfjochStatistics]:
"""Get general statistics
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:type _request_timeout: int, tuple(int, int), optional
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the
authentication in the spec for a single request.
:type _request_auth: dict, optional
:param _content_type: force content-type for the request.
:type _content_type: str, Optional
:param _headers: set to override the headers for a single
request; this effectively ignores the headers
in the spec for a single request.
:type _headers: dict, optional
:param _host_index: set to override the host_index for a single
request; this effectively ignores the host_index
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
_param = self._statistics_get_serialize(
compression=compression,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "JfjochStatistics",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
)
response_data.read()
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
)
@validate_call
def statistics_get_without_preload_content(
self,
compression: Annotated[Optional[StrictBool], Field(description="Enable DEFLATE compression of output data.")] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Tuple[
Annotated[StrictFloat, Field(gt=0)],
Annotated[StrictFloat, Field(gt=0)]
]
] = None,
_request_auth: Optional[Dict[StrictStr, Any]] = None,
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get general statistics
:param compression: Enable DEFLATE compression of output data.
:type compression: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:type _request_timeout: int, tuple(int, int), optional
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the
authentication in the spec for a single request.
:type _request_auth: dict, optional
:param _content_type: force content-type for the request.
:type _content_type: str, Optional
:param _headers: set to override the headers for a single
request; this effectively ignores the headers
in the spec for a single request.
:type _headers: dict, optional
:param _host_index: set to override the host_index for a single
request; this effectively ignores the host_index
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
_param = self._statistics_get_serialize(
compression=compression,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "JfjochStatistics",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
)
return response_data.response
def _statistics_get_serialize(
self,
compression,
_request_auth,
_content_type,
_headers,
_host_index,
) -> RequestSerialized:
_host = None
_collection_formats: Dict[str, str] = {
}
_path_params: Dict[str, str] = {}
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None
# process the path parameters
# process the query parameters
if compression is not None:
_query_params.append(('compression', compression))
# process the header parameters
# process the form parameters
# process the body parameter
# set the HTTP header `Accept`
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)
# authentication setting
_auth_settings: List[str] = [
]
return self.api_client.param_serialize(
method='GET',
resource_path='/statistics',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
body=_body_params,
post_params=_form_params,
files=_files,
auth_settings=_auth_settings,
collection_formats=_collection_formats,
_host=_host,
_request_auth=_request_auth
)
@validate_call
def status_get(
self,
+2 -2
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -91,7 +91,7 @@ class ApiClient:
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.0.0-rc.16/python'
self.user_agent = 'OpenAPI-Generator/1.0.0-rc.17/python'
self.client_side_validation = configuration.client_side_validation
def __enter__(self):
+3 -3
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -384,8 +384,8 @@ class Configuration:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0-rc.16\n"\
"SDK Package Version: 1.0.0-rc.16".\
"Version of the API: 1.0.0-rc.17\n"\
"SDK Package Version: 1.0.0-rc.17".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):
+1 -1
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -6,7 +6,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -38,6 +38,7 @@ from jfjoch_client.models.image_format_settings import ImageFormatSettings
from jfjoch_client.models.image_pusher_type import ImagePusherType
from jfjoch_client.models.instrument_metadata import InstrumentMetadata
from jfjoch_client.models.jfjoch_settings import JfjochSettings
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
from jfjoch_client.models.measurement_statistics import MeasurementStatistics
from jfjoch_client.models.pcie_devices_inner import PcieDevicesInner
from jfjoch_client.models.plot import Plot
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -0,0 +1,124 @@
# coding: utf-8
"""
Jungfraujoch
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import pprint
import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict
from typing import Any, ClassVar, Dict, List, Optional
from jfjoch_client.models.broker_status import BrokerStatus
from jfjoch_client.models.calibration_statistics_inner import CalibrationStatisticsInner
from jfjoch_client.models.detector_status import DetectorStatus
from jfjoch_client.models.fpga_status_inner import FpgaStatusInner
from jfjoch_client.models.measurement_statistics import MeasurementStatistics
from typing import Optional, Set
from typing_extensions import Self
class JfjochStatistics(BaseModel):
"""
Pool statistics for Jungfraujoch to reduce transfers between frontend and jfjoch_broker
""" # noqa: E501
detector: Optional[DetectorStatus] = None
measurement: Optional[MeasurementStatistics] = None
broker: Optional[BrokerStatus] = None
fpga: Optional[List[FpgaStatusInner]] = None
calibration: Optional[List[CalibrationStatisticsInner]] = None
__properties: ClassVar[List[str]] = ["detector", "measurement", "broker", "fpga", "calibration"]
model_config = ConfigDict(
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
)
def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))
def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
return json.dumps(self.to_dict())
@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of JfjochStatistics from a JSON string"""
return cls.from_dict(json.loads(json_str))
def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
"""
excluded_fields: Set[str] = set([
])
_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
# override the default output from pydantic by calling `to_dict()` of detector
if self.detector:
_dict['detector'] = self.detector.to_dict()
# override the default output from pydantic by calling `to_dict()` of measurement
if self.measurement:
_dict['measurement'] = self.measurement.to_dict()
# override the default output from pydantic by calling `to_dict()` of broker
if self.broker:
_dict['broker'] = self.broker.to_dict()
# override the default output from pydantic by calling `to_dict()` of each item in fpga (list)
_items = []
if self.fpga:
for _item_fpga in self.fpga:
if _item_fpga:
_items.append(_item_fpga.to_dict())
_dict['fpga'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in calibration (list)
_items = []
if self.calibration:
for _item_calibration in self.calibration:
if _item_calibration:
_items.append(_item_calibration.to_dict())
_dict['calibration'] = _items
return _dict
@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of JfjochStatistics from a dict"""
if obj is None:
return None
if not isinstance(obj, dict):
return cls.model_validate(obj)
_obj = cls.model_validate({
"detector": DetectorStatus.from_dict(obj["detector"]) if obj.get("detector") is not None else None,
"measurement": MeasurementStatistics.from_dict(obj["measurement"]) if obj.get("measurement") is not None else None,
"broker": BrokerStatus.from_dict(obj["broker"]) if obj.get("broker") is not None else None,
"fpga": [FpgaStatusInner.from_dict(_item) for _item in obj["fpga"]] if obj.get("fpga") is not None else None,
"calibration": [CalibrationStatisticsInner.from_dict(_item) for _item in obj["calibration"]] if obj.get("calibration") is not None else None
})
return _obj
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
+1 -1
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
+1 -1
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
+1 -1
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "jfjoch_client"
version = "1.0.0-rc.16"
version = "1.0.0-rc.17"
description = "Jungfraujoch"
authors = ["Filip Leonarski (Paul Scherrer Institute) <filip.leonarski@psi.ch>"]
license = "NoLicense"
+2 -2
View File
@@ -5,7 +5,7 @@
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
The version of the OpenAPI document: 1.0.0-rc.16
The version of the OpenAPI document: 1.0.0-rc.17
Contact: filip.leonarski@psi.ch
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages # noqa: H301
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "jfjoch-client"
VERSION = "1.0.0-rc.16"
VERSION = "1.0.0-rc.17"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",