Diff for "ScriptingNotes" - MRC CBU Imaging Wiki
location: Diff for "ScriptingNotes"
Differences between revisions 17 and 21 (spanning 4 versions)
Revision 17 as of 2006-10-02 11:12:03
Size: 1163
Comment:
Revision 21 as of 2013-03-07 21:23:05
Size: 1316
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
  ["MYV"]   [[MYV]]
Line 17: Line 17:
  ["MYV"]   '''AllGorySpmMat'''

 * Why Batch?

  * Need to perform same or similar analyses on several datasets
Line 21: Line 25:
  '''AllGorySpmMat'''


---- /!\ '''Edit conflict - other version:''' ----
  * Why Batch?

---- /!\ '''Edit conflict - your version:''' ----
  * Why Batch?

---- /!\ '''End of edit conflict''' ----

  * Need to perform same or similar analyses on several datasets

 * Spm5Tasks
  * Spm5Tasks
Line 40: Line 31:
   * ''Query: how to get jobs saves a .m or .xml files as well as a .mat file? - These options could be useful as these are text files and easier to edit.
Line 42: Line 35:
  * ''To be clarified: there may be some undocumented functionality for linking up tasks in sequence so that output of one task become the input to the next.'''   * ''To be clarified: there is some barely undocumented functionality for linking up tasks in sequence so that output of one task become the input to the next. E.g. if you add a normalisation after creating a realignment you will see the option of choosing r* files for normalizing despite the fact that they do not yet exist!'''
Line 44: Line 37:
 ["Jobs3"] 
[[Jobs3]]
Line 52: Line 46:
PetModelAutomation5    * PetModelAutomation5

Notes on Scripting, Batching and Tasking for SPM5

  • Why Script?

    • A large part of SPM code is complex housekeeping related to files and directories
    • Tailoring requires attention to these housekeeping matters
      • Have I got the right files?

    • Need to create novel suite of analyses out of a number of core modules
    • Intercommunication via the SPM.mat structure

      MYV

      AllGorySpmMat

  • Why Batch?
    • Need to perform same or similar analyses on several datasets

      BitOfScript

    • Spm5Tasks

    • How to access them
    • What they do
      • Query: how to get jobs saves a .m or .xml files as well as a .mat file? - These options could be useful as these are text files and easier to edit.

    • Job/task manager can be extended
    • To be clarified: there is some barely undocumented functionality for linking up tasks in sequence so that output of one task become the input to the next. E.g. if you add a normalisation after creating a realignment you will see the option of choosing r* files for normalizing despite the fact that they do not yet exist!

    Jobs3

  • Other approaches

CbuImaging: ScriptingNotes (last edited 2013-03-07 21:23:05 by localhost)