SMICA  1.0
Public Member Functions | Public Attributes | List of all members
smica.instrument.TestGrad Class Reference
Inheritance diagram for smica.instrument.TestGrad:

Public Member Functions

def setUp
 
def test_grad
 
def test_taylor
 

Public Attributes

 nmod
 
 ndet
 
 nbin
 
 nvec
 
 true_cov
 
 nmasked
 
 beam
 
 model
 

Detailed Description

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.

Member Function Documentation

def smica.instrument.TestGrad.test_grad (   self)
Simple test

The documentation for this class was generated from the following file: