forked from jamieboyd/AutoHeadFix
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAHF_Stimulus_None.py
More file actions
45 lines (35 loc) · 829 Bytes
/
AHF_Stimulus_None.py
File metadata and controls
45 lines (35 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#! /usr/bin/python
#-*-coding: utf-8 -*-
from AHF_Stimulus import AHF_Stimulus
class AHF_Stimulus_None(AHF_Stimulus):
"""
Does nothing.
"""
@staticmethod
def about():
return "Does nothing"
def hardwareTest(self):
pass
def trialPrep(self, tag):
"""
Prepares stimulus for trial: e.g. aligns laser, preps vib. motor, etc
"""
return True
def stimulate(self):
pass
def length(self):
return 0
def period(self):
return 0
@staticmethod
def config_user_get(starterDict= {}):
return starterDict
def setup(self):
pass
def setdown(self):
pass
def trialEnd(self):
"""
Code to be run at end of trial. E.g. moving laser to zero position
"""
pass