lsst.meas.algorithms  14.0-9-g82279ae0+4
Public Member Functions | Public Attributes | List of all members
lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram Class Reference
Inheritance diagram for lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram:

Public Member Functions

def __init__ (self, xSize=32, ySize=32, ixxMax=30, iyyMax=30, detector=None, xy0=afwGeom.Point2D(0, 0))
 
def getImage (self)
 
def insert (self, source)
 
def momentsToPixel (self, ixx, iyy)
 
def pixelToMoments (self, x, y)
 
def getClumps (self, sigma=1.0, display=False)
 

Public Attributes

 detector
 
 xy0
 

Detailed Description

A class to represent a histogram of (Ixx, Iyy)

Definition at line 334 of file secondMomentStarSelector.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.__init__ (   self,
  xSize = 32,
  ySize = 32,
  ixxMax = 30,
  iyyMax = 30,
  detector = None,
  xy0 = afwGeom.Point2D(0, 0) 
)
Construct a _PsfShapeHistogram

The maximum seeing FWHM that can be tolerated is [xy]Max/2.35 pixels.
The 'resolution' of stars vs galaxies/CRs is provided by [xy]Size/[xy]Max.
A larger (better) resolution may thresh the peaks, but a smaller (worse)
resolution will allow stars and galaxies/CRs to mix.  The disadvantages of
a larger (better) resolution can be compensated (some) by using multiple
histogram peaks.

@input[in] [xy]Size: the size of the psfImage (in pixels)
@input[in] ixxMax, iyyMax: the maximum values for I[xy][xy]

Definition at line 339 of file secondMomentStarSelector.py.

Member Function Documentation

◆ getClumps()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.getClumps (   self,
  sigma = 1.0,
  display = False 
)

Definition at line 407 of file secondMomentStarSelector.py.

◆ getImage()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.getImage (   self)

Definition at line 359 of file secondMomentStarSelector.py.

◆ insert()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.insert (   self,
  source 
)
Insert source into the histogram.

Definition at line 362 of file secondMomentStarSelector.py.

◆ momentsToPixel()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.momentsToPixel (   self,
  ixx,
  iyy 
)

Definition at line 391 of file secondMomentStarSelector.py.

◆ pixelToMoments()

def lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.pixelToMoments (   self,
  x,
  y 
)
Given a peak position in self._psfImage, return the corresponding (Ixx, Iyy)

Definition at line 398 of file secondMomentStarSelector.py.

Member Data Documentation

◆ detector

lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.detector

Definition at line 356 of file secondMomentStarSelector.py.

◆ xy0

lsst.meas.algorithms.secondMomentStarSelector._PsfShapeHistogram.xy0

Definition at line 357 of file secondMomentStarSelector.py.


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