Unpack the data from bourget:

Find your subject...

To find your data, run the findsession command, passing it the "patient name", which is the name that you registered the subject under when scanning:

["findsession patientname"]

This will give you a list of all matching data sets, including paths to where each one can be found. Eg,

/space/chartres/6/siemens/TRIO-20501-20020416-124756-468000

All the runs/series for your subject's visit will be in this directory.

Unpack the data

Unpacking is the processes through which you convert the data from DICOM format (which is not very useful) to a format that can be used by an analysis programe (eg, bhdr, nifti, analyze, mgh, mgz). The program that does this is unpacksdcmdir (this is only used to unpack Siemens DICOM files). mri_convert can also be used to convert individual runs, whereas unpacksdcmdir can be used to unpack any or all data from a directory.

The first step in unpacking is to decide where you want your data to be stored. Usually, you choose a "parent" directory underwhich all of the visits for a study will be stored. Eg, /space/data/1/users/you/data-parent. The the actual target data for a given visit from a subject would be stored under something like /space/data/1/users/you/data-parent/yoursubject.

Next, you need to find out exactly what data are in the dicom directory. Specificially you need to know which run/series number corresponds to which acquisition. To do this run:

where dicomdir is the directory where the dicom data reside (as found above by findsession), targetdir is where you want the individual's data to go, and the scan.info file will contain a list of run/series numbers along with the scanning protocol that was used to acquire the data, and will look something like this:

To actually do the unpacking, you will need to run unpacksdcmdir again with a slightly different set of arguments:

["unpacksdcmdir"] -src dicomdir -targ targetdir -fsfast \BR

If it is .ima format data...

Note: I have come across old data which was *.ima format. This can be unpacked using

which works just like unpacksdcmdir.

Check for TR bug

*** There is always a problem after unpacking that the TR is not set correctly. Please fix it.

Copy the 3danat

Goto the 3danat/ dir

Copy contents to mri/orig. For example...