Skip to content

warning messages during analyzer computations #4204

@shahafweissMPI

Description

@shahafweissMPI

Hello Devs,
i'm getting all kinds of scipy warnings during the analyzer calculations, and was wondering if this is normal, or do i have an issue with scipy / spike data format?

estimate_sparsity
engine=thread - n_jobs=6 - samples_per_chunk=30,000 - chunk_memory=21.97 MiB - total_memory=131.84 MiB - chunk_duration=1.00s (999.99 ms)
estimate_sparsity (workers: 6 threads): 0%| | 0/6999 [00:00<?, ?it/s]
2025-11-07 09:38:39.506 | WARNING | spikeinterface.core.base:save_to_folder:967 - G:\mambaroot\envs\hir_new\Lib\site-packages\spikeinterface\core\base.py:967: UserWarning: The extractor is not serializable to file. The provenance will not be saved.
warnings.warn("The extractor is not serializable to file. The provenance will not be saved.")

2025-11-07 09:38:40.777 | WARNING | spikeinterface.core.sortinganalyzer:create_binary_folder:497 - G:\mambaroot\envs\hir_new\Lib\site-packages\spikeinterface\core\sortinganalyzer.py:497: UserWarning: The sorting provenance is not serializable! The sorting provenance link will be lost for future load
warnings.warn(

new analyzer created at //gpfs.corp.brain.mpg.de/stem/data/project_hierarchy/data/afm16924/240525/trial0/postscript_2025KS/sorting_analyzer_results
noise_level (workers: 6 threads): 0%| | 0/20 [00:00<?, ?it/s]
compute_waveforms (workers: 6 threads): 0%| | 0/6999 [00:00<?, ?it/s]
computing template simliarity and metrics
2025-11-07 10:00:58.659 | WARNING | scipy.stats._stats_py:linregress:10730 - C:\Users\su-weisss\AppData\Roaming\Python\Python311\site-packages\scipy\stats_stats_py.py:10730: RuntimeWarning: invalid value encountered in scalar divide
slope = ssxym / ssxm

2025-11-07 10:00:58.660 | WARNING | scipy.stats._stats_py:linregress:10744 - C:\Users\su-weisss\AppData\Roaming\Python\Python311\site-packages\scipy\stats_stats_py.py:10744: RuntimeWarning: invalid value encountered in sqrt
t = r * np.sqrt(df / ((1.0 - r + TINY)*(1.0 + r + TINY)))

2025-11-07 10:00:58.661 | WARNING | scipy.stats._stats_py:linregress:10750 - C:\Users\su-weisss\AppData\Roaming\Python\Python311\site-packages\scipy\stats_stats_py.py:10750: RuntimeWarning: invalid value encountered in scalar divide
slope_stderr = np.sqrt((1 - r**2) * ssym / ssxm / df)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question regarding SI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions