-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi everybody,
In the documentation of the Param class I found a mention to a method call tie_to, which, in my understanding, should tie a parameter in one model to some other parameter in the same or an other model, but I cannot find anywhere in the code where this is implemented. Maybe you can give me some pointers?
Some more details about what I am trying to do.
Say we have a custom Parameterized, called A, having a parameter alpha and two fields field1 and field2, both instances os an other custom Parameterized class B, having their own set of parameters [kappa, theta]: I would like to tie the value of A.alpha to A.field1.kappa and A.field2.kappa, while leaving theta independent for the two fields. Ideally, the parameters of A should be [alpha, kappa1, kappa2]. Is it somehow possible to implement this behaviour?
Thanks and best regards,
Giacomo