spinw
spinw copied to clipboard
Usage of transplant.MatlabStruct
{mac OS 10.12.6, pyspinw}
Hi I can see structures within spinw objects ok. For example:
from transplant import Matlab
from transplant import MatlabStruct
m=Matlab('/Applications/pyspinw.app/pyspinw.sh')
gto=m.spinw()
Flist = MatlabStruct(gto.mag_str)['F']
What I haven't figured out yet is how to write to the spinw object structures directly. (I would like to - in this case - manually change some of the spins in the 'F' array)
Cheers Ross