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
 Normalize x-function

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
kemeyer Posted - 06/21/2010 : 10:33:00 AM
Origin Ver. 8.0 SR0
Operating System: Windows Vista

Hi,

I was using the normalize x-function in my program to normalize some data sets and a subtrate I have. The problem I have found is sometimes the highest peak on the data sets is not the same peak as on the substrate. Is there a way to use the normalize x-function and specify a range so that it normalizes the data using the same peak each time?

Right now I am going to try and mask all the data except for that range the peak is in, but I'm not sure if this will work. Is there a better/more simple to accomplish this?

Thanks,
Katie
3   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 06/21/2010 : 4:43:26 PM
You can first use the pkfind x-function to find the peak in the given range you specify. You can then normalize using the value found.

OriginLab Technical Support
kemeyer Posted - 06/21/2010 : 3:39:56 PM
I tried using the range of rows but it appears that the only data normalized is what is within that range. What I wanted was for all the data to be normalized, but rather than it be normalized in reference to the highest peak, make it normalize with respect to the same peak every time regardless of height. (The peak I am interested in always falls within a given range.

The reason for this is a substrate is being subtraced from the data and when they aren't normalized in reference to the same peak, the data that results is not right.
Laurie Posted - 06/21/2010 : 3:35:21 PM
Example:
normalize iy:=wcol(2)[100:500] oy:=wcol(3);

In other words, put the range in square brackets. The input in the above example is rows 100 - 500.

OriginLab Technical Support

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