Skip to content

Commit 381a114

Browse files
authored
Merge pull request #835 from AllenNeuralDynamics/bc-add-harp-devices
Add aind harp devices
2 parents 7b00acd + c3f6f92 commit 381a114

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/aind_data_schema/models/harp_types.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,34 @@ class TimestampGeneratorGen3(_HarpDeviceType):
9191
whoami: Literal[1158] = 1158
9292

9393

94+
class LicketySplit(_HarpDeviceType):
95+
"""Lickety Split"""
96+
97+
name: Literal["Lickety Split"] = "Lickety Split"
98+
whoami: Literal[1400] = 1400
99+
100+
101+
class SniffDetector(_HarpDeviceType):
102+
"""Sniff Detector"""
103+
104+
name: Literal["Sniff Detector"] = "Sniff Detector"
105+
whoami: Literal[1401] = 1401
106+
107+
108+
class Treadmill(_HarpDeviceType):
109+
"""Treadmill"""
110+
111+
name: Literal["Treadmill"] = "Treadmill"
112+
whoami: Literal[1402] = 1402
113+
114+
115+
class Cuttlefish(_HarpDeviceType):
116+
"""Cuttlefish"""
117+
118+
name: Literal["Cuttlefish"] = "Cuttlefish"
119+
whoami: Literal[1403] = 1403
120+
121+
94122
class HarpDeviceType:
95123
"""Harp device type definitions"""
96124

@@ -105,6 +133,10 @@ class HarpDeviceType:
105133
SYNCHRONIZER = Synchronizer()
106134
TIMESTAMP_GENERATOR_1 = TimestampGeneratorGen1()
107135
TIMESTAMP_GENERATOR_3 = TimestampGeneratorGen3()
136+
LICKETY_SPLIT = LicketySplit()
137+
SNIFF_DETECTOR = SniffDetector()
138+
TREADMILL = Treadmill()
139+
CUTTLEFISH = Cuttlefish()
108140

109141
_ALL = tuple(_HarpDeviceType.__subclasses__())
110142
ONE_OF = Annotated[Union[_ALL], Field(discriminator="name")]

0 commit comments

Comments
 (0)