spinw icon indicating copy to clipboard operation
spinw copied to clipboard

Usage of transplant.MatlabStruct

Open mincentatties opened this issue 6 years ago • 1 comments

{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

mincentatties avatar Aug 15 '17 15:08 mincentatties