v1.0.0-rc.34
This commit is contained in:
@@ -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.33
|
||||
- Package version: 1.0.0-rc.33
|
||||
- API version: 1.0.0-rc.34
|
||||
- Package version: 1.0.0-rc.34
|
||||
- Generator version: 7.8.0
|
||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||
|
||||
@@ -137,8 +137,11 @@ Class | Method | HTTP request | Description
|
||||
*DefaultApi* | [**plot_receiver_delay_get**](docs/DefaultApi.md#plot_receiver_delay_get) | **GET** /plot/receiver_delay | Generate receiver delay plot
|
||||
*DefaultApi* | [**plot_receiver_free_send_buffers_get**](docs/DefaultApi.md#plot_receiver_free_send_buffers_get) | **GET** /plot/receiver_free_send_buffers | Generate receiver free send buffer plot
|
||||
*DefaultApi* | [**plot_roi_max_count_get**](docs/DefaultApi.md#plot_roi_max_count_get) | **GET** /plot/roi_max_count | Generate plot of ROI max count
|
||||
*DefaultApi* | [**plot_roi_mean_get**](docs/DefaultApi.md#plot_roi_mean_get) | **GET** /plot/roi_mean | Generate plot of ROI mean value
|
||||
*DefaultApi* | [**plot_roi_sum_get**](docs/DefaultApi.md#plot_roi_sum_get) | **GET** /plot/roi_sum | Generate ROI sum plot
|
||||
*DefaultApi* | [**plot_roi_valid_pixels_get**](docs/DefaultApi.md#plot_roi_valid_pixels_get) | **GET** /plot/roi_valid_pixels | Generate plot of ROI valid pixels
|
||||
*DefaultApi* | [**plot_roi_x_get**](docs/DefaultApi.md#plot_roi_x_get) | **GET** /plot/roi_x | Generate plot of ROI weighted X-coordinate
|
||||
*DefaultApi* | [**plot_roi_y_get**](docs/DefaultApi.md#plot_roi_y_get) | **GET** /plot/roi_y | Generate plot of ROI weighted Y-coordinate
|
||||
*DefaultApi* | [**plot_spot_count_get**](docs/DefaultApi.md#plot_spot_count_get) | **GET** /plot/spot_count | Generate spot count plot
|
||||
*DefaultApi* | [**plot_strong_pixel_get**](docs/DefaultApi.md#plot_strong_pixel_get) | **GET** /plot/strong_pixel | Generate strong pixels plot
|
||||
*DefaultApi* | [**preview_calibration_tiff_get**](docs/DefaultApi.md#preview_calibration_tiff_get) | **GET** /preview/calibration.tiff | Get last preview image in TIFF format for calibration with PyFAI/Dioptas
|
||||
@@ -178,6 +181,7 @@ Class | Method | HTTP request | Description
|
||||
- [DetectorTiming](docs/DetectorTiming.md)
|
||||
- [DetectorType](docs/DetectorType.md)
|
||||
- [ErrorMessage](docs/ErrorMessage.md)
|
||||
- [FileWriterFormat](docs/FileWriterFormat.md)
|
||||
- [FileWriterSettings](docs/FileWriterSettings.md)
|
||||
- [FpgaStatusInner](docs/FpgaStatusInner.md)
|
||||
- [ImageBufferStatus](docs/ImageBufferStatus.md)
|
||||
@@ -192,6 +196,8 @@ Class | Method | HTTP request | Description
|
||||
- [Plot](docs/Plot.md)
|
||||
- [Plots](docs/Plots.md)
|
||||
- [PreviewSettings](docs/PreviewSettings.md)
|
||||
- [RoiAzimList](docs/RoiAzimList.md)
|
||||
- [RoiAzimuthal](docs/RoiAzimuthal.md)
|
||||
- [RoiBox](docs/RoiBox.md)
|
||||
- [RoiBoxList](docs/RoiBoxList.md)
|
||||
- [RoiCircle](docs/RoiCircle.md)
|
||||
|
||||
@@ -56,8 +56,11 @@ Method | HTTP request | Description
|
||||
[**plot_receiver_delay_get**](DefaultApi.md#plot_receiver_delay_get) | **GET** /plot/receiver_delay | Generate receiver delay plot
|
||||
[**plot_receiver_free_send_buffers_get**](DefaultApi.md#plot_receiver_free_send_buffers_get) | **GET** /plot/receiver_free_send_buffers | Generate receiver free send buffer plot
|
||||
[**plot_roi_max_count_get**](DefaultApi.md#plot_roi_max_count_get) | **GET** /plot/roi_max_count | Generate plot of ROI max count
|
||||
[**plot_roi_mean_get**](DefaultApi.md#plot_roi_mean_get) | **GET** /plot/roi_mean | Generate plot of ROI mean value
|
||||
[**plot_roi_sum_get**](DefaultApi.md#plot_roi_sum_get) | **GET** /plot/roi_sum | Generate ROI sum plot
|
||||
[**plot_roi_valid_pixels_get**](DefaultApi.md#plot_roi_valid_pixels_get) | **GET** /plot/roi_valid_pixels | Generate plot of ROI valid pixels
|
||||
[**plot_roi_x_get**](DefaultApi.md#plot_roi_x_get) | **GET** /plot/roi_x | Generate plot of ROI weighted X-coordinate
|
||||
[**plot_roi_y_get**](DefaultApi.md#plot_roi_y_get) | **GET** /plot/roi_y | Generate plot of ROI weighted Y-coordinate
|
||||
[**plot_spot_count_get**](DefaultApi.md#plot_spot_count_get) | **GET** /plot/spot_count | Generate spot count plot
|
||||
[**plot_strong_pixel_get**](DefaultApi.md#plot_strong_pixel_get) | **GET** /plot/strong_pixel | Generate strong pixels plot
|
||||
[**preview_calibration_tiff_get**](DefaultApi.md#preview_calibration_tiff_get) | **GET** /preview/calibration.tiff | Get last preview image in TIFF format for calibration with PyFAI/Dioptas
|
||||
@@ -3487,6 +3490,77 @@ with jfjoch_client.ApiClient(configuration) as api_client:
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
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]
|
||||
|
||||
### Return type
|
||||
|
||||
[**Plots**](Plots.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, text/plain
|
||||
|
||||
### HTTP response details
|
||||
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
**200** | Response will be by default compressed with deflate algorithm, if using curl, use --compressed option. | - |
|
||||
**400** | Input parsing or validation error | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **plot_roi_mean_get**
|
||||
> Plots plot_roi_mean_get(binning=binning, compression=compression)
|
||||
|
||||
Generate plot of ROI mean value
|
||||
|
||||
Mean of pixels within a ROI area; pixels with special values (overload, bad pixel) are excluded; binning is configurable; number will be wrong if multipixels are included!
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
```python
|
||||
import jfjoch_client
|
||||
from jfjoch_client.models.plots import Plots
|
||||
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)
|
||||
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)
|
||||
|
||||
try:
|
||||
# Generate plot of ROI mean value
|
||||
api_response = api_instance.plot_roi_mean_get(binning=binning, compression=compression)
|
||||
print("The response of DefaultApi->plot_roi_mean_get:\n")
|
||||
pprint(api_response)
|
||||
except Exception as e:
|
||||
print("Exception when calling DefaultApi->plot_roi_mean_get: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
@@ -3629,6 +3703,148 @@ with jfjoch_client.ApiClient(configuration) as api_client:
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
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]
|
||||
|
||||
### Return type
|
||||
|
||||
[**Plots**](Plots.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, text/plain
|
||||
|
||||
### HTTP response details
|
||||
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
**200** | Response will be by default compressed with deflate algorithm, if using curl, use --compressed option. | - |
|
||||
**400** | Input parsing or validation error | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **plot_roi_x_get**
|
||||
> Plots plot_roi_x_get(binning=binning, compression=compression)
|
||||
|
||||
Generate plot of ROI weighted X-coordinate
|
||||
|
||||
Pixel X weighted by measured counts; pixels with special values (overload, bad pixel) are excluded; binning is configurable
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
```python
|
||||
import jfjoch_client
|
||||
from jfjoch_client.models.plots import Plots
|
||||
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)
|
||||
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)
|
||||
|
||||
try:
|
||||
# Generate plot of ROI weighted X-coordinate
|
||||
api_response = api_instance.plot_roi_x_get(binning=binning, compression=compression)
|
||||
print("The response of DefaultApi->plot_roi_x_get:\n")
|
||||
pprint(api_response)
|
||||
except Exception as e:
|
||||
print("Exception when calling DefaultApi->plot_roi_x_get: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
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]
|
||||
|
||||
### Return type
|
||||
|
||||
[**Plots**](Plots.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, text/plain
|
||||
|
||||
### HTTP response details
|
||||
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
**200** | Response will be by default compressed with deflate algorithm, if using curl, use --compressed option. | - |
|
||||
**400** | Input parsing or validation error | - |
|
||||
|
||||
[[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)
|
||||
|
||||
# **plot_roi_y_get**
|
||||
> Plots plot_roi_y_get(binning=binning, compression=compression)
|
||||
|
||||
Generate plot of ROI weighted Y-coordinate
|
||||
|
||||
Pixel Y weighted by measured counts; pixels with special values (overload, bad pixel) are excluded; binning is configurable
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
```python
|
||||
import jfjoch_client
|
||||
from jfjoch_client.models.plots import Plots
|
||||
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)
|
||||
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)
|
||||
|
||||
try:
|
||||
# Generate plot of ROI weighted Y-coordinate
|
||||
api_response = api_instance.plot_roi_y_get(binning=binning, compression=compression)
|
||||
print("The response of DefaultApi->plot_roi_y_get:\n")
|
||||
pprint(api_response)
|
||||
except Exception as e:
|
||||
print("Exception when calling DefaultApi->plot_roi_y_get: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,9 @@ Name | Type | Description | Notes
|
||||
**nmodules** | **int** | |
|
||||
**width** | **int** | |
|
||||
**height** | **int** | |
|
||||
**readout_time_us** | **int** | |
|
||||
**min_frame_time_us** | **int** | |
|
||||
**min_count_time_us** | **int** | |
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
15
docs/python_client/docs/FileWriterFormat.md
Normal file
15
docs/python_client/docs/FileWriterFormat.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# FileWriterFormat
|
||||
|
||||
None - no master file written NXmxLegacy - legacy format with soft links to data files in the master file; necessary for DECTRIS Albula 4.0 and DECTRIS Neggia NXmxVDS - newer format with virtual dataset linking data files in the master file, also includes better metadata handling
|
||||
|
||||
## Enum
|
||||
|
||||
* `NONE` (value: `'None'`)
|
||||
|
||||
* `NXMXLEGACY` (value: `'NXmxLegacy'`)
|
||||
|
||||
* `NXMXVDS` (value: `'NXmxVDS'`)
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**overwrite** | **bool** | Inform jfjoch_write to overwrite existing files. Otherwise files would be saved with .h5.{timestamp}.tmp suffix. | [optional] [default to False]
|
||||
**file_writer_version** | **int** | version 1 - legacy format with soft links to data files in the master file; necessary for DECTRIS Albula 4.0 and DECTRIS Neggia version 2 - newer format with virtual dataset linking data files in the master file, also includes better metadata handling | [optional] [default to 2]
|
||||
**format** | [**FileWriterFormat**](FileWriterFormat.md) | | [optional] [default to FileWriterFormat.NXMXLEGACY]
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
30
docs/python_client/docs/RoiAzimList.md
Normal file
30
docs/python_client/docs/RoiAzimList.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# RoiAzimList
|
||||
|
||||
List of azimuthal ROIs
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**rois** | [**List[RoiAzimuthal]**](RoiAzimuthal.md) | | [optional]
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from jfjoch_client.models.roi_azim_list import RoiAzimList
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of RoiAzimList from a JSON string
|
||||
roi_azim_list_instance = RoiAzimList.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print(RoiAzimList.to_json())
|
||||
|
||||
# convert the object into a dict
|
||||
roi_azim_list_dict = roi_azim_list_instance.to_dict()
|
||||
# create an instance of RoiAzimList from a dict
|
||||
roi_azim_list_from_dict = RoiAzimList.from_dict(roi_azim_list_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)
|
||||
|
||||
|
||||
32
docs/python_client/docs/RoiAzimuthal.md
Normal file
32
docs/python_client/docs/RoiAzimuthal.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# RoiAzimuthal
|
||||
|
||||
ROI as Q-range (or resolution range)
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **str** | Name for the ROI; used in the plots |
|
||||
**q_min_recip_a** | **float** | Minimum Q-range for the ROI |
|
||||
**q_max_recip_a** | **float** | Maximum Q-range for the ROI |
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from jfjoch_client.models.roi_azimuthal import RoiAzimuthal
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of RoiAzimuthal from a JSON string
|
||||
roi_azimuthal_instance = RoiAzimuthal.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print(RoiAzimuthal.to_json())
|
||||
|
||||
# convert the object into a dict
|
||||
roi_azimuthal_dict = roi_azimuthal_instance.to_dict()
|
||||
# create an instance of RoiAzimuthal from a dict
|
||||
roi_azimuthal_from_dict = RoiAzimuthal.from_dict(roi_azimuthal_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)
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**box** | [**RoiBoxList**](RoiBoxList.md) | |
|
||||
**circle** | [**RoiCircleList**](RoiCircleList.md) | |
|
||||
**azim** | [**RoiAzimList**](RoiAzimList.md) | | [optional]
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user