|
2050 | 2050 | }, |
2051 | 2051 | { |
2052 | 2052 | "cell_type": "code", |
2053 | | - "execution_count": 24, |
| 2053 | + "execution_count": null, |
2054 | 2054 | "metadata": {}, |
2055 | 2055 | "outputs": [ |
2056 | 2056 | { |
|
2151 | 2151 | ], |
2152 | 2152 | "source": [ |
2153 | 2153 | "# 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", |
2157 | 2157 | " \"minfr_goodchannels\": 0.1,\n", |
2158 | | - " \"Th\": [10, 4],\n", |
2159 | 2158 | " \"lam\": 10,\n", |
2160 | 2159 | " \"AUCsplit\": 0.9,\n", |
2161 | 2160 | " \"minFR\": 0.02,\n", |
2162 | 2161 | " \"momentum\": [20, 400],\n", |
2163 | 2162 | " \"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", |
2170 | 2163 | " \"nfilt_factor\": 4,\n", |
2171 | 2164 | " \"ntbuff\": 64,\n", |
2172 | | - " \"whiteningRange\": 32,\n", |
2173 | | - " \"nSkipCov\": 25,\n", |
2174 | 2165 | " \"scaleproc\": 200,\n", |
2175 | 2166 | " \"nPCs\": 3,\n", |
2176 | | - " \"useRAM\": 0,\n", |
2177 | 2167 | "}\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", |
2178 | 2190 | "ephys.ClusteringParamSet.insert_new_params(\n", |
2179 | 2191 | " clustering_method=\"kilosort2\",\n", |
2180 | 2192 | " paramset_idx=0,\n", |
|
2750 | 2762 | ], |
2751 | 2763 | "metadata": { |
2752 | 2764 | "kernelspec": { |
2753 | | - "display_name": "element-dlc", |
| 2765 | + "display_name": "Python 3", |
2754 | 2766 | "language": "python", |
2755 | 2767 | "name": "python3" |
2756 | 2768 | }, |
|
2764 | 2776 | "name": "python", |
2765 | 2777 | "nbconvert_exporter": "python", |
2766 | 2778 | "pygments_lexer": "ipython3", |
2767 | | - "version": "3.9.18" |
| 2779 | + "version": "3.11.12" |
2768 | 2780 | }, |
2769 | 2781 | "orig_nbformat": 4 |
2770 | 2782 | }, |
|
0 commit comments