|
lsst.pipe.tasks gfb5511b3f7+6fc9c088ec
|
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| run (self, maskedImage) | |
Static Public Attributes | |
| ConfigClass = ExampleSigmaClippedStatsConfig | |
Protected Attributes | |
| _badPixelMask | |
| _statsControl | |
Static Protected Attributes | |
| str | _DefaultName = "exampleSigmaClippedStats" |
Example task to compute sigma-clipped mean and standard deviation of an image. This is a simple example task designed to be run as a subtask by ExampleCmdLineTask. See also ExampleSimpleStatsTask as a variant that is even simpler. Notes ----- The init method may compute anything that that does not require data. In this case we create a statistics control object using the config (which cannot change once the task is created).
Definition at line 50 of file exampleStatsTasks.py.
| lsst.pipe.tasks.exampleStatsTasks.ExampleSigmaClippedStatsTask.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Definition at line 66 of file exampleStatsTasks.py.
| lsst.pipe.tasks.exampleStatsTasks.ExampleSigmaClippedStatsTask.run | ( | self, | |
| maskedImage ) |
Compute and return statistics for a masked image.
Parameters
----------
maskedImage : `lsst.afw.image.MaskedImage`
Masked image to compute statistics on.
Returns
-------
stats : `lsst.pipe.base.Struct`
Statistics as a struct with attributes:
``mean``
Mean of image plane (`float`).
``meanErr``
Uncertainty in mean (`float`).
``stdDev``
Standard deviation of image plane (`float`).
``stdDevErr``
Uncertainty in standard deviation (`float`).
Definition at line 77 of file exampleStatsTasks.py.
|
protected |
Definition at line 69 of file exampleStatsTasks.py.
|
staticprotected |
Definition at line 64 of file exampleStatsTasks.py.
|
protected |
Definition at line 71 of file exampleStatsTasks.py.
|
static |
Definition at line 63 of file exampleStatsTasks.py.