KLUSTA(1)
π KLUSTA π
okay bestie, welcome to klusta β it's a User Command, it lives in section 1 of the manual, and it is literally here to spikesort your dataset. no cap. π§β¨
β¨ NAME β¨
klusta β spikesort a dataset π¦
πΈ SYNOPSIS πΈ
klusta [OPTIONS] PRM_FILE
that's it. that's the whole vibe. options, then your PRM file. periodt. π
π DESCRIPTION π
Spikesort a dataset. yes queen, that's the whole job description and she ate. π₯
By default, klusta performs spike detection (with SpikeDetekt) and automatic clustering (with KlustaKwik2) β the whole glow-up, start to finish. But bestie, you can also choose to run only one step if that's the energy you're on. π
You need to specify three pieces of information to spikesort your data, and no you cannot skip any of them, i'm so serious:
- The raw data file β typically a
.datfile. π - The PRM file β a Python file with the
.prmextension, containing the parameters for your sorting session. this one goes in the command line, iykyk. - The PRB file β a Python file with the
.prbextension, containing the layout of your probe. π
three little files, one big slay. π
π OPTIONS π
--output-dir DIRECTORYβ where the output goes. your output directory, bestie. π--interval <FLOAT FLOAT>...β interval in seconds, e.g.--interval 0 2. two floats, one interval. π--channel-group INTEGERβ the channel group to cluster. all of them by default, because she's generous like that. π--detect-onlyβ only do spike detection. that's it. just the detection. nothing else. π--cluster-onlyβ only do automatic clustering. skip the detection, go straight to the clustering. main character energy. β¨--legacy-outputβ save.resand.clufiles in addition to.kwik. for the people who still want the old files. we love a nostalgic moment. π«Ά--overwriteβ overwrite the Kwik file. be careful bestie, she will not ask twice. π--debugβ use the DEBUG logging level. everything gets loud. π₯--versionβ show the version and exit. quick lil flex. πΈ--helpβ show this message and exit. you're already here tho. π
heads up bestie:--detect-onlyand--cluster-onlyare how you run just one step, and--overwritereally does overwrite the Kwik file, so likeβ¦ know what you're doing. π
this lil icon was brought to you by klusta 3.0.16, dated June 2025 β mwah, kiss the manual goodbye, go sort some spikes ππβ¨
π¦ where this page comes from
- fedora 43: python3-klusta 3.0.16-35.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms