# Path: concert/quantities.py



import logging
import numpy as np
from concert.quantities import q
"""
Measures operate on some data and provide information about how \"good\"
the data is.
"""


LOG = logging.getLogger(__name__)


class DummyGradientMeasure(object):

    """Gradient measure that returns a quadratic fall-off of *parameter* from
    *max_position*."""

    def __init__(self, parameter, max_position, negative=False):
        self.max_position = max_position
        self.negative = negative
        self._max_gradient = 1e4
        self._param = parameter

    async def __call__(self):

# Path: concert/quantities.py



# Path: concert/measures.py
import logging
import numpy as np
from concert.quantities import q

"""
Measures operate on some data and provide information about how \"good\"
the data is.
"""


LOG = logging.getLogger(__name__)


class DummyGradientMeasure(object):

    """Gradient measure that returns a quadratic fall-off of *parameter* from
    *max_position*."""

    def __init__(self, parameter, max_position, negative=False):
        self.max_position = max_position
        self.negative = negative
        self._max_gradient = 1e4
        self._param = parameter

    async def __call__(self):

        value = await self._param.get()