Skip to main content
. 2018 May 1;12:261. doi: 10.3389/fnins.2018.00261

Code Snippet 2.

Code Snippet 2

The loop_through_subjects function. This function is used to specify input (names), output (names), the function that take the input, the configuration that should be fed to the function. This is applied to all subject recordings in subjects_and_dates. Configurations (cfg) to FieldTrip functions can be used to easily change how the function is applied.