Useful code snippets - natmegsweden/NatMEG_Wiki GitHub Wiki
This is a list of pages with useful code snippets for data analysis to make life easier for everyone. Please add your own.
General advice
Matlab/FieldTrip
- Read split files into FieldTrip
- Ignore trials split between fif-files
- Consistent filenames in loops
- Select a limited number of trials in FieldTrip
- How to find all raw files that belong to the same condition
- Fix scrambled sensor locations
- Plot sensor alignment in FieldTrip
- Read non-MaxFiltered data
- Loop through figures for inspection