Auto Brightness Flats
Start capturing auto brightness flats. This requires the camera to be connected. NINA will pick the best flat panel brightness for a fixed exposure time. Any omitted parameter will default to the instruction default.
Query parameters
-
The number of flats to capture
Minimum value is
0
. -
The exposure time to use for the flats, in seconds
Minimum value is
0
. -
The minimum flat panel brightness to use for the flats
Minimum value is
0
, maximum value is99
. -
The maximum flat panel brightness to use for the flats
Minimum value is
1
, maximum value is100
. -
The mean to use for the histogram
Minimum value is
0
, maximum value is1
. -
The tolerance to use for the histogram
Minimum value is
0
, maximum value is1
. -
The filter to use for the flats. The current filter will be used if this is not specified
Minimum value is
0
. -
The binning to use for the flats
-
The gain to use for the flats. The camera gain will be used if this is not specified
Minimum value is
0
. -
The offset to use for the flats. The camera offset will be used if this is not specified
Minimum value is
0
. -
Whether to keep the flat panel closed after taking the flats
curl \
--request GET 'http://localhost:1888/v2/api/flats/auto-brightness?count=1&exposureTime=1'
{
"Response": "Process started",
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
{
"Response": "string",
"Error": "Process already running",
"StatusCode": 400,
"Success": false,
"Type": "API"
}
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}