-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello David--

> How do I set setFreedom("fixDa, fixRh") for specific data sets?
> I have three rdc media and they're not co-fitting well.  Part of it
> seems to be high rhombicity in some sets (0.5-0.66) and +/- for Da.
> I'd like to be able to fix Da and Rh for some of my sets and refine Da
> and Rh for others. 
> 
> with 
> 
> for m in media.values():
>     m.setFreedom("varyDa,varyRh")
> 
> I can fix/float all of them, but what is m relative to my media?  I
> have media defined as t g and c but t.setFreedom doesn't work. 

this should work:

media['t'].setFreedom("fixDa, fixRh")

> 
> As a general question, how do I tell what a variable's value is in the
> python interface, and specifically, m is in media.values()? 

media is a Python dictionary, so the key values can be obtained using
the keys() method:

print media.keys()

I hope this help--
Charles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFJ0lexPK2zrJwS/lYRAh5JAJ9qXDLGttY9zfx11ZIzDA1e5t94BwCfdarP
1pQrpHiYXQvGnwp9lwLwMqw=
=O1XD
-----END PGP SIGNATURE-----

Reply via email to