Molecular Dynamics, Python Programming, Plotly, Mdanalysis, Charge.
in the X direction influenced the dipole moment of my system. To add vectors just add the items in the list. dipole_angles = [] from numpy import rad2deg for timestep in data: total_dipole_vectors = [] for atom in atom_group: dipole_vector = [ atom.position[0] * atom.charge, # X atom.position[1] *