Diff for "Code" - MRC CBU Imaging Wiki
location: Diff for "Code"
Differences between revisions 1 and 2
Revision 1 as of 2009-11-12 19:45:31
Size: 1054
Editor: kalm
Comment:
Revision 2 as of 2009-11-12 20:05:52
Size: 1766
Editor: kalm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
=== fMRI ===
Line 12: Line 11:
 * [javascript:void(0);/*1258054958393*/ Stats]  * Stats
Line 14: Line 13:
=== fMRI ===
=== Pre-processing ===
||<tablewidth="100%" tablestyle="text-align: left;">'''Name''' ||'''Type''' ||'''Description''' ||'''Path''' ||'''Lang''' ||'''Uploaded''' ||
||movfilsub.m ||fMRI Preproc ||Takes movement txt files for each scanning run, calculates average eucleidian distance between consequtive rows and returns various stats. ||/imaging/kk02/_spm ||Matlab, needs SPM || ||
Line 18: Line 21:

=== Utils ===
||<tablewidth="100%" tablestyle="text-align: left;">'''Name''' ||'''Type''' ||'''Description''' ||'''Path''' ||'''Lang''' ||'''Uploaded''' ||
||aa_plot.m ||fMRI utils ||Plots FWE, FDR and uncorrected results for every contrast specified in SPM.mat - i.e. 3 plots for a contrast and converts resulting .ps files into jpegs.||/imaging/kk02/_auto ||Matlab, needs SPM || ||

Code

[DRAFT]

We are creating a page for sharing code.

The point is not a formal code repository or uploading only perfectly documented and elegant scripts but rather sharing existing implementations and avoiding redundant code writing. Much can be gained from just reading other people's code as ad hoc implementation is usually impossible anyway.

Please make sure that your code is at least somewhat documented (e.g. via comments in code) and leave a brief description of what it does.

  • Pre-processing
  • Stats
  • Utils

Pre-processing

Name

Type

Description

Path

Lang

Uploaded

movfilsub.m

fMRI Preproc

Takes movement txt files for each scanning run, calculates average eucleidian distance between consequtive rows and returns various stats.

/imaging/kk02/_spm

Matlab, needs SPM

Stats

Name

Type

Description

Path

Lang

Uploaded

aa_first_conn.m

fMRI Stats

First level functional connectivity analysis with using the seed voxel beta series as a contrast vector over trial betas. Needs aa framework, just add to the aap tasklist in the study script/recipe.

/imaging/kk02/_auto

Matlab, needs SPM

Utils

Name

Type

Description

Path

Lang

Uploaded

aa_plot.m

fMRI utils

Plots FWE, FDR and uncorrected results for every contrast specified in SPM.mat - i.e. 3 plots for a contrast and converts resulting .ps files into jpegs.

/imaging/kk02/_auto

Matlab, needs SPM