-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
224,463 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
################# | ||
## Matlab | ||
################# | ||
|
||
*.m~ | ||
*.dll | ||
*.mexa64 | ||
*.mexglx | ||
*.mexmac | ||
*.mexmaci | ||
*.mexmaci64 | ||
*.ps | ||
*.asv | ||
*.a | ||
doc/html/ | ||
|
||
############# | ||
## Windows detritus | ||
############# | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Mac crap | ||
.DS_Store | ||
|
||
############# | ||
## Other Stuff | ||
############# | ||
|
||
*.zip | ||
*.csv | ||
ECG_Viewer/ | ||
Archive/ | ||
*.psd |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ECG Viewer | ||
|
||
## Desciption | ||
|
||
ECG Viewer is a Matlab GUI for reviewing, processing, and annotating simple electrocardiogram (ECG) data files. ECG Viewer offers an annotation database, ECG filtering, beat detection using template matching, and inter-beat interval (IBI or RR) filtering. | ||
|
||
## Wiki | ||
|
||
|
||
|
||
## Contact Info | ||
|
||
John T. Ramshur, PhD | ||
[email protected] | ||
 | ||
|
||
Project was part of my Masters thesis while at: | ||
|
||
University of Memphis | ||
Department of Biomedical Engineering | ||
Memphis, TN | ||
Advisor: Amy Curry, PhD | ||
|
||
|
||
## License |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
function convertData(fileToRead1) | ||
%convertData(FILETOREAD1) | ||
% converts data from the specified file | ||
% FILETOREAD1: file to read | ||
|
||
% Import the file | ||
rawData1 = importdata(fileToRead1); | ||
a=rawData1{2}; %ecg data is in row 2 | ||
|
||
% Read formated data | ||
d=textscan(a,'/%d'); % read formated data | ||
d=double(d{:}); % convert cell to array | ||
|
||
% compute Time data | ||
sampleRate=500; % set sample rate for computing time values | ||
timeData=(0:1/sampleRate:length(d)/sampleRate-1/sampleRate)'; | ||
|
||
ecgData=[timeData,d]; | ||
plot(timeData,d) | ||
|
||
% Save data | ||
fileToSave=[fileToRead1(1:end-3) 'mat'];s | ||
save(fileToSave,'ecgData'); | ||
|
||
end |
Binary file not shown.
Oops, something went wrong.