version 1.0.0-rc.27

This commit is contained in:
2024-12-02 21:17:14 +01:00
parent c3d6c280b8
commit 71290f374a
180 changed files with 841 additions and 698 deletions

View File

@@ -1,4 +1,4 @@
# jfjoch-client
# jfjochclient
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.
@@ -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.26
- Package version: 1.0.0-rc.26
- API version: 1.0.0-rc.27
- Package version: 1.0.0-rc.27
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
@@ -21,13 +21,13 @@ Python 3.7+
If the python package is hosted on a repository, you can install directly using:
```sh
pip install git+https://git.psi.ch/jungfraujoch/jungfraujoch.git
pip install git+https://gitlab.psi.ch/jungfraujoch/nextgendcu.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://git.psi.ch/jungfraujoch/jungfraujoch.git`)
(you may need to run `pip` with root permission: `sudo pip install git+https://gitlab.psi.ch/jungfraujoch/nextgendcu.git`)
Then import the package:
```python
import jfjoch_client
import jfjochclient
```
### Setuptools
@@ -41,7 +41,7 @@ python setup.py install --user
Then import the package:
```python
import jfjoch_client
import jfjochclient
```
### Tests
@@ -54,22 +54,22 @@ Please follow the [installation procedure](#installation--usage) and then run th
```python
import jfjoch_client
from jfjoch_client.rest import ApiException
import jfjochclient
from jfjochclient.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(
configuration = jfjochclient.Configuration(
host = "http://localhost:5232"
)
# Enter a context with an instance of the API client
with jfjoch_client.ApiClient(configuration) as api_client:
with jfjochclient.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jfjoch_client.DefaultApi(api_client)
api_instance = jfjochclient.DefaultApi(api_client)
try:
# Cancel running data collection

View File

@@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.azim_int_settings import AzimIntSettings
from jfjochclient.models.azim_int_settings import AzimIntSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.broker_status import BrokerStatus
from jfjochclient.models.broker_status import BrokerStatus
# TODO update the JSON string below
json = "{}"

View File

@@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.calibration_statistics_inner import CalibrationStatisticsInner
from jfjochclient.models.calibration_statistics_inner import CalibrationStatisticsInner
# TODO update the JSON string below
json = "{}"

View File

@@ -35,7 +35,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.dataset_settings import DatasetSettings
from jfjochclient.models.dataset_settings import DatasetSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -16,7 +16,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.dataset_settings_unit_cell import DatasetSettingsUnitCell
from jfjochclient.models.dataset_settings_unit_cell import DatasetSettingsUnitCell
# TODO update the JSON string below
json = "{}"

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector import Detector
from jfjochclient.models.detector import Detector
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_list import DetectorList
from jfjochclient.models.detector_list import DetectorList
# TODO update the JSON string below
json = "{}"

View File

@@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_list_detectors_inner import DetectorListDetectorsInner
from jfjochclient.models.detector_list_detectors_inner import DetectorListDetectorsInner
# TODO update the JSON string below
json = "{}"

View File

@@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_module import DetectorModule
from jfjochclient.models.detector_module import DetectorModule
# TODO update the JSON string below
json = "{}"

View File

@@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_selection import DetectorSelection
from jfjochclient.models.detector_selection import DetectorSelection
# TODO update the JSON string below
json = "{}"

View File

@@ -25,7 +25,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_settings import DetectorSettings
from jfjochclient.models.detector_settings import DetectorSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -15,7 +15,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.detector_status import DetectorStatus
from jfjochclient.models.detector_status import DetectorStatus
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.error_message import ErrorMessage
from jfjochclient.models.error_message import ErrorMessage
# TODO update the JSON string below
json = "{}"

View File

@@ -21,7 +21,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.fpga_status_inner import FpgaStatusInner
from jfjochclient.models.fpga_status_inner import FpgaStatusInner
# TODO update the JSON string below
json = "{}"

View File

@@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.image_format_settings import ImageFormatSettings
from jfjochclient.models.image_format_settings import ImageFormatSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -9,12 +9,13 @@ Name | Type | Description | Notes
**source_name** | **str** | |
**source_type** | **str** | Type of radiation source. NXmx gives a fixed dictionary, though Jungfraujoch is not enforcing compliance. https://manual.nexusformat.org/classes/base_classes/NXsource.html#nxsource NXsource allows the following: Spallation Neutron Source Pulsed Reactor Neutron Source Reactor Neutron Source Synchrotron X-ray Source Pulsed Muon Source Rotating Anode X-ray Fixed Tube X-ray UV Laser Free-Electron Laser Optical Laser Ion Source UV Plasma Source Metal Jet X-ray | [optional] [default to '']
**instrument_name** | **str** | |
**pulsed_source** | **bool** | Settings specific to XFEL (e.g., every image has to come from TTL trigger, save pulse ID and event code) | [optional] [default to False]
**pulsed_source** | **bool** | Settings specific to XFEL (e.g., every image has to come from TTL trigger, save pulse ID and event code) | [optional] [default to False]
**electron_source** | **bool** | Settings specific to electron source (e.g., wavelength definition) | [optional] [default to False]
## Example
```python
from jfjoch_client.models.instrument_metadata import InstrumentMetadata
from jfjochclient.models.instrument_metadata import InstrumentMetadata
# TODO update the JSON string below
json = "{}"

View File

@@ -24,7 +24,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.jfjoch_settings import JfjochSettings
from jfjochclient.models.jfjoch_settings import JfjochSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -23,7 +23,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.jfjoch_statistics import JfjochStatistics
from jfjochclient.models.jfjoch_statistics import JfjochStatistics
# TODO update the JSON string below
json = "{}"

View File

@@ -27,7 +27,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.measurement_statistics import MeasurementStatistics
from jfjochclient.models.measurement_statistics import MeasurementStatistics
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.pcie_devices_inner import PcieDevicesInner
from jfjochclient.models.pcie_devices_inner import PcieDevicesInner
# TODO update the JSON string below
json = "{}"

View File

@@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.pixel_mask_statistics import PixelMaskStatistics
from jfjochclient.models.pixel_mask_statistics import PixelMaskStatistics
# TODO update the JSON string below
json = "{}"

View File

@@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.plot import Plot
from jfjochclient.models.plot import Plot
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.plots import Plots
from jfjochclient.models.plots import Plots
# TODO update the JSON string below
json = "{}"

View File

@@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.preview_settings import PreviewSettings
from jfjochclient.models.preview_settings import PreviewSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -15,7 +15,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.roi_box import RoiBox
from jfjochclient.models.roi_box import RoiBox
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.roi_box_list import RoiBoxList
from jfjochclient.models.roi_box_list import RoiBoxList
# TODO update the JSON string below
json = "{}"

View File

@@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.roi_circle import RoiCircle
from jfjochclient.models.roi_circle import RoiCircle
# TODO update the JSON string below
json = "{}"

View File

@@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.roi_circle_list import RoiCircleList
from jfjochclient.models.roi_circle_list import RoiCircleList
# TODO update the JSON string below
json = "{}"

View File

@@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.rotation_axis import RotationAxis
from jfjochclient.models.rotation_axis import RotationAxis
# TODO update the JSON string below
json = "{}"

View File

@@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.spot_finding_settings import SpotFindingSettings
from jfjochclient.models.spot_finding_settings import SpotFindingSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.standard_detector_geometry import StandardDetectorGeometry
from jfjochclient.models.standard_detector_geometry import StandardDetectorGeometry
# TODO update the JSON string below
json = "{}"

View File

@@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.zeromq_metadata_settings import ZeromqMetadataSettings
from jfjochclient.models.zeromq_metadata_settings import ZeromqMetadataSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.zeromq_preview_settings import ZeromqPreviewSettings
from jfjochclient.models.zeromq_preview_settings import ZeromqPreviewSettings
# TODO update the JSON string below
json = "{}"

View File

@@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from jfjoch_client.models.zeromq_settings import ZeromqSettings
from jfjochclient.models.zeromq_settings import ZeromqSettings
# TODO update the JSON string below
json = "{}"