class_docstr: Univariate density estimation by orthonormal series expansion
  
  
  Uses an orthonormal polynomial basis to approximate a univariate density.
  
  
  currently all arguments can be given to fit, I might change it to requiring
  arguments in __init__ instead.
class_docstr_tok: ["Univariate","density","estimation","by","orthonormal","series","expansion","Uses","an","orthonormal","polynomial","basis","to","approximate","a","univariate","density",".","currently","all","arguments","can","be","given","to","fit",",","I","might","change","it","to","requiring","arguments","in","__init__","instead","."]
docstr: transform observation to the domain of the density
  
  
  uses shrink and shift attribute which are set in fit to stay
docstr_tok: ["transform","observation","to","the","domain","of","the","density","uses","shrink","and","shift","attribute","which","are","set","in","fit","to","stay"]
code: def _transform(self, x):  # limits=None):
      """transform observation to the domain of the density
  
  
      uses shrink and shift attribute which are set in fit to stay
  
  
      """
  
      # use domain from first instance
      # class does not have domain  self.polybase.domain[0] AttributeError
      domain = self.polys[0].domain
  
      ilen = domain[1] - domain[0]
      shift = self.shift - domain[0] / self.shrink / ilen
      shrink = self.shrink * ilen
  
      return (x - shift) * shrink
  
imports: from scipy import stats, integrate, special
  import numpy
label_desc: Use image node_id 7 for calling the DensityOrthoPoly obj's underlying member method code with example usage: obj._transform(x) and returns: unknown