If this work is successful, I can promise you much more work in the future!
We need a script that will allow me to analyze, process, and then alter sets of data while retaining the original data file. I would like this program to run out of MAtlab, and to use a GUI or simplified menu so that any user can work with my data and do the tasks I want the program to run.
Each Subject folder contains a set of files of EMG data collected from hand/arm muscles. These are essentially columns of #s that reflect the muscles activity over time. Each individual file contains lots of useful data already obtained from the raw EMG. I want to be able to calculate, store, and collate certain parameters from each file into 1 nice concentrated spreadsheet. Each subject will have their own area in this spreadsheet.
Each folder will apply to 1 subject (identified by initials). Each folder contains 2 or more folders labeled 1) Pre 2) Post 3)Training 4)Other
I HAVE A PROGRAM ALREADY DESIGNED TO DO SOME OF THIS WORK. FEEL FREE TO USE THE PROGRAM (EMGgui) to serve as a basis for your design.
FULL DETAILS ARE IN ATTACHED DOCUMENT.
1) In each file there is a file called EMG. This is the raw EMG data consisting of 1 or more channels of data (1 or more columns of #s). I want to plot this data in MATLAB (see attached pic) and be able to calculate certain value based on mouse placement. Each raw EMG file contains about 3500 samples, or 3.5 seconds of data. I want to program to allow me to load the entire folder, and then open each file and plot just a select window of that Raw EMG. In each EMG data set there should be a large signal (known as a motor evoked potential, MEP) as shown in the picture. I want the program to only plot that signal and some samples on either side of it. Typically the signal itself may last 50ms so the total window will be about 150ms or 150 samples. This window will be defined as 150 sample points on the EMG curve that occur after a certain sample #. This sample # will be obtained by the program in the files I have attached. It is a variable labeled TmsTTL. This "window" is the figure I will want to be able to interact with. I want to have the program plot the window and bring up a prompt/option asking if I want to keep this MEP with a YES or NO option. If the user chooses no, the program goes to the next file in the folder and does the same thing.
2) I want a program to copy a set of plots (the original MEP files, see attached) and manipulate the data and save it as a new MEP file. What I mean is if I want to alter the values or the original data and save it as a new file. this new file will have the same format as the EMG matrix. I want to be able to change Amplitude, silent period, latency and have it saved as a new, altered plot. I want the ability to input new values for latency, amplitude, silent period and the program will alter the curve appropriately and then give me the option to save this new plot to run analysis on later. . For more details on what I mean, contact me if you decide to bid on this project.
If this work is successful, I can promise you much more work in the future! Any questions please ask.
GOOD LUCK & HAPPY BIDDING!