Skip to content

Code used for the JNE submission "Improving an open-source commercial system to reliably perform activity-dependent stimulation"

Notifications You must be signed in to change notification settings

m053m716/Intan-DAC-State-Machine-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Machine Spike Detector for Intan Stimulation/Record Controller

Contents

  1. Compiled Application
  2. Source Code
  3. Analysis
  4. Data
  5. Simulation

Compiled Application

The compiled folder contains pre-compiled, static versions of the software interface used to run the spike detection state machine. Installation and use instructions are available on the repository wiki. Please note that all .dll files, as well as the main.bit file in the compiled version sub-folder must be present in the same path that the executable is run from on your local machine.


Source Code

Our lab computers run 64-bit Windows 7. If you would like to use the code provided here, but have a different operating system, you can compile from the code available in the source code folder. If there is difficulty compiling, please report an issue using the provided Install Request template. Within reason, we may be able to post other pre-compiled static versions of the executable, as needed.


Analysis

Matlab (version R2017a) code for analyzing test results reported in the manuscript, as well as code for generating initial versions of figures used in manuscript (final figure versions were processed using Adobe Illustrator), is available in the analysis folder.

Toolbox Dependencies

Most code used in analysis does not require additional Matlab toolboxes, but a few files require the following toolboxes (version R2017a):

  • Statistics and Machine Learning Toolbox
  • Neural Network Toolbox

Data

Raw, processed, and synthesized data used to generate the manuscript figures is available in the data folder. Please note that this folder should also be downloaded (the easiest way is to clone the whole repository using Git) along with the analysis folder, and the relative folder locations should remain the same or else code in analysis needs to be adapted accordingly (see repository wiki for details).


Simulation

Simulink, Matlab, and Verilog test-benches are available in the simulation folder.

Simulink

All simulink test-benches were made using Matlab version R2018b and have not been tested with earlier releases. It requires StateFlow toolbox to run.

Matlab

All matlab test-benches were made using Matlab version R2017a, and do not require any toolboxes to run.

Verilog

The verilog tesbench was made using ISE Design Suite 14.7. All the details on how to use it can be found here

About

Code used for the JNE submission "Improving an open-source commercial system to reliably perform activity-dependent stimulation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published