Code Monkey home page Code Monkey logo

matlab_analysis_ecog's Introduction

matlab_analysis_ecog

This repo has 3 files

main:

batched_analysis.m

Analyses the data using a batched approach, where the data is segmented using the retun_batch.m function.

Batches are defined by the user and subsampling frequencies are set in the file get_variables.m

Right now, it appends the new batches, which may be potentially slow

TODO: Precalculate the size of the spectrogram to generate a nameholder matrix to populate

Parallelize the computation of the batches to further speed up the calculations.

read_data.m

This file reads the full set of data and plots the coefficients in a heatmap without any batching. Since it reads the whole set of data from file, it can run into very large delays, and may not be able to calculate the full spectrogram either.

auxiliar

findNearest.m

This function matches the indexes of the original value and the samples generated by the spectrogram function

labelize.m

This functions accepts a threshold and float array and creates 0s and 1s labels

return_batch.m

Using the variables concerning the original sampling rate and the data file, it returns specific batches of data the user can specify the batch of data as well as the size The function is debugged for the case when the batches are large than the data, and for the case where the last batched may be incomplete

get_variables.m

Function to consolidate all the variables of interest from all the programs, so there are no coding mistakes

matlab_analysis_ecog's People

Contributors

leonpalafox avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.