OpenAPI: There is no fill value option, always use NaN (null in JSON)

This commit is contained in:
2025-12-08 11:33:04 +01:00
parent 80f07a0caa
commit e6f9937675
13 changed files with 39 additions and 81 deletions

View File

@@ -3210,7 +3210,7 @@ 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)
# **preview_plot_get**
> Plots preview_plot_get(type, binning=binning, compression=compression, fill=fill, experimental_coord=experimental_coord, azint_unit=azint_unit)
> Plots preview_plot_get(type, binning=binning, compression=compression, experimental_coord=experimental_coord, azint_unit=azint_unit)
Generate 1D plot from Jungfraujoch
@@ -3237,13 +3237,12 @@ with jfjoch_client.ApiClient(configuration) as api_client:
type = 'type_example' # str | Type of requested plot
binning = 1 # int | Binning of frames for the plot (0 = default binning) (optional) (default to 1)
compression = False # bool | Enable DEFLATE compression of output data. (optional) (default to False)
fill = 3.4 # float | Fill value for elements that were missed during data collection (optional)
experimental_coord = False # bool | If measurement has goniometer axis defined, plot X-axis will represent rotation angle If measurement has grid scan defined, plot X-axis and Y-axis will represent grid position, Z will be used as the final value For still measurement the number is ignored (optional) (default to False)
azint_unit = Q_recipA # str | Unit used for azim int. (optional) (default to Q_recipA)
try:
# Generate 1D plot from Jungfraujoch
api_response = api_instance.preview_plot_get(type, binning=binning, compression=compression, fill=fill, experimental_coord=experimental_coord, azint_unit=azint_unit)
api_response = api_instance.preview_plot_get(type, binning=binning, compression=compression, experimental_coord=experimental_coord, azint_unit=azint_unit)
print("The response of DefaultApi->preview_plot_get:\n")
pprint(api_response)
except Exception as e:
@@ -3260,7 +3259,6 @@ Name | Type | Description | Notes
**type** | **str**| Type of requested plot |
**binning** | **int**| Binning of frames for the plot (0 = default binning) | [optional] [default to 1]
**compression** | **bool**| Enable DEFLATE compression of output data. | [optional] [default to False]
**fill** | **float**| Fill value for elements that were missed during data collection | [optional]
**experimental_coord** | **bool**| If measurement has goniometer axis defined, plot X-axis will represent rotation angle If measurement has grid scan defined, plot X-axis and Y-axis will represent grid position, Z will be used as the final value For still measurement the number is ignored | [optional] [default to False]
**azint_unit** | **str**| Unit used for azim int. | [optional] [default to Q_recipA]