![](https://secure.gravatar.com/avatar/5dde29b54a3f1b76b2541d0a4a9b232c.jpg?s=120&d=mm&r=g)
On Thu, Jun 3, 2021 at 4:13 AM Mark Bakker <markbak@gmail.com> wrote:
My students are using this and seem to like it:
thanks -- that looks perfect! -CHB
Date: Tue, 1 Jun 2021 17:22:52 -0700 From: Chris Barker <chris.barker@noaa.gov> To: Discussion of Numerical Python <numpy-discussion@python.org> Subject: [Numpy-discussion] Best fit linear piecewise function? Message-ID: <CALGmxELHB3MUT= i58WZ0dL_292GvntmFRte88ik98h2NqT1YJw@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Do any of you know of code for finding an optimum linear piecewise fit to a set of points?
Somethin like what is described in this article:
https://www.hindawi.com/journals/mpe/2015/876862/
At a glance, that looked just hard enough to code up that I'm hoping someone has already done it :-)
-CHB
--
Christopher Barker, Ph.D. Oceanographer
Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov