------------------------------------------------
 The SessionsTools -> Calculate 3D Fourier Stats
 sets up and calculates Fourier-based statistics
 on 3D volume data sets
------------------------------------------------
This panel runs FFT's on the time course at each
voxel when you click FOURIER.  Normally, you then
click PAINT.

The Image Name Format

This is automatically entered from the Setup
Functional panel.

Stimulus Program Notes

An arbitrary length string of ASCII characters
for informational purposes.

Stim Cycles Per Scan

This is the most important parameter on the
panel.  To analyze a polar angle mapping stimulus
(rotating wedge) with 8 cycles, enter 8.  You
would also enter 8 if there were 8 ON blocks and
8 OFF blocks.  This number does *not* have to be
a power of two.

TR

The TR can be entered but is not currently used
(it could be used to correct for interleaving
delays).

Smoothing Steps

In-plane nearest neighbor smoothing steps
(typically 0).

Low-Freq Window

This is the number of bins immediately below the
stimulus frequency to ignore when calculating the
significance of the periodic activation at the
stimulus frequency relative to the activation at
other frequencies.

Omit Freq

This is the frequency (cycles per scan) of an
additional periodic nuisance signal to discard
when calculating signal-to-noise (e.g., a
periodic activation due to a regularly performed
task during a phase-encoded mapping experiment).
To disable, set to -1 (default).

Mean Delay

This is only relevant to the calculation of the
F-statistic.  For this calculation, response
phases are broken into two 180 degree halves.
This parameter controls where the two halves are
situated.  Later on, in the View FUnctional Dat
panel, this delay can be interactively controlled
with angle_offset for FOurier analyzed data.
However, it is set in this panel if F-statistics
are read in (as opposed to the real and imaginary
Fourier components).  The see F-statistics with a
difference delay, you have to re-run FOURIER.

Phase Encode Type

The radio button chosen merely gives default
values to the color map, the parameter settings,
and the tcl scripts used when the View Functional
Data panel is opened to render surface images.
All of the values can be overridden there.

Truncphase

If Truncphase is checked, some phase angles will
be set to zero during the PAINT operation which
associates 3D statistics with each surface
vertex.

[TODO: explain default settings]

Action Button--FOURIER

When FOURIER is run, the panel will check whether
the number of repetitions in the corresponding
Setup Functional panels are powers of 2.  FOURIER
will not run unless this is the case (typically
64, 128, 256, or 512 repetitions).

Action Button--PAINT

This button samples the Fourier analyzed data
onto the surface specified in "Surface for
Sampling 3D Data".  The result is four files
(whose names appear schematically in the bottom
two entries), two for each hemisphere, which
consist of the real and imaginary components of
the Fourier transform.

View 3D Stats, Raw Images

On IRIX, use Alt-v to start up the (unsupported)
tkanalyse 3D statistics and raw images viewer for
the currently selected scan directory.

