spinw
spinw copied to clipboard
Change spinw.addg and spinw.addaniso to accept string options
Change spinw.addg
and spinw.addaniso
to accept string options similarly to spinw.addcoupling
. Also fix the bug in spinw.addg
to enable specify atoms where g-tesor is assigned. Currently errors out when non-magnetic atoms are also present in the structure.