lsst.meas.modelfit  21.0.0-2-gecfae73+096bdceb88
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.modelfit.display.densityPlot.SurfaceLayer Class Reference

Public Member Functions

def __init__ (self, tag, steps1d=200, steps2d=200, filled=False, kwds1d=None, kwds2d=None)
 
def eval1d (self, data, dim, x)
 
def eval2d (self, data, xDim, yDim, x, y)
 
def plotX (self, axes, data, dim)
 
def plotY (self, axes, data, dim)
 
def plotXY (self, axes, data, xDim, yDim)
 

Public Attributes

 tag
 
 steps1d
 
 steps2d
 
 filled
 
 kwds1d
 
 kwds2d
 

Static Public Attributes

 defaults1d = dict(linewidth=2, color='r')
 
 defaults2d = dict(linewidths=2, cmap=matplotlib.cm.Reds)
 

Detailed Description

A Layer class for analytic N-d distributions that can be evaluated in 1-d or 2-d slices.

The 2-d slices are drawn as contours, and the 1-d slices are drawn as simple curves.

Relies on eval1d and eval2d methods in the data object; this can be avoided by subclassing
SurfaceLayer and reimplementing its own eval1d and eval2d methods.

Definition at line 172 of file densityPlot.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.__init__ (   self,
  tag,
  steps1d = 200,
  steps2d = 200,
  filled = False,
  kwds1d = None,
  kwds2d = None 
)

Definition at line 184 of file densityPlot.py.

Member Function Documentation

◆ eval1d()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.eval1d (   self,
  data,
  dim,
  x 
)
Return analytic function values for the given values.

Definition at line 192 of file densityPlot.py.

◆ eval2d()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.eval2d (   self,
  data,
  xDim,
  yDim,
  x,
  y 
)
Return analytic function values for the given values.

Definition at line 196 of file densityPlot.py.

◆ plotX()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.plotX (   self,
  axes,
  data,
  dim 
)

Definition at line 200 of file densityPlot.py.

◆ plotXY()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.plotXY (   self,
  axes,
  data,
  xDim,
  yDim 
)

Definition at line 216 of file densityPlot.py.

◆ plotY()

def lsst.meas.modelfit.display.densityPlot.SurfaceLayer.plotY (   self,
  axes,
  data,
  dim 
)

Definition at line 208 of file densityPlot.py.

Member Data Documentation

◆ defaults1d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.defaults1d = dict(linewidth=2, color='r')
static

Definition at line 181 of file densityPlot.py.

◆ defaults2d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.defaults2d = dict(linewidths=2, cmap=matplotlib.cm.Reds)
static

Definition at line 182 of file densityPlot.py.

◆ filled

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.filled

Definition at line 188 of file densityPlot.py.

◆ kwds1d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.kwds1d

Definition at line 189 of file densityPlot.py.

◆ kwds2d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.kwds2d

Definition at line 190 of file densityPlot.py.

◆ steps1d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.steps1d

Definition at line 186 of file densityPlot.py.

◆ steps2d

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.steps2d

Definition at line 187 of file densityPlot.py.

◆ tag

lsst.meas.modelfit.display.densityPlot.SurfaceLayer.tag

Definition at line 185 of file densityPlot.py.


The documentation for this class was generated from the following file: