Calibration library

Calibration library

Workshop · 15 / 17

Calibration Library

darks, flats, bias and masters

Shoot your darks, flats and bias, build your masters and find them again, camera by camera, in one workshop.

The Calibration Library is the calibration workshop. Calibration files live there and nowhere else: not in the sky-imaging tools, not mixed in with your lights.

In short

All calibration in one place.

Darks, flats, bias and masters are filed by camera, away from your lights.

Masters without external software.

A right-click builds a master with the well-established mean-with-rejection method, without flooding memory.

Good flats, even at twilight.

The Flat Wizard finds the exposure time, checks each frame and readjusts as the light changes.

You find what you shot.

Each entry carries the settings read from its FITS; the index returns on restart; search filters live.

Nothing deleted by accident.

Removing from the library and deleting files are two distinct choices.

What the workshop does

To calibrate an image you need darks, flats and bias, and above all you need to know where they are, which camera they belong to, and with which settings they were taken. The workshop files all of this in a per-camera library, builds the masters for you, and helps you take good flats, including at twilight.

It is laid out in three columns: imaging and the job queue on the left, the master library in the middle, a viewer on the right.

What sets it apart

The calibration files of a sky-imaging tool get mixed in with the lights. Here, they have their own workshop and their own folder.

A hand-made folder of masters has no index and no rules. Here, each camera has its library, its types, its entries, with settings read from the headers.

Shooting flats on the fly means tweaking the exposure time while the sky darkens. Here it readjusts itself.

All features · 31

Take the calibration frames

  • Reuses the standard imaging controlsCapture's exposure form and job queue, with the same settings and the same image type.
  • Picks the image typeDark, Flat, Bias or DarkFlat; the type is written into the file name and the IMAGETYP header. Dark by default in this workshop.
  • Files frames into the libraryEach frame goes into its library's folder, under the right type, with duration, temperature, gain, offset and filter in its name.
  • Shows the latest frameThe viewer on the right displays the image you just took.

The master library

  • Creates one library per cameraCamera name (the connected imager's by default) and a root folder, chosen or created.
  • Organizes by typeUnder each camera: Dark, Bias, DarkFlat and Flat. No Light.
  • Sorts flats by filterThe connected wheel's filters are offered, or typed by hand without a wheel.
  • Creates entriesAn entry = a folder of raw frames. Its name is read from the first FITS header: type, duration, temperature, gain, offset and frame count.
  • Links or chooses an entry's folderLink an existing folder without copying it, choose or create a folder, open it in the file explorer.
  • Searches liveA field filters the tree by camera, type, filter or entry name, keeping the parents of the results.
  • Renames, deletes with careA deletion offers "remove from library", "remove and delete files" or cancel; removing only is the default.
  • Finds everything again on restartEach library's index is kept at its root.

Build a master

  • Mean with 3-sigma rejectionA right-click on an entry builds the master: pixel-by-pixel mean with iterative rejection of outliers, with no normalization for darks, bias and darkflats.
  • Calibrates flats with biasFor a flat, you choose which Bias or DarkFlat master of the same camera to subtract (or none); each flat is calibrated, multiplicatively normalized, then combined.
  • Writes a 32-bit floating-point FITSThe useful headers (type, duration, temperature, gain, offset, filter) are carried over and the number of combined frames is recorded; rebuilding replaces the master.
  • Works in bands of rowsNever N full images in memory.
  • Runs in the backgroundThe interface stays responsive; the entry shows "in progress".
  • Displays the masterA click on a master opens it in the viewer on the right; a new frame always takes over.

Point for sky flats

  • Points at a wall panel or a patch of skyThree ways: Move to Wall (stored azimuth and altitude, for a flat panel or a fixed wall), an East / West list (east in the evening, west in the morning, default height near the zenith) with an editable height, or RA / Dec coordinates typed by hand.
  • Parks instead of slewingA Park checkbox sends the mount to its park position instead of aiming at a coordinate, useful when the panel is fixed at the park position.
  • Stops tracking on arrivalOnce the mount has arrived, tracking is turned off; the tracking state (off, sidereal, lunar, solar) is read on the status bar.
  • Shows the shooting windowsAn altitude chart on the ephemeris marks the Sky Flat bands: from sunset to civil dusk in the evening, from civil dawn to sunrise in the morning.

The Flat Wizard

  • Finds the exposure time by itselfAn "Auto exposure (ADU)" checkbox searches, by bracketing, for the exposure that reaches a target level (25,000 ADU by default) within a tolerance (5% by default).
  • Bounds the searchOptional minimum and maximum exposure.
  • Checks every frame of a seriesWithin tolerance, the frame is saved; out of tolerance, it is rejected and the exposure is readjusted for the next one, useful when sky light drifts at twilight.
  • Works on a single frame or on the queueOn "Take", it searches until the first valid frame; on a queue job, it searches then keeps checking.
  • Chains filters through the queueOne Flat job per filter; each keeps its own target and tolerance.
  • Measures the real ADUOn the captured frame, not on an estimate.
  • Says where it standsAn indicator and a line: idle, searching (exposure and ADU being tried), found (frame kept and its ADU), failed.
  • Sets what happens on failureIn Preferences, your choice: stop without saving, or save the last frame tried anyway.

Comfort

  • Speaks French and English

All Heimdall workshops