12-07-2005 01:26 AM
12-07-2005 10:34 AM
Perhaps you should explain more about your vi. What is the ITU Array? What is "off itu WL"? I am assuming your Lambda array is your array of measured wavelengths. Your explanation of your method is confusing.
If you have missing peaks, you need to identify those peak values, and insert them into the array using Insert Into Array. Then you could do an array comparison for all the elements to see how far off your measurements are. Of course your inserted values would not be a true measurement.
12-08-2005 01:09 AM - edited 12-08-2005 01:09 AM
OK
"ITU array" is a list of the official WL that my WL are supposed to
match.
"ITU Wavelength" is the official WL I am looking at right now.
"off itu WL" is the WL I extracted from my array of WLs .
in the next VI "ITU Wavelength" and "off itu WL" are
compared and the difference between them calculated.
I'll give an example:
lets say the ITU array is 1,2,3,4,5,6,7
and the lambda array is 0.8,1.85,2.1,3.05,3.95,5.02,6.2,6.98
the VI will recognize 0.8 from the array as the first element. "ITU
Wavelength" and "off itu WL" will return: 1, 0.8 respectably.
on every running of the VI "WL num" and "ITU index" will
increase and return the following "ITU Wavelength" and "off itu
WL".
The problem is that sometimes my first element can be 1.23 and then
"threshold 1D array " will return nothing. Another problem occurs
when one of the elements is missing; all the WL afterwards will be shifted by
one place. It is hard to recognize the missing WL because I do not know its
exact value.
Message Edited by amose on 12-08-2005 01:09 AM
12-08-2005 03:20 AM
Hi Amos,
Looks like a fun problem ( bet "some" analysis VIs will come in handy) not clear how Lambda varies from ITU, though
@amose wrote:
lets say the ITU array is 1,2,3,4,5,6,7
and the lambda array is 0.8,1.85,2.1,3.05,3.95,5.02,6.2,6.98
Does this imply that
the 1.85 (measured) would (or should) be associated with 2, and
the 2.1 (measured) would or should be associated with 3?
12-08-2005 03:29 AM - edited 12-08-2005 03:29 AM
1. That's the fun with physics. Your system always does
what you want (in an order of magnitude). My system should have shown the same
as the ITU list but it is only close to it.
2. Sorry Dynamic my mistake. The 2.1 is unnecessary.
The example should have been:
lets say the ITU array is
1,2,3,4,5,6,7
and the lambda array is 0.8,1.85,3.05,3.95,5.02,6.2,6.98
amos
Message Edited by amose on 12-08-2005 03:29 AM
12-08-2005 10:24 AM
12-08-2005 11:46 PM
@amose wrote:
2. Sorry Dynamic my mistake. The 2.1 is unnecessary.
The example should have been:
lets say the ITU array is 1,2,3,4,5,6,7
and the lambda array is 0.8,1.85,3.05,3.95,5.02,6.2,6.98
In that case - and with the afore mentioned disclaimer, that is, "some" vi may alread exist that does analysis sort'a-kind'a like what tbob described...
... how about indexing through the ITU values, and for each ITU value, find the best measurement-match. If best match differs from the ITU value by more than some amount (like half an ITU increment) that wavelength could be missing in Lambda.
(?)
12-12-2005 03:29 AM