[root]/mrUtilities/MatlabUtilities

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 305 (100.0%) | 7952 (100.0%) | 26.0 |
| justin | 240 (78.7%) | 4454 (56.0%) | 18.5 |
| david | 40 (13.1%) | 2172 (27.3%) | 54.3 |
| ds | 7 (2.3%) | 1215 (15.3%) | 173.5 |
| leila | 3 (1.0%) | 72 (0.9%) | 24.0 |
| farshadm | 3 (1.0%) | 18 (0.2%) | 6.0 |
| eli | 8 (2.6%) | 14 (0.2%) | 1.7 |
| frakkopesto | 2 (0.7%) | 4 (0.1%) | 2.0 |
| julien | 1 (0.3%) | 3 (0.0%) | 3.0 |
| tsliu | 1 (0.3%) | 0 (0.0%) | 0.0 |
mlrNumWorkers helper function to start the matlabpool if not already started. Asks user if they have parallel toolbox installed whether they want to start if not already started. Small change to askuser to force bringing up a dialog box question.
54 lines of code changed in 2 files:
Fixing up help display for params with many fields. Now it creates multiple figures with at most 2 columns
76 lines of code changed in 1 file:
fixBadChars for names of figures and reuse parameter set to 0 now work
4 lines of code changed in 1 file:
Replace tilde directory to avoid warning of mismatched directory
28 lines of code changed in 1 file:
Ability to save and get arbitrary "auxParams" for scans. AuxParams holds things like stimFile names etc. Now you can easily get and set other auxParams (for instance like sense acceleration factors or other scan specific info), by doing viewSet(v,'auxParam','paramName',value) and viewGet(v,'auxParam','paramName'); The viewGet calls for getting stimfiles and stimfilenames have been rewritten to piggyback off this - they should return exactly the same as before. In case something is broken, the old versions can be called by doing viewGet(v,'stimFileNameOld') and viewGet(v,'stimFileOld);
Also, scanInfo and cellArray got changed to allow viewing of stimfilesnames that are made when you concatenate averaged tSeries. The viewGet for these concats of averages returns a cell array of cell array of stimfilenames (one cell for each average). Before things just crashed. scanInfo just now displays all the stimfilenames.
17 lines of code changed in 1 file:
Fixing small bug with mlrVol that got introduced that kept controls from working properly since the callback was getting called with a callbackArg
6 lines of code changed in 1 file:
mlrVol now doesn't close mrParamsDialog unless it has it open. Also pass in parameter to set initial toggle overlay state. mrParamsDialog needed a small fix so that the okButton callback could have a callbackArg.
19 lines of code changed in 1 file:
Helper function to display seconds as a string
35 lines of code changed in 1 file:
Adding ability to load particular volumes of a multivolume image to mlrImageLoad
1 lines of code changed in 1 file:
Adding an mlrSmartfig function based on mrGet/SetFigloc functions and fixing all calls to smartfig
74 lines of code changed in 1 file:
changeset allows passing of arguments from functions that use mlrImageParseArgs to the load routines. For example you can set movepro or kspace and that will get passed to fid2nifti.
Also implements grabbing a portion of the image by setting xMin, xMax, yMin, yMax, zMin and zMax -> these will return that portion of the image and make sure the xform is still correct
1 lines of code changed in 1 file:
Little function to close an open mrParamsDialog
22 lines of code changed in 1 file:
Allows mlrImageHeaderDisp to take arguments in the same style as mlrImageLoad (i.e. you can pass a filename or view or whatever).
51 lines of code changed in 1 file:
Adding my num2str routine
176 lines of code changed in 1 file:
Seemed to be a small bug in the formula - I don't think this function was actually being used by anyone so the change shouldn't affect anyone. The third angle was the same as the first angle
24 lines of code changed in 1 file:
Allowing passing of a color table to getSmoothColor
49 lines of code changed in 1 file:
This changeset implements plugin functionality for the MLR interface. There are two new added functions:
mlrAdjustGUI, which is the one that plugins call to make adjustments to the GUI (e.g. add menu items)
mlrPlugin, which is used to select/deselect plugins that you want and also installs plugins that are selected
viewGet/viewSet have two new parameters, one to set defaultInterrogators and one to set colormaps. This allows editOverlayGUImrParams to get additional colormaps of your choosing, and allows mrInterrogator to display customized interrogators.
mrOpenWindow has one line in it which calls mlrPlugin to install plugins when you start mrLoadRet.
A default plugin which demonstrates how to write a plugin is in the directory Plugin/Default. It adds a menu item 'Select Plugins'.
mrGetPref was modified to allow two new preferences. One keeps what plugins are selected as a cell array of strings for the folder name (selectedPlugins). The other keeps a comma-delimited list of path names where additional plugin directories may be found.
3 lines of code changed in 1 file:
defaultReconcileParams.m: subfunction checkParams: if params is from a checkbox, checks if it is empty to prevent crash
3 lines of code changed in 1 file:
Pulling out the function mrParamsGet which will get the current settings of an mrParamsDialog
138 lines of code changed in 3 files:
Now can also return a list of "invalid arguments" that is, you can call this once in one function and strip off the arguments that are used by that function and pass on the rest of the arguments (invalid ones for that function) to a sub-function that might use them. Also, new flag, suppressUnknownArgMessages to stop printing message that it doesn't know about the unknown arguments which will be handled by the subfunction.
20 lines of code changed in 1 file:
(189 more)