User Tools

Site Tools


ajay:neuroelf_usage_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ajay:neuroelf_usage_notes [2016/08/03 20:35] – [Scripting and Batching: Tips and Pitfalls] ajayajay:neuroelf_usage_notes [2025/01/21 02:00] (current) – [Exporting files to SPM, FSL, etc.] asatpute
Line 486: Line 486:
  
 If your scripting is running inordinately slow, it may be because NeuroElf is loading, closing, and re-loading relevant data for a given step in your code. For example, when obtaining the betas from a glm for a set of vois, if you iterate across the vois to load the GLM, then it may reload all the GLM data each time. This is because NeuroElf runs efficiently by not loading up all the data unless it really needs to, but if you're coding, then you need to specify that. Use the following: If your scripting is running inordinately slow, it may be because NeuroElf is loading, closing, and re-loading relevant data for a given step in your code. For example, when obtaining the betas from a glm for a set of vois, if you iterate across the vois to load the GLM, then it may reload all the GLM data each time. This is because NeuroElf runs efficiently by not loading up all the data unless it really needs to, but if you're coding, then you need to specify that. Use the following:
-  - >>glm.LoadTransIOData+   >>glm.LoadTransIOData
  
  
Line 497: Line 497:
   - where the second argument, true, makes the output be written in TAL order, such that it complies with FSL's internal preference.   - where the second argument, true, makes the output be written in TAL order, such that it complies with FSL's internal preference.
   - also works with vtc, glm, etc.   - also works with vtc, glm, etc.
 +
 +==== Installing Neuroelf on Apple Silicon  ====
 +
 +1. Update MAC OS
 +2. Update Matlab 
 +3. Download neuroelf
 +4. You may run into issues with mexmaca64 files. You either have to tell OS that those files are allowed to be opened by trying to open them. Or you can delete all of them, install XCode, and then recompile the mexmaca64 files from scratch (see below).
 +5. in matlab, add path to the parent neuroelf directory (not with subdirectories)
 +7. then, save path
 +8. >>n = neuroelf
 +9. >>n.neuroelf_makelibs %this is to make the mexmaca64 files
 +10. >>neuroelf_setup
 +
  
  
ajay/neuroelf_usage_notes.1470256537.txt.gz · Last modified: 2016/08/03 20:35 by ajay