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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Integrating spectrum from a non fixed point

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
metroid02 Posted - 01/19/2018 : 07:00:42 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 01/22/2018 : 01:50:54 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000