Python3, Molecular Dynamics, Mdanalysis, Plotly.
data = universe.trajectory[starting_frame:ending_frame:skip] atom_group = universe.select_atoms('segid CHAIN_ID') Get the dipole vectors of each timestep: dipole_vectors = [] for timestep in data: # Sum all the atoms individual dipole moments total_atoms_dipole_vectors = [] for atom in atom_group: