Im new to using the python-API and was wondering how to use an external file as reference structure when using the AtomicStrainModifier
, or if this is not possible?
Im running something like
from ovito.io import import_file
from ovito.modifiers import AtomicStrainModifier
import matplotlib
# setup
pipeline = import_file('MoS2_AB_rlx.extxyz')
asm = AtomicStrainModifier(cutoff=4.0)
pipeline.modifiers.append(asm)
data = pipeline.compute()