Skip to content

datajoint/element-event

Repository files navigation

PyPI version

DataJoint Element - Experimental trials

Element architecture

In diagram below, BehaviorRecording table starts immediately downstream from Session. Recordings can be segmented into both trials, which are assumed to have duration, and events, which may be instantaneous. Researchers may find one or both appropriate for their particular paradigm. A set of trials can be further organized into blocks, representing a larger span of time. We provide an example workflow with a pipeline script that models combining this Element with the corresponding Element-Session.

Trial & Event Schemas

trial and event schemas

Installation

  • Install element-event

    pip install element-event
    
  • Upgrade element-event previously installed with pip

    pip install --upgrade element-event
    

Usage

Element activation

To activate the element-event, one need to provide:

  1. Schema names for the event or trial module
  2. Upstream Session table: A set of keys identifying a recording session (see Element-Session).
  3. Utility functions. See example definitions here

For more detail, check the docstring of the element-event:

from element_event import event, trial

help(event.activate)
help(trial.activate)

Element usage

Citation

About

DataJoint Element for event-based behavior experiments

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages