raphaelvallat / yasa

YASA (Yet Another Spindle Algorithm): a Python package to analyze polysomnographic sleep recordings.
https://raphaelvallat.com/yasa/
BSD 3-Clause "New" or "Revised" License
417 stars 113 forks source link

Wrong import of Scipy´s Simpson method #174

Closed seemingly-ai closed 3 months ago

seemingly-ai commented 3 months ago

It seems like the naming of that method has changed from "simps" to "simpson". In the file spectral.py the import is still using the old name.

In spectral.py: from scipy.integrate import simps New way: from scipy.integrate import simpson as simps or change all occurrences to simpson

raphaelvallat commented 3 months ago

See https://github.com/raphaelvallat/yasa/pull/171