new cmdline argument "-beam_center" #285
Labels
comp-UI
Related to user interface (command line, input files)
maintainability
Simplifies further code development (standardization, robustness)
pri-Medium
Worth assigning to a milestone
Milestone
For beams that have a definition of the center of the beam, it could be more convenient to exclude the coordinates of beam's center from the "-beam" argument and make it a separate argument "-beam_center".
For example, in EELS for an electron of 100 keV energy moving through (50,0,0) in the default propagation direction (0,0,1) instead of writing
adda -beam electron 100 50 0 0,
one would write
adda -beam electron 100 -beam_center 50 0 0.
This would be easier to parse, especially when beam center is optional, or if we introduce units support (#275).
The text was updated successfully, but these errors were encountered: