Program used in conjuction with videoProcessor to analysis behavioral recordings from the jellyfish Cassiopea. This program processes data required
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.
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)
plotInterpulseInterval(outdir, jelly_title, dfComplex, dfxTicks, yfigurelen, xfigurelen)
plotInterpulseIntervalWithBar(outdir, jelly_title, dfComplex, dfxTicks, barArr, yfigurelen, xfigurelen)
plotAngleHistogramVertical(outdir, jelly_title, dfComplex, yfigurelen, xfigurelen)