NINA Flats

Control flat capture via N.I.N.A. ninaAPI

Take Auto Flat (Exposure)

AI-generated

Summary

Capture a specified number of auto flat frames using exposure time control via the N.I.N.A. ninaAPI.

Inputs

  • Count — Number of flat frames to capture (default 10).
  • Min Exposure — Minimum exposure time in seconds.
  • Max Exposure — Maximum exposure time in seconds.
  • Histogram Mean — Target histogram mean value between 0 and 1.
  • Mean Tolerance — Tolerance allowed for the histogram mean.
  • Brightness — Panel brightness for the exposure.
  • Filter ID — Index of the filter slot to use.
  • Binning — Sensor binning setting, e.g., '1x1'.
  • Gain — Camera gain setting.
  • Offset — Camera offset setting.
  • Keep Closed — Whether to keep the flat panel closed after capture (default false).

Output shape

A JSON array containing response data from the N.I.N.A. API about the auto flat exposure capture process.

Each execution input item triggers one API call and returns corresponding response data; errors are returned as messages if "continue on fail" is enabled. Parameters are passed as query string parameters to the endpoint '/flats/auto-exposure' of the N.I.N.A. server.

Links

Discussion