Diff for "Code" - MRC CBU Imaging Wiki
location: Diff for "Code"
Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2009-11-12 20:05:52
Size: 1766
Editor: kalm
Comment:
Revision 4 as of 2013-03-07 21:23:45
Size: 3
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= 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 ===
||<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 || ||

=== Stats ===
||<tablewidth="100%" tablestyle="text-align: left;">'''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 ===
||<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 || ||
\

\