Beauchamp:Lab Notebook

From OpenWetWare
Jump to navigationJump to search
Brain picture
Beauchamp Lab




MRI

  1. UT-Only Wiki
  2. Motion and Distortion Correction
  3. Autism Data

Electrophysiology Protocols

Presurgical Scanning

After analysing fMRI data, upload the entire contents of the AFNI and SUMA directories to Xfiles. This can be simplfied by Apple-K (Connect to Server) in Finder and choosing XFiles;

 xfiles.hsc.uth.tmc.edu (129.106.148.217)

then the folders can be dragged from the server to Xfiles, or copied in the command line, easily (without using the Web-based GUI interface).


In the EMU

Setup Apparatus

Receptive Field Mapping

Electrical Stimulation

Selectivity

Perceptual Biasing

It is also good to collect 10 minutes of resting data (no stimulation) from as many visual electrodes as possible for later analyses.

After obtaining the CD containing the patient CT data from St. Luke's, use OsiriX to export all images (using the export to DICOM option, and the hierarchical, uncompress options).

CT scans have voxel size 0.488x0.488x1 mm; this may need to be adjusted manually with

 3drefit -zdel 1.000 DE_CTSDE+orig

(If the CTs look distorted in AFNI, then the voxel size must be adjusted). Next, the CTs must be registered with the hi-res presurgical MRI anatomy. This may fail because the CT has a coordinate system with a very different origin than the MRI. To fix this, type

 3dcopy DE_CTSDE+orig DE_CTSDEshift
 3dinfo DE_CTSDEshift+orig

gives, for example R-to-L extent: -124.756 [R] -to- 124.756 [L] -step- 0.488 mm [512 voxels] A-to-P extent: -124.756 [A] -to- 124.756 [P] -step- 0.488 mm [512 voxels] I-to-S extent: -258.000 [I] -to- -86.000 [I] -step- 1.000 mm [173 voxels]

We want the center of the dataset to be roughly at (0,0,0). This is true for (x,y) in this case but not for z. We can recenter the z-axis with this command

 3drefit -zorigin 80 DE_CTSDEshift+orig

Then, type 3dinfo to check and make sure the z-axis is centered around 0, or examine that MR and the shifted CT in afni to make sure they are in rough alignment. After they are in rough alignment, use 3dAllineate to align the two datasets.

 3dAllineate -base {$ec}anatavg+orig -source DE_CTSDEshift+orig -prefix {$ec}CTSDE_REGtoanatV4 -verb -warp shift_rotate -cost mutualinfo -1Dfile {$ec}CTSDE_REGtoanatXformV4

Again, check in AFNI to make sure that they are aligned. NB: It is also possible to crop the MRI before Allineating since the MR coverage is typically greater than the CT coverage. In a test case, this did not have a big effect.

Things to do

HumanImageDetection

Can stimuli be vector-based rather than pixel based, so as not to lose resolution with scaling? POSSIBLE if original file is vector-based
Enable online scrambling LOOKING INTO IT
Enable online color to black and white conversion LOOKING INTO IT

HumanLetterDetection

Analyze data from LR to see where the RFs are

Things to Order

staples, stapler laminator