This class defines the basis function to use for the reconstruction. Currently, valid basis functions are blobs and voxels.
◆ createZernike3DBasis()
void createZernike3DBasis |
( |
const MultidimArray< double > & |
Vin, |
|
|
MultidimArray< double > & |
Vbasis, |
|
|
int |
l1, |
|
|
int |
n, |
|
|
int |
l2, |
|
|
int |
m, |
|
|
int |
Rmax = -1 |
|
) |
| |
Create a Zernike Spherical Basis volume. With the same size as an input volume. Z(l,n,m)=R_n^l(r)Y_l^m(x,y,z) for l=0,1,2,..., n=0,1,2,..., m=-l,...,l The basis volume is created up to Rmax, by default half the size of the input volume
Definition at line 406 of file basis.cpp.
412 double Rmax2=Rmax*Rmax;
413 double iRmax=1.0/Rmax;
432 A3D_ELEM(Vbasis,k,i,j)=
ZernikeSphericalHarmonics(l1,
n,l2,
m,jr,ir,kr,
sqrt(r2)*iRmax);
void sqrt(Image< double > &op)
ql0001_ & k(htemp+1),(cvec+1),(atemp+1),(bj+1),(bl+1),(bu+1),(x+1),(clamda+1), &iout, infoqp, &zero,(w+1), &lenw,(iw+1), &leniw, &glob_grd.epsmac
#define A3D_ELEM(V, k, i, j)
void initZeros(const MultidimArray< T1 > &op)