Giter VIP home page Giter VIP logo

bio482_miniproject's Introduction

BIO-482 Miniproject ๐Ÿง  ๐Ÿญ ๐Ÿง‘โ€๐Ÿ’ป

Repository for the data analysis miniproject of the course Neuroscience: cellular and circuit mechanisms (BIO-482), EPFL.

This repository contains a MATLAB and Python version of this project, as well as associated functions used for computations.

This project is based on the published dataset of single-cell recordings in awake mice previously collected at LSENS, which resulted in the publication Membrane potential dynamics of excitatory and inhibitory neurons in mouse barrel cortex during active whisker sensing.

Setting up

Download

  • Clone git clone ... or download as zip file this repository (green button).
  • Download Data_Bio482.mat dataset at the provided link.

The repository should contain the following folders:

  • doc: documentation related to the project and to the data.
  • matlab: code and helper functions to do the project with MATLAB.
  • python: code and helper functions to do the project using Python.

Note: add the .mat file in a bio482_miniproject/data folder.

Installation and usage

  1. If you're using MATLAB:
  • Add the /matlab folder to your MATLAB path to run the code.
  • Make sure you also have installed the following:
    • Signal Processing Toolbox
    • MATLAB Curve Fitting Toolbox
    • Statistics and Machine Learning Toolbox
  1. If you're using Python:
  • You need to have Anaconda installed for your system: install anaconda here.

  • Once Anaconda is installed, open a terminal and install a "bio482" conda environment: conda create -n bio482 numpy scipy matplotlib seaborn h5py pandas jupyterlab statsmodels scikit-learn

  • Close terminal to make the conda environment effective.

  • Make sure the environment is installed. Open a terminal: conda env list. The "bio482" environment should be there.

    Then, to work on the project:

  • Go to python and open a terminal

  • Activate the environment: conda activate bio482.

  • Then run: jupyter lab.

  • Open notebooks to start working on the project.

  • To run the dataviewer.py, edit the file by replacing the location of MiniProjectData.mat to where your current .mat file is (i.e. full path).

    Note about paths:

    • MATLAB: You must add folders to MATLAB's path: Right-click on folder -> Add to path...
    • Python: In jupyter notebooks, you must change paths based on where you cloned this repository.

fin

bio482_miniproject's People

Contributors

abisi avatar wesleymth 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.