Units for predictions
What are the units for the list of predictions returned from predict function?
For context, I'm trying to apply some methods from Spikefinder to locate spikes in new datasets, and I'm using the TIFFs/ROIs from Neurofinder as a starting point. I've taken the mean of an ROI from one of the Neurofinder datasets and preprocessed it using the preprocess function. When I call predict, the returned predictions have min=0.00098, mean=0.026073, and max=0.329504.
The data looks like this before preprocessing:

The preprocessed data (blue) and the predictions (orange) end up looking like this:

This is very different from the "spike rates" from Spikefinder, which are discrete values between 0 and 5. So I'm curious how I should be interpreting these predictions. Forgive me if this is documented somewhere already, but I haven't been able to find it. Thanks
The units could be clearer in the documentation. The predictions are the expected number of spikes in each bin. The expected number of spikes might be low because of the uncertainty in the position of spikes at 100 Hz. If you downsample predictions and spike trains to lower sampling rates, you'll find that the correlations go up and the numbers look more similar.
@lucastheis Thanks for clarifying. If I downsample after making the predictions, would that be different from defining a lower fps in the initial data dictionary and letting c2s do the downsampling?
That would be different, yes. The input to the model should to be 100 Hz, because that's what it has been trained on.
Would you recommend using the scipy.signal.resample function for the downsampling?