25 #ifndef _PROG_PROJECTION_HH 26 #define _PROG_PROJECTION_HH 133 #define ANGLE_RANGE_DETERMINISTIC 0 134 #define ANGLE_RANGE_RANDOM_GROUPS 1 135 #define ANGLE_RANGE_RANDOM 2 136 #define ANGLE_EVENLY 3 202 void from_prog_params(
const ProgProject &prog_prm);
double highTs
High sampling rate: Only used for PDB projections.
bool enable_angle_range
Enable angle range mode (0 or 1)
int ROUT_project(ProgProject &prm, Projection &proj, MetaData &SF)
projectionType projType
Type of projection algorithm.
virtual void read(int argc, const char **argv, bool reportErrors=true)
double paddFactor
The padding factor for Fourier projection.
int proj_Ydim
Projection Ydim.
double Ndev
Stddev of the noise that must be added to the definition of the angle.
Angle_range psi_range
Psi angle range.
bool singleProjection
Single projection.
Angle_range tilt_range
Tilting angle range.
int BSplineDeg
The type of interpolation (NEAR.
Phantom phantomDescr
Phantom mathematical description.
PDBPhantom phantomPDB
Phantom PDB.
int samples
No. of samples.
int PROJECT_Assign_angles(MetaData &DF, const ParametersProjection &prm)
PhantomType phantomMode
Projecting from a voxel volume, Xmipp description or PDB?
PhantomType
Types of phantom: voxel, Xmipp, PDB.
int proj_Xdim
Projection Xdim.
double maxFrequency
The maximum frequency for pixels.
double Npixel_avg
Bias to be applied to each pixel grey value */.
projectionType
Type of projection.
double maxFrequency
The maximum frequency for Fourier projection.
AtomInterpolator interpolator
Atom interpolator.
FileName fnOut
Output filename (used for a singleProjection or a stack)
double tiltSingle
Tilt angle of a single projection.
int PROJECT_Effectively_project(const FileName &fnOut, bool singleProjection, int projType, const ParametersProjection &prm, PROJECT_Side_Info &side, const Crystal_Projection_Parameters &prm_crystal, Projection &proj, MetaData &SF)
double Ncenter_avg
Bias to apply to the image center.
FileName fn_proj_param
Filename with the Projection_Parameters.
Image< double > phantomVol
Phantom Xmipp volume.
FileName fn_angle
Document filename.
double rotSingle
Rotational angle of a single projection.
double paddFactor
The padding factor for Fourier projection.
double psiSingle
Psi angle of a single projection.
Angle_range rot_range
Rotational angle range.
FileName fn_sym
Symmetry file.
double angF
final angular value
double Ncenter_dev
Standard deviation of the image center.
bool only_create_angles
Only create angles, do not project.
int BSplineDeg
The type of interpolation (NEAR.
double ang0
initial angular value
MetaDataVec DF
Document File for the projecting angles. Order: rot, tilt, psi.
double Navg
Mean of the noise that must be added to the definition of the angle.
double samplingRate
Sampling rate: Only used for PDB projections.
int projSize
Projection size when fnOut is given.
double Npixel_dev
Standard deviation of the noise to be added to each pixel grey value.
bool doCrystal
Is this a crystal projection.