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: - AlgClass : subclass of
BaseAlgorithm
The class to generate a name for.
Returns: - name :
str
A short name for the algorithm.
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
.- AlgClass : subclass of