Script TheSky  Version 1.32
Public Slots | Properties | List of all members
FocuserTraining Class Reference

TheSky FocuserTraining object. More...

Inheritance diagram for FocuserTraining:

Public Slots

int initialize ()
 Call to initialize focuser training data in an automated fashion. More...
 

Properties

int autoguider
 This property determines if this object represents the imager or the autoguider. More...
 

Detailed Description

TheSky FocuserTraining object.

TheSky FocuserTraining object provides an means to 'get back' into an existing focuser training data set in an automated fashion.

This object was added in TheSky build 8114 (see Application::build).

Member Function Documentation

◆ initialize

int FocuserTraining::initialize ( )
slot

Call to initialize focuser training data in an automated fashion.


This scripting method must be called after all dependent hardware is connected and themselves initialized (cameras/focusers/filter wheels). To help understand this object, one should definitely master using 'Focuser Training' through the TheSky's GUI, especially using it night to night, where a KVP is added to get back into an existing curve by running @Focus again. In essence, this scripted method initializes 'Focuser Training', does not require another @Focus run, but rather assumes the historic focuser data curve is correct, and initializes 'back into' this existing, historic focuser data without the need for human intervention.

By convention, this method requires and loads a file named 'AutomatedFocuserTraining.foc' that contains the desired focuser data. This file must be placed in the default folder dictated by the Open button of the Focuser tab (for example, on Windows 'C:\Users\MyUserName\Documents\Software Bisque\TheSky Professional Edition 64\Focuser Data'). In other words, name your desired focuser data file accordingly and put into the appropriate folder before calling this method. If the autoguider property is set to 1, the conventional file name is 'AutomatedFocuserTraining1.foc' so that this object can be utilized for both imager and autougider.

Property Documentation

◆ autoguider

int FocuserTraining::autoguider
readwrite

This property determines if this object represents the imager or the autoguider.

A value of zero, the default, is the imager while a value of 1 is the autoguider).

ScriptTheSkyX Examples
(C) Software Bisque, Inc. All rights reserved.