File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 22
33from .version import __version__
44
5+ # Deprecation of fooof / move to specparam message
6+ # Note: this warning is for fooof v1.1 specifically, and should be removed in specparam 2.0
7+ from warnings import warn , simplefilter
8+ simplefilter ('always' ) # make sure user sees it once, on every import
9+ DEPRECATION_TEXT = ("\n The `fooof` package is being deprecated and replaced by the "
10+ "`specparam` (spectral parameterization) package."
11+ "\n This version of `fooof` (1.1) is fully functional, but will not be further updated."
12+ "\n New projects are recommended to update to using `specparam` (see Changelog for details)." )
13+ warn (DEPRECATION_TEXT , DeprecationWarning , stacklevel = 2 )
14+
515from .bands import Bands
616from .objs import FOOOF , FOOOFGroup
717from .objs .utils import fit_fooof_3d
You can’t perform that action at this time.
0 commit comments