|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Classes | |
| class | PluginRegistry |
| Base class for plugin registries. More... | |
| class | PluginMap |
| Map of plugins to be run for a task. More... | |
| class | BasePluginConfig |
| Base class measurement Plugin config classes. More... | |
| class | BasePlugin |
| Base class for measurement plugins. More... | |
| class | SourceSlotConfig |
| Slot configuration which assigns a particular named plugin to each of a set of slots. More... | |
| class | BaseMeasurementConfig |
| Base config class for all measurement driver tasks. More... | |
| class | BaseMeasurementTask |
| Ultimate base class for all measurement tasks. More... | |
Functions | |
| def | generateAlgorithmName |
| def | Version0FlagMapper |
| def | addDependencyFlagAliases |
| Add aliases to flag fields that an algorithm depends on. More... | |
| def | register |
| A Python decorator that registers a class, using the given name, in its base class's PluginRegistry. More... | |
Variables | |
| tuple | FATAL_EXCEPTIONS = (MemoryError, FatalAlgorithmError) |
| dictionary | _flagMap |
| def lsst.meas.base.base.addDependencyFlagAliases | ( | AlgClass, | |
| name, | |||
| schema | |||
| ) |
Add aliases to flag fields that an algorithm depends on.
When an algorithm relies on the slot centroid or shape as an input, it can fail (or be unreliable) simply because the algorithm it depends on failed. In that case, we already have a flag field that indicates why the algorithm failed (the slot failure flag), but it's not obviously connected to the failure of the dependent algorithm. This function adds aliases to the appropriate slot flag for C++ algorithms that depend on that slot, in the namespace of the dependent algorithm.
| [in] | AlgClass | Swig-wrappped C++ algorithm class; must have a class attribute Input that constains the type of Input object it requires. |
| [in] | name | Name of the dependent algorithm |
| [out] | schema | Schema to add the aliases to |
Definition at line 84 of file base.py.
| def lsst.meas.base.base.generateAlgorithmName | ( | AlgClass | ) |
Generate a string name for an algorithm class that strips away terms that are generally redundant while (hopefully) remaining easy to trace to the code. The returned name will cobmine the package name, with any "lsst" and/or "meas" prefix removed, with the class name, with any "Algorithm" suffix removed. For instance, lsst.meas.base.SdssShapeAlgorithm becomes "base_SdssShape".
| def lsst.meas.base.base.register | ( | name | ) |
A Python decorator that registers a class, using the given name, in its base class's PluginRegistry.
For example,
is equivalent to:
Definition at line 155 of file base.py.
| dictionary lsst.meas.base.base._flagMap |
| tuple lsst.meas.base.base.FATAL_EXCEPTIONS = (MemoryError, FatalAlgorithmError) |
1.8.5