GithubHelp home page GithubHelp logo

addiction_project's Introduction

addiction_project_private

Private Repo to share addiction project code for analysis pipeline development

Scripts

Analyze_ERP.py

Function: The main analysis script for ERP analysis. (Written by Manny)

Input: OEP recording session. Can also take in simulated data created by gen_sig.py for validation

Output: Averaged event data from an OEP recording in matplotlib plot. Subplots are created for each channel of interest.

analyze_event_power.py

Function: Takes parameters given by user to analyze frequency-specific Power around "events" in Open Ephys data

power_analysis_tools.py

NOTE: Formerly "amplitude_longitudinal_analysis.py"

Input: 1) OEP Recording with 6 Phase Calculators tuned to Gamma Band "Amplitude" (Online Power). 2) gen_sig.py to generate simulated signal 3) LFP data to calculate Offline Power

Output: Heatmap showing amplitude² (Power), averaging every second (30k samples). Power spectral analysis. Some other tools included.

gen_sig.py

Input: Parameters.

Output: Mimics OEP data and can be plugged into Manny's code for validation, among other things.

oep_driver.py

Function: Drives OEP recordings of set length and records to specified location. Used in this context to compare online and offline PC Magnitude calculations.

power_histogram.py

Input: OEP data

Output: Histogram of Power Data

static_thresh_counter.py

Function: Runs through OEP data, iteratively decides on a threshold, and then tests that on a longer stretch of data. To start this was 5 minutes to set threshold, 15 minutes to test threshold.

thresh_stepper.py

Function: Tests either gamma distribution or power distribution to step threshold up or down to reach an average of 1 stimulation per second.

addiction_project's People

Contributors

jonwhear 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.