RE: setting two or more parameters in fit function to be the same

From: Fine, Valeri <fine_at_bnl.gov>
Date: Tue, 27 Feb 2007 11:44:05 -0500


> I would like to set in a fitting function two (or more parameters) to
be
> equal to each other (for example:

Excuse this means, you have just fewer parameters. That should be directly reflected with formula you are to provide to fit with

You should use your parameters "twice"

Best Regards

                         Valeri Fine


Brookhaven National Laboratory
Upton, NY 11973, USA
Phone: +1 631 344 7806
Fax: +1 631 344 4206
E-mail: fine_at_bnl.gov

> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch

[mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of Victor Golovko
> Sent: Tuesday, February 27, 2007 11:27 AM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] setting two or more parameters in fit function to be
the
> same
>
> Dear Rooters,
>
> I have a question about fitting.
>
> I would like to set in a fitting function two (or more parameters) to
be
> equal to each other (for example: if I am fitting a spectrum with a
few
> Gaussian picks, I would like to have the Gaussian with to be the same
for
> all picks). Is there some function where I could specify that one
> parameter
> should be equal to the other one?
>
>
> Best wishes,
>
> Victor.
>
> February 27, 2007
Received on Tue Feb 27 2007 - 17:44:28 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 27 2007 - 23:50:01 CET