chi^2 minimisations & calling c [message #36708] |
Tue, 14 October 2003 06:45 |
danb
Messages: 4 Registered: October 2003
|
Junior Member |
|
|
Hi peeps.
Before I go and get Ronn Klings book on calling c from IDL am I going
to be able
to code a chi^2 minimisation routine?
The c program is already written and needs 6 parameters passed to it.
It then
does its thing and outputs a formatted ascii file (the model based on
the
parameters :D ). I have my measured data, and I want to minimise the
Chi^2, so
i guess I'm going to have to call the c routine over and over and
over.
I'm pretty sure that this is going to be possible, and that Ronn's
book is going to be of some help (p.s. I've seen copies going for $180
on amazon :eek:) I just want to be sure.
oh, and I don't suppose anyone is going to be cheeky enough to give me
a helping head start? :D I've mucked around with call_external, but
it all goes horribly wrong, as, quite frankly, I don't understand the
help files.
cheers,
Dan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Dan Batcheldor Dept. Physics, Astronomy and Maths
Supermassive Black Holes Group University of Hertfordshire
email: danb@star.herts.ac.uk
"Common sense is the collection of prejudices acquired by age 18"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
|
|
|