Trees | Indices | Help |
|
---|
|
Class containing functions for the N-state model.
|
|||
|
|||
numpy array |
|
||
numpy rank-2 array |
|
||
list of str |
|
||
float |
|
||
|
|||
|
|||
|
|||
|
|||
tuple of len 2 of a numpy rank-2, size NxM matrix and numpy rank-1, size N array |
|
||
|
|||
numpy rank-3 array, numpy rank-1 array. |
|
||
tuple of (numpy rank-2 array, numpy rank-2 array, numpy rank-2 array, numpy rank-1 array, numpy rank-1 array) |
|
||
tuple of (numpy rank-2 array, numpy rank-2 array, numpy rank-2 array) |
|
||
tuple of (list, numpy rank-1 array, numpy rank-1 array, numpy rank-1 array) |
|
||
numpy rank-1 array. |
|
||
int |
|
||
|
|||
str |
|
||
int |
|
||
|
|||
|
|||
|
|||
(int, AlignTensorData instance) |
|
||
|
|||
list of str |
|
||
|
|||
list of floats |
|
||
list of str |
|
||
float |
|
||
|
|||
bool |
|
||
list of float |
|
||
|
|||
tuple of (int, int, float) |
|
||
str |
|
||
list of floats |
|
||
str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
list of float |
|
||
Inherited from Inherited from |
|
|||
default_value_doc =
|
|||
return_data_name_doc =
|
|||
set_doc =
|
|||
Inherited from |
|
Assemble all the parameters of the model into a single array.
|
Create and return the scaling matrix.
|
Determine all the base data types. The base data types can include: - 'rdc', residual dipolar couplings. - 'pcs', pseudo-contact shifts. - 'noesy', NOE restraints. - 'tensor', alignment tensors.
|
Calculate the average distances. The formula used is: _N_ / 1 \ \ 1/exp <r> = | - > |p1i - p2i|^exp | \ N /__ / i where i are the members of the ensemble, N is the total number of structural models, and p1 and p2 at the two atom positions.
|
Centre of mass analysis. This function does an analysis of the centre of mass (CoM) of the N states. This includes calculating the order parameter associated with the pivot-CoM vector, and the associated cone of motions. The pivot_point argument must be supplied. If centre is None, then the CoM will be calculated from the selected parts of the loaded structure. Otherwise it will be set to the centre arg.
|
Create a PDB file containing a geometric object representing the various cone models. Currently the only cone types supported are 'diff in cone' and 'diff on cone'.
|
Disassemble the parameter vector and place the values into the relevant variables. For the 2-domain N-state model, the parameters are stored in the probability and Euler angle data structures. For the population N-state model, only the probabilities are stored. If RDCs are present and alignment tensors are optimised, then these are stored as well.
|
Function for setting up the linear constraint matrices A and b. Standard notationThe N-state model constraints are: 0 <= pc <= 1, where p is the probability and c corresponds to state c. Matrix notationIn the notation A.x >= b, where A is an matrix of coefficients, x is an array of parameter values, and b is a vector of scalars, these inequality constraints are: | 1 0 0 | | 0 | | | | | |-1 0 0 | | -1 | | | | | | 0 1 0 | | 0 | | | | p0 | | | | 0 -1 0 | | | | -1 | | | . | p1 | >= | | | 0 0 1 | | | | 0 | | | | p2 | | | | 0 0 -1 | | -1 | | | | | |-1 -1 -1 | | -1 | | | | | | 1 1 1 | | 0 | This example is for a 4-state model, the last probability pn is not included as this parameter does not exist (because the sum of pc is equal to 1). The Euler angle parameters have been excluded here but will be included in the returned A and b objects. These parameters simply add columns of zero to the A matrix and have no effect on b. The last two rows correspond to the inequality: 0 <= pN <= 1. As: N-1 pN = 1 - > pc, /__ c=1 then: -p1 - p2 - ... - p(N-1) >= -1, p1 + p2 + ... + p(N-1) >= 0.
|
Extract and unpack the back calculated data.
|
Set up the atomic position data structures for optimisation using PCSs and PREs as base data sets.
|
Set up the data structures for optimisation using PCSs as base data sets.
|
Set up the data structures for optimisation using RDCs as base data sets.
|
Set up the data structures for optimisation using alignment tensors as base data sets.
|
Set up the data structures for the fixed alignment tensors.
|
Determine the number of data points used in the model.
|
Set the number of states in the N-state model.
|
Return the N-state model index for the given parameter.
|
Determine the number of parameters in the model.
|
Set the reference domain for the '2-domain' N-state model.
|
Select the N-state model type.
|
Initialise the target function for optimisation or direct calculation.
|
Generator method for looping over the full or reduced tensors.
|
Loop over the base data of the spins - RDCs, PCSs, and NOESY data. This loop iterates for each data point (RDC, PCS, NOESY) for each spin, returning the identification information.
|
Calculation function. Currently this function simply calculates the NOESY flat-bottom quadratic energy potential, if NOE restraints are available.
|
Create the Monte Carlo data by back-calculation.
|
Return a list of names of data structures. DescriptionThe names are as follows:
|
The default N-state model parameter values.
|
The grid search function.
|
Determine whether the given parameter is spin specific.
|
Create bounds for the OpenDX mapping function.
|
Minimisation function.
|
Return the k, n, and chi2 model statistics. k - number of parameters. n - number of data points. chi2 - the chi-squared value.
|
Return a unique identifying string for the N-state model parameter.
|
Create and return the spin specific Monte Carlo Ri error structure.
|
Return the Grace string representation of the parameter. This is used for axis labelling.
|
Return a string representing the parameters units.
|
Set the parameter errors.
|
Set the N-state model parameter values.
|
Initialise the Monte Carlo parameter values.
|
Pack the Monte Carlo simulation data.
|
Return the array of simulation parameter values.
|
|
default_value_doc
|
return_data_name_doc
|
set_doc
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 10 13:32:07 2013 | http://epydoc.sourceforge.net |