Dynamic analysis of magnetic nanoparticles crossing cell membrane