Python3, Molecular Dynamics, Mdanalysis, Plotly.
atom_to_atom_dipole_vector = [ atom.position[0] * atom.charge, # X atom.position[1] * atom.charge, # Y atom.position[2] * atom.charge # Z ] total_atoms_dipole_vectors.append(atom_to_atom_dipole_vector) dipole_vectors.append(add_vectors(total_atoms_dipole_vectors) Now that we have that, let’s get