How can MRI be acquired so that each slice of the heart is obtained at the same point in the cardiac cycle?

How can MRI be acquired so that each slice of the heart is obtained at the same point in the cardiac cycle?

Each MRI acquisition is triggered by the R wave of the ECG.
This may not be possible in patients who lack a consistent R wave (e.g., those with atrial fibrillation or very irregular cardiac rhythms).