SMICA  1.0
Public Member Functions | Public Attributes | List of all members
smica.component.Component Class Reference
Inheritance diagram for smica.component.Component:
smica.component.Astro smica.component.Fixed smica.component.Noise smica.component.Source smica.cparametric.Parametric smica.component.FixedNoiseLike smica.component.NoiseAmpl smica.component.NoiseDiag smica.component.Source1D smica.component.SourceAmpl smica.component.SourceND smica.component.Source1Dexp

Public Member Functions

def plot_power
 
def plot_em
 
def set_gaussian_prior
 
def get_penalty
 
def get_score_penalty
 
def get_fim_penalty
 

Public Attributes

 mu
 
 sigma_inv
 

Detailed Description

A component

A component can be of two kinds : source or noise.  It is made of
parameters which explain the contribution of the component to the
covariance of the model.

Member Function Documentation

def smica.component.Component.get_fim_penalty (   self)
Default prior is Gaussian

Extend this function to add another prior on the component.

Returns
-------
array-like, shape (N, N), where N is the number of free parameters.
def smica.component.Component.get_penalty (   self)
Default prior is Gaussian

Extend this function to add another prior on the component.

Returns
-------
scalar
def smica.component.Component.get_score_penalty (   self)
Default prior is Gaussian

Extend this function to add another prior on the component.

Returns
-------
array-like, shape (N, 1), where N is the number of free parameters.
def smica.component.Component.plot_em (   self,
  nmodes,
  freqlist = None,
  figfile = None 
)
Plot component electro-magnetic spectrum.

Parameters
----------
nmodes : array-like, shape (nbin,1).
Number of modes of each bin.
freqlist : array-like, shape (ndet, 1), x axis values.
figfile : string, filename where to save the plot.
def smica.component.Component.plot_power (   self,
  figfile = None 
)
Plot component power spectrum.

Parameters
----------
figfile : string, filename where to save the plot.
def smica.component.Component.set_gaussian_prior (   self,
  mu,
  sigma_inv 
)
 

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