Functions to aid in pulling dimers or clusters of nearest neighbors 
  from a larger structure. Also functions for replacing atoms in 
  neighboring molecules with partial charges for Jaguar calculations.
  Copyright Schrodinger, LLC. All rights reserved.
    | schrodinger.infra.structure.PBC |  | 
    | schrodinger.infra.structure.DistanceCell, pbc |  | 
    | int or None | 
        
          | get_extracted_atom_index(atom_indexes,
        index) Get the index of the atom that has atom.index = index in a new 
      structure that would be created by extracting the atoms in 
      atom_indexes
 |  |  | 
    | dict | 
        
          | find_atoms_closest_to_atoms(struct,
        atoms,
        cell,
        only_greater=False) Find all the atoms that are within a certain distance of the provided
      atoms, returning information about those atoms.
 |  |  | 
    | dict | 
        
          | find_molecules_closest_to_atoms(struct,
        atoms,
        cell,
        only_greater=False) Find all the molecules that are within a certain distance of the 
      provided atoms, returning information about those molecules
 |  |  | 
    | list of Dimer | 
        
          | get_dimers_with_molecule(struct,
        molecule,
        cell,
        pbc=None,
        only_greater=False,
        struct_index=0) Get a Dimer object for every molecule within a given distance of the 
      provided molecule
 |  |  | 
    | list of Dimer | 
        
          | get_dimers_in_structure(struct,
        cell=None,
        pbc=None,
        distance=None,
        struct_index=0) Get a Dimer object for every dimer in struct
 |  |  | 
    |  | 
        
          | move_atoms_next_to_atom(pbc,
        struct1,
        home_atom,
        struct2,
        neighbor_atom,
        moving_indexes=None) Move a structure to be at the PBC image that is closest to home_atom.
 |  |  | 
    |  | 
        
          | contract_by_molecule(struct,
        pbc=None,
        anchors=None) Contract each molecule in a structure so that all the atoms within a 
      given molecule are at the same PBC image.
 |  |  | 
    |  | 
        
          | contract_structure(struct,
        pbc=None,
        cell=None,
        distance=10.0,
        contract_on_atoms=None,
        also_keep_stationary=False) Contract a structure so that the entire structure has chemically 
      sensible coordinates even if the PBC is removed - i.e.
 |  |  | 
    | list | 
        
          | create_dimer_structures(struct,
        atoms,
        pbc=None,
        nearest_neighbors=None,
        cell=None,
        distance=None) Create structures for each dimer that the atoms in the atoms list 
      form
 |  |  | 
    | schrodinger.structure.Structure |  | 
    | schrodinger.structure.Structure |  | 
    | list |  | 
    |  |  | 
    |  | 
        
          | set_neighbor_atoms_basis_set(struct,
        basis,
        jfile) Set all atoms marked as neighbors with the NEIGHBOR_ATOM_PROP 
      property to use the provided basis set.
 |  |  | 
    | dict | 
        
          | find_species(structs) Find all chemically distinct (as determined via unique SMILES 
      strings) species in the given structures
 |  |  | 
    | dict, list | 
        
          | compute_esp_charges(structs,
        basis,
        species=None,
        tpp=None,
        logger=None,
        quiet=False) Compute ESP charges for a representative example of each species 
      found in structs.
 |  |  | 
    |  | 
        
          | populate_with_charges(structs,
        species,
        prop= 'r_matsci_ESP_Charges')For every molecule in structs, add an atom property that contains the
      previously computed charges for the species it belongs to.
 |  |  | 
    | dict, list, str | 
        
          | compute_and_populate_charges(structs,
        basis,
        tpp=None,
        logger=None,
        quiet=False,
        species=None) Determine the unique chemical species of each molecule in structs, 
      compute the ESP charges with Jaguar for each species and then apply 
      those charges as atom properties to each atom in structs.
 |  |  | 
    |  | __doc__ = ... | 
    |  | NEIGHBOR_ATOM_PROP = 'b_matsci_cluster_neighbor' | 
    |  | APPROACH_PROP = 'r_matsci_closest_approach_(Angstrom)' | 
    |  | ESP_CHARGE_PROP = 'r_matsci_ESP_Charges' | 
    |  | DEFAULT_CHARGE_PROP = 'r_m_charge1' | 
    |  | BASIS_FLAG = '-basis' | 
    |  | USE_Q_FLAG = '-use_charges' | 
    |  | ESP_ARGPARSE_VALUE = 'esp' | 
    |  | NO_MOLS = 'no' | 
    |  | ONE_ONLY_MOL = 'one and only one' | 
    |  | AT_LEAST_ONE_MOL = 'at least one' | 
    |  | TWO_MOLS = 'two' | 
    |  | CRITERIA = ['no', 'one and only one', 'at least one', 'two'] | 
    |  | __package__ = 'schrodinger.application.matsci' |