def METHOD_NAME(self):
    """Returns magnetometer vector in gauss.
    raw_values: if True, the non-scaled adc values are returned
    """
    mv = memoryview(self.scratch_int)
    f = self.scale_factor_magnet
    self.i2c.readfrom_mem_into(self.address_magnet, OUT_M | 0x80, mv)
    return (mv[0] / f, mv[1] / f, mv[2] / f)