OpenAPI: There is no fill value option, always use NaN (null in JSON)
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user