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).
| 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.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.