demcompare.metric.metric
Mainly contains the Metric class. A metric defines a way to compute a statistic on an input data such as an altitude difference map
Module Contents
Classes
Metric factory: |
- class demcompare.metric.metric.Metric[source]
Metric factory: A class designed for registered all available metric methods and instantiate them when needed.
- classmethod create_metric(metric_method: str, parameters: Dict = None)[source]
Factory command to create the metric from method_name Return a MetricTemplate child instance associated with the name given in the configuration
- Parameters:
metric_method (str) – metric method
parameters (Dict) – optional input parameters