Skip to content

compute_directionindex

  COMPUTE_DIRECTIONINDEX
      DI = COMPUTE_DIRECTIONINDEX( ANGLES, RATES )

      Takes ANGLES in degrees

      di = (maxrate - rate(stimulus in oppositedirection))/maxrate
             di == 1 means maximally selective
             di == 0 means not selective