Hello,

Thanks for your suggestion. It seems that a fitting complex data is not possible with grace. It's possible to fit one curve at a time (real, or imaginary, separately).

Best Regards,
Matt



On Tue, 3 Jul 2007, Andreas Wilde wrote:

matt wrote:


Hello,

I have the following data for a lossy material (nylon), and I'd like to
find the parameters for meep's lorentzian model which fit the data:

frequency (hz)  real(eps) imag(eps)
60      3.7     -.0666
1e3     3.5     -.0651
1e6     3.14    -.068452
1e8     3.0     -.06
3e9     2.84    -.033228
2.5e10  2.73    -.028665

There was an indication in a previous post that this is simple:

G.J. Parker
 original patch posted by Steven, this does reduce memory requirements when
 using Lorentzians. i have no problems using five Lorentzians w/ this patch.
 one can write a stupid excel spread sheet to fit N lorentzians to a table of
 (experimental) complex epsilons...


Best Regards,
Matt


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss




Hello,
under Unix/Linux you could use xmgrace to fit the parameters of the
model. I donĀ“t know if this is better or worse than using a spreadsheet,
but it should be one possibility.

andreas

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to