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/or meas prefix removed, with the class name, with any Algorithm suffix removed. For instance, lsst.meas.base.SdssShapeAlgorithm becomes base_SdssShape.