Struct Interface::AutoExpState

Nested Relationships

This struct is a nested type of Class Interface.

Struct Documentation

struct AutoExpState

per-frame auto-exposure runtime (ACAM-window pre-tuning). Brightness is sampled over a window of frames; a high percentile (near-max) is used because telescope motion only smears light out (lowering brightness), so the brightest frames are the most stationary and most trustworthy.

Public Functions

inline void start_window()
inline void reset()

Public Members

std::vector<double> top10_window

per-frame top-10%-mean values in the window

double max_peak_raw = 0.0

max raw peak in the window (saturation)

double max_snr = 0.0

max peak-SNR in the window

int detect_count = 0

detections in the window

int frames_seen = 0

frames accumulated in the window

int no_detect_count = 0

consecutive empty windows

int settle_frames = 0

skip stale frames after an exptime change