@staticmethod
    def compute_alpha(period, interval):

        return 1 - math.exp(-interval / (60.0 * period))
Test to ensure the mapping type works as expected
dataset/ETHPy150Open avalente/appmetrics/appmetrics/meter.py/EWMA.compute_alpha--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_types.py/test_mapping