generateAlgorithmName¶
- lsst.meas.base.generateAlgorithmName(AlgClass)¶
Generate a name for an algorithm.
This generates a short name for an algorithmic class that strips away terms that are generally redundant while remaining easy to trace to the code.
- Parameters:
- AlgClasssubclass of
BaseAlgorithm
The class to generate a name for.
- AlgClasssubclass of
- Returns:
- name
str
A short name for the algorithm.
- name
Notes
The returned name will cobmine the package name, with any
lsst
and/ormeas
prefix removed, with the class name, with anyAlgorithm
suffix removed. For instance,lsst.meas.base.SdssShapeAlgorithm
becomesbase_SdssShape
.