SMICA  1.0
Public Member Functions | List of all members
smica.component.Source1Dexp Class Reference

Source positive. More...

Inheritance diagram for smica.component.Source1Dexp:
smica.component.Source1D smica.component.Source smica.component.Component

Public Member Functions

def set_powspec
 
def powspec
 
def get_thetascore
 
def get_thetafim
 
- Public Member Functions inherited from smica.component.Source1D
def __init__
 
def get_dim
 
def set_theta
 
def get_theta
 
def get_thetascore
 
def get_thetaroot
 
def get_thetaroot_local
 
def get_thetafim
 
def close_form
 
- Public Member Functions inherited from smica.component.Source
def is_astro
 
def set_dim
 
def __init__
 
def set_mixmat
 
def fix_mixmat
 
def set_powspec
 
def fix_powspec
 
def mixmat
 
def powspec
 
def autopowspec
 
def covariance
 
def score_mixmat
 
def score_powspec
 
def plot_mixmat
 
def plot_powspec
 
- Public Member Functions inherited from smica.component.Component
def plot_power
 
def plot_em
 
def set_gaussian_prior
 
def get_penalty
 
def get_score_penalty
 
def get_fim_penalty
 

Additional Inherited Members

- Public Attributes inherited from smica.component.Source1D
 ndet
 
 nbin
 
 name
 

Detailed Description

Source positive.


A one dimensional source component.

The mixing matrix is a column vector (ndet, 1) and power
spectrum is described by a vector (1, nbin).

Member Function Documentation

def smica.component.Source1Dexp.get_thetafim (   self,
  iRr,
  w 
)
Return Fisher Information Matrix.

Parameters
----------
iRr : array-like, shape (ndet, ndet, nbin).
iRr is the square root of the inverse of the covariance of the
model, which is constant for all components.
w : array-like, shape (1, nbin). w is half the number of modes for each bin.

Returns
----------
array-like, shape (N, N), where N is the number of free parameters.
def smica.component.Source1Dexp.get_thetascore (   self,
  D 
)
Return likelihood first derivative values wrt component
parameters as a vector.

Parameters
----------
D : array-like, shape (ndet, ndet, nbin).
D is the first derivative of the likelihood wrt the covariance
of the model, which is constant for all components.

Returns
----------
array-like, shape (N, 1), where N is the number of free parameters.
def smica.component.Source1Dexp.powspec (   self,
  bin = None 
)
Return power spectra array.

Parameters
----------
bin : bin number. If None, complete array is returned.

Returns
-------
array, shape (dim, dim, nbin).
def smica.component.Source1Dexp.set_powspec (   self,
  powspec,
  bin = None,
  fixed = None 
)
Set power spectra array.

Parameters
----------
powspec : array-like, shape (dim, dim, nbin).
bin : bin number. If None, all bins are set.
fixed : array-like, shape (dim, dim, nbin)
Entries which are not equal to zero point to
fixed indices.  It is also possible to use keywords 'all' and
'null' to fix (respectively) all parameters or none.

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