Kilosort icon indicating copy to clipboard operation
Kilosort copied to clipboard

FEATURE: Implementation of KS2.5 Prediction and Residual plots

Open dprotter opened this issue 4 months ago • 1 comments

Feature you'd like to see:

Hi all, I see in the GUI init function there was an expectation of implementing the prediction and residual plots in KS4:

self.whitening_matrix = None
self.whitened_traces = None
self.prediction_traces = None
self.residual_traces = None

self.sorting_status = {
    "preprocess": False,
    "spikesort": False,
    "export": False,
}

# traces settings
self.traces_plot_items = {
    "raw": [],
    "whitened": [],
    "prediction": [],
    "residual": [],
}

I havent seen any data setters or buttons defined for these plots, so I'm assuming they werent implemented? (I also have never used QT to write a GUI, so perhaps I just dont understand how it works).

These two plots (residuals especially) were emphasized in my training on KS2.5, so I'd love to see them in KS4.

I'd also be happy to take a stab at it and put in a pull request if I had a little bit more training on how you all would want that to occur.

Thanks!

Additional Context

No response

dprotter avatar Aug 08 '25 18:08 dprotter

They have not been implemented yet, it has not been a priority.

jacobpennington avatar Aug 08 '25 18:08 jacobpennington