A computer-implemented method for operating a magnetic
resonance device (47), comprising a main
magnet unit (26) with a particularly cylindrical patient receptacle (25), wherein a
field of view (29) of the magnetic
resonance device (47) is located within the patient receptacle (25), which
field of view is defined by the homogeneity of a main
magnetic field generated by a main
magnet (48) of the main
magnet unit (26), and a patient
bed (2) for positioning the patient (19) in the patient receptacle (25) is movable along a longitudinal direction (3) of the patient
bed (2), wherein at least one local coil arrangement (1) with at least one coil element (4) for measuring magnetic
resonance data is freely positionable on the patient
bed (2) and / or a patient (19) to be measured, at least with respect to the longitudinal direction (3), the method comprising the following steps: - with the patient bed (2) located at least partially outside the
patient support (25) and after positioning the local coil arrangement (1), determining position information that describes the position of the local coil arrangement (1) on the patient bed (2) at least in the longitudinal direction (3) with a measuring means (7), wherein a
magnetic field sensor, in particular a Hall sensor (8), installed in the local coil arrangement (1) is used as the measuring means (7), wherein the complete three-dimensional position and the complete three-dimensional orientation of the local coil arrangement (1) are determined as position information by the measuring means (7), and wherein a six-dimensional
pose of the local coil arrangement (1) is used to select coil elements (4) to be used in the measurement,wherein coil elements (4)
lying in the
field of view (29) and / or not overlapping in the physical gradient axes and / or logical gradient axes of the magnetic resonance device (47) are selected for measurement, - determining recording information that describes a positioning of the local coil arrangement (1) relative to the field of view (29), and - automatic positioning of the patient couch (2) in the longitudinal direction (3) at an approach position determined from the position information and the recording information.