Classes and functions for dealing with *.cms files.
  Copyright Schrodinger, LLC. All rights reserved.
    |  |  | 
    |  | 
        
          | mark_fullsystem_ct(struc) Marks atoms in the "full_system" CT with the "s_ffio_ct_type" and "i_ffio_ct_index" properties, and returns the marked
full_system CT as a 'Structure' object.
 |  |  | 
    |  | 
        
          | get_box(ct) Given a CT, extract the following properties' values:
    "r_chorus_box_ax", "r_chorus_box_ay", "r_chorus_box_az",
    "r_chorus_box_bx", "r_chorus_box_by", "r_chorus_box_bz",
    "r_chorus_box_cx", "r_chorus_box_cy", "r_chorus_box_cz",
and returns them as a list of float values.
 |  |  | 
    |  | 
        
          | get_boxsize(box) Given a simulation box in the form of a 3x3 matrix, this function 
      returns the size of the box.
 |  |  | 
    |  | 
        
          | dotprod(v,
        u) Returns the dot product of two 3-D vectors.
 |  |  | 
    |  | 
        
          | crossprod(v,
        u) Returns the cross product of two 3-D vectors.
 |  |  | 
    |  | 
        
          | norm(v) Returns the norm of the 3-D vector 'v'.
 |  |  | 
    |  |  | 
    |  | 
        
          | _aslselect_atom(ct,
        asl,
        with_pbc=True) Given a CT ('Structure' object) and an ASL expression ('str' object), returns a list of atoms selected by the ASL.
 |  |  | 
    |  | 
        
          | aslselect_atom(struc,
        asl,
        should_mark_fullsystem=True) Similar as 'aslselect_atom', but the 'struc' must be a list of CTs 
      ('Structure' objects) in the same order as in a .cms file (i.e., the 
      first one must be a "full_system" CT, followed by component
      CTs).
 |  |  | 
    |  | 
        
          | has_ffio(ct) Returns 1 if 'ct' has an mmffio block, or 0 if it does not.
 |  |  | 
    |  | 
        
          | has_fepio(ct) Returns True if any of the 'ct' have a fepio_fep block, or False if 
      they do not.
 |  |  | 
    |  |  | 
    |  | 
        
          | decomp_rawfep_structure(struc) |  |  | 
    |  | 
        
          | _sort_posre_helper(r0,
        r1) |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | combine_vdw(v1,
        v2,
        comb_rule= 'geometric')Given two homogenous Vdw objects 'v1' and 'v2' and a combination rule 
      'comb_rule', this function returns a Vdw object as a combination of 'v1' and 'v2'.
 |  |  | 
    |  |  | 
    |  | 
        
          | _get_gluepoints_impl_old(model,
        cutoff) A grid-based implementation.
 |  |  | 
    |  |  | 
    |  | 
        
          | get_gluepoints(model,
        cutoff=3.0) |  |  | 
    |  | 
        
          | find_prev_residue(ct,
        residue) |  |  | 
    |  | 
        
          | find_next_residue(ct,
        residue) |  |  | 
    |  | 
        
          | gen_alpha_helix_restraint(model,
        helix_asl,
        fc,
        sigma,
        ref) Given a model ('Cms' object) and an optional 'helix_asl' expression, 
      returns a string specifying the restraint settings.
 |  |  | 
    |  |  | 
    |  | 
        
          | test_get_num_constraint() |  |  | 
    |  |  | 
    |  | 
        
          | test_gen_alpha_helix_restraint() |  |  | 
    |  | 
        
          | test_get_degrees_of_freedom() |  |  |