Git Product home page Git Product logo

cones_mc's Introduction

USAGE

main.m details typical usage: loading data, preparing calculations, running calculations and making some plots.

INPUTS

place the following two files containing your data in a folder such as peach/:

  • stas.mat should contain a struct with fields: - stas(i).spikes the list of spike times of cell i - stas(i).spatial the spatial component of the STA of cell i

  • cone_params.mat contains a struct with fields: - stimulus_variance : variance of each stim pixel color chanel (usually 1) - supersample : the integer number of cone positions per pixel width/height (usually 4) - colors : 3x3 matrix of cone color sensitivities - support_radius : radius of cone receptive field filter (usually 3.0) - repulsion_radii

see fullstas2stas.m for an example of how to make stas(i).spatial from raw data

OUTPUTS

the current main.m saves results from GREEDY.m, MCMC.m and CAST.m to the current folder.

a new folder is created by make_plots.m reflecting the name of the dataset; all appropriate plots are placed in it.

some plots are in .svg format; these files need evidence.png to live alongside them in the same folder; in order for these plots to be automatically converted to pdf, there must be a folder called batik/ containing a working version of Apache Batik in the same directory as main.m.

one of the plots for MCMC and CAST output is dancing_cones_movie.svg; this movie can be viewed by opening it in a modern browser.

DOCUMENTATION

most important files are commented; M2HTML is your friend

cones_mc's People

Contributors

kolia avatar elsevier avatar

Watchers

Hörmet Yiltiz 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.