A method of controlling a magnetic resonance imaging apparatus is provided
with generating a gradient magnetic field in a predetermined space,
calculating a duration time period of a rate of a change of the gradient
magnetic field, and determining whether the rate of the change of the
gradient magnetic field is within a permitted time period.