T O P I C R E V I E W |
karlak |
Posted - 02/24/2012 : 12:37:32 PM Origin Ver. and Service Release: OriginPro 8.6.0, b70 Operating System: Windows XP
Hi,
With Origin 7.0 Pro I used to fit multiple datasets, each with multiple gauss peaks (replicas). It seems that it is not possible for Origin 8.6, replicas are grayed for multi dataset fitting. I need to share some parameters of respective datasets, the datasets are not identical, so I cannot use the concatenate fit. To fit the first dataset and supposed that the others would have the same peaks positions is not good approach. I tried LabTalk, but it does not work either.
int NbRep = 3; // No of replica c = wks.ncols; // Nb of cols; nlbegin iy:=(1, 3:$(c)) func:="gauss" nltree:=tt mode:=2 replica:=$(NbRep);
fit all datasets with one gauss peak only.... 
And only if I put one dataset
nlbegin iy:=(1, 3) func:="gauss" nltree:=tt mode:=2 replica:=$(NbRep);
fitting procedure use replicas, but not multiple dataset fitting
What is wrong? Thanks for help.
Karla |
1 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 02/24/2012 : 2:52:11 PM The current design does not allow for Replica when fitting multiple datasets except in the case of Concatenated fitting.
Normally we would suggest the use of Batch Processing, but since you seem comfortable with script then use something like:
ty -mb 0; // override any message boxes with No loop(ii,2,wks.ncols) { nlbegin iy:=[Book1]Sheet1!(1,$(ii)) func:=gauss nltree:=nlt replica:=3; // 4 peak Gauss nlfit; nlend out:=1; } ty -me 1; // Restore messages
|
|
|