Skip to content

Commit

Permalink
Remove vector scale factor 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Mar 31, 2016
1 parent 321b064 commit 3fcaf84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addons/vsim2blender/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,8 @@ def open_mode(**options):
cell_id=cell_id)
# Arrows are scaled by eigenvector magnitude
# and multiplied by N to account for normalisation.
# The value 2 has units of angstrom, giving arrows
# that *usually* don't touch neighboring atoms
scale = (arrow_vector.length *
len(positions) * 2. *
len(positions) *
opts.get('scale_arrow', 1.))
add_arrow(loc=loc,
mass=mass,
Expand Down

0 comments on commit 3fcaf84

Please sign in to comment.