<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ccn-wiki.caset.buffalo.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rebecca</id>
	<title>CCN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ccn-wiki.caset.buffalo.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rebecca"/>
	<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php/Special:Contributions/Rebecca"/>
	<updated>2026-05-02T23:26:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Abridged&amp;diff=1525</id>
		<title>Freesurfer Abridged</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Abridged&amp;diff=1525"/>
		<updated>2018-04-04T14:34:33Z</updated>

		<summary type="html">&lt;p&gt;Rebecca: /* Functional */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setting Up ==&lt;br /&gt;
*Note: I am using FS_0184 (semcat) as an example; fill in the parts specific to FS_0184 with the parts specific to your subject&lt;br /&gt;
&lt;br /&gt;
This is an &amp;lt;i&amp;gt;abridged&amp;lt;/i&amp;gt; version of the more detailed list provided elsewhere in the wiki.&lt;br /&gt;
&lt;br /&gt;
== Structural ==&lt;br /&gt;
&lt;br /&gt;
# Slicer &lt;br /&gt;
#* In terminal, &amp;lt;code&amp;gt;Slicer &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Load data brainmask.nii&lt;br /&gt;
#* Save data as brainmask.mgz&lt;br /&gt;
#* Results: creates brainmask.mgz file&lt;br /&gt;
# Autorecon 1&lt;br /&gt;
#* In terminal, &amp;lt;code&amp;gt;autorecon1_SC.sh FS_0184&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Don&#039;t bother editing after this step; skip to autorecon 2&lt;br /&gt;
#* Result: populates mri folder (includes &amp;quot;T1.mgz&amp;quot;)&lt;br /&gt;
# Autorecon 2&lt;br /&gt;
#* In terminal, &amp;lt;code&amp;gt;autorecon2_SC.sh FS_0184&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Editing&lt;br /&gt;
#** One terminal, &amp;lt;code&amp;gt;tksurfer FS_0184 lh inflated&amp;lt;/code&amp;gt;&lt;br /&gt;
#** In another terminal, &amp;lt;code&amp;gt;tkmedit FS_0184 brainmask.mgz -aux T1.mgz -surfs&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Look for any noticable spikes in the tksurfer brain and edit the brainmask (tkmedit). See wiki page for details; this is the most labor intensive part of anatomical so make sure you&#039;re doing it right.&lt;br /&gt;
#* Results: creates lh.cortex.label and rh.cortex.label in label folder&lt;br /&gt;
# Autorecon 3&lt;br /&gt;
#* In terminal, &amp;lt;code&amp;gt;autorecon3_SC.sh FS_0184&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Editing&lt;br /&gt;
#** In terminal, &amp;lt;code&amp;gt;tksurfer -annot aparc FS_0184 lh pial&amp;lt;/code&amp;gt;&lt;br /&gt;
#** If needed, reference &amp;lt;code&amp;gt;tksurfer -annot aparc fsaverage lh pial&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Repeat with right hemi&lt;br /&gt;
#** Make sure to EXPORT ANNOTATION! Do not &amp;quot;save overlay!&amp;quot;&lt;br /&gt;
#** Again, be sure to see the autorecon3 page&lt;br /&gt;
#*Result: populates label folder (includes &amp;quot;lh.aparc.annot&amp;quot; and &amp;quot;rh.aparc.annot&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Functional ==&lt;br /&gt;
&lt;br /&gt;
# Bold file preparation&lt;br /&gt;
#* Semcat processing&lt;br /&gt;
#** In terminal, &amp;lt;code&amp;gt; matlab &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
#** In matlab, &amp;lt;code&amp;gt;startup_smp12&amp;lt;/code&amp;gt;&lt;br /&gt;
#** **Check with your local Principle Investigator&amp;amp;trade; or Graduate Work Horse&amp;amp;trade; for more details about Semcat bold files**&lt;br /&gt;
#* LDT processing&lt;br /&gt;
#** In terminal, &amp;lt;code&amp;gt;matlab &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
#** nii_4D_drop_vols(&#039;f.nii&#039;, [# vols to drop])&lt;br /&gt;
#** set_TR(2.047, [1 2 3 4 5 6], &#039;f.nii&#039;)&lt;br /&gt;
#** d=datenum(&#039;DD-Mmm-YYYY&#039;) (e.g. &#039;05-Oct-1997&#039;)&lt;br /&gt;
#** subj_ID=&#039;0183&#039;&lt;br /&gt;
#** FSTSExtractor(&#039;prefix&#039;, &#039;LDT_&#039;, &#039;subject&#039;, subj_ID, &#039;run&#039;, i, &#039;tr&#039;, 2.047, &#039;volumes_dropped&#039;, &amp;lt;initial # drop vols&amp;gt;, &#039;date&#039;, d)&lt;br /&gt;
#*** This step must be completed for each f.nii file in each bold folder&lt;br /&gt;
#*** IT IS VERY IMPORTANT to look at what volumes to drop. It will likely not be the same for each bold file, unless it is a newer LDT participant. You can find more information [[http://ccnlab.psy.buffalo.edu/wiki/index.php/Freesurfer_BOLD_files]] here.&lt;br /&gt;
# Analysis &lt;br /&gt;
#* cd to subject folder&lt;br /&gt;
#* mkanalysis.sh&lt;br /&gt;
# Contrasts&lt;br /&gt;
#* cd to subject folder&lt;br /&gt;
#* Run &amp;lt;code&amp;gt;mkcontrast.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
# Pre-processing&lt;br /&gt;
#* Run &amp;lt;code&amp;gt;preproc-sess -per-run -fwhm 6 -surface self lhrh -fsd bold -s FS_&amp;lt;subj_ID&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Selxavg&lt;br /&gt;
#* Run &amp;lt;code&amp;gt;selxavg3-sess -s &amp;lt;subjectname&amp;gt; -analysis &amp;lt;analysis path&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
#* Analysis path is where your LDT.?h.sm6 folders are.&lt;br /&gt;
# (Optional) Clut and Subparcellation&lt;br /&gt;
#* Run &amp;lt;code&amp;gt;clut.sh FS_&amp;lt;subj_ID&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Run &amp;lt;code&amp;gt;subpar.py FS_&amp;lt;subj_ID&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Blobs&lt;br /&gt;
&lt;br /&gt;
== Timeseries Analysis ==&lt;/div&gt;</summary>
		<author><name>Rebecca</name></author>
	</entry>
</feed>