------------------------------------------------
 The File -> New Functional menu creates a new
 blank functional session directory and its
 standard subdirectories
------------------------------------------------
This is the first step in making a new session.
A new functional session directory and a standard
set of subdirectories in it is created.  The
default location for the new session is the
current setting of the environment variable,
FUNCTIONALS_DIR, but a functional session can be
made anywhere.

Finding sessions by date or initials is much
easier with the csurf interface if multiple
sessions are stored in the same FUNCTIONALS_DIR.

The standard functional session directory
structure is:

 FUNCTIONALS_DIR (root of a sessions database)
    sessionname    (year+month+day+initials)
       image          (images)
          scripts        (configs, NOTES file)
          rgb            (saved SGI rgb bitmaps)
          mpg            (saved mpeg movies)
          mprage         (alignment scan)
          functscan1     (functional scan1)
          functscan2     (functional scan2)
          ...

When the functional session is made, it prompts
you to find a subject somewhere that contains the
surface for this functional.  The subject must
exist somewhere.  This linkage is saved in a
file, "name", inside the session directory
containing only the SUBJECTS_DIR directory name
of the subject (e.g., johns).

Once the functional session has been made, a
subdirectory for each functional scan should be
made in the image subdirectory.  Then, the
individual scans for that session should be
copied into the separate subdirectories.

You can give the scan subdirectories any name
besides the names of the standard subdirectories
but it is extremely helpful to number them so
they sort in the order in which were acquired.
Also, it helps to add an informative suffix to
each name (e.g., the name of the stimulus
program), since the directory names are what are
used to select scans in the interface.  For
example:

  $FUNCTIONALS_DIR/somesession/image/1-smfaces/*
  $FUNCTIONALS_DIR/somesession/image/2-bigfaces/*
  $FUNCTIONALS_DIR/somesession/image/3-words/*
  ...

The alignment scan (in directory "mprage" above,
but can be any name) is a T1-weighted scan taken
in the same plane as the functional scans.
Typically, it has thinner slices, smaller
in-plane pixels, and more coverage than the
functional scan.

The alignment scan is used to align the
functional data with the scans in the subjects
database that were used to make the surfaces for
this subject.  This procedure generates a
transformation matrix that allows statistical
measures calculated from the functional scans to
be painted onto the cortical surface.

There can be more than one alignment scan.  You
choose for each functional can which alignment
scan should be associated with it.

