The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Integrating spectrum from a non fixed point
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

metroid02

Austria
10 Posts

Posted - 01/19/2018 :  07:00:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear Origin Team, I am currently stumped and need some assistance.

I am trying to integrate a signal from the lowest point of the plot to an arbitrary distant point.

So for instance take a look at the 100ns (red) plot. I want to find a way to calculate the minimum value for the large dip right around 200ns x value. I want to then use that corresponding x value and integrate all the way to 1200 (basically the rest of the signal). I want to do this process for all the different lines (100-600ns). The problem is that I dont know how to accurately:
a) calculate that minimum point
b) define the range for the integration.

I have an idea of doing the same integration, but for a maximum to the left of the dip. This way I wouldnt lose some of the signal.

Also, with regards to b: I realize that I can manually drag/define the limits with the cursor, but I would prefer to simply input the "min" value into the range.

Thanks for any help/support you can give me.

yuki_wu

896 Posts

Posted - 01/22/2018 :  01:50:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please take a look at this example:
https://www.originlab.com/doc/LabTalk/examples/Peaks-and-Baseline#Integrate_Active_Curve_in_Graph_over_a_Specific_X_Range

To get the minimum value, use the Min function:
https://www.originlab.com/doc/LabTalk/ref/Min-func

Regards,
Yuki
OriginLab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000