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
 Origin Forum
 fitting range

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
jonni Posted - 02/09/2004 : 10:15:35 AM
trying to fit data with the following macro:

%C=Data1_c; // selecting data to fit

nlsf.xBegin=0.015;// setting the range
nlsf.xEnd=0.0175; // of fitting

run.section(fit,Fit1Peak,Gauss); //fitting

problem is that xBegin and xEnd do no change the fitting range, and whole curve is fitted.

how to specify fitting range??

many thanks

Evgeniy

5   L A T E S T    R E P L I E S    (Newest First)
jonni Posted - 02/09/2004 : 1:51:05 PM
unfortunatelly mks1=-1 doesn't help,

even after mks1=-1; data1_a=data1_a+0.1 modifies only the region between previously defined markers
:(


greg Posted - 02/09/2004 : 12:58:20 PM
Setting the markers will limit all math, analysis and fitting to the marker range. Setting the MKS1 value to -1 will restore a plot to full range.

jonni Posted - 02/09/2004 : 11:18:52 AM
what is very strange after when i change mks1,mks2 values the following: data1_a=data1_a-0.1 changes values of the data1_a ONLY for the values between mks1 and mks2.
how doing data1_a=data1_a-0.1 change whole rows in data1, but not just between markers...

i tried mks1=-1, it didn't help

:(

jonni Posted - 02/09/2004 : 11:15:04 AM
Hi greg,

is it right that you suggested to do the following:

mks1=xindex(0.015,%C);
mks2=xindex(0.0174,%C);
???

greg Posted - 02/09/2004 : 10:46:32 AM
Easiest may be to use row index to set the range (this is the way the Data Selector tool works):

mks1=4;mks2=16; // Set fitting range to use from row 4 to 16 in plot
run.section(fit,Fit1Peak,Gauss);


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