Skip to content

Commit bac296b

Browse files
committed
chore: update si params in notebook
1 parent e2c03ba commit bac296b

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

notebooks/tutorial.ipynb

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,7 +2050,7 @@
20502050
},
20512051
{
20522052
"cell_type": "code",
2053-
"execution_count": 24,
2053+
"execution_count": null,
20542054
"metadata": {},
20552055
"outputs": [
20562056
{
@@ -2151,30 +2151,42 @@
21512151
],
21522152
"source": [
21532153
"# insert clustering task manually\n",
2154-
"params_ks = {\n",
2155-
" \"fs\": 30000,\n",
2156-
" \"fshigh\": 150,\n",
2154+
"params = {}\n",
2155+
"params[\"SI_PREPROCESSING_METHOD\"] = \"CatGT\"\n",
2156+
"params[\"SI_SORTING_PARAMS\"] = {\n",
21572157
" \"minfr_goodchannels\": 0.1,\n",
2158-
" \"Th\": [10, 4],\n",
21592158
" \"lam\": 10,\n",
21602159
" \"AUCsplit\": 0.9,\n",
21612160
" \"minFR\": 0.02,\n",
21622161
" \"momentum\": [20, 400],\n",
21632162
" \"sigmaMask\": 30,\n",
2164-
" \"ThPr\": 8,\n",
2165-
" \"spkTh\": -6,\n",
2166-
" \"reorder\": 1,\n",
2167-
" \"nskip\": 25,\n",
2168-
" \"GPU\": 1,\n",
2169-
" \"Nfilt\": 1024,\n",
21702163
" \"nfilt_factor\": 4,\n",
21712164
" \"ntbuff\": 64,\n",
2172-
" \"whiteningRange\": 32,\n",
2173-
" \"nSkipCov\": 25,\n",
21742165
" \"scaleproc\": 200,\n",
21752166
" \"nPCs\": 3,\n",
2176-
" \"useRAM\": 0,\n",
21772167
"}\n",
2168+
"params[\"SI_POSTPROCESSING_PARAMS\"] = {\n",
2169+
" \"extensions\": {\n",
2170+
" \"random_spikes\": {},\n",
2171+
" \"waveforms\": {},\n",
2172+
" \"templates\": {},\n",
2173+
" \"noise_levels\": {},\n",
2174+
" # \"amplitude_scalings\": {},\n",
2175+
" \"correlograms\": {},\n",
2176+
" \"isi_histograms\": {},\n",
2177+
" \"principal_components\": {\"n_components\": 5, \"mode\": \"by_channel_local\"},\n",
2178+
" \"spike_amplitudes\": {},\n",
2179+
" \"spike_locations\": {},\n",
2180+
" \"template_metrics\": {\"include_multi_channel_metrics\": True},\n",
2181+
" \"template_similarity\": {},\n",
2182+
" \"unit_locations\": {},\n",
2183+
" \"quality_metrics\": {},\n",
2184+
" },\n",
2185+
" \"job_kwargs\": {\"n_jobs\": 0.8, \"chunk_duration\": \"1s\"},\n",
2186+
" \"export_to_phy\": True,\n",
2187+
" \"export_report\": True,\n",
2188+
"}\n",
2189+
"\n",
21782190
"ephys.ClusteringParamSet.insert_new_params(\n",
21792191
" clustering_method=\"kilosort2\",\n",
21802192
" paramset_idx=0,\n",
@@ -2750,7 +2762,7 @@
27502762
],
27512763
"metadata": {
27522764
"kernelspec": {
2753-
"display_name": "element-dlc",
2765+
"display_name": "Python 3",
27542766
"language": "python",
27552767
"name": "python3"
27562768
},
@@ -2764,7 +2776,7 @@
27642776
"name": "python",
27652777
"nbconvert_exporter": "python",
27662778
"pygments_lexer": "ipython3",
2767-
"version": "3.9.18"
2779+
"version": "3.11.12"
27682780
},
27692781
"orig_nbformat": 4
27702782
},

0 commit comments

Comments
 (0)