A magnetosome, in magnetotactic bacteria, can be a magnetite or a greigite nanocrystal with a lipid and protein soft shell. This structure is modelled by a set of electrical dipoles, representing the soft membrane, enclosing a spherical nanoparticle with a centered magnetic dipole.