Project to study sound stimulus synchronous, asynchronous and isochronous with the heartbeat during sleep.
This package can be installed with pip install .
or
python setup.py install
after cloning the repository locally.
This package requires PsychoPy. The installation instructions can be found here.
On Linux, PsychToolbox requires the following libraries:
sudo apt install libusb-1.0-0-dev portaudio19-dev libasound2-dev libsdl2-2.0-0
The user should have elevated privileges, either directly or through a group,
e.g. psychopy
:
sudo groupadd --force psychopy
sudo usermod -a -G psychopy $USER
Add the following file:
sudo nano /etc/security/limits.d/99-psychopylimits.conf
with the content:
@psychopy - nice -20
@psychopy - rtprio 50
@psychopy - memlock unlimited
c.f. https://www.thegeekdiary.com/understanding-etc-security-limits-conf-file-to-set-ulimit/
for additional information on ulimit
.
For EyeLink eye-tracking, pylink
is required. The wheel should be retrieved
from SR Research.