16 #include "../proshade/ProSHADE.h" 53 std::vector<int> lsToIgnore;
54 lsToIgnore.emplace_back ( 0 );
76 std::cout << std::endl <<
"Usage: getDistances [filename1] [filename2] ... [filenameX] to get distances from [filename1] to all other files. Minimum of two files." << std::endl << std::endl;
81 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( argc ); iter++ )
83 setUp->
structFiles.emplace_back ( std::string ( argv[iter] ) );
98 if ( crossCorrDists.size() > 0 )
100 printf (
"Energy Level Descriptor distances : %+.5f", crossCorrDists.at(0) );
101 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( crossCorrDists.size() ); iter++ )
103 printf (
"\t%+.4f", crossCorrDists.at(iter) );
109 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the energyLevelDist settings to false? Terminating..." << std::endl;
113 if ( traceSigmaDists.size() > 0 )
115 printf (
"Trace Sigma Descriptor distances : %+.5f", traceSigmaDists.at(0) );
116 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( traceSigmaDists.size() ); iter++ )
118 printf (
"\t%+.4f", traceSigmaDists.at(iter) );
124 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the traceSigmaDist settings to false? Terminating..." << std::endl;
128 if ( rotFunDists.size() > 0 )
130 printf (
"Rotation Function Descriptor distances : %+.5f", rotFunDists.at(0) );
131 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( rotFunDists.size() ); iter++ )
133 printf (
"\t%+.4f", rotFunDists.at(iter) );
139 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the fullRotFnDist settings to false? Terminating..." << std::endl;
143 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( setUp->
structFiles.size() ); iter++ )
145 printf (
"Matching structure names : %40s vs. %-40s\n", setUp->
structFiles.at(0).c_str(), setUp->
structFiles.at(iter).c_str() );
147 std::cout << std::endl;
double mapResolution
This is the internal resolution at which the calculations are done, not necessarily the resolution of...
std::vector< double > getRotFunctionDists(void)
Accessor function for the rotation function based distances vector.
unsigned int theta
This parameter is the longitude of the spherical grid mapping. It should be 2 * bandwidth unless ther...
double bFactorValue
This is the value to which all B-factors of PDB files will be changed to.
bool usePhase
Here the user can decide whether to use phase information or whether to ignore it completely...
unsigned int bandwidth
This parameter determines the angular resolution of the spherical harmonics decomposition.
bool htmlReport
Should HTML report for the run be created?
int verbose
Should the software report on the progress, or just be quiet? Value between 0 (quiet) and 4 (loud) ...
std::string getProSHADEVersion(void)
Miscellanous function allowing the user to get the ProSHADE version.
double trSigmaThreshold
All structure pairs with trace sigma descriptor value less than this will not be subjected to any fur...
double alpha
This parameter determines the power to which the |F|'s should be raised.
bool fullRotFnDist
Should the full rotation function distances descriptor be computed.
bool maskBlurFactorGiven
Was a specific value of the blurring factor requested by the user?
std::vector< int > ignoreLs
This vector lists all the bandwidth values which should be ignored and not part of the computations...
double shellSpacing
This parameter determines how far the radial shells should be from each other.
std::vector< double > getTraceSigmaDists(void)
Accessor function for the trace sigma distances vector.
bool traceSigmaDist
Should the trace sigma distances descriptor be computed.
unsigned int phi
This parameter is the latitudd of the spherical grid mapping. It should be 2 * bandwidth unless there...
bool energyLevelDist
Should the energy level distances descriptor be computed.
double bFactorChange
This value will be used to change the B-factors if required by the user.
This class stores all the settings and is passed to the executive classes instead of multitude of par...
double mPower
This parameter determines the scaling for trace sigma descriptor.
unsigned int manualShells
Should the user require so, the maximum number of radial shells can be set.
std::vector< double > getCrossCorrDists(void)
Accessor function for the cross-correlation distances vector.
bool useCOM
Should the Centre of Mass (COM) be used to center the structure in the cell?
double maskBlurFactor
The is the amount of blurring to be used to create masks for maps.
std::vector< std::string > structFiles
This vector should contain all the structures that are being dealt with, but this does not yet work! ...
double enLevelsThreshold
All structure pairs with energy level descriptor value less than this will not be subjected to any fu...
Task taskToPerform
This custom type variable determines which task to perfom (i.e. symmetry detection, distances computation or map features extraction).
unsigned int glIntegOrder
This parameter controls the Gauss-Legendre integration order and so the radial resolution.