On Fri, Jan 9, 2009 at 9:56 PM, Sébastien Morin
<[email protected]> wrote:
> Hi Ed,
>
> I was pretty sure there was something about this... Where whould the
> lower case names be in the code ? And where the mixed lower/upper case
> names should be ?

This is quite easy.  Variable names are lower case (usually, but this
doesn't matter too much).  The natural case is always in strings.  So,
for example, rex = 'Rex'.


> Also, this code is, for sure, not functionnal for now since I'll have to
> think about how the parameters are stored (etc) when selecting the slow-
> or fast-exchange regime... Of course, no model all parameters R2, Rex,
> kex, R2A, kA and dw...

This should be handled the same as model-free.  All parameters of all
models are to be excepted and handled.  But if you ask for the alpha
parameter through value.display() but the data pipe corresponds to
fast exchange, you see a pile of None values for each spin system.
Just pack the Relax_disp methods with all parameters, and relax will
do the rest.  You may need to see how the model-free code works for
when parameters don't exist, although this could wait until the
relaxation dispersion code is functional and you are ready to add a
second model (and a relevant test suite test fails and tells you where
the problem lies).

Regards,

Edward

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to