A class storing a whole rotamer library read from a file.
More...
#include <IMP/rotamer/RotamerLibrary.h>
|
typedef
RotamerAngleTuples::const_iterator | RotamerIterator |
|
typedef boost::iterator_range
< RotamerIterator > | RotamerRange |
|
|
| Object (std::string name) |
| Construct an object with the given name. More...
|
|
Definition at line 69 of file RotamerLibrary.h.
IMP::rotamer::RotamerLibrary::RotamerLibrary |
( |
unsigned |
angle_step = 10 | ) |
|
- Parameters
-
[in] | angle_step | bucket size in degrees |
This function returns a vector with the queried contents (and is therefore slower than get_rotamers_fast). It is however more useful in Python code
- Parameters
-
[in] | residue | the residue to query about |
[in] | phi | first backbone angle |
[in] | psi | second backbone angle |
[in] | probability_thr | threshold on the sum of probabilities. |
RotamerRange IMP::rotamer::RotamerLibrary::get_rotamers_fast |
( |
IMP::atom::ResidueType |
residue, |
|
|
float |
phi, |
|
|
float |
psi, |
|
|
float |
probability_thr |
|
) |
| const |
This function returns a range of iterators to the queried contents. The range can be used in the following way:
RotamerLibrary::RotamerRange r = rl.get_rotamers_fast(...);
for ( RotamerLibrary::RotamerIterator p = r.begin(); p != r.end(); ++p )
{
const RotamerAngleTuple &ra = *p;
}
- Parameters
-
[in] | residue | the residue to query about |
[in] | phi | first backbone angle |
[in] | psi | second backbone angle |
[in] | probability_thr | threshold on the sum of probabilities. |
void IMP::rotamer::RotamerLibrary::read_library_file |
( |
const std::string & |
lib_file_name | ) |
|
- Parameters
-
[in] | lib_file_name | file name |
The documentation for this class was generated from the following file: