lsst.meas.algorithms g1581cd22ba+dee93ecadb
Loading...
Searching...
No Matches
lsst.meas.algorithms.maskStreaks.LineCollection Class Reference

Public Member Functions

 __init__ (self, rhos, thetas, sigmas=None)
 
 __len__ (self)
 
 __getitem__ (self, index)
 
 __iter__ (self)
 
 __repr__ (self)
 
 rhos (self)
 
 thetas (self)
 
 sigmas (self)
 
 append (self, newLine)
 

Protected Attributes

list _lines
 

Detailed Description

Collection of `Line` objects.

Parameters
----------
rhos : `np.ndarray`
    Array of `Line` rho parameters.
thetas : `np.ndarray`
    Array  of `Line` theta parameters.
sigmas : `np.ndarray`, optional
    Array of `Line` sigma parameters.

Definition at line 56 of file maskStreaks.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.meas.algorithms.maskStreaks.LineCollection.__init__ ( self,
rhos,
thetas,
sigmas = None )

Definition at line 69 of file maskStreaks.py.

Member Function Documentation

◆ __getitem__()

lsst.meas.algorithms.maskStreaks.LineCollection.__getitem__ ( self,
index )

Definition at line 79 of file maskStreaks.py.

◆ __iter__()

lsst.meas.algorithms.maskStreaks.LineCollection.__iter__ ( self)

Definition at line 82 of file maskStreaks.py.

◆ __len__()

lsst.meas.algorithms.maskStreaks.LineCollection.__len__ ( self)

Definition at line 76 of file maskStreaks.py.

◆ __repr__()

lsst.meas.algorithms.maskStreaks.LineCollection.__repr__ ( self)

Definition at line 85 of file maskStreaks.py.

◆ append()

lsst.meas.algorithms.maskStreaks.LineCollection.append ( self,
newLine )
Add line to current collection of lines.

Parameters
----------
newLine : `Line`
    `Line` to add to current collection of lines

Definition at line 101 of file maskStreaks.py.

◆ rhos()

lsst.meas.algorithms.maskStreaks.LineCollection.rhos ( self)

Definition at line 90 of file maskStreaks.py.

◆ sigmas()

lsst.meas.algorithms.maskStreaks.LineCollection.sigmas ( self)

Definition at line 98 of file maskStreaks.py.

◆ thetas()

lsst.meas.algorithms.maskStreaks.LineCollection.thetas ( self)

Definition at line 94 of file maskStreaks.py.

Member Data Documentation

◆ _lines

lsst.meas.algorithms.maskStreaks.LineCollection._lines
protected
Initial value:
= [Line(rho, theta, sigma) for (rho, theta, sigma) in
zip(rhos, thetas, sigmas)]

Definition at line 73 of file maskStreaks.py.


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