Xmipp
v3.23.11-Nereus
|
Go to the source code of this file.
Classes | |
class | Matrix1D< T > |
class | Matrix2D< T > |
class | MultidimArray< T > |
struct | pdbInfo |
class | Atom |
class | PDBPhantom |
class | RichAtom |
class | PDBRichPhantom |
class | AtomInterpolator |
Functions | |
int | atomCharge (const std::string &atom) |
double | atomRadius (const std::string &atom) |
double | atomCovalentRadius (const std::string &atom) |
void | computePDBgeometry (const std::string &fnPDB, Matrix1D< double > ¢erOfMass, Matrix1D< double > &limit0, Matrix1D< double > &limitF, const std::string &intensityColumn) |
void | applyGeometryToPDBFile (const std::string &fn_in, const std::string &fn_out, const Matrix2D< double > &A, bool centerPDB=true, const std::string &intensityColumn="occupancy") |
void | analyzePDBAtoms (const FileName &fn_pdb, const std::string &typeOfAtom, int &numberOfAtoms, pdbInfo &at_pos) |
void | atomDescriptors (const std::string &atom, Matrix1D< double > &descriptors) |
double | electronFormFactorFourier (double f, const Matrix1D< double > &descriptors) |
double | electronFormFactorRealSpace (double r, const Matrix1D< double > &descriptors) |
void | atomRadialProfile (int M, double T, const std::string &atom, Matrix1D< double > &profile) |
void | atomProjectionRadialProfile (int M, const Matrix1D< double > &profileCoefficients, Matrix1D< double > &projectionProfile) |
void | projectPDB (const PDBPhantom &phantomPDB, const AtomInterpolator &interpolator, Projection &proj, int Ydim, int Xdim, double rot, double tilt, double psi) |
void | distanceHistogramPDB (const PDBPhantom &phantomPDB, size_t Nnearest, double maxDistance, int Nbins, Histogram1D &hist) |
const char * | hy36encode (unsigned width, int value, char *result) |
const char * | hy36decode (unsigned width, const char *s, unsigned s_size, int *result) |
void | hy36encodeSafe (unsigned width, int value, char *result) |
void | hy36decodeSafe (unsigned width, const char *s, unsigned s_size, int *result) |
const char* hy36decode | ( | unsigned | width, |
const char * | s, | ||
unsigned | s_size, | ||
int * | result | ||
) |
hybrid-36 decoder: converts string s to integer result width: must be 4 (e.g. for residue sequence numbers) or 5 (e.g. for atom serial numbers) s: string to be converted does not have to be null-terminated s_size: size of s must be equal to width, or an error message is returned otherwise result: integer holding the conversion result return value: pointer to error message, if any, or 0 on success Example usage (from C++): int result; const char* errmsg = hy36decode(width, "A1T5", 4, &result); if (errmsg) throw std::runtime_error(errmsg);
Definition at line 1892 of file pdb.cpp.
void hy36decodeSafe | ( | unsigned | width, |
const char * | s, | ||
unsigned | s_size, | ||
int * | result | ||
) |
Definition at line 1968 of file pdb.cpp.
const char* hy36encode | ( | unsigned | width, |
int | value, | ||
char * | result | ||
) |
hybrid-36 encoder: converts integer value to string result width: must be 4 (e.g. for residue sequence numbers) or 5 (e.g. for atom serial numbers) value: integer value to be converted result: pointer to char array of size width+1 or greater on return result is null-terminated return value: pointer to error message, if any, or 0 on success Example usage (from C++): char result[4+1]; const char* errmsg = hy36encode(4, 12345, result); if (errmsg) throw std::runtime_error(errmsg);
Definition at line 1824 of file pdb.cpp.