lsst.shapelet  14.0-1-ge6e5c2d+40
Functions
lsst.shapelet.tractor Namespace Reference

Functions

def registerRadialProfiles ()
 
def evaluateRadial (basis, r, sbNormalize=False, doComponents=False)
 
def integrateNormalizedFluxes (maxRadius=20.0, nSteps=5000)
 After normalizing by surface brightness at r=1 r_e, integrate the profiles to compare relative fluxes between the true profiles and their approximations. More...
 
def plotSuite (doComponents=False)
 

Function Documentation

◆ evaluateRadial()

def lsst.shapelet.tractor.evaluateRadial (   basis,
  r,
  sbNormalize = False,
  doComponents = False 
)
Plot a single-element MultiShapeletBasis as a radial profile.

Definition at line 90 of file tractor.py.

◆ integrateNormalizedFluxes()

def lsst.shapelet.tractor.integrateNormalizedFluxes (   maxRadius = 20.0,
  nSteps = 5000 
)

After normalizing by surface brightness at r=1 r_e, integrate the profiles to compare relative fluxes between the true profiles and their approximations.

Parameters
[in]maxRadiusMaximum radius to integrate the profile, in units of r_e.
[in]nStepsNumber of concrete points at which to evaluate the profile to do the integration (we just use the trapezoidal rule).

Definition at line 113 of file tractor.py.

◆ plotSuite()

def lsst.shapelet.tractor.plotSuite (   doComponents = False)
Plot all the profiles defined in this module together: true exp and dev, the SDSS softended/truncated
lux and luv, and the multi-Gaussian approximations to all of these.

To plot the individual Gaussians that form the multi-Gaussian approximations, pass doComponents=True.

Returns a tuple of (figure, axes), where 'figure' is the matplotlib figure that contains the plot,
and axes is a 2x4 NumPy array of matplotlib axes objects

Definition at line 134 of file tractor.py.

◆ registerRadialProfiles()

def lsst.shapelet.tractor.registerRadialProfiles ( )
Register the pickled profiles in the data directory with the RadialProfile singleton registry.

This should only be called at import time by this module; it's only a function to avoid polluting
the module namespace with all the local variables used here.

Definition at line 48 of file tractor.py.