undo set_par_fun

From: Maurice Leutenegger <Maurice.A.Leutenegger_at_email.domain.hidden>
Date: Fri, 27 Aug 2010 11:07:49 -0400
  Hi,

how do I undo the effects of set_par_fun? Below is a minimal example of 
using set_par_fun to link one parameter to another, and then trying to 
unlink the parameter in obvious ways.

Thanks,

Maurice


isis> fit_fun ("gauss(1)+gauss(2)");
isis> set_par_fun ("gauss(2).area", "gauss(1).area*2.");
isis> list_par;
gauss(1)+gauss(2)
  idx  param        tie-to  freeze         value         min         max
   1  gauss(1).area     0     0                1           0           
0  photons/s/cm^2
   2  gauss(1).center   0     0               12           0           0  A
   3  gauss(1).sigma    0     0            0.025       1e-06           1  A
   4  gauss(2).area     0     1                2           0           
0  photons/s/cm^2
#=>  gauss(1).area*2.
   5  gauss(2).center   0     0               12           0           0  A
   6  gauss(2).sigma    0     0            0.025       1e-06           1  A
isis> set_par ("gauss(2).area", 1);
isis> list_par;
gauss(1)+gauss(2)
  idx  param        tie-to  freeze         value         min         max
   1  gauss(1).area     0     0                1           0           
0  photons/s/cm^2
   2  gauss(1).center   0     0               12           0           0  A
   3  gauss(1).sigma    0     0            0.025       1e-06           1  A
   4  gauss(2).area     0     1                2           0           
0  photons/s/cm^2
#=>  gauss(1).area*2.
   5  gauss(2).center   0     0               12           0           0  A
   6  gauss(2).sigma    0     0            0.025       1e-06           1  A
isis> untie (4);
isis> list_par;
gauss(1)+gauss(2)
  idx  param        tie-to  freeze         value         min         max
   1  gauss(1).area     0     0                1           0           
0  photons/s/cm^2
   2  gauss(1).center   0     0               12           0           0  A
   3  gauss(1).sigma    0     0            0.025       1e-06           1  A
   4  gauss(2).area     0     1                2           0           
0  photons/s/cm^2
#=>  gauss(1).area*2.
   5  gauss(2).center   0     0               12           0           0  A
   6  gauss(2).sigma    0     0            0.025       1e-06           1  A
----
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 Fri Aug 27 2010 - 11:08:13 EDT

This archive was generated by hypermail 2.2.0 : Tue Nov 13 2012 - 08:45:43 EST