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
 Average multiple curves and masking.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dominik.mierzwa

Poland
116 Posts

Posted - 04/27/2015 :  08:41:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 9.1 SR1
Operating System:WIndows 7 PRO

Hi,

I have 2 data sets (curve) to average. The problem is that some of single data are masked but "Average multiple curves" tool does not ignore them and use these data for calculation. Can someone explain me how to average these curves without masked data?

Kind regards,
Dominik

Hideo Fujii

USA
1582 Posts

Posted - 04/27/2015 :  5:46:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Dominik,

If I understand correctly, the masked data were circumvented by interpolation when you run the
Average Multiple Curves tool; So, say, if you have 3 plots with some segments being masked, the tool
supplies missing parts, and the averaging are executed always with three Y values at any X coordinate.
So, you need to limited the averaged curve only outside of the masked regions. If your data is
organized as XYYY, you can use the Statistics on Rows to produce the mean values at each X coordinate
as shown below.



If your plots are from data being designated like XYXYXY, it may be more complicated - probably
you have to look at all overlapped segments, interpolate, and average only involved plots.

I hope I didn't overlook some easy solutions.

--Hideo Fujii
OriginLab
Go to Top of Page

dominik.mierzwa

Poland
116 Posts

Posted - 04/28/2015 :  02:31:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Thank you for your reply. Your idea is very good, but unfortunately I have separate XY series for each dataset. However I will try to standardize X for each dataset.

Once again thank you!



Kind regards,
Dominik
Go to Top of Page

rumahasi

Indonesia
1 Posts

Posted - 04/29/2015 :  05:48:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
almost similar to the problems I had . Awaits further instructions solutions

Online Babyshop
http://rumahasix.com
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 04/30/2015 :  2:23:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Here is one possible procedure to make an averaged curve from XYXY data:

1) Make a consolidated X column (col(E) in the sample) by copy-and-append from all X columns (col(B) and col(D).
2) Sort this consolidated column.
3) Run "Analysis: Mathematics: Interpolate/Extrapolate Y from X" for the first XY pair based on the consolidated
X (to get col(F)). Do the same for the second XY pair (to get col(G)). (It seems better to turn OFF the recalculation mode.)
4) Mask the Y range corresponds to the original masked X range in the interpolated columns.
5) Run the Statistics on Rows to get the mean values of each row.



Hope this helps.

--Hideo Fujii
OriginLab

P.S. The similar request has already been reported at our issue database, ID=[ORG-11186], and I have added this thread to the request list.

Edited by - Hideo Fujii on 05/01/2015 10:21:43 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