The simplest form of input for PERIOD
is an ASCII file. The files may contain any
number of rows and columns. It is possible to specify which column refers to the
x-axis, which column refers
to the y-axis and which
column refers to the y-axis
errors. The y-axis
errors are optional and if included are used (or handled) by all operations in the main PERIOD
menu
(see section 5). However, the only periodicity-finding option in the period_period
sub-menu which
actually uses the errors on data points is CHISQ
(see section 5). The remaining five techniques (CLEAN
,
FT
, PDM
, SCARGLE
, STRING
) ignore errorbars if they are present. Note also that the input file must contain
x-axis
values which are in ascending order, otherwise the program will report a warning and either sort the
data (if requested to do so) or abort the input.
Data is stored and processed within PERIOD
using a slot system. A data slot is simply an array
holding one dataset. The maximum number of data slots which can be handled at any one
time in PERIOD
is 40; hence PERIOD
has the capability of analysing a large amount of data
simultaneously.
The first command that is usually run in PERIOD
is INPUT
(see section 5), which loads datasets into
data slots:
In order to load the first slot with a single dataset, you should reply 1,1
to the above prompt.
Similarly, if you want to load slots 4 through to 9 with 6 datasets, one should reply 4,9
to the above
prompt. It is important to note that slots can be overwritten. Typing 0,0
will return the you to the
menu.
Most PERIOD
commands prompt not only for an input slot, but also for an output slot:
The input should contain the dataset (or datasets) and the output will contain the result of the
operation on the dataset (or datasets). For example, given a set of 5 time-series (which have previously
been loaded into slots 1 to 5 using INPUT
) which need to be fitted with a sine curve (using the
command FIT
, see section 5), you would type 1,5
in reply to the first prompt and 6,10
in reply to the
second. PERIOD
will then fit sine curves to the data files loaded in slots 1 to 5 and put the fits in slots 6
to 10. Clearly, the number of output slots must be equal to the number of input slots. In addition, if
any selected input slot is empty, PERIOD
will abort the operation and return you to the main menu. It
should be noted that in order to save on storage space you could have typed 1,5
in reply to the
second prompt and the original data-files would have been overwritten by the resulting sine
curves.
OGIP FITS
files as inputBecause of the increasing use of OGIP
standard FITS
files within the X-ray community, PERIOD
has been
extended to allow FITS
file table extensions where the FITS
keyword HDUCLASS
has the value
OGIP
.
As with ASCII data, data files may contain any number of rows. There is also no restricition on the number of
FITS
file extensions within the file to be read. Again, you must specify which columns of the table refers to the
x-axis, which column refers
to the y-axis and which
column refers to the y-axis
errors. The y-axis
errors are optional and if included are used (or handled) by all operations in the main PERIOD
menu
(see section 5).
After you have entered the name of the file to be read, the file is opened and the keywords relating to telescope type etc are read. These are displayed so that you can make sure you are looking at the right file. The output will look something like this.
You are then asked to select the extension to be examined and are shown the header descriptions for each table column. From this information you can select which column should be in x-axis, y-axis or the y-axis errors part of your chosen data slot.
After this you are given the option to reread the same document and fill a different slot.
While slightly more complicated to read than normal ASCII the program is still very easy to use.