Fixes reading for new petables.
27 lines of code changed in 1 file:
number of shots should now be read from the procpar field nseg not from the petable name.
3 lines of code changed in 1 file:
Adding mlrExplicitPath which converts paths with ~ or .. Committed same function to Nott branch as well
23 lines of code changed in 1 file:
Some fixes to handle when mlrVOl gets shutdown before loading is complete - to allow it to shutdown normally
28 lines of code changed in 1 file:
Just a warning message put in importGroupScans since it does not copy all auxparams for the scan
2 lines of code changed in 1 file:
Fix for copied scans and auxparams - basically the problem was that auxparam in viewGet goes searching for the parameter in the raw scan and expected at the end of the search to find a non-cell array value representing the value set in the raw scan. But this was broken for copied scans. So, for example, if you copied motion comp files over from another scan - then the auxparam for stimFile would have been set with a cell array (having been copied from the other scan). The solution I used here was to convert the cell array of 1 to a single value. For a concatenation, it steps through each value in the cell array.
20 lines of code changed in 2 files:
Save anat gets an optional argument to save to a particular path
11 lines of code changed in 1 file:
Function to create an empty view when no session director exists. This is useful if you need to use some viewGet / viewSet functions (like on loaded base anatomies) that dont require any actual data to be there
63 lines of code changed in 1 file:
Decided against removing temporary file (since you need it if you want to display the flat in the flat viewer later)
14 lines of code changed in 2 files:
Removes the temporary off file in the surf directory after loading into MLR
4 lines of code changed in 1 file:
viewGet searches harder now for where the surface directories is when it can't find the one names in the flat/surface file.
59 lines of code changed in 1 file:
Some fixes for when volTrigRatio is not a cell array
16 lines of code changed in 1 file:
Sets the vol trig ratio so that eventRelated can get that info for computing volume times (i.e. when using tSense and the number of triggers recorded are different from the number of volumes)
1 lines of code changed in 1 file:
Handling of volTrigRatio (i.e. when there are less triggers than actual volumes collect - for example when we run tSense)
13 lines of code changed in 1 file:
Ability to set straightXform - this bypasses the volume preserving code and just returns all the voxels that the coordinates xform into - straight matrix multiply, no fancy stuff. This returns more voxels for cases in which you don't really care about the size of the ROI returned.
3 lines of code changed in 2 files: