Skip to content

ndi.setup.stimulus.vhlab.add_stimulus_approach

  ADD_STIMULUS_APPROACH add stimulus approaches to an ndi.session from a text file

  DNEW = ADD_STIMULUS_APPROACH(S, [FILENAME])

  Examines a text file, either named 'stimulus_approaches.txt' in the root
  directory of the ndi.session object S or FILENAME if provided.
  The text file should be a tab-delimited table with first entries
  'Epoch' and 'Approach'. Each subsequent row should have entries of 
  approach names in the NDI Cloud Ontology. 
    Example:
       Epoch<tab>Approach
       t00001<tab>Purpose: Assessing spatial frequency tuning
       t00002<tab>Purpose: Assessing temporal frequency tuning

  The function for epochs in the device 'vhvis_spike2'. If the entries are already
  added, then they are not re-added.