HelmchenLabSoftware / Cascade

Calibrated inference of spiking from calcium ΔF/F data using deep networks
GNU General Public License v3.0
121 stars 32 forks source link

Bug in utils.calibrated_ground_truth_artificial_noise() #64

Closed PTRRupprecht closed 2 months ago

PTRRupprecht commented 2 months ago

There is a bug in the function to generate ground truth. The generation of the ground truth is problematic (slightly shifted temporally for longer recordings) when resampling the ground truth recording due to an error in a scipy function. This will result in lower precision for the training and evaluation of networks.

PTRRupprecht commented 2 months ago

Issue fixed. The performance of models trained after the fix will be slightly better.