LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subtracting off a base intensity

I'm running a program that will pass a stepper motor over different intensities from a laser. I have the equation that describes the intensity for different wavelengths within its particular range, and I will obtain a spectrum that needs to be normalized to this intensity spectrum.

I was wondering how I would first go about getting an equation into LabVIEW 6.1 that would allow me to define the equation exactly with limits. Then I was also wondering how I could divide my acquired graph by this equation to normalize the data and get a true intensity spectrum.
0 Kudos
Message 1 of 2
(2,480 Views)
DCR wrote in message news:<5065000000080000002CA20000-1042324653000@exchange.ni.com>...
> I'm running a program that will pass a stepper motor over different
> intensities from a laser. I have the equation that describes the
> intensity for different wavelengths within its particular range, and I
> will obtain a spectrum that needs to be normalized to this intensity
> spectrum.
>
> I was wondering how I would first go about getting an equation into
> LabVIEW 6.1 that would allow me to define the equation exactly with
> limits. Then I was also wondering how I could divide my acquired
> graph by this equation to normalize the data and get a true intensity
> spectrum.

if you can define your formula as a function of wavelngth then you are
there
with y=fn(x
) you can generate "y" points for every "x" point you have
measured and then do your division....

You can use the formula node to generate "y" points from an "x" input,
you can also wire your co-efficints to the forumla node to make it
more flexible for different equations. To do limit checks you could
compare (using bollean opporators or numeric range restrictors) the
"y" values that come out for a "sensible range" and/or the "x" values
that go into the forumla. Wrap the entire thing in a for loop and you
can parse every "x" point in an input array to generate an output
array of "y" points. Afterwards you can divide you exisiting "y"
points array with these formula "y" points array as they map 1:1 for
the same "x".

This is just one appraoch, you could do the division in the for loop
or other varaitions.
0 Kudos
Message 2 of 2
(2,480 Views)