lsst.shapelet  16.0-4-g84f75fb+4
radialProfileContinued.py
Go to the documentation of this file.
1 from __future__ import absolute_import, division, print_function
2 
3 import numpy as np
4 
5 from .radialProfile import RadialProfile
6 
7 from lsst.utils import continueClass
8 
9 __all__ = []
10 
11 
12 @continueClass # noqa F811
14  def evaluate(self, r):
15  if isinstance(r, np.ndarray):
16  return self._evaluate(r.ravel()).reshape(r.shape)
17  else:
18  return self._evaluate(r)