Skip to content

Commit c119e79

Browse files
author
Nicolas Legrand
authored
Update parameters.py
Fix randomization of the exteroception modality
1 parent 09c6e63 commit c119e79

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cardioception/HRD/parameters.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ def getParameters(
131131
Subject ID. Default is 'Participant'.
132132
path : str
133133
The task working directory.
134-
referenceTone : callable
135-
Function selecting the reference tones for the exteroceptive condition.
136-
The output should be a single float matching the name of the `.wav`
137-
files (ending with `.0` or `.5`). Default is uniform between 40.0 and
138-
100.0 BPM (`np.random.choice(np.arange(40, 100, 0.5))`).
139134
resultPath : str or None
140135
Where to save the results.
141136
serial : PySerial instance
@@ -198,7 +193,6 @@ def getParameters(
198193
parameters["nBreaking"] = nBreaking
199194
parameters["lambdaIntero"] = [] # Save the history of lambda values
200195
parameters["lambdaExtero"] = [] # Save the history of lambda values
201-
parameters["referenceTone"] = np.random.choice(np.arange(40, 100, 0.5))
202196
parameters["nFinger"] = None
203197
parameters["signal_df"] = pd.DataFrame([]) # Physiological recording
204198
parameters["results_df"] = pd.DataFrame([]) # Behavioral results

0 commit comments

Comments
 (0)