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
 Simultaneous Signal Smoothing for Multiple Y-axes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

davidandersoniii

5 Posts

Posted - 06/25/2012 :  1:33:52 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.0724
Operating System: Windows 7

I am trying to smooth multiple spectral data sets in the same workbook. Currently, I have been smoothing each sample manually, but it is quite tedious since I have over 100 samples (1 in each y-column). Is there a way to smooth multiple/all the columns simultaneously?

Help would be appreciated.

Regards

Drbobshepherd

USA
Posts

Posted - 06/26/2012 :  11:52:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If I had that many columns to process, I would open the command window and execute a loop command, such as the following example:

loop(ii,2,100) {%A=$(ii);smooth iy:=Col(%A);}

This will smooth columns 2-100, using the "smooth" X-function (if your version has it). Look up "smooth" in the Programming Help files to help select the best options for your smoothing routine.

-DrBob
Go to Top of Page

davidandersoniii

5 Posts

Posted - 06/26/2012 :  11:56:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks!

quote:
Originally posted by Drbobshepherd

If I had that many columns to process, I would open the command window and execute a loop command, such as the following example:

loop(ii,2,100) {%A=$(ii);smooth iy:=Col(%A);}

This will smooth columns 2-100, using the "smooth" X-function (if your version has it). Look up "smooth" in the Programming Help files to help select the best options for your smoothing routine.

-DrBob

Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 06/26/2012 :  1:45:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi davidandersoniii,

If you are using Origin 8.6, without relying on scripting, you can use the features of
"Repeat Analysis on All Plots in Graph or All Columns in Worksheet", when you first run
one try-out analysis with recalculation mode ON (Automatic or Manual), then you
can apply the same analysis command, like smoothing, to the rest of Y columns in the
worksheet, or to the plots in the graph (even in other layers!).
Please see the screenshot below. You can see this repeating analysis option when you
left-click the "Lock" icon in the column header, or under the layer icon, respectively.




Please be aware that if your first try-out was executed to produce the output
overwritten on the input dataset (as Output=<input>), then you don't get the
recalculation Lock icon - therefore you cannot use this method.

Hope you try to take advantage of this useful feature.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 06/26/2012 2:20:32 PM
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