code: def transform(self, maps):
          r
          x = maps[self._inputvar]
          # check that x is in bounds
          isin = self._bounds.__contains__(x)
          if isinstance(isin, numpy.ndarray):
              isin = isin.all()
          if not isin:
              raise ValueError("one or more values are not in bounds")
          out = {self._outputvar : self.logit(x, self._a, self._b)}
          return self.format_output(maps, out)
docs: r"""Computes :math:`\mathrm{logit}(x; a, b)`.
  
          The domain :math:`a, b` of :math:`x` are given by the class's bounds.
  
          Parameters
          ----------
          maps : dict or FieldArray
              A dictionary or FieldArray which provides a map between the
              parameter name of the variable to transform and its value(s).
  
          Returns
          -------
          out : dict or FieldArray
              A map between the transformed variable name and value(s), along
              with the original variable name and value(s).