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
 Origin Forum
 Reducing x-axis` points (normalization routine)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

BryanK

Canada
26 Posts

Posted - 02/13/2015 :  11:08:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 9 Operating System: Windows 7

Hello all,
I have two sets of data from two instruments: time vs voltage (a) and time vs temperature (b).
I am taking the slope Volt vs. Temp afterwards (c).

Currently, my (c) is becoming inaccurate; in the same time frame of 10 minutes, (a) collects 6000 data points and (b) collects 5000 data points. This can affect the slope (c) by about 20%.

Since I can't change the instrumental setup, is there an algorithm someone can recommend to "normalize" (a) and (b) so each has the same number of points?
Or... how do I "thin out" (a)'s extra points so Y(a) = Y(b) at any given time?


The attached image will hopefully clarify things. If one draws an imaginary vertical line between all black and red points over time, this will represent the current slope (c).

Thanks in advance for any suggestions,
Bryan

jasonzhao

China
262 Posts

Posted - 02/15/2015 :  10:41:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Bryan,

You say that voltage-time(X1,Y1) collects 6000 data points and temperature((X2,Y2)) collects 5000 data points.
Do you mean that you want to perform interpolation for temperature using X1? after the interpolation temperature will have 6000 points as well.


Best regards!
Jason
OriginLab Technical Service
Go to Top of Page

BryanK

Canada
26 Posts

Posted - 02/16/2015 :  02:18:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jason - not quite.
X1 and x2 both reach the 10 min "finish" at the same time but x1 does so with 6000 points and x2 with 5000. Now when I plot Y1vs.Y2, the data does not line up properly.

I don't know if it's the most elegant solution, but under Mathematics I used a Trace Interpolation on both data sets (in the time domain) and then plotted the traced Y1vsY2.

Bryan

quote:
Originally posted by jasonzhao

Hi Bryan,

You say that voltage-time(X1,Y1) collects 6000 data points and temperature((X2,Y2)) collects 5000 data points.
Do you mean that you want to perform interpolation for temperature using X1? after the interpolation temperature will have 6000 points as well.


Best regards!
Jason
OriginLab Technical Service


Go to Top of Page

jasonzhao

China
262 Posts

Posted - 02/16/2015 :  03:46:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Bryan,

Maybe you can also consider about Interpolate/Extrapolate Y From X
http://www.originlab.com/index.aspx?go=Products/Origin/DataAnalysis/Mathematics/InterpolationAndExtrapolation
use the x1 with 6000 as X value to interpolate, and use (X2,Y2) as Input. Thereby, the output new Y2 will in accord with X1 at each point.

Best regards
Jason
OriginLab Technical Service

Edited by - jasonzhao on 02/16/2015 03:49:20 AM
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