hnn_core.dipole.average_dipoles¶
- hnn_core.dipole.average_dipoles(dpls)[source]¶
Compute dipole averages over a list of Dipole objects.
- Parameters
- dplslist of Dipole objects
Contains list of dipole objects, each with a data member containing ‘L2’, ‘L5’ and ‘agg’ components
- Returns
- dplinstance of Dipole
A new dipole object with each component of dpl.data representing the average over the same components in the input list