Coverage for python/lsst/shapelet/radialProfile/radialProfileContinued.py : 62%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1import numpy as np
3from .radialProfile import RadialProfile
5from lsst.utils import continueClass
7__all__ = []
10@continueClass # noqa F811
11class RadialProfile:
12 def evaluate(self, r):
13 if isinstance(r, np.ndarray):
14 return self._evaluate(r.ravel()).reshape(r.shape)
15 else:
16 return self._evaluate(r)