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
lsstand/ormeasprefix removed, with the class name, with anyAlgorithmsuffix removed. For instance,lsst.meas.base.SdssShapeAlgorithmbecomesbase_SdssShape.