|
SMICA
1.0
|
Public Member Functions | |
| def | setUp |
| def | test_grad |
| def | test_taylor |
Public Attributes | |
| nmod | |
| ndet | |
| nbin | |
| nvec | |
| true_cov | |
| nmasked | |
| beam | |
| model | |
Test of gradient by verification of correct first order approximation.
The criterion can be approximated by a Taylor expansion
.. math::
\phi(\theta^* + s \delta) \approx \phi(\theta^*) +
s \delta \nabla \phi(\theta^*)
if :math:`\delta` is sufficiently small, the criterion is well
approximated by this formula in a range of s. This test help to
verify this visualy. | def smica.instrument.TestGrad.test_grad | ( | self) |
Simple test
1.8.4