phenotypic.util.measurement_producers#

phenotypic.util.measurement_producers() → tuple[MeasurementProducer, ...][source]#

Return every public operation that writes a table of schema columns.

Covers the public phenotypic.measure operations and the public phenotypic.analysis analyzers that declare a MeasurementInfo schema. Analyzers that only remove rows (the outlier removers) declare none and are not listed. The Measurements reference, the measurements_by_feature/ split and the deliverables README all read this registry.

Returns:

measurement operations, then analyzers, each alphabetical.

Return type:

Producers in discovery order

Examples

>>> from phenotypic.util import measurement_producers
>>> size = next(p for p in measurement_producers() if p.output_key == "MeasureSize")
>>> [info.__name__ for info in size.primary_infos]
['SIZE']