Re: using tie-to

From: Manfred Hanke <Manfred.Hanke_at_email.domain.hidden>
Date: Mon, 27 Jul 2009 17:37:13 +0200
Hi,

> I'm trying to fit the spectral continuum with two different xspec 
> models: phabs and pfcabs. Both of these models have as a constraint 
> the hydrogen density. What I would like to do is tie these two 
> parameters together since they should always be the same, but I don't
> know if that's possible.

The function you're asking for is actually called "tie"... ;-)
So you can do:
    tie("phabs(1).nH", "pcfabs(1).nH");
Now, pcfabs(1).nH is no more allowed to vary individually.

Btw, with the set_par_fun function, one can realize even more
complicated parameter dependencies.

Cheers,

Manfred


P.S.
Ops, Dan was already faster.
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Mon Jul 27 2009 - 11:37:39 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT