def mu_rel(self, value): if isinstance(value, u.Quantity): self._mu_rel = value else: self._mu_rel = value * u.mas / u.yr