lsst.pipe.tasks
20.0.0-25-g38d2b7ae+bde7f0c6ec
|
Example task to compute mean and standard deviation of an image. More...
Public Member Functions | |
def | run (self, maskedImage) |
Compute and return statistics for a masked image. More... | |
Static Public Attributes | |
ConfigClass | |
Example task to compute mean and standard deviation of an image.
Example task to compute mean and standard deviation of an image.
This was designed to be run as a subtask by ExampleCmdLineTask. It is about as simple as a task can be; it has no configuration parameters and requires no special initialization. See also ExampleSigmaClippedStatsTask as a variant that is slightly more complicated.
The main method is run.
This task has no configuration parameters.
This task has no debug variables.
This code is in examples/exampleStatsTask.py (this one example runs both ExampleSigmaClippedStatsTask and ExampleSimpleStatsTask), and can be run as:
Definition at line 143 of file exampleStatsTasks.py.
def lsst.pipe.tasks.exampleStatsTasks.ExampleSimpleStatsTask.run | ( | self, | |
maskedImage | |||
) |
Compute and return statistics for a masked image.
[in] | maskedImage | masked image (an lsst::afw::MaskedImage) |
Definition at line 192 of file exampleStatsTasks.py.
|
static |
Definition at line 180 of file exampleStatsTasks.py.