High-quality magnetic resonance (MR) recordings are triggered with movements of an object, for example the heartbeat. In a method and apparatus for obtaining raw data reconstruction for an MR image, a spin-echo-based sequence is executed that includes applying a static magnetic field and applying a magnetization pulse train. A movement of the object to be imaged is detected and a target contrast for two tissue types of the object is prespecified. The repetition time of the pulse train is set in dependence on the movement of the object to be imaged, and the flip angle is set such that prespecified target contrast for the two tissue types is obtained at the set repetition time.