Skip to main content
1-Visitor
June 12, 2014
Solved

Solving Kramers- Kronig from absorbance: Difficulty in loess function

  • June 12, 2014
  • 4 replies
  • 2736 views

Hi,

I was to solve Kramers -Kronig relationship and find out the del n value. but the problem is it cant read the o matrix. here is the file attaced. Please help.

Best answer by Werner_E

but the problem is it cant read the o matrix

What do you mean by that?

Did you create that sheet yourself and is the Excel file still in the same directory as the Mathcad file?

ad loess() is failing to converge: according to the help, span should be greater than 1/n, which in your case means span>0.014. You value of span is 0.002 and so is far too small. Increase the value of span accordingly and see if it helps. We cannot try as of the missing Excel file.

4 replies

1-Visitor
June 12, 2014

Please upload the excel worksheet containing the data.

Werner_E25-Diamond IAnswer
25-Diamond I
June 12, 2014

but the problem is it cant read the o matrix

What do you mean by that?

Did you create that sheet yourself and is the Excel file still in the same directory as the Mathcad file?

ad loess() is failing to converge: according to the help, span should be greater than 1/n, which in your case means span>0.014. You value of span is 0.002 and so is far too small. Increase the value of span accordingly and see if it helps. We cannot try as of the missing Excel file.

19-Tanzanite
June 12, 2014

You need to increase span to 0.09. Your integral will still not work though, because you need to sort out your scaling for the limits. You are trying to force loess to extrapolate, which it can't do.

1-Visitor
July 31, 2014

Hi Freinds,

Thank you for your kind replies.

here are the data file and the mathcad worksheet

I cant set the limits.So that it fails to converge.

Help