Git Product home page Git Product logo

cunninghamlab / tmsanalysistoolbox Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 2.0 252.74 MB

Transcranial Magnetic Stimulation (TMS) Analysis Toolbox: A user friendly open source software for basic and advanced analysis of TMS related outcomes

License: GNU General Public License v3.0

MATLAB 96.64% C++ 2.28% C 0.45% Limbo 0.01% M 0.01% Mathematica 0.63%
tms transcranial-magnetic-stimulation non-invasive-brain-stimulation electromyography labchart signal spike ced acqknowledge brainsight

tmsanalysistoolbox's Introduction

TMS Analysis ToolBox

Transcranial Magnetic Stimulation (TMS) Analysis Toolbox: A user friendly open source software for basic and advanced analysis and data sharing of TMS related outcomes

TMS Analysis ToolBox is user friendly toolbox that can perform basic and advanced analysis of common transcranial magnetic stimulation based outcomes (MEP Latency/Amplitudes, Silent Periods, Paired-Pulse, Recruitment Curve (Sigmoidal Fitting and AUC)). Further, the toolBox allows for easy organization of data, retrieval of results, and data visualization (waveform and group level).

Compatible file imports: LabChart (.mat), BrainVision (.eeg/.vhdr/.vmrk), Aqcknowledge (.mat), Signal (.cfs or .mat) and Spike (.smr/.smrx) (more to be included)

Detailed Manual Forthcoming

Matlab Independent Software

(Windows 10 compatible/ Mac Mojave compatible version located in Mac_Compatible.zip)

  1. Click the Greeen 'Code' button at the top of the screen
  2. Click 'Download Zip'
  3. Extract the downloaded zip file anywhere on your computer
  4. Go to the extracted folder location
  5. Double-Click 'TMSAnalysisToolBox_Windows.exe' --> you will be prompted to download MATLAB Runtime installer via the web
  6. Save a shortcut to your desktop
  7. Double-Click on icon created on Desktop

Matlab Dependent (Windows and Mac Compatible)

Requirements: MATLAB 2020a or later, MATLAB Statistics and Machine Learning Toolbox, Signal Processing Toolbox, Mapping Toolbox

  1. Click the Greeen 'Code' button at the top of the screen
  2. Click 'Download Zip'
  3. Extract the downloaded zip file anywhere on your computer
  4. Open matlab and navigate to the extracted folder
  5. Add TMSAnalsysisToolBox folder and subfolders to your path (This can be achieved by Right Clicking on the Main File System in matlab and Selecting 'Add to Path --> Selected Folders and Subfolders' in the drop down
  6. In the matlab command line type: TMSAnalysisToolBoxV1
  7. Press Enter

GUI at StartUp

ToolBoxNoData

Basic Work Flow

WorkFlow

Example Data Import and Analysis View: Ipsilateral Silent Period

ToolBox

Example Data Import and Analysis View: Recruitment Curve

RC Example

Example Data Import and Analysis View: Visualize Multiple Condition Results

Visualize

Example Data Export to .csv: Export Multiple Condition Results

Example Export

tmsanalysistoolbox's People

Contributors

beizhang-ccf avatar cunninghamlab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tmsanalysistoolbox's Issues

To Fix/Do

To Fix:

  • If all trials 'removed' still allow group visualization
  • Don't clear algorithm defined onset/offset if override is used
  • Override not accurate if window size changes
  • Save Directory Option
  • Override Resting MEP resets Overlay Non-rectified view
  • Create an 'end' search window
  • Create 'draggable' override feature
  • Allow single trial analysis to be added and plotted at the group level

Unable to visualise the data when using rMEP function for analysis.

Hello,

I am trying to use the "visualize" function to display a graph of the MEP amplitude evolution across several conditions contained in one labchart file: ~750 pages divided in 10 conditions of more or less 75 pages each… I created a condition file that I applied to the data, I analyze the data using rMEP function, but I am unable to use the visualize function. However, it seems to work when I use the "aMEP" function but it is too slow this since there is a lot of trials. Please see the error below:

Index exceeds the number of array elements. Index must not exceed 0.

Error in TMSAnalysisToolBoxV1_Resize/PlotButtonPushed (line 8732)
tempPreStimData = preStimtoAnalyze(conditionInd{plotOrders == icondition});

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 171)
callback(appOrUserComponent, event);

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.

Thanks for the help,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.