astropy-tutorials icon indicating copy to clipboard operation
astropy-tutorials copied to clipboard

Incorrect derivatives in User-Defined-Model tutorial

Open EdBehn opened this issue 3 years ago • 0 comments

I believe that I have have found a mathematical error in the User-Defined-Model tutorial (Full custom model section).

The derivatives should be

d_a = np.sin(b*x+c)

and

d_c = a*np.cos(b*x+c)

EdBehn avatar Jun 22 '22 20:06 EdBehn