Git Product home page Git Product logo

uwb-biocomputing / graphsystemsanalysis Goto Github PK

View Code? Open in Web Editor NEW
3.0 15.0 0.0 60.17 MB

Analysis code for understanding the activities of graph-structured systems, such as development in cultures of dissociated cortical cultures.

Home Page: https://uwb-biocomputing.github.io/GraphSystemsAnalysis/

License: Apache License 2.0

MATLAB 1.42% Python 0.24% Makefile 0.01% C++ 3.13% M 0.03% Jupyter Notebook 95.18%
matlab neuroscience-methods data-analysis data-visualization python spatio-temporal-data machine-learning graph

graphsystemsanalysis's People

Contributors

dev-mathur avatar eeemily17 avatar jardiamj avatar mlundvall avatar sky1204 avatar smriti-singh avatar stiber avatar vttieu avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

graphsystemsanalysis's Issues

Clean up spatiotemporal Matlab code for publication

  • Readme.md can be converted to Contents.m, which Matlab uses in its internal help system.
  • Code itself should be made "pretty", which good comments -- i.e., something we'd like someone else to see.
  • We should look at its computational complexity. If it really takes 5 days to run, that's OK, but maybe there's something that can be done to take parts of it that are currently interpreted and make them calls to built-in Matlab functions, which would be faster. Let's do a code review when everything is up to see about this.

Rewrite clustering.py in C++

uses spikeData.py for data structures

The Python code is very, very slow. We can do much better using C++ and good STL classes. The input files are plain text, so this isn't super complex.

Change from writing thousands of .csv file to one .mat file in getBinnedBurstSpikes

the line of code in question is below:
outfile = [h5dir '/Binned/burst_', num2str(i), '.csv'];
csvwrite(outfile, frames);

Making this change will require changes in functions that read from these burst_n.csv files as well. This will improve those functions runtime as they will no longer need to call csvread on those thousands of csv files. These functions are getBurstOriginXYN and getBurstSpeed. There may be more.

Issue created from pull request #13

Problem with binned spike count computation in XML output

So, the code below is basically all we save when we run a simulation and produce XML output: the binned spike counts (for 10ms bins). Of course, this only works for neural simulations. We want to go to just saving whatever the recorder is told to save. However, it might be good to preserve this computation temporarily, just as a double-check for regression testing. But it should go. Also, it does the computation in a poor way, because we should never compute the time of an event from the beginning of the simulation; just the interval between events (because simulations can be very long โ€” too long to store in a double accurately).

https://github.com/UWB-Biocomputing/Graphitti/blob/b5bd8d3298e67b620f96032cfb5c7f484345ec7e/Simulator/Recorders/XmlRecorder.cpp#L92-L96

Rewrite getBinnedBurstSpikes in C++

Currently, it is in Matlab and takes 2-4 days to run for a full neuronal development simulation. This could certainly be sped up in C++. The main algorithms aren't complicated, but will require reading data from an HDF5 file in C++.

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.