import sys sys.path.append(pathToCalBlitz) sys.path.append(pathToZebrafishTools) from ZebrafishTools import ZebrafishTools
zft = ZebrafishTools([MovieFile1,MovieFile2,...],nchan=2)
zft.motionCorrect(index=movieIndex)
zft.motionCorrect(filename=movieFile)
zft.findNeuronsFromStDev()
zft.computeNeuronVars()
zft.plotROIsOverlay()
import pylab as plt plt.plot(zft.neuronDFFs[neuronIndex])