Jed Rembold
February 2, 2026



curve_fit from
scipy.optimize for this probably (docs
here)curve_fit need to provide:
In R, you’ll likely want to use the
nls function
Give it a formula, using the column names where appropriate:
brightness ~ A / wavelength^5 ...Specify what dataframe you are pulling the column names from:
data=dfNeed to provide a list of starting values for the parameters
start = list(e=100, T=1000)