Stores parameter values to be used by calculation.
More...
Stores parameter values to be used by calculation.
Wraps the C struct freesasa_parameters.
Definition at line 59 of file freesasa.pyx.
def freesasa.Parameters.__init__ |
( |
|
self, |
|
|
|
param = None |
|
) |
| |
def freesasa.Parameters.setAlgorithm |
( |
|
self, |
|
|
|
alg |
|
) |
| |
Set algorithm.
- Parameters
-
- Exceptions
-
AssertionError | unknown algorithm specified |
Definition at line 88 of file freesasa.pyx.
def freesasa.Parameters.algorithm |
( |
|
self | ) |
|
Get algorithm.
- Returns
- Name of algorithm
Definition at line 99 of file freesasa.pyx.
def freesasa.Parameters.setProbeRadius |
( |
|
self, |
|
|
|
r |
|
) |
| |
Set probe radius.
- Parameters
-
r | probe radius in Å (>= 0) |
- Exceptions
-
Definition at line 109 of file freesasa.pyx.
def freesasa.Parameters.probeRadius |
( |
|
self | ) |
|
Get probe radius.
- Returns
- Probe radius in Å
Definition at line 115 of file freesasa.pyx.
def freesasa.Parameters.setNPoints |
( |
|
self, |
|
|
|
n |
|
) |
| |
Set number of test points in Shrake & Rupley algorithm.
- Parameters
-
n | (int) Number of points (> 0). |
- Exceptions
-
Definition at line 121 of file freesasa.pyx.
def freesasa.Parameters.nPoints |
( |
|
self | ) |
|
Get number of test points in Shrake & Rupley algorithm.
- Returns
- Number of points.
Definition at line 127 of file freesasa.pyx.
def freesasa.Parameters.setNSlices |
( |
|
self, |
|
|
|
n |
|
) |
| |
Set the number of slices per atom in Lee & Richards algorithm.
- Parameters
-
n | (int) Number of slices (> 0) |
- Exceptions
-
Definition at line 133 of file freesasa.pyx.
def freesasa.Parameters.nSlices |
( |
|
self | ) |
|
Get the number of slices per atom in Lee & Richards algorithm.
- Returns
- Number of slices.
Definition at line 139 of file freesasa.pyx.
def freesasa.Parameters.setNThreads |
( |
|
self, |
|
|
|
n |
|
) |
| |
Set the number of threads to use in calculations.
- Parameters
-
n | (int) Number of points (> 0) |
- Exceptions
-
Definition at line 146 of file freesasa.pyx.
def freesasa.Parameters.nThreads |
( |
|
self | ) |
|
Get the number of threads to use in calculations.
- Returns
- Number of threads.
Definition at line 153 of file freesasa.pyx.
The documentation for this class was generated from the following file: