Skip to content

Commit 0a3dd43

Browse files
v2024.11.22
- split plotting and processing in separate functions - added example to use an already generated features.csv file in the example script - fixed delay computation parameters not being saved in the Config method
1 parent 72ba505 commit 0a3dd43

File tree

3 files changed

+192
-116
lines changed

3 files changed

+192
-116
lines changed

configs/openfield.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
modality : openfield
1212
features : speed, head angle, body angle, x, y
1313
author : Guillaume Le Goc (g.legoc@posteo.org), Rémi Proville (Acquineuro)
14-
version : 2024.11.21
14+
version : 2024.11.22
1515
1616
"""
1717

@@ -376,6 +376,8 @@ def write_parameters_file(
376376
fid.writelines(f"clip_duration = {self.clip_duration}\n")
377377
fid.writelines(f"framerate = {self.framerate}\n")
378378
fid.writelines(f"nstd = {self.nstd}\n")
379+
fid.writelines(f"npoints = {self.npoints}\n")
380+
fid.writelines(f"maxdelay = {self.maxdelay}\n")
379381
fid.writelines(f"lh_thresh = {self.lh_thresh}\n")
380382
fid.writelines(f"lh_percent = {self.lh_percent}\n")
381383
fid.writelines(f"lh_consecutive = {self.lh_consecutive}\n")

0 commit comments

Comments
 (0)