lsst.shapelet
21.0.0-3-g4be5c26+d793a9824f
python
lsst
shapelet
radialProfile
radialProfileContinued.py
Go to the documentation of this file.
1
import
numpy
as
np
2
3
from
.radialProfile
import
RadialProfile
4
5
from
lsst.utils
import
continueClass
6
7
__all__ = []
8
9
10
@continueClass
# noqa: F811 (FIXME: remove for py 3.8+)
11
class
RadialProfile
:
# noqa: F811
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)
lsst::shapelet.radialProfile.radialProfileContinued.RadialProfile
Definition:
radialProfileContinued.py:11
lsst::shapelet.radialProfile.radialProfileContinued.RadialProfile.evaluate
def evaluate(self, r)
Definition:
radialProfileContinued.py:12
lsst::utils
Generated on Thu Mar 18 2021 02:22:11 for lsst.shapelet by
1.9.1