mailRe: r8353 - /branches/relax_disp/specific_fns/relax_disp.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on January 09, 2009 - 22:19:
On Fri, Jan 9, 2009 at 9:56 PM, Sébastien Morin
<sebastien.morin.1@xxxxxxxxx> 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



Related Messages


Powered by MHonArc, Updated Sun Jan 11 00:20:51 2009