25 #ifndef _PROG_ART_CRYSTAL_HH 26 # define _PROG_ART_CRYSTAL_HH 95 void print(std::ostream &o)
const;
122 double &mean_error,
int numIMG,
double lambda,
int act_proj,
Matrix1D< double > avox
First lattice vector (voxel units)
Matrix1D< double > bint
Second lattice vector approximated to integer numbers (BCC units)
Matrix1D< double > a
First lattice vector (BCC units)
void computeIntegerLattice(const Matrix1D< double > &a, const Matrix1D< double > &b, double a_mag, double b_mag, double ang_a2b_deg, Matrix1D< double > &aint, Matrix1D< double > &bint, Matrix2D< double > &V, int space_group)
void preProcess(GridVolume &vol_basis0, int level=FULL, int rank=-1)
double ang_x2a_deg
angle from x axis to a (degrees)
Matrix1D< double > b
Second lattice vector (BCC units)
Matrix1D< double > ai
ai=aint/2 as double numbers
MultidimArray< int > unit_cell_mask
void readParams(XmippProgram *program)
void postProcess(GridVolume &vol_basis)
Matrix1D< double > bvox
Second lattice vector (voxel units)
void print(std::ostream &o) const
std::cout << crystal_prm;
Matrix1D< double > bi
bi=aint/2 as double numbers
double ang_a2b_deg
angle from a to b (degrees)
void applySymmetry(GridVolume &vol_in, GridVolume *vol_out, int grid_type)
bool fill_space
Fill space, repeat unit cell all over the space.
void expandToFillSpace(const BasicARTParameters &prm, const CrystalARTRecons &eprm, GridVolume &vol)
static void defineParams(XmippProgram *program, const char *prefix=nullptr, const char *comment=nullptr)
int space_group
space_group
void singleStep(GridVolume &vol_in, GridVolume *vol_out, Projection &theo_proj, Projection &read_proj, int sym_no, Projection &diff_proj, Projection &corr_proj, Projection &alig_proj, double &mean_error, int numIMG, double lambda, int act_proj, const FileName &fn_ctf, const MultidimArray< int > *maskPtr, bool refine)
Matrix1D< double > aint
First lattice vector approximated to integer numbers (BCC units)