konnorve / DataAnalysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataAnalysis

Used by Harland Lab of UC Berkeley

Authored by Konnor von Emster

Description

Program used in conjuction with videoProcessor to analysis behavioral recordings from the jellyfish Cassiopea. This program processes data required

Description of Jelly Dreamer Project

Conceptualized by Dr. Michael Abrams, our research is intended to uncover the biological underpinnings of sleep. In being able to track jellyfish pulse initiation we can study jellyfish behavior down to their ganglia.

Installation

Usage

Scripts

DataFrameCreationMethods.py

calculateDistance(c1, c2)

distanceBetween(a1, a2)

centerChanged(a1, a2, sensativity)

createComplexDF(angleDataPath, orientationDF, FRAMERATE, STARTDATETIME, DAYLIGHTSAVINGS = False)

getXtickDF_hour(complexDF)

getXtickDF_minute(complexDF)

getXtickDF_10minute(complexDF)

createActigramArr(complexDF, FRAMERATE, INTERVAL = 5, pulseExtension = 1/2)

createDayNightMovementBar(complexDF, width = 4, movementColor = [255, 0, 0], dayColor = [255, 255, 0], nightColor = [0,0,127])

createCompressedActigram(actigramCSV, compression_factor)

createCompressedMovementDayNightBar(barArr, compression_factor)

dfConcatenator(firstDF, firstDFstarttime, secondDF, secondDFstarttime, framerate = 120)

plottingMethods.py

plotInterpulseInterval(outdir, jelly_title, dfComplex, dfxTicks, yfigurelen, xfigurelen) plotInterpulseIntervalWithBar(outdir, jelly_title, dfComplex, dfxTicks, barArr, yfigurelen, xfigurelen) plotAngleHistogramVertical(outdir, jelly_title, dfComplex, yfigurelen, xfigurelen)

figures.py

How it works

Credits

License

About


Languages

Language:Jupyter Notebook 77.8%Language:Python 22.2%Language:Shell 0.0%