 |
ProSHADE
0.7.5.1 (JAN 2021)
Protein Shape Detection
|
Go to the documentation of this file.
22 #include <pybind11/pybind11.h>
23 #include <pybind11/stl.h>
24 #include <pybind11/numpy.h>
27 void add_settingsClass ( pybind11::module& pyProSHADE )
30 pybind11::class_ < ProSHADE_settings > ( pyProSHADE,
"ProSHADE_settings" )
33 .def ( pybind11::init < > ( ) )
34 .def ( pybind11::init < ProSHADE_Task > ( ), pybind11::arg (
"task" ) )
99 .def_readwrite (
"axisErrToleranceDefault", &ProSHADE_settings::axisErrToleranceDefault )
116 .def (
"setResolution", &
ProSHADE_settings::setResolution,
"This function sets the resolution in the appropriate variable.", pybind11::arg (
"resolution" ) )
117 .def (
"setPDBBFactor", &
ProSHADE_settings::setPDBBFactor,
"Sets the requested B-factor value for PDB files in the appropriate variable.", pybind11::arg (
"newBF" ) )
118 .def (
"setNormalisation", &
ProSHADE_settings::setNormalisation,
"Sets the requested map normalisation value in the appropriate variable.", pybind11::arg (
"normalise" ) )
122 .def (
"setMaskIQR", &
ProSHADE_settings::setMaskIQR,
"Sets the requested number of IQRs for masking threshold in the appropriate variable.", pybind11::arg (
"noIQRs" ) )
123 .def (
"setMasking", &
ProSHADE_settings::setMasking,
"Sets the requested map masking decision value in the appropriate variable.", pybind11::arg (
"mask" ) )
130 .def (
"setBoundsSpace", &
ProSHADE_settings::setBoundsSpace,
"Sets the requested number of angstroms for extra space in re-boxing in the appropriate variable.", pybind11::arg (
"boundsExSp" ) )
131 .def (
"setBoundsThreshold", &
ProSHADE_settings::setBoundsThreshold,
"Sets the threshold for number of indices difference acceptable to make index sizes same in the appropriate variable.", pybind11::arg (
"boundsThres" ) )
136 .def (
"setMapCentering", &
ProSHADE_settings::setMapCentering,
"Sets the requested map centering decision value in the appropriate variable.", pybind11::arg (
"com" ) )
137 .def (
"setExtraSpace", &
ProSHADE_settings::setExtraSpace,
"Sets the requested map extra space value in the appropriate variable.", pybind11::arg (
"exSpace" ) )
138 .def (
"setBandwidth", &
ProSHADE_settings::setBandwidth,
"Sets the requested spherical harmonics bandwidth in the appropriate variable.", pybind11::arg (
"band" ) )
141 .def (
"setIntegrationOrder", &
ProSHADE_settings::setIntegrationOrder,
"Sets the requested order for the Gauss-Legendre integration in the appropriate variable.", pybind11::arg (
"intOrd" ) )
142 .def (
"setTaylorSeriesCap", &
ProSHADE_settings::setTaylorSeriesCap,
"Sets the requested Taylor series cap for the Gauss-Legendre integration in the appropriate variable.", pybind11::arg (
"tayCap" ) )
147 .def (
"setPeakNaiveNoIQR", &
ProSHADE_settings::setPeakNaiveNoIQR,
"Sets the number of IQRs from the median for threshold height a peak needs to be considered a peak.", pybind11::arg (
"noIQRs" ) )
167 .def (
"getCommandLineParams",
170 std::vector < char * > cstrs; cstrs.reserve ( args.size() );
172 for (
auto &s : args )
173 cstrs.push_back (
const_cast < char *
> ( s.c_str ( ) ) );
175 return self.getCommandLineParams ( cstrs.size ( ), cstrs.data ( ) );
176 },
"This function takes a VectorOfStrings and parses it as if it were command line arguments, filling in the calling ProSHADE_settings class with the values." )
182 .def (
"__repr__", [] (
const ProSHADE_settings &a ) {
return "<ProSHADE_settings class object> (Settings class is used to set all settings values in a single place)"; } );
185 pybind11::class_ < ProSHADE_run > ( pyProSHADE,
"ProSHADE_run" )
188 .def ( pybind11::init < ProSHADE_settings* > ( ) )
195 .def (
"getEnergyLevelsVector",
196 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
199 std::vector< proshade_double > vals =
self.getEnergyLevelsVector ();
202 float* npVals =
new float[
static_cast<unsigned int> (vals.size())];
206 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
209 pybind11::capsule pyCapsuleEnLevs ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
212 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<unsigned int> (vals.size()) },
219 },
"This function returns the energy level distances vector from the first to all other structures." )
221 .def (
"getTraceSigmaVector",
222 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
225 std::vector< proshade_double > vals =
self.getTraceSigmaVector ();
228 float* npVals =
new float[
static_cast<unsigned int> (vals.size())];
232 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
235 pybind11::capsule pyCapsuleTrSigs ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
238 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<unsigned int> (vals.size()) },
245 },
"This function returns the trace sigma distances vector from the first to all other structures." )
247 .def (
"getRotationFunctionVector",
248 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
251 std::vector< proshade_double > vals =
self.getRotationFunctionVector ();
254 float* npVals =
new float[
static_cast<unsigned int> (vals.size())];
258 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
261 pybind11::capsule pyCapsuleRotFun ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
264 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<unsigned int> (vals.size()) },
271 },
"This function returns the full rotation function distances vector from the first to all other structures." )
274 .def (
"getSymmetryType", &
ProSHADE_run::getSymmetryType,
"This is the main accessor function for the user to get to know what symmetry type ProSHADE has detected and recommends." )
275 .def (
"getSymmetryFold", &
ProSHADE_run::getSymmetryFold,
"This is the main accessor function for the user to get to know what symmetry fold ProSHADE has detected and recommends." )
276 .def (
"getSymmetryAxis", &
ProSHADE_run::getSymmetryAxis,
"This function returns a single symmetry axis as a vector of strings from the recommended symmetry axes list.", pybind11::arg (
"axisNo" ) )
277 .def (
"getAllCSyms",
278 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
281 std::vector< std::vector< proshade_double > > vals =
self.getAllCSyms ();
284 float* npVals =
new float[
static_cast<unsigned int> ( vals.size() * 6 )];
288 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) {
for ( proshade_unsign it = 0; it < 6; it++ ) { npVals[(iter*6)+it] = vals.at(iter).at(it); } }
291 pybind11::capsule pyCapsuleSymList ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
294 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<int> ( vals.size() ),
static_cast<int> ( 6 ) },
295 { 6 *
sizeof(float),
sizeof(
float) },
301 },
"This function returns a all symmetry axes as a 2D numpy array." )
304 .def (
"getOriginalBounds",
305 [] (
ProSHADE_run &
self, proshade_unsign strNo ) -> pybind11::array_t < float >
308 std::vector< proshade_signed > vals =
self.getOriginalBounds ( strNo );
311 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
315 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
318 pybind11::capsule pyCapsuleOrigBnds ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
321 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<proshade_unsign
> ( vals.size() ) },
328 },
"This function returns the original structure boundaries as numpy array." )
330 .def (
"getReBoxedBounds",
331 [] (
ProSHADE_run &
self, proshade_unsign strNo ) -> pybind11::array_t < float >
334 std::vector< proshade_signed > vals =
self.getReBoxedBounds ( strNo );
337 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
341 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
344 pybind11::capsule pyCapsuleReBoBnds ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
347 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<proshade_unsign
> ( vals.size() ) },
354 },
"This function returns the re-boxed structure boundaries as numpy array." )
357 .def (
"getReBoxedMap",
358 [] (
ProSHADE_run &
self, proshade_unsign strNo ) -> pybind11::array_t < float >
361 std::vector< proshade_signed > vals =
self.getReBoxedBounds ( strNo );
364 proshade_unsign xDim = vals.at(1) - vals.at(0) + 1;
365 proshade_unsign yDim = vals.at(3) - vals.at(2) + 1;
366 proshade_unsign zDim = vals.at(5) - vals.at(4) + 1;
369 float* npVals =
new float[xDim * yDim * zDim];
373 for ( proshade_unsign iter = 0; iter < (xDim * yDim * zDim); iter++ ) { npVals[iter] =
self.getMapValue ( strNo, iter ); }
376 pybind11::capsule pyCapsuleRebMap ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
379 pybind11::array_t < float > retArr = pybind11::array_t<float> ( { xDim, yDim, zDim },
380 { yDim * zDim *
sizeof(float), zDim *
sizeof(
float),
sizeof(float) },
386 },
"This function returns the re-boxed structure map as a numpy 3D array." )
389 .def (
"getEulerAngles",
390 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
393 std::vector< proshade_double > vals =
self.getEulerAngles ( );
396 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
400 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
403 pybind11::capsule pyCapsuleEulAngs ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
406 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<proshade_unsign
> ( vals.size() ) },
413 },
"This function returns the vector of Euler angles with best overlay correlation." )
415 .def (
"getOptimalRotMat",
416 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
419 std::vector< proshade_double > vals =
self.getOptimalRotMat ( );
422 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
426 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
429 pybind11::capsule pyCapsuleRotMat ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
432 pybind11::array_t < float > retArr = pybind11::array_t<float> ( { 3, 3 },
433 { 3 *
sizeof(float),
sizeof(
float) },
439 },
"This function returns the vector of Euler angles with best overlay correlation." )
441 .def (
"getTranslationToOrigin",
442 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
445 std::vector< proshade_double > vals =
self.getTranslationToOrigin ( );
448 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
452 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
455 pybind11::capsule pyCapsuleTTO ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
458 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<proshade_unsign
> ( vals.size() ) },
465 },
"This function returns the negative values of the position of the rotation centre (the point about which the rotation should be done)." )
466 .def (
"getOriginToOverlayTranslation",
467 [] (
ProSHADE_run &
self ) -> pybind11::array_t < float >
470 std::vector< proshade_double > vals =
self.getOriginToOverlayTranslation ( );
473 float* npVals =
new float[
static_cast<proshade_unsign
> ( vals.size() )];
477 for ( proshade_unsign iter = 0; iter < static_cast<proshade_unsign> ( vals.size() ); iter++ ) { npVals[iter] = vals.at(iter); }
480 pybind11::capsule pyCapsuleOTOT ( npVals, [](
void *f ) {
float* foo =
reinterpret_cast< float*
> ( f );
delete foo; } );
483 pybind11::array_t < float > retArr = pybind11::array_t<float> ( {
static_cast<proshade_unsign
> ( vals.size() ) },
490 },
"This function returns the translation required to move the structure from origin to optimal overlay." )
494 .def (
"__repr__", [] (
const ProSHADE_run &a ) {
return "<ProSHADE_run class object> (Run class constructor takes a ProSHADE_settings object and completes a single run according to the settings object information)"; } );
proshade_double noIQRsFromMedianNaivePeak
When doing peak searching, how many IQRs from the median the threshold for peak height should be (in ...
void setOverlayJsonFile(std::string filename)
Sets the filename to which the overlay operations are to be save into.
proshade_unsign maxBandwidth
The bandwidth of spherical harmonics decomposition for the largest sphere.
proshade_unsign integOrder
The order required for full Gauss-Legendre integration between the spheres.
std::string recommendedSymmetryType
The symmetry type that ProSHADE finds the best fitting for the structure. Possible values are "" for ...
std::string rotTrsJSONFile
The filename to which the rotation and translation operations are to be saved into.
void setEnLevShellWeight(proshade_double mPower)
Sets the weight of shell position for the energy levels computation.
bool computeTraceSigmaDesc
If true, the trace sigma descriptor will be computed, otherwise all its computations will be omitted.
void setTraceSigmaComputation(bool trSigVal)
Sets whether the trace sigma distance descriptor should be computed.
bool computeRotationFuncDesc
If true, the rotation function descriptor will be computed, otherwise all its computations will be om...
void setSameBoundaries(bool sameB)
Sets whether same boundaries should be used in the appropriate variable.
proshade_unsign maxSymmetryFold
The highest symmetry fold to search for.
proshade_unsign taylorSeriesCap
The max limit on the Taylor series expansion done for the abscissas of the Gauss-Legendre integration...
void setMinimumMaskSize(proshade_single minMS)
Sets the requested minimum mask size.
proshade_single boundsExtraSpace
The number of extra angstroms to be added to all re-boxing bounds just for safety.
void setBicubicInterpolationSearch(bool bicubPeaks)
Sets the bicubic interpolation on peaks.
void setPeakNaiveNoIQR(proshade_double noIQRs)
Sets the number of IQRs from the median for threshold height a peak needs to be considered a peak.
std::string outName
The file name where the output structure(s) should be saved.
void setMapInversion(bool mInv)
Sets the requested map inversion value in the appropriate variable.
void setMapResolutionChange(bool mrChange)
Sets the requested map resolution change decision in the appropriate variable.
void setPeakNeighboursNumber(proshade_unsign pkS)
Sets the number of neighbour values that have to be smaller for an index to be considered a peak.
proshade_single blurFactor
This is the amount by which B-factors should be increased to create the blurred map for masking.
bool maskMap
Should the map be masked from noise?
proshade_unsign requestedSymmetryFold
The fold of the requested symmetry (only applicable to C and D symmetry types).
std::string requestedSymmetryType
The symmetry type requested by the user. Allowed values are C, D, T, O and I.
void setSphereDistances(proshade_single sphDist)
Sets the requested distance between spheres in the appropriate variable.
void setVerbosity(proshade_signed verbosity)
Sets the requested verbosity in the appropriate variable.
void setMinimumPeakForAxis(proshade_double minSP)
Sets the minimum peak height for symmetry axis to be considered.
bool saveMask
Should the mask be saved?
proshade_single requestedResolution
The resolution to which the calculations are to be done.
proshade_double minSymPeak
Minimum average peak for symmetry axis to be considered as "real".
void setAxisComparisonThresholdBehaviour(bool behav)
Sets the automatic symmetry axis tolerance decreasing.
void setDetectedSymmetry(proshade_double *sym)
Sets the final detected symmetry axes information.
bool progressiveSphereMapping
If true, each shell will have its own angular resolution dependent on the actual number of map points...
proshade_single maxSphereDists
The distance between spheres in spherical mapping for the largest sphere.
proshade_double symMissPeakThres
Percentage of peaks that could be missing that would warrant starting the missing peaks search proced...
void setPDBBFactor(proshade_double newBF)
Sets the requested B-factor value for PDB files in the appropriate variable.
void addStructure(std::string structure)
Adds a structure file name to the appropriate variable.
void setMaskIQR(proshade_single noIQRs)
Sets the requested number of IQRs for masking threshold in the appropriate variable.
void setMissingPeakThreshold(proshade_double mpThres)
Sets the threshold for starting the missing peaks procedure.
proshade_signed getVerbose(void)
This function returns the verbose value.
proshade_single maskingThresholdIQRs
Number of inter-quartile ranges from the median to be used for thresholding the blurred map for maski...
bool useCorrelationMasking
Should the blurring masking (false) or the correlation masking (true) be used?
bool usePhase
If true, the full data will be used, if false, Patterson maps will be used instead and phased data wi...
void setMapCentering(bool com)
Sets the requested map centering decision value in the appropriate variable.
void setMaskBlurFactor(proshade_single blurFac)
Sets the requested map blurring factor in the appropriate variable.
void setPhaseUsage(bool phaseUsage)
Sets whether the phase information will be used.
std::string maskFileName
The filename to which mask should be saved.
proshade_signed verbose
Should the software report on the progress, or just be quiet? Value between -1 (nothing) and 4 (loud)
void setBandwidth(proshade_unsign band)
Sets the requested spherical harmonics bandwidth in the appropriate variable.
void setBoundsSpace(proshade_single boundsExSp)
Sets the requested number of angstroms for extra space in re-boxing in the appropriate variable.
bool changeMapResolutionTriLinear
Should maps be re-sampled to obtain the required resolution?
void setOutputFilename(std::string oFileName)
Sets the requested output file name in the appropriate variable.
bool useBiCubicInterpolationOnPeaks
This variable switch decides whether best symmetry is detected from peak indices, or whether bicubic ...
std::vector< std::string > getSymmetryAxis(proshade_unsign axisNo)
This function returns a single symmetry axis as a vector of strings from the recommended symmetry axe...
void setAxisComparisonThreshold(proshade_double axThres)
Sets the threshold for matching symmetry axes.
bool forceP1
Should the P1 spacegroup be forced on the input PDB files?
void setTypicalNoiseSize(proshade_single typNoi)
Sets the requested "fake" half-map kernel in the appropriate variable.
This class provides the access point to the library.
ProSHADE_Task task
This custom type variable determines which task to perfom (i.e. symmetry detection,...
void setMaskFilename(std::string mskFln)
Sets where the mask should be saved.
proshade_unsign getSymmetryFold(void)
This is the main accessor function for the user to get to know what symmetry fold ProSHADE has detect...
bool reBoxMap
This switch decides whether re-boxing is needed.
void setSymmetryRotFunPeaks(bool rotFunPeaks)
Sets the symmetry detection algorithm type.
bool normaliseMap
Should the map be normalised to mean 0 sd 1?
proshade_single addExtraSpace
If this value is non-zero, this many angstroms of empty space will be added to the internal map.
void setRequestedFold(proshade_unsign val)
Sets the user requested symmetry fold.
This class stores all the settings and is passed to the executive classes instead of a multitude of p...
std::string getSymmetryType(void)
This is the main accessor function for the user to get to know what symmetry type ProSHADE has detect...
void setMapReboxing(bool reBx)
Sets whether re-boxing needs to be done in the appropriate variable.
void setRecommendedSymmetry(std::string val)
Sets the ProSHADE detected symmetry type.
void setMaxSymmetryFold(proshade_unsign maxFold)
Sets the maximum symmetry fold (well, the maximum prime symmetry fold).
proshade_single correlationKernel
This value in Angstrom will be used as the kernel for the map-FHM correlation computation.
bool invertMap
Should the map be inverted? Only use this if you think you have the wrong hand in your map.
void setTaylorSeriesCap(proshade_unsign tayCap)
Sets the requested Taylor series cap for the Gauss-Legendre integration in the appropriate variable.
proshade_signed boundsSimilarityThreshold
Number of indices which can be added just to make sure same size in indices is achieved.
void setCorrelationMasking(bool corMask)
Sets the requested map masking type in the appropriate variable.
void setProgressiveSphereMapping(bool progSphMap)
Sets the requested sphere mapping value settings approach in the appropriate variable.
bool changeMapResolution
Should maps be re-sampled to obtain the required resolution?
void setIntegrationOrder(proshade_unsign intOrd)
Sets the requested order for the Gauss-Legendre integration in the appropriate variable.
void setRotationFunctionComputation(bool rotfVal)
Sets whether the rotation function distance descriptor should be computed.
proshade_double rotationUncertainty
Alternative to bandwidth - the angle in degrees to which the rotation function accuracy should be com...
void setOverlaySaveFile(std::string filename)
Sets the filename to which the overlay structure is to be save into.
std::string overlayStructureName
The filename to which the rotated and translated moving structure is to be saved.
bool moveToCOM
Logical value stating whether the structure should be moved to have its Centre Of Mass (COM) in the m...
proshade_unsign peakNeighbours
Number of points in any direction that have to be lower than the considered index in order to conside...
proshade_double smoothingFactor
This factor decides how small the group sizes should be - larger factor means more smaller groups.
proshade_single halfMapKernel
This value in Angstrom will be used as the kernel for the "fake half-map" computation.
void checkMemoryAllocation(chVar checkVar, std::string fileP, unsigned int lineP, std::string funcP, std::string infoP="This error may occurs when ProSHADE requests memory to be\n : allocated to it and this operation fails. This could\n : happen when not enough memory is available, either due to\n : other processes using a lot of memory, or when the machine\n : does not have sufficient memory available. Re-run to see\n : if this problem persists.")
Checks if memory was allocated properly.
void setGroupingSmoothingFactor(proshade_double smFact)
Sets the grouping smoothing factor into the proper variable.
void setRequestedSymmetry(std::string val)
Sets the user requested symmetry type.
void setExtraSpace(proshade_single exSpace)
Sets the requested map extra space value in the appropriate variable.
proshade_signed * forceBounds
These will be the boundaries to be forced upon the map.
proshade_unsign recommendedSymmetryFold
The fold of the recommended symmetry C or D type, 0 otherwise.
std::vector< std::string > inputFiles
This vector contains the filenames of all input structure files.
void setMapResolutionChangeTriLinear(bool mrChange)
Sets the requested map resolution change decision using tri-linear interpolation in the appropriate v...
void setMaskSaving(bool savMsk)
Sets whether the mask should be saved.
bool firstModelOnly
Shoud only the first PDB model be used, or should all models be used?
void setBoundsThreshold(proshade_signed boundsThres)
Sets the threshold for number of indices difference acceptable to make index sizes same in the approp...
proshade_double axisErrTolerance
Allowed error on vector axis in in dot product ( acos ( 1 - axErr ) is the allowed difference in radi...
bool useSameBounds
Switch to say that the same boundaries as used for the first should be used for all input maps.
void setMasking(bool mask)
Sets the requested map masking decision value in the appropriate variable.
proshade_double pdbBFactorNewVal
Change all PDB B-factors to this value (for smooth maps).
void setRecommendedFold(proshade_unsign val)
Sets the ProSHADE detected symmetry fold.
bool usePeakSearchInRotationFunctionSpace
This variable switch decides whether symmetry detection will be done using peak search in rotation fu...
bool removeWaters
Should all waters be removed from input PDB files?
void setResolution(proshade_single resolution)
Sets the requested resolution in the appropriate variable.
void printSettings(void)
This function prints the current values in the settings object.
proshade_unsign getNoStructures(void)
This function returns the number of structures used.
proshade_double enLevMatrixPowerWeight
If RRP matrices shell position is to be weighted by putting the position as an exponent,...
void setNormalisation(bool normalise)
Sets the requested map normalisation value in the appropriate variable.
void setEnergyLevelsComputation(bool enLevDesc)
Sets whether the energy level distance descriptor should be computed.
bool computeEnergyLevelsDesc
If true, the energy levels descriptor will be computed, otherwise all its computations will be omitte...