lsst.pipe.tasks g253578fa50+0eeb8841d4
Loading...
Searching...
No Matches
lsst.pipe.tasks.skyCorrection Namespace Reference

Classes

class  NoUsableBackgroundSuperpixelsError
 
class  SkyCorrectionConfig
 
class  SkyCorrectionConnections
 
class  SkyCorrectionTask
 

Functions

 _reorderAndPadList (inputList, inputKeys, outputKeys, padWith=None)
 

Function Documentation

◆ _reorderAndPadList()

lsst.pipe.tasks.skyCorrection._reorderAndPadList ( inputList,
inputKeys,
outputKeys,
padWith = None )
protected
Match the order of one list to another, padding if necessary.

Parameters
----------
inputList : `list`
    List to be reordered and padded. Elements can be any type.
inputKeys :  iterable
    Iterable of values to be compared with outputKeys.
    Length must match `inputList`.
outputKeys : iterable
    Iterable of values to be compared with inputKeys.
padWith :
    Any value to be inserted where one of inputKeys is not in outputKeys.

Returns
-------
outputList : `list`
    Copy of inputList reordered per outputKeys and padded with `padWith`
    so that the length matches length of outputKeys.

Definition at line 52 of file skyCorrection.py.