Exposures & Activation

Set goals per filter, choose how each rig shoots them, and write the plan into each rig's Target Scheduler database. Activation previews every row before it writes, and never touches captured frames or grades.

New in 0.12. The plan decides which Target Scheduler exposure plans run, and the activation dialog opens with a preview of what Target Scheduler will shoot. The plan status reads Activated or Needs activating.

Set goals per filter

Use the Exposures tab to set capture goals. An objective is one bandpass and purpose (Faint detail or Unsaturated stars) with a goal in accepted hours or accepted frames. For each rig in the plan, it shows the template, exposure length and frames that meet the goal, and the rig's progress.

Set the exposure goal and purpose for each bandpass.
Set the exposure goal and purpose for each bandpass.

Progress and status

Each rig's table has a Progress and a Status column:

An exposure plan counts toward the objective activation wrote it for. Two objectives that share one Target Scheduler plan show it under each, marked shared with the other, and All objectives counts it once. A plan taken in from Target Scheduler counts toward the objective with its template and exposure length, else the one with its template, else the one with its filter's band.

One rig's row on the Exposures tab: panels chosen, template, exposure, goal with Set, frames per panel and On for each objective
Each rig's template, exposure and frames per panel. Set gives the rig a goal of its own.

A rig's own goal

A rig can carry its own goal for an objective in place of the plan's. For an hours goal, a rig well away from f/5 is offered a goal that reaches the same depth at its focal ratio, such as 24 h at f/10 for 6 h at f/5. A suggestion applies only when clicked; × returns the rig to the plan's goal. Activation and visibility estimates use each rig's own goal.

Panels per rig

On a mosaic, each rig's section has a panel chooser: every panel by default, or only the panels that rig should shoot. A coverage box lists any objective and panel no rig covers. Each rig's row totals its frames and hours across the panels it owns.

Exposure template library

Settings › Exposure templates stores shared templates independently of any database. Each template includes a name, the rig's filter name, gain, offset, binning, readout mode and a starting exposure. Bind a rig to one when its database has no template for a band, so a second or third rig joins a plan without templates of its own.

Shared exposure templates include optional Moon-avoidance rules.
Shared exposure templates include optional Moon-avoidance rules.

Expand Moon on a template for per-filter Moon avoidance: full-Moon separation, half-width in days, Moon-down only, and altitude relaxation. These follow Target Scheduler's Moon avoidance formula, and activation writes them into the rig's template.

The Rigs tab

The Rigs tab shows one block per rig: its database's project, its templates and frames, what activation does there, and its Target Scheduler settings and targets once the database has the project. Rigs outside the plan fold away.

Each block's heading shows whether the rig matches the saved plan: activated; behind with why, such as behind · not activated yet, behind · differs from the plan or behind · activation turns off 1 plan; or couldn't check, with the reason in its tooltip.

Each rig shows whether it matches the saved plan, with scheduling limits below.
Each rig shows whether it matches the saved plan, with scheduling limits below.

Activate

Activation writes the saved plan into each rig's Target Scheduler database. It decides which of the project's exposure plans run there; see What activation writes.

Where the plan stands

The plan's summary ends with a short label:

LabelMeaning
ActivatedEvery rig assigned to the plan matches what activation would write.
Needs activatingActivation would change a rig's Target Scheduler rows: the saved plan or framing is not activated yet, a rig joined, rows changed in N.I.N.A., an exposure plan with the old exposure length is still on, or a remote site lacks the last activation. The tooltip explains why.
Checking the rigs…The check is running, and the last activation cannot answer for the saved plan.
Couldn't check the rigsThe check failed, or could not read a rig's database (Couldn't check ultracat131). The tooltip explains why. No activation prompt appears.
Can't activate yetThe plan lacks something activation needs, such as a saved framing. Instructions appear beside the label in place of Activate….
Drafts onlyThis server does not write rig databases.

Activate…, a separate button beside the label, opens the activation dialog at any time. Once every edit is saved, a banner at the top of the page explains why activation is needed, such as "Needs activating: ultracat131 differs from the plan" or "Needs activating: turns off 1 plan in ultracat131". Its button reads Activate…, or Activate again… once the plan has been activated. While the banner is visible, the summary hides its status label.

The label comes from a check that runs the same activation on an in-memory copy of each rig's planning tables. It writes nothing and never locks N.I.N.A.'s database. A rig whose rows would all read Unchanged is activated, whatever the last activation recorded.

The activation dialog

Activate on the rigs loads a preview when it opens, and again whenever the saved plan, the framing or the collaboration work chosen in it changes. There is no Preview button. The status line shows Previewing…, Preview ready or Preview failed, with Refresh to try a failed preview again.

The preview reads a copy of each rig's planning tables, so it never waits for N.I.N.A. or holds a rig database's lock. Activate runs the same work on each rig database itself, holding its write lock, and writes only when the result matches the preview. When something changed in between, PSF Guard writes nothing. The dialog explains what changed, such as "Changed since the preview: the saved plan (revision 3 → 4) and ultracat131's rows", and previews again. Activate stays disabled until the new preview is ready, with the reason shown beside it.

The preview reads the saved plan, and the dialog asks before saving edits. If you have unsaved edits, the dialog lists the affected sections and offers Save and activate…, which saves them; the preview follows, and Activate waits for it.

Save unsaved exposure changes before activating. PSF Guard then updates the preview.
Save unsaved exposure changes before activating. PSF Guard then updates the preview.

A plan that cannot be activated yet, with no framing saved or no panel size, is not a failure. The status line explains what to do first, with Open Framing when the framing is what it lacks.

Review each rig's changes before activating the saved plan.
Review each rig's changes before activating the saved plan.

Read the preview

Each rig's block opens with a line of counts, such as "Preview · Turns off 1 plan · Project: 1 unchanged · Targets: 4 unchanged · Exposure plans: 1 turned off, 24 unchanged". Then, in this order:

  1. After activation, Target Scheduler shoots: every plan that will run, with its target, exposure length, template and its filter, gain and offset, frames asked for and taken, and the objectives a shared plan is summed from.
  2. Turns off: each plan activation turns off, with its frame counts and the reason, such as "not in the plan" or "replaced by Ha · 300 s". This block stays expanded and uses the warning color: to keep a plan, take Target Scheduler's values or add it to the plan.
  3. Turns on: plans that were off and come back.
  4. What changes in the rig: every other row, labeled.
LabelMeaning
NewA new project, target, exposure plan or template.
Taken overAn existing Target Scheduler record that activation will manage. The preview shows what will change.
UpdatedA row from an earlier activation that changes, such as desired 100 → 150 or exposure 120 s → 300 s.
Turned offAn exposure plan the plan does not have, or a project set Inactive.
UnchangedA row that already matches the saved plan.

After Activate, the same blocks read Target Scheduler now shoots, Turned off and Turned on. The count of turn-offs also shows in the rig's line on the Rigs tab and in the bar at the top.

The preview lists the four Target Scheduler plans that activation would turn off.
The preview lists the four Target Scheduler plans that activation would turn off.

The preview also lists any objective and panel no rig covers, panels short of the minimum overlap or leaving sky uncovered across every framing the rigs shoot, and why a rig is skipped: no registered database, a Target Scheduler schema older than 22, no N.I.N.A. profile yet, a row with no GUID (see Fill in GUIDs), or a file that cannot be opened or written.

PSF Guard commits changes to each rig database separately. If a database is busy or read-only, the dialog reports the error; changes to other databases still apply. A rig database waits up to a minute for its write lock, since N.I.N.A. can hold the file that long.

What activation writes

The plan decides which Target Scheduler exposure plans run in each rig's project:

The rows:

An existing target is taken over rather than doubled: the one with the panel's name, else the one at the panel's place, else a single-panel plan's only target. A lone target stands for a panel only within a quarter of the panel's shorter side. A target with frames that sits further away, or turned from the panel, is left as it is with its frames: the panel gets a new target, and the preview shows the distance from the previous position.

A second activation updates the same rows in place. Names you edited stay. Acquired and accepted counts, captured frames and grades are never touched. Panels removed from the framing leave their targets behind.

Rigs turned off and work that goes away

A rig turned off or dropped from the plan has its Target Scheduler project set Inactive; turning it on again sets it Active. A project you made Inactive yourself stays Inactive. Exposure plans the plan no longer asks for (an objective removed, a band changed, a panel gone) are turned off. Work that comes back takes its old exposure plans back, frames and all, instead of adding twins.

Keep changes made in N.I.N.A.

When a rig's project is already in Target Scheduler and the preview would change its rows, the rig's block offers Take Target Scheduler's values. It writes that rig's project into the saved plan instead of overwriting it, and the preview runs again:

The block then lists what it took and what it left as planned. Planning never adds objectives on its own: a project imported from Target Scheduler keeps one objective per filter, and a second length waits under Turns off until you take it.

Rigs at another site

A rig can run on another PSF Guard at a remote observatory, with its own database that N.I.N.A. writes. To plan for it here:

  1. Register that PSF Guard under Settings › Sync › Remote PSF Guard and pull its catalog into a database on this server. The copy is the rig here.
  2. In the copy's rig setup, set Remote site to the peer.
  3. Activate as usual. Activate writes the copy, then pushes the planning rows (projects, targets, exposure plans, templates) to the peer through Sync's planning push. Captures and grades never travel this way.

Each rig's status shows whether the peer received the changes. A site that missed the activation leaves the plan at Needs activating, and the bar and the dialog offer to send it again; the server also sends it on its own once the site answers. See When a site misses an activation.

Deliver planning through a saved TS connection

When a rig uses an imported TS catalog, activation shows the saved Target Scheduler destination and transfer counts in its preview. Activation commits the owned catalog, then sends only the approved project's planning. Captures, grades and acquisition counts stay unchanged.

Automatic grade writeback does not control this explicit planning delivery. Failed deliveries stay pending and retry through the saved sync settings, or use the pending delivery's send button. Grade conflicts do not block planning delivery. Changes to the TS project or its referenced templates, or an expired transfer, require a new activation preview. Refreshing a preview in Settings does not approve an activation.

More projects from theatr.us