Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% batchConvertSMA() - Convert all SMA files in current directory and | |
% sub-directories to CSV files. Additionally extract the | |
% header and save as a txt file. | |
function [data,params,head,events] = batchConvertSMA() | |
% Grab all SMA files in current directory and sub-directories | |
files = dir('**/*.SMA'); | |
% count number of SMA files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"WrapPlus.break_on_hyphens": false, | |
"WrapPlus.break_on_long_words": false, | |
"added_words": | |
[ | |
"discriminability", | |
"neuroscience", | |
"achievability", | |
"cyber", | |
"invertibility", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# trash - Move files to the appropriate .Trash file on Mac OS X. (Intended | |
# as an alternative to 'rm' which immediately deletes the file.) | |
# | |
# v0.1 2007-05-21 - Morgan Aldridge <[email protected]> | |
# Initial version. | |
# v0.2 2010-10-26 - Morgan Aldridge | |
# Use appropriate .Trashes folder when trashing files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
if not (exists document 1) then return | |
set theURL to URL of current tab of window 1 | |
close current tab of window 1 | |
end tell | |
tell application "Google Chrome" | |
if not (exists window 1) then | |
reopen | |
else |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function output = parseBrainAmpFile(filename) | |
%parseBrainAmpFile Read in and parse a BrainAmp File | |
% | |
% parseBrainAmpFile(filename) will read in the specified file | |
% which was exported from the brainamp | |
% | |
% output is struct containing two members: | |
% names - a matrix where each row is the name of the data row | |
% values - a [#names * #samples] matrix containing the data |