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.

Returns#

namestr

A short name for the algorithm.

Notes#

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.