Skip to content

Commit

Permalink
Merge pull request datajoint#3 from JaerongA/main
Browse files Browse the repository at this point in the history
modify BehaviorTimeSeries table
  • Loading branch information
Thinh Nguyen authored Feb 21, 2023
2 parents a578dc1 + 464a5c6 commit 88cb41e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions element_event/trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,17 +217,18 @@ def make(self, key):
class BehaviorTimeSeries(dj.Imported):
definition = """
-> event.BehaviorRecording
timeseries_name: varchar(16) # e.g. GazeX, GazeY, CenterRY
timeseries_name : varchar(32) # e.g. GazeX, GazeY, CenterRY
---
sample_rate=null : float # sampling rate of the acquired data
"""

class Trial(dj.Part):
definition = """
-> master
-> Trial
---
sample_rate: float # (Hz) # sampling rate of the acquired data
behavior_timeseries: longblob # array of device's acquired data
behavior_timestamps: longblob # array of timestamps (in second) relative to the start of the BehaviorRecording
behavior_timestamps : longblob # array of timestamps (in second) relative to the start of the BehaviorRecording
behavior_timeseries : longblob # array of device's acquired data
"""

def make(self, key):
Expand Down

0 comments on commit 88cb41e

Please sign in to comment.