Readme
Nichols, A. L. A., Eichler, T., Latham, R., & Zimmer, M. (2017). A global brain state underlies C. elegans sleep behavior. Science (New York, NY), 356(6344), eaam6851. http://doi.org/10.1126/science.aam6851
traces = DF/F0 traces
tracesDif = derivative of traces
IDs = identified neuron IDs
timeVectorSeconds = time vector in seconds
fps = frames per second
trialname = name of dataset
stimulus
-identity = what was changed e.g. O2 (oxygen)
-type = stimulus type e.g. binary steps
-switchtimes = time in seconds when stimulus changed from initial state to the other state
-initialstate = the state that the stimulus starts with, refers to "conc"
-conc = the concentrations of the stimulus
-concunits - units of the "conc"
FourStates
-fourStates = vector of different state types
-fourStatesNames = identities of the four states (e.g. reversal first position therefore lowest number in "fourStates" = reversal)
FiveStates
-same as for fourStates but turns is divided into dorsal, ventral or undefined, note that the order is different for FiveStates.