24 #ifndef _PROG_NMA_ALIGNMENT 25 #define _PROG_NMA_ALIGNMENT 190 std::vector<MDLabel> getLabelsForEmpty()
override {
204 double eval(
Vector v,
int *nerror=
nullptr);
void readParams()
Read arguments from command line.
float Best_Angles_Shifts[6]
FileName fnOutPDB
Output PDB.
void defineParams()
Define params.
FileName fnOutDir
Output directory.
virtual void preProcess()
virtual void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut)
ProgNmaAlignmentVol()
Empty constructor.
bool do_FilterPDBVol
Low-pass filter the volume from PDB.
double sampling_rate
Pixel size in Angstroms.
FileName fnPDB
Reference atomic or pseudo-atomic structure in PDB format.
FileName fnModeList
File with a list of mode filenames.
bool updateBestFit(double fitness)
FileName fnmask
Mask file for 2D masking of the projections of the deformed volume.
Matrix1D< double > parameters
virtual void writeVolumeParameters(const FileName &fnImg)
double computeFitness(Matrix1D< double > &trial) const
virtual void createWorkFiles(bool resume, MetaData *md)
bool do_centerPDB
Center the PDB structure.
double trustradius_scale
Parameters required from the CONDOR optimization.
FileName createDeformedPDB() const
~ProgNmaAlignmentVol()
Destructor.
bool useFixedGaussian
Use pseudo-atoms instead of atoms.
Matrix1D< double > trial_best
ProgPdbConverter * progVolumeFromPDB
bool alignVolumes
Align volumes.
double sigmaGaussian
Gaussian standard deviation for pseudo-atoms.
~ObjFunc_nma_alignment_vol()
double cutoff_LPfilter
Low-pass cut-off frequency.
FILE * AnglesShiftsAndScore
virtual void finishProcessing()
MultidimArray< int > mask
virtual void createWorkFiles()
double fitness(double *p)
Image< double > Vdeformed