Visualize dipole on MRI at exact time point

Here is the figure of dipole visualization on MRI in MNE. I have to fit 701 time points and I am interested in looking at where the dipoles are situated for the time points of my interest.

How can I change the time point of visualization in this case? For example, if I want to look at dipole @0.15 second, how can I do that?

I ran the code


dip = mne.fit_dipole(evoked, cov=cov, bem=bem_sol, trans=trans)[0]


dip.plot_locations(trans=trans, subject=subject, subjects_dir=subjects_dir, mode='orthoview')

And it loaded the dipole at time: 0.268 seconds by default, how can I change that time?

Hello, you have one dipole per dip.times.

You can interactively move through those dipoles by using the arrow keys (up/down) in the plot.

You can specify which time point to display initially by passing the idx parameter to dip.plot_locations(); e.g., to initially display the dipole corresponding to dip.times with index 2 (i.e., the third time point), do

dip.plot_locations(..., idx=2)