Skip to content

RexDataGUI: a GUI for display and analysis of REX recording files

Notifications You must be signed in to change notification settings

vncntprvst/RexDataGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

793eee7 · Jul 1, 2019
Jul 8, 2013
Jul 8, 2013
Sep 29, 2014
Aug 8, 2014
Sep 22, 2013
Aug 25, 2012
May 3, 2013
Jun 6, 2014
Aug 8, 2014
May 17, 2017
Jun 20, 2012
Jan 13, 2019
Jun 24, 2013
Jun 19, 2015
Jul 16, 2012
Oct 16, 2014
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Sep 29, 2014
Sep 23, 2013
Jun 20, 2012
Jul 1, 2019
Mar 19, 2014
Jun 19, 2015
Jun 19, 2015
Jun 19, 2015
Jun 20, 2012
Feb 20, 2013
Sep 23, 2012
Oct 29, 2015
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jul 1, 2019
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jun 17, 2014
Jun 19, 2015
Jun 17, 2014
Jul 1, 2019
Mar 24, 2014
Sep 9, 2013
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Nov 7, 2013
Nov 10, 2013
Mar 13, 2017
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Jul 1, 2019
Jun 20, 2012
Jul 1, 2019
Jun 20, 2012
Jun 20, 2012
Apr 15, 2015
Apr 15, 2015
Jun 20, 2012
Jun 20, 2012
Jun 20, 2012
Nov 10, 2013
Jun 20, 2012
Jun 20, 2012
Sep 2, 2013
Jun 20, 2012
Aug 8, 2014
Jul 1, 2019
Oct 21, 2013
Oct 28, 2013
Jun 20, 2012
Sep 25, 2013

Repository files navigation

****************************************
* README for the RexDataGUI repository *
*                                      *
****************************************

RexGUI is a Matlab GUI designed to process and display recordings made with NIH's REX It runs on MATLAB version 2011b and older, and requires the signal processing toolbox.

The directories to recording files (REX's A and E files) have to be specified in the function called SetUserDir. 
Outputs from the GUI (processed files, figures) will use this directory as root.
If you plan to contribute to the repository, preserve compatibilty with current users' settings by simply adding a "elseif" statement at the end of the list.

Important note: the code assumes that data from different subjects are kept in separate
folders, and that recording files' name start with the initial letter of the subject.
On opening the GUI, the code will make a pass through the folders and, if found lacking,
add the relevant initial letter to the files, according to the folder name.
Similarly, the initial letter will be added to the file when processed, if necessary.
This feature is not optional, and numerous parts of the code depend on it. However,
 feel free to change it as long as you preserve compatibility with the current system.
 
 Notes on using cluster names from Spike2:
 
1. Create a subfolder in each subject's data folder, named Spike2Exports, e.g. "E:\Data\Sixx\Spike2Exports"
2. Once clustering is finished in Spike2, export 2 .mat files containing the new spike times and cluster names, and REX trigger times respectively, to Spike2Exports.
	2a. The name of the .mat file with the spike times and names should be the same as the original .snr file, with an 's' appended to the end, e.g. "S144L2A3_7830s.mat". Make sure that the .snr file name begins with the subject's initial BEFORE exporting the .mat files to avoid naming convention conflicts. The easiest way to do this is to open the GUI, because it automatically appends initials to things that don't have them. Make sure Spike2 is closed if you do this, because MATLAB won't be able to rename a file if it's open in another program.
	2b. The name of the trigger times .mat file should be the same as the original .snr file, with a 't' appended to it, e.g. "S144L2A3_7830t.mat". The GUI expects the structure containing trigger times to be have a title field "trigger", so name your trigger channel ... trigger . Again, make sure the .snr file name begins with the subject's initial.
3. In the GUI, you need to reprocess the data for each cluster separately, by ticking the Use Spike2 radio button, indicating which cluster to look at. In the open raw file dialog box, indicate the A file correspoding to the record you just classified. Sometimes the raster plots that are displayed correspond to the old cluster, you might end up needing to replot after each time you reprocess a file.
4. Enjoy!

About

RexDataGUI: a GUI for display and analysis of REX recording files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published