module documentation
Gap detection experiment by Schneider, 1999 DOI: 10.1121/1.427062
Function | generate |
No summary |
Constant | MARKER |
The durations of the marker (in seconds) used in the paper |
Constant | SIGNAL |
Frequency for the sinusoid used in the paper |
Constant | SIGNAL |
90 dB SPL |
def generate_stimulus(t, sinusoid_frequency=SIGNAL_FREQUENCY, stimulus_start=0.2, marker_duration=0.002, gap_length=0.001, with_gap=True):
(source)
¶
Parameters | |
t:np.ndarray | time-vector |
sinusoidfloat | frequency of the target signal (see SIGNAL_FREQUENCY for frequency used in the paper) |
stimulusfloat | when to start the experiment |
markerfloat | duration of preceding marker |
gapfloat | duration of the gap |
withbool | produce the stimulus with or without a gap |
Returns | |