Here, you can define general properties about the AutoFlats run:



  • Target Mean: This value, along with the “Tolerance” field below define the intensity (measured in ADU) of an acceptable Flat Frame. When a Flat Frame’s intensity is measured and found to be in the range spanning from Target Mean - Tolerance to Target Mean + Tolerance, it will be saved to disk. The frames will later be combined to create “Master Flat” data (not in SGPro). Typically, this value should be around half of the full-well pixel depth of your camera (e.g. your 16-bit camera has a well-depth of approximately 60,000 ADU and targeting a Flat Frame ADU value of 25,000 to 30,000 is likely desirable. Ultimately, the “ideal value” here is dependent upon your post capture workflow and the tools you use for processing). 
  • Tolerance: The acceptable deviation from Target Mean (see Target Mean above).
  • Frames per event: A Flat Event is essentially just a description of a series of individual frames that will later be combined to create a “Master Flat”. This number governs the total number of frames that will be combined to create said “Master” data.
  • Minimum exposure length (seconds): By default, this value is 0 seconds. Increasing this value will result in a minimum exposure length for a Flat Frame. The most common use case for this value is for cameras that use a mechanical shutter. In that case, the minimum exposure length will be dependent upon the shutter’s actuation. If AutoFlats is unable to produce a Flat Frame that has an intensity within the acceptable range (see Target Mean above), the AutoFlats run will probably fail (there are limited circumstances in which AutoFlats can recover from this error if it is possible that a less intense light source will be made available simply by waiting (i.e. Dusk Flats).
  • Maximum exposure length (seconds): By default, this value is 0 seconds which is to be interpreted as “no maximum exposure length defined. It is typically OK to not define a value here as AutoFlats is proficient at determining most failure conditions. Increasing this value will result in a maximum exposure length for a Flat Frame. If AutoFlats is unable to produce a Flat Frame that has an intensity within the acceptable range (see Target Mean above), the AutoFlats run will probably fail (there are limited circumstances in which AutoFlats can recover from this error if it is possible that a more intense light source will be made available simply by waiting (i.e. Dawn Flats).
  • Flat frames ignore rotator angle: This option affects two different aspects of AutoFlats:
    • First, during capture, AutoFlats will be directed to ignore any sort of angle directions in the Flat Event.
    • Second, when AutoFlats looks to see if the current set of flat frames will also satisfy the requirements of another downstream Flat Event, it will not use the angle as part of that check.
  • Sync AutoFlats progress with disk: Enabling this option will signal to AutoFlats that it should inspect the contents of the disk (where it would save individual Flat Frames) and override progress properties. In an ideal world, the number of Flat Frames that AutoFlats thinks have been completed would always be equal to the number of Flat Frames that have been saved to disk. But… because we do not live in that world and things happen that can cause these two values to fall out of sync, this option is available. If you only care about the end result of AutoFlats (individual Flat Frames saved to disk), you will want to leave this option enabled. If you forgot to save your sequence after AutoFlats ran or maybe SGPro crashes or freezes before it was able to save progress to the sequence, this option will allow for AutoFlats to continue where it left off. If enabled, resetting the progress of the AutoFlats will ultimately have no effect on the run’s progress and it will be reset as soon as the run starts. If you want to disregard previous frames for incomplete events, typically because you require that all valid Flat Frames were captured at a similar time and at an exacting angle, then you’ll want to disable this option. In a disabled state, AutoFlats will capture a number of Flat Frames equal to the number of incomplete frames as specified by the AutoFlats run. In this state, regardless of frames that were previously saved to disk, you can reset the AutoFlats run’s progress and all new Flat Frames will be captured.