Skip to content

Instantly share code, notes, and snippets.

@robintw
Created November 8, 2015 13:41
Show Gist options
  • Save robintw/7f0cbee287170ae9e046 to your computer and use it in GitHub Desktop.
Save robintw/7f0cbee287170ae9e046 to your computer and use it in GitHub Desktop.
from scipy.odr import Model, Data, ODR
from orthoregress import f
mod = Model(f)
dat = Data(mcr.sample.B1, mcr.sample.B3)
od = ODR(dat, mod, beta0=[1.22,0.5])
od.run().beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment