OK - I have not seen an email from Peter. So I looked up the thread online, and see I did not receive half the emails on this thread :O
My first inclination was to blame my mac mavericks mail gmail syncing problem. but logging into gmail, I see no record of the emails there either. I currently receive the tutor emails in the digest mode - thought I was paying attention to all the digests - but I seems to have missed many. I apologize to all those who offered input whose emails I missed - I certainly wasn’t ignoring them. Andre On Feb 19, 2014, at 7:21 PM, eryksun <eryk...@gmail.com> wrote: > On Wed, Feb 19, 2014 at 6:59 PM, "André Walker-Loud > <walksl...@gmail.com>" <walksl...@gmail.com> wrote: >> >> Also, since you are chiming in, do you have an opinion in general about >> which approach you prefer? The string hacking vs class method (for lack >> of better way to describe them)? > > I've never used iminuit before. I'd ask on a support forum to see what > other people are doing. That said, if possible I'd use a closure like > Peter showed: > > def make_chisq_mn(x, y, dy): > def chisq_mn(*args): > return chisq(args, x, y, dy) > return chisq_mn > > Then combine that with the forced_parameters option that Peter > mentioned. This seems simplest to me. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor