Download Stable32 User Manual - Hamilton Technical Services

Transcript
G E N E R A L
Program Model
•
Overview
The Stable32 program is based on a simple main window with a number of modal dialog
boxes to implement the functions. These functions manipulate phase or frequency data arrays.
•
Main Window
The main window is empty except for menu and toolbar rows at the top, and status bar rows at
the bottom. The menu and toolbar provide the command interface, while the status bar
displays information about the current phase and frequency data.
•
Dialog Boxes
Modal dialog boxes support all of the Stable32 functions. These child windows use a
consistent button naming convention. The OK and Cancel buttons either accept or reject any
changes that have been made, while the Calc and Close buttons control functions that can be
either repeated or ended. All of the Stable32 dialog boxes may be closed with the Escape
key. Other standard Windows buttons and controls are used as appropriate for the particular
function.
The use of default buttons is avoided so that the Enter key can be used to terminate edit
control entries. This causes the entry to be reformatted and checked for validity.
The only modeless dialog boxes are those for the Find and Replace functions.
•
Data Arrays
The basic Stable32 idiom is a pair of phase (really time) and frequency data arrays, x[i] and
y[i] respectively, where the index i refers to data points equally-spaced in time. These usually
contain equivalent data, and conversions between them are provided. The x values have units
of time in seconds, and the y values are (dimensionless) fractional frequency, ∆f/f. The x(t)
time fluctuations are related to the phase fluctuations by φ(t) = x(t) ⋅ 2πν0, where ν0 is the
carrier frequency in Hz. Both are commonly called "phase" to distinguish them from the
independent time variable, t. The data sampling or measurement interval, τ0, has units of
seconds. It is called “tau” in many of the dialog boxes. The analysis or averaging time, τ,
may be a multiple of τ0 (τ=mτ0, where m is the averaging factor). If units other than seconds
are used for tau, some of the results (such as the FFT Fourier frequency scale) will not be
correct.
In addition, there are corresponding phase and frequency timetag arrays. These optional
arrays are useful for data editing, but are not needed for analysis.
7