version 1.0.0-rc.14
This commit is contained in:
@@ -7,7 +7,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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -6735,249 +6735,6 @@ class DefaultApi:
|
||||
|
||||
|
||||
|
||||
@validate_call
|
||||
def plot_azim_int_per_file_get(
|
||||
self,
|
||||
_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,
|
||||
) -> Plots:
|
||||
"""Generate radial integration profiles per file
|
||||
|
||||
Radial integration plots for both the whole dataset and per file; useful for time-resolved measurements
|
||||
|
||||
: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._plot_azim_int_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
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 plot_azim_int_per_file_get_with_http_info(
|
||||
self,
|
||||
_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[Plots]:
|
||||
"""Generate radial integration profiles per file
|
||||
|
||||
Radial integration plots for both the whole dataset and per file; useful for time-resolved measurements
|
||||
|
||||
: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._plot_azim_int_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
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 plot_azim_int_per_file_get_without_preload_content(
|
||||
self,
|
||||
_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:
|
||||
"""Generate radial integration profiles per file
|
||||
|
||||
Radial integration plots for both the whole dataset and per file; useful for time-resolved measurements
|
||||
|
||||
: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._plot_azim_int_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
response_data = self.api_client.call_api(
|
||||
*_param,
|
||||
_request_timeout=_request_timeout
|
||||
)
|
||||
return response_data.response
|
||||
|
||||
|
||||
def _plot_azim_int_per_file_get_serialize(
|
||||
self,
|
||||
_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
|
||||
# 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='/plot/azim_int_per_file',
|
||||
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 plot_bkg_estimate_get(
|
||||
self,
|
||||
@@ -8034,249 +7791,6 @@ class DefaultApi:
|
||||
|
||||
|
||||
|
||||
@validate_call
|
||||
def plot_indexing_rate_per_file_get(
|
||||
self,
|
||||
_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,
|
||||
) -> Plots:
|
||||
"""Generate indexing rate per file
|
||||
|
||||
Indexing rate per each of data files; useful for example for time resolved data
|
||||
|
||||
: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._plot_indexing_rate_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
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 plot_indexing_rate_per_file_get_with_http_info(
|
||||
self,
|
||||
_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[Plots]:
|
||||
"""Generate indexing rate per file
|
||||
|
||||
Indexing rate per each of data files; useful for example for time resolved data
|
||||
|
||||
: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._plot_indexing_rate_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
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 plot_indexing_rate_per_file_get_without_preload_content(
|
||||
self,
|
||||
_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:
|
||||
"""Generate indexing rate per file
|
||||
|
||||
Indexing rate per each of data files; useful for example for time resolved data
|
||||
|
||||
: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._plot_indexing_rate_per_file_get_serialize(
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
_host_index=_host_index
|
||||
)
|
||||
|
||||
_response_types_map: Dict[str, Optional[str]] = {
|
||||
'200': "Plots",
|
||||
}
|
||||
response_data = self.api_client.call_api(
|
||||
*_param,
|
||||
_request_timeout=_request_timeout
|
||||
)
|
||||
return response_data.response
|
||||
|
||||
|
||||
def _plot_indexing_rate_per_file_get_serialize(
|
||||
self,
|
||||
_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
|
||||
# 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='/plot/indexing_rate_per_file',
|
||||
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 plot_receiver_delay_get(
|
||||
self,
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -384,7 +384,7 @@ class Configuration:
|
||||
return "Python SDK Debug Report:\n"\
|
||||
"OS: {env}\n"\
|
||||
"Python Version: {pyversion}\n"\
|
||||
"Version of the API: 1.0.0-rc.13\n"\
|
||||
"Version of the API: 1.0.0-rc.14\n"\
|
||||
"SDK Package Version: 1.0.0".\
|
||||
format(env=sys.platform, pyversion=sys.version)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user