Skip to content

Usage of transplant.MatlabStruct #43

Description

@mincentatties

{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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions