Skip to content

Commit

Permalink
small change in settings example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Nov 6, 2024
1 parent 9ac041a commit b3f656b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/settings/settings_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Spike detection threshold is -20.0 mV.\n",
"{'peak_time': None}\n"
]
},
Expand All @@ -114,6 +115,7 @@
"trace = {'T': time, 'V': voltage, 'stim_start': [stim_start], 'stim_end': [stim_end]}\n",
"\n",
"feature_values = efel.get_feature_values([trace], ['peak_time'])[0]\n",
"print(f'Spike detection threshold is {efel.get_settings().Threshold} mV.')\n",
"print(feature_values)"
]
},
Expand Down Expand Up @@ -200,7 +202,7 @@
}
],
"source": [
"print(efel.api.get_settings())"
"print(efel.get_settings())"
]
},
{
Expand Down

0 comments on commit b3f656b

Please sign in to comment.