From 9b5da85960899105f9d1931b8747f1bd62b4412c Mon Sep 17 00:00:00 2001 From: Jake Stevens-Haas <37048747+Jacob-Stevens-Haas@users.noreply.github.com> Date: Tue, 11 Jul 2023 02:06:28 -0700 Subject: [PATCH] ENH: deprecate SINDy.differentiate() --- pysindy/pysindy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pysindy/pysindy.py b/pysindy/pysindy.py index b0061f77f..ae182d900 100644 --- a/pysindy/pysindy.py +++ b/pysindy/pysindy.py @@ -535,6 +535,10 @@ def differentiate(self, x, t=None): Time derivatives computed by using the model's differentiation method """ + warnings.warn( + "SINDy.differentiate is deprecated. " + "Call the differentiation_method parameter" + ) if t is None: t = self.t_default if self.discrete_time: