HamishGBrown / MuSTEM

Open source version of the MuSTEM multislice electron microscopy simulation code, developed at the University of Melbourne.
http://tcmp.ph.unimelb.edu.au/mustem/muSTEM.html
GNU General Public License v3.0
54 stars 26 forks source link

Bug when performing line scan simulations #28

Open AndrewHerzing opened 3 years ago

AndrewHerzing commented 3 years ago

For testing purposes, I am trying to perform some line scan simulations. To do this, I change the sampling in the STEM parameters setup so that one of the dimensions is equal to 1. This works fine when setting the scan size in the X-dimension to 1 like so:

nxsample
    1
nysample
    16

However, if I do the opposite:

nxsample
    16
nysample
    1

the calculation seems to run to completion but the output is strange. Even though I selected two detectors, there is only a single output file and the name is non-sensical (??W??? with no extension).

Is there some reason for this behavior? Or, is this a bug?