https://github.com/sannetenoever/STiMCON
Tip revision: 873a2bf5c79fe2f828e72e14ef74db409d387854 authored by Sanne ten Oever on 23 July 2021, 08:31:05 UTC
Update README.md
Update README.md
Tip revision: 873a2bf
STiMCON_sen.cpython-37.pyc
B
�~�^� � @ s, d Z ddlZddlmZ G dd� de�ZdS )z�
Created on Fri May 1 13:38:29 2020
@author: sanoev
STiMCON: Speech Timing in a Model Constrained Oscillatory Network
This script contains the code for creating sensory input
� Nc @ s6 e Zd Zdd� Zdd� Zdd� Zdd� Zd
d
d�ZdS )�modelSenc C s, |d | _ |d | _|d | _|d | _d S )N�Nnodes�
word_duration�
onsetdelay�LMnames)r �wordDurr �Nnames)�self�stimpara�
parameters� r ��/data/workspaces/lacns/workspaces/lacns-sanoev/working_data/Experiments/E002_DNN_N400/01_CompModel/01_Scripts/Git/STiMCON_sen.py�__init__ s
zmodelSen.__init__c C s| t | jd |d �}t�| j|g�}xPt|d �D ]@\}}t |d | �| j }t�dd| j�||||| j �f<