Skip to content

Commit

Permalink
Merge pull request #331 from AurelienJaquier/fix-doc
Browse files Browse the repository at this point in the history
small fix in the docs
  • Loading branch information
AurelienJaquier authored Nov 21, 2023
2 parents 4c90c0f + 71d12df commit 35730cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/eFeatures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ Time from the start of the stimulus to the maximum of the second peak
`LibV5`_ : inv_time_to_first_spike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1.0 over time to first spike; returns 0 when no spike
1.0 over time to first spike (times 1000 to convert it to Hz); returns 0 when no spike

- **Required features**: time_to_first_spike
- **Units**: Hz
- **Pseudocode**: ::

if len(time_to_first_spike) > 0:
inv_time_to_first_spike = 1.0 / time_to_first_spike[0]
inv_time_to_first_spike = 1000.0 / time_to_first_spike[0]
else:
inv_time_to_first_spike = 0

Expand Down

0 comments on commit 35730cc

Please sign in to comment.