From chemistry-request@ccl.net Mon May 23 05:15:14 2005
Received: from smtp101.mail.sc5.yahoo.com (smtp101.mail.sc5.yahoo.com [216.136.174.139])
	by server.ccl.net (8.13.1/8.13.1) with SMTP id j4N9F8NA017049
	for <chemistry ~~ ccl.net>; Mon, 23 May 2005 05:15:09 -0400
Received: from unknown (HELO yahoo.com.cn) (yanliangren?2002@61.183.207.53 with plain)
  by smtp101.mail.sc5.yahoo.com with SMTP; 23 May 2005 09:15:06 -0000
Message-ID: <42919FE2.1030406 ~~ yahoo.com.cn>
Date: Mon, 23 May 2005 17:18:26 +0800
From: yanliangren_2002 <yanliangren_2002 ~~ yahoo.com.cn>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2.1) Gecko/20030225
X-Accept-Language: zh-cn,zh
MIME-Version: 1.0
To: chemistry ~~ ccl.net
Subject: How to fit the two peak into one peak by gaussian fitting?
Content-Type: multipart/mixed;
 boundary="------------080901000104080302040006"
X-Spam-Status: No, score=3.4 required=5.0 tests=DNS_FROM_RFC_ABUSE,
	FROM_ENDS_IN_NUMS,UNIQUE_WORDS autolearn=no version=3.0.3
X-Spam-Level: ***
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on server.ccl.net

This is a multi-part message in MIME format.
--------------080901000104080302040006
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 7bit

Dear everybody:
Now, i have one problem, there are two peak in my hand, the data is list
in the attenchment, I intand to fit the two peak to one peak which
should be the supraposition of the previous two peak, somebody can give
some advice. I can use some soft, such as the origin or sigmaplot etc.
Thank u very much.
Best wish to u!

--------------080901000104080302040006
Content-Type: text/plain;
 name="Data2.DAT"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="Data2.DAT"

QSBCIEMgRCBFIEYNCjUwOC4xNSA3LjUxRS00IDQzMi45MyAwLjAxNzY5ICANCjUxMS40MDI1
MyAwLjAwMTIxIDQzNy40NTg2NCAwLjAyMzcyICANCjUxNC42NTUwNSAwLjA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jU4Mzg3IDYyMy4xMzMwNSAwLjY1NzI4ICANCjY0OC4w
MDg1OSAwLjQ5MjE0IDYyNy42NjE2OSAwLjU3NjMxICANCjY1MS4yNjExMiAwLjQwODUxIDYz
Mi4xOTAzNCAwLjUwMDIyICANCjY1NC41MTM2NCAwLjMzMzk0IDYzNi43MTg5OCAwLjQyOTgg
IA0KNjU3Ljc2NjE3IDAuMjY4ODMgNjQxLjI0NzYzIDAuMzY1NTggIA0KNjYxLjAxODY5IDAu
MjEzMTMgNjQ1Ljc3NjI3IDAuMzA3ODMgIA0KNjY0LjI3MTIyIDAuMTY2NCA2NTAuMzA0OTIg
MC4yNTY1OSAgDQo2NjcuNTIzNzUgMC4xMjc5NCA2NTQuODMzNTYgMC4yMTE3MiAgDQo2NzAu
Nzc2MjcgMC4wOTY4NyA2NTkuMzYyMiAwLjE3Mjk0ICANCjY3NC4wMjg4IDAuMDcyMjMgNjYz
Ljg5MDg1IDAuMTM5ODUgIA0KNjc3LjI4MTMyIDAuMDUzMDQgNjY4LjQxOTQ5IDAuMTExOTQg
IA0KNjgwLjUzMzg1IDAuMDM4MzYgNjcyLjk0ODE0IDAuMDg4NzEgIA0KNjgzLjc4NjM3IDAu
MDI3MzIgNjc3LjQ3Njc4IDAuMDY5NTggIA0KNjg3LjAzODkgMC4wMTkxNiA2ODIuMDA1NDIg
MC4wNTQwNCAgDQo2OTAuMjkxNDIgMC4wMTMyMyA2ODYuNTM0MDcgMC4wNDE1NCAgDQo2OTMu
NTQzOTUgMC4wMDkgNjkxLjA2MjcxIDAuMDMxNjEgIA0KNjk2Ljc5NjQ3IDAuMDA2MDMgNjk1
LjU5MTM2IDAuMDIzODEgIA0KNzAwLjA0OSAwLjAwMzk4IDcwMC4xMiAwLjAxNzc2ICANCg==
--------------080901000104080302040006--




From chemistry-request@ccl.net Mon May 23 16:06:45 2005
Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131])
	by server.ccl.net (8.13.1/8.13.1) with ESMTP id j4NK6dFW008828
	for <chemistry _+_ ccl.net>; Mon, 23 May 2005 16:06:39 -0400
Received: from [194.97.50.144] (helo=mx1.freenet.de)
	by mout0.freenet.de with esmtpa (Exim 4.51)
	id 1DaIHX-0002Z4-Ra; Mon, 23 May 2005 21:08:07 +0200
Received: from j21a0.j.pppool.de ([85.74.33.160])
	by mx1.freenet.de with esmtpa (ID rudnyi _+_ freenet.de) (Exim 4.51 #1)
	id 1DaIHX-0002p0-GP; Mon, 23 May 2005 21:08:07 +0200
Message-ID: <42922A0F.5000806 _+_ imtek.uni-freiburg.de>
Date: Mon, 23 May 2005 21:07:59 +0200
From: Evgenii Rudnyi <rudnyi _+_ imtek.uni-freiburg.de>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: chemistry _+_ ccl.net
CC: yanliangren_2002 <yanliangren_2002 _+_ yahoo.com.cn>
Subject: Re: CCL:How to fit the two peak into one peak by gaussian fitting?
References: <42919FE2.1030406 _+_ yahoo.com.cn>
In-Reply-To: <42919FE2.1030406 _+_ yahoo.com.cn>
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
	version=3.0.3
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on server.ccl.net

> Dear everybody:
> Now, i have one problem, there are two peak in my hand, the data is list
> in the attenchment, I intand to fit the two peak to one peak which
> should be the supraposition of the previous two peak, somebody can give
> some advice. I can use some soft, such as the origin or sigmaplot etc.
> Thank u very much.
> Best wish to u!

If I understand correctly, you mean that you have some function

y=f(x, Theta)

with unknown parameters Theta and two series of experimental results

{y1i, x1i} and {y2i, x2i}.

If you mean that the function is the same, that is,

y1i = f(x1i, Theta) + e1i
y2i = f(x2i, Theta) + e2i

where e1i and e2i are observation errors, a good approach is to minimize
the sum of squares

SS = Sum_i {y1i - f(x1i, Theta)}^2 w1i
+ Sum_i {y2i - f(x2i, Theta)}^2 w2i

where w1i and w2i are some weights (usually w_i ~ 1/variance(e_i)).

If functions are different but parameters are the same, actually nothing
changes, just use f1 and f2 instead of f.

A bigger problem if you have systematic errors, that is, errors within a
series are correlated with each other. In this case, I have used an
approach based on variance component analysis. You can find more detail at

http://evgenii.rudnyi.ru/doc/misc/ExperimentalDatasets.html

If I have misunderstood your question, please write more on your problem.

Best wishes,

Evgenii Rudnyi
-- 
IMTEK-Institute for Microsystem Technology
Simulation of Microsystems
Freiburg University
Georges-Koehler-Allee 103
D-79110 Freiburg i. Br.
Germany
Tel. (+49 761) 203 7383
Fax  (+49 761) 203 7437
http://www.imtek.uni-freiburg.de/simulation/
http://Evgenii.Rudnyi.Ru/


