generate_vector_dist(mol=None,
        res_name=None,
        res_num=None,
        chain_id='',
        centre=array([ 0.,  0.,  0.]),
        R=array([[ 1.,  0.,  0...,
        warp=array([[ 1.,  0.,  0...,
        limit_check=None,
        scale=1.0,
        inc=20,
        distribution='uniform',
        debug=False)
  
   | source code 
     | 
    
  
  Generate a uniformly distributed distribution of atoms on a warped 
  sphere. 
  The vectors from the function vect_dist_spherical_angles() are used to
  generate the distribution.  These vectors are rotated to the desired 
  frame using the rotation matrix 'R', then each compressed or stretched by
  the dot product with the 'warp' matrix.  Each vector is centred and at 
  the head of the vector, a proton is placed. 
  
    - Parameters:
 
    
        mol (MolContainer instance) - The molecule container. 
        res_name (str) - The residue name. 
        res_num (int) - The residue number. 
        chain_id (str) - The chain identifier. 
        centre (numpy array, len 3) - The centre of the distribution. 
        R (3x3 numpy array) - The optional 3x3 rotation matrix. 
        warp (3x3 numpy array) - The optional 3x3 warping matrix. 
        limit_check (function) - A function with determines the limits of the distribution.  It 
          should accept two arguments, the polar angle phi and the 
          azimuthal angle theta, and return True if the point is in the 
          limits or False if outside. 
        scale (float) - The scaling factor to stretch all rotated and warped vectors by. 
        inc (int) - The number of increments or number of vectors. 
        distribution (str) - The type of point distribution to use.  This can be 'uniform' or 
          'regular'. 
      
   
 |