

Creating such user-defined functions improves research efficiency, documentation and reproducibility.

In this way users can create functions of repetitive tasks that need to be performed on multiple data files. Macros are automatically listed in Igor's Macros menu where they can be readily selected and executed. A simple macro named "CallMyNewFunction" was created to call MyNewFunction. (B) Screen capture of an Igor procedure window (Menu/Windows/New/Procedure…) named "MyFunctions" containing a function called "MyNewFunction." NeuroMatic function commands were copied from Igor's Command Window (A) and pasted into this function. NeuroMatic commands can also be printed to an Igor notebook (GUI/Configs/NM/CmdHistory/Notebook). Analysis/transform notes sometimes appear after the function command. Function commands are preceded by a small circular bullet.

Both Igor and NeuroMatic print function commands and analysis/transform notes to this window. (A) Screen capture of Igor's Command Window (Menu/Windows/Command Window), a useful tool that creates a historical log of the researcher's workflow, from acquisition to analysis and simulation. | NeuroMatic commands and notes printed to Igor's Command Window.
