code: def transform_non_affine(self, s):
          
          T = self._T
          M = self._M
          W = self._W
          p = self._p
          # Calculate x
          return T * 10**(-(M-W)) * (10**(s-W) - (p**2)*10**(-(s-W)/p) + p**2 - 1)
docs: Apply transformation to a Nx1 numpy array.
  
          Parameters
          ----------
          s : array
              Data to be transformed in display scale units.
  
          Return
          ------
          array or masked array
              Transformed data, in data value units.