Dof Assistant
Role
The Dof Assistant module builds and runs calibration-frame sequences for a camera: dark/offset (bias) libraries across a grid of temperatures and exposure/gain/offset settings, and flat libraries with an automatic exposure-calibration loop that targets a given mean-ADU band. It replaces the older, now-removed “darkassist” module.
Required devices
| Device | Role |
|---|---|
| Camera | Captures every calibration frame |
| Filter wheel | Selects the filter for each flat sequence line |
Dark/offset library
The Temperatures, Exposures, Gains and Offsets grids each hold a list of candidate values. Create/Append (in Generate) build the Sequence grid as the full cross-product of those four lists, tagged with the chosen Frame type and the Count of shots per row - the fastest way to cover a whole dark/offset library across several temperatures and gain/offset combinations in one run. Clear sequence empties it.
Start sequence runs every row of Sequence in order, populating Live sequence with each row’s status and shot progress; Abort sequence stops it.
Flat library
Flat parameters holds the settings shared by the whole flats run: temperature, gain, offset, shot count and a starting exposure. Filters lists the filter wheel’s own slots as on/off switches - whichever are switched on get a flat. Start flats builds one Live sequence (flats) row per selected filter from those settings and runs them in turn: for each row, the calibration loop takes a test shot at the current exposure, measures its mean ADU and adjusts the exposure to converge toward the target band defined in Flat calibration (Target ADU low/high, as a percentage of the max ADU for the configured Bit depth), giving up after Max calibration shots and using the last tried exposure if the band is never reached. Enable camera cooling requests the line’s target temperature and waits for it before shooting, for both the dark/offset and flat sequences. Abort flats stops the run; Live sequence reports the exposure the loop converged on and the last measured mean ADU for each line.
Progress
The Progress group tracks the run as a whole (queue) and the current row (line) while either sequence is in flight.