IMP logo
IMP Reference Guide  develop.d97d4ead1f,2024/11/21
The Integrative Modeling Platform
atom/__init__.py
1 # This file was automatically generated by SWIG (https://www.swig.org).
2 # Version 4.3.0
3 #
4 # Do not make changes to this file unless you know what you are doing - modify
5 # the SWIG interface file instead.
6 
7 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2024 IMP Inventors. All rights reserved.
10 
11 
12 
13 
14 from sys import version_info as _swig_python_version_info
15 import _IMP_atom
16 
17 try:
18  import builtins as __builtin__
19 except ImportError:
20  import __builtin__
21 
22 def _swig_repr(self):
23  try:
24  strthis = "proxy of " + self.this.__repr__()
25  except __builtin__.Exception:
26  strthis = ""
27  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
28 
29 
30 def _swig_setattr_nondynamic_instance_variable(set):
31  def set_instance_attr(self, name, value):
32  if name == "this":
33  set(self, name, value)
34  elif name == "thisown":
35  self.this.own(value)
36  elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
37  set(self, name, value)
38  else:
39  raise AttributeError("You cannot add instance attributes to %s" % self)
40  return set_instance_attr
41 
42 
43 def _swig_setattr_nondynamic_class_variable(set):
44  def set_class_attr(cls, name, value):
45  if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
46  set(cls, name, value)
47  else:
48  raise AttributeError("You cannot add class attributes to %s" % cls)
49  return set_class_attr
50 
51 
52 def _swig_add_metaclass(metaclass):
53  """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
54  def wrapper(cls):
55  return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
56  return wrapper
57 
58 
59 class _SwigNonDynamicMeta(type):
60  """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61  __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
62 
63 
64 import weakref
65 
66 class IMP_ATOM_SwigPyIterator(object):
67  r"""Proxy of C++ swig::IMP_ATOM_SwigPyIterator class."""
68 
69  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
70 
71  def __init__(self, *args, **kwargs):
72  raise AttributeError("No constructor defined - class is abstract")
73  __repr__ = _swig_repr
74  __swig_destroy__ = _IMP_atom.delete_IMP_ATOM_SwigPyIterator
75 
76  def value(self):
77  r"""value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
78  return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
79 
80  def incr(self, n=1):
81  r"""incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator"""
82  return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
83 
84  def decr(self, n=1):
85  r"""decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator"""
86  return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
87 
88  def distance(self, x):
89  r"""distance(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t"""
90  return _IMP_atom.IMP_ATOM_SwigPyIterator_distance(self, x)
91 
92  def equal(self, x):
93  r"""equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
94  return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
95 
96  def copy(self):
97  r"""copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
98  return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
99 
100  def next(self):
101  r"""next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
102  return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
103 
104  def __next__(self):
105  r"""__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
106  return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
107 
108  def previous(self):
109  r"""previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
110  return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
111 
112  def advance(self, n):
113  r"""advance(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
114  return _IMP_atom.IMP_ATOM_SwigPyIterator_advance(self, n)
115 
116  def __eq__(self, x):
117  r"""__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
118  return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
119 
120  def __ne__(self, x):
121  r"""__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
122  return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
123 
124  def __iadd__(self, n):
125  r"""__iadd__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
126  return _IMP_atom.IMP_ATOM_SwigPyIterator___iadd__(self, n)
127 
128  def __isub__(self, n):
129  r"""__isub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
130  return _IMP_atom.IMP_ATOM_SwigPyIterator___isub__(self, n)
131 
132  def __add__(self, n):
133  r"""__add__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
134  return _IMP_atom.IMP_ATOM_SwigPyIterator___add__(self, n)
135 
136  def __sub__(self, *args):
137  r"""
138  __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
139  __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
140  """
141  return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
142  def __iter__(self):
143  return self
144 
145 # Register IMP_ATOM_SwigPyIterator in _IMP_atom:
146 _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
147 
148 _value_types=[]
149 _object_types=[]
150 _raii_types=[]
151 _plural_types=[]
152 
153 IMP_DEBUG = _IMP_atom.IMP_DEBUG
154 
155 IMP_RELEASE = _IMP_atom.IMP_RELEASE
156 
157 IMP_SILENT = _IMP_atom.IMP_SILENT
158 
159 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
160 
161 IMP_TERSE = _IMP_atom.IMP_TERSE
162 
163 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
164 
165 IMP_MEMORY = _IMP_atom.IMP_MEMORY
166 
167 IMP_NONE = _IMP_atom.IMP_NONE
168 
169 IMP_USAGE = _IMP_atom.IMP_USAGE
170 
171 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
172 
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
174 
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_atom.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
176 
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
178 
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_atom.IMP_COMPILER_HAS_RANDOM_SHUFFLE
180 
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_atom.IMP_COMPILER_HAS_THREE_WAY
182 
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
184 
185 IMP_KERNEL_HAS_NUMPY = _IMP_atom.IMP_KERNEL_HAS_NUMPY
186 
187 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
188 
189 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
190 
191 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
192 
193 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
194 
195 
196 import sys
197 class _DirectorObjects:
198  """@internal Simple class to keep references to director objects
199  to prevent premature deletion."""
200  def __init__(self):
201  self._objects = []
202  def register(self, obj):
203  """Take a reference to a director object; will only work for
204  refcounted C++ classes"""
205  if hasattr(obj, 'get_ref_count'):
206  self._objects.append(obj)
207  def cleanup(self):
208  """Only drop our reference and allow cleanup by Python if no other
209  Python references exist (we hold 3 references: one in self._objects,
210  one in x, and one in the argument list for getrefcount) *and* no
211  other C++ references exist (the Python object always holds one)"""
212  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
213  or x.get_ref_count() > 1]
214 # Do in two steps so the references are kept until the end of the
215 # function (deleting references may trigger a fresh call to this method)
216  self._objects = objs
217  def get_object_count(self):
218  """Get number of director objects (useful for testing only)"""
219  return len(self._objects)
220 _director_objects = _DirectorObjects()
221 
222 class _ostream(object):
223  r"""Proxy of C++ std::ostream class."""
224 
225  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
226 
227  def __init__(self, *args, **kwargs):
228  raise AttributeError("No constructor defined")
229  __repr__ = _swig_repr
230 
231  def write(self, osa_buf):
232  r"""write(_ostream self, char const * osa_buf)"""
233  return _IMP_atom._ostream_write(self, osa_buf)
234 
235 # Register _ostream in _IMP_atom:
236 _IMP_atom._ostream_swigregister(_ostream)
237 IMP_C_OPEN_BINARY = _IMP_atom.IMP_C_OPEN_BINARY
238 
239 import IMP
240 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM
241 
242 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
243 
244 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM
245 
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM
247 
248 IMP_CGAL_HAS_NUMPY = _IMP_atom.IMP_CGAL_HAS_NUMPY
249 
250 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
251 
252 import IMP.cgal
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
254 
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
256 
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
258 
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
260 
261 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
262 
263 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
264 
265 IMP_ALGEBRA_HAS_NUMPY = _IMP_atom.IMP_ALGEBRA_HAS_NUMPY
266 
267 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
268 
269 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
270 
271 import IMP.algebra
272 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
273 
274 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
275 
276 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
277 
278 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
279 
280 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
281 
282 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
283 
284 IMP_DISPLAY_HAS_NUMPY = _IMP_atom.IMP_DISPLAY_HAS_NUMPY
285 
286 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
287 
288 import IMP.display
289 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
290 
291 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
292 
293 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
294 
295 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
296 
297 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
298 
299 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
300 
301 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
302 
303 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY
304 
305 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
306 
307 import IMP.score_functor
308 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
309 
310 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
311 
312 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
313 
314 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
315 
316 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
317 
318 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
319 
320 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
321 
322 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
323 
324 IMP_CORE_HAS_NUMPY = _IMP_atom.IMP_CORE_HAS_NUMPY
325 
326 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
327 
328 import IMP.core
329 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
330 
331 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
332 
333 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
334 
335 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
336 
337 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
338 
339 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
340 
341 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
342 
343 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
344 
345 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
346 
347 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
348 
349 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
350 
351 IMP_CONTAINER_HAS_NUMPY = _IMP_atom.IMP_CONTAINER_HAS_NUMPY
352 
353 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM
354 
355 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_atom.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
356 
357 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP
358 
359 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
360 
361 import IMP.container
362 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
363 
364 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
365 
366 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
367 
368 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
369 
370 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
371 
372 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
373 
374 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
375 
376 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
377 
378 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
379 
380 IMP_ATOM_HAS_NUMPY = _IMP_atom.IMP_ATOM_HAS_NUMPY
381 
382 IMP_ATOM_HAS_PYTHON_IHM = _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM
383 
384 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
385 
386 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
387 
388 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
389 
390 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
391 
392 IMP_CHAIN_TYPE_INDEX = _IMP_atom.IMP_CHAIN_TYPE_INDEX
393 
395  r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex > class."""
396 
397  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
398  __repr__ = _swig_repr
399 
400  def __init__(self):
401  r"""__init__(HierarchyTree self) -> HierarchyTree"""
402  _IMP_atom.HierarchyTree_swiginit(self, _IMP_atom.new_HierarchyTree())
403 
404  def get_graph(self):
405  r"""get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
406  return _IMP_atom.HierarchyTree_get_graph(self)
407 
408  def get_vertices(self):
409  r"""get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
410  return _IMP_atom.HierarchyTree_get_vertices(self)
411 
412  def get_vertex_name(self, i):
413  r"""get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
414  return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
415 
416  def get_in_neighbors(self, v):
417  r"""get_in_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
418  return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
419 
420  def get_out_neighbors(self, v):
421  r"""get_out_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
422  return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
423 
424  def show_graphviz(self, *args):
425  r"""show_graphviz(HierarchyTree self, _ostream out=std::cout)"""
426  return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
427 
428  def get_graphviz_string(self):
429  r"""get_graphviz_string(HierarchyTree self) -> std::string"""
430  return _IMP_atom.HierarchyTree_get_graphviz_string(self)
431 
432  def add_edge(self, v0, v1):
433  r"""add_edge(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v1)"""
434  return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
435 
436  def add_vertex(self, l):
437  r"""add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
438  return _IMP_atom.HierarchyTree_add_vertex(self, l)
439 
440  def remove_vertex(self, l):
441  r"""remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
442  return _IMP_atom.HierarchyTree_remove_vertex(self, l)
443  __swig_destroy__ = _IMP_atom.delete_HierarchyTree
444 
445 # Register HierarchyTree in _IMP_atom:
446 _IMP_atom.HierarchyTree_swigregister(HierarchyTree)
447 
448 _value_types.append("HierarchyTree")
449 
450 
451 PDBRecords=list
452 _plural_types.append("PDBRecords")
453 _value_types.append("PDBRecord")
454 
455 
456 _object_types.append("PDBSelector")
457 
458 
459 def _object_cast_to_PDBSelector(o):
460  r"""_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
461  return _IMP_atom._object_cast_to_PDBSelector(o)
462 
463 def Angles(l=[]):
464  return [Angle(x) for x in l]
465 _plural_types.append("Angles")
466 
467 
468 _value_types.append("Angle")
469 
470 
471 def Atoms(l=[]):
472  return [Atom(x) for x in l]
473 _plural_types.append("Atoms")
474 
475 
476 _value_types.append("Atom")
477 
478 
479 def Bonds(l=[]):
480  return [Bond(x) for x in l]
481 _plural_types.append("Bonds")
482 
483 
484 _value_types.append("Bond")
485 
486 
487 def Bondeds(l=[]):
488  return [Bonded(x) for x in l]
489 _plural_types.append("Bondeds")
490 
491 
492 _value_types.append("Bonded")
493 
494 
495 def CHARMMAtomList(l=[]):
496  return [CHARMMAtom(x) for x in l]
497 _plural_types.append("CHARMMAtomList")
498 
499 
500 _value_types.append("CHARMMAtom")
501 
502 
503 def Chains(l=[]):
504  return [Chain(x) for x in l]
505 _plural_types.append("Chains")
506 
507 
508 _value_types.append("Chain")
509 
510 
511 def CenterOfMasses(l=[]):
512  return [CenterOfMass(x) for x in l]
513 _plural_types.append("CenterOfMasses")
514 
515 
516 _value_types.append("CenterOfMass")
517 
518 
519 def Chargeds(l=[]):
520  return [Charged(x) for x in l]
521 _plural_types.append("Chargeds")
522 
523 
524 _value_types.append("Charged")
525 
526 
527 def Diffusions(l=[]):
528  return [Diffusion(x) for x in l]
529 _plural_types.append("Diffusions")
530 
531 
532 _value_types.append("Diffusion")
533 
534 
535 def RigidBodyDiffusions(l=[]):
536  return [RigidBodyDiffusion(x) for x in l]
537 _plural_types.append("RigidBodyDiffusions")
538 
539 
540 _value_types.append("RigidBodyDiffusion")
541 
542 
543 def TAMDParticles(l=[]):
544  return [TAMDParticle(x) for x in l]
545 _plural_types.append("TAMDParticles")
546 
547 
548 _value_types.append("TAMDParticle")
549 
550 
551 def TAMDCentroids(l=[]):
552  return [TAMDCentroid(x) for x in l]
553 _plural_types.append("TAMDCentroids")
554 
555 
556 _value_types.append("TAMDCentroid")
557 
558 
559 def Dihedrals(l=[]):
560  return [Dihedral(x) for x in l]
561 _plural_types.append("Dihedrals")
562 
563 
564 _value_types.append("Dihedral")
565 
566 
567 def Domains(l=[]):
568  return [Domain(x) for x in l]
569 _plural_types.append("Domains")
570 
571 
572 _value_types.append("Domain")
573 
574 
575 def Fragments(l=[]):
576  return [Fragment(x) for x in l]
577 _plural_types.append("Fragments")
578 
579 
580 _value_types.append("Fragment")
581 
582 
583 def Hierarchies(l=[]):
584  return [Hierarchy(x) for x in l]
585 _plural_types.append("Hierarchies")
586 
587 
588 _value_types.append("Hierarchy")
589 
590 
591 def LennardJonesList(l=[]):
592  return [LennardJones(x) for x in l]
593 _plural_types.append("LennardJonesList")
594 
595 
596 _value_types.append("LennardJones")
597 
598 
599 def Masses(l=[]):
600  return [Mass(x) for x in l]
601 _plural_types.append("Masses")
602 
603 
604 _value_types.append("Mass")
605 
606 
607 def LinearVelocities(l=[]):
608  return [LinearVelocity(x) for x in l]
609 _plural_types.append("LinearVelocities")
610 
611 
612 _value_types.append("LinearVelocity")
613 
614 
615 def AngularVelocities(l=[]):
616  return [AngularVelocity(x) for x in l]
617 _plural_types.append("AngularVelocities")
618 
619 
620 _value_types.append("AngularVelocity")
621 
622 
623 def Molecules(l=[]):
624  return [Molecule(x) for x in l]
625 _plural_types.append("Molecules")
626 
627 
628 _value_types.append("Molecule")
629 
630 
631 def Residues(l=[]):
632  return [Residue(x) for x in l]
633 _plural_types.append("Residues")
634 
635 
636 _value_types.append("Residue")
637 
638 
639 def Representations(l=[]):
640  return [Representation(x) for x in l]
641 _plural_types.append("Representations")
642 
643 
644 _value_types.append("Representation")
645 
646 
647 def States(l=[]):
648  return [State(x) for x in l]
649 _plural_types.append("States")
650 
651 
652 _value_types.append("State")
653 
654 
655 def Copies(l=[]):
656  return [Copy(x) for x in l]
657 _plural_types.append("Copies")
658 
659 
660 _value_types.append("Copy")
661 
662 
663 def SecondaryStructureResidues(l=[]):
664  return [SecondaryStructureResidue(x) for x in l]
665 _plural_types.append("SecondaryStructureResidues")
666 
667 
668 _value_types.append("SecondaryStructureResidue")
669 
670 
671 def StructureSources(l=[]):
672  return [StructureSource(x) for x in l]
673 _plural_types.append("StructureSources")
674 
675 
676 _value_types.append("StructureSource")
677 
678 
679 _object_types.append("Simulator")
680 
681 
682 def _object_cast_to_Simulator(o):
683  r"""_object_cast_to_Simulator(Object o) -> Simulator"""
684  return _IMP_atom._object_cast_to_Simulator(o)
685 
686 _object_types.append("ATOMPDBSelector")
687 
688 
689 def _object_cast_to_ATOMPDBSelector(o):
690  r"""_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
691  return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
692 
693 _object_types.append("AllMol2Selector")
694 
695 
696 def _object_cast_to_AllMol2Selector(o):
697  r"""_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
698  return _IMP_atom._object_cast_to_AllMol2Selector(o)
699 
700 _object_types.append("AllPDBSelector")
701 
702 
703 def _object_cast_to_AllPDBSelector(o):
704  r"""_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
705  return _IMP_atom._object_cast_to_AllPDBSelector(o)
706 
707 _object_types.append("AndPDBSelector")
708 
709 
710 def _object_cast_to_AndPDBSelector(o):
711  r"""_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
712  return _IMP_atom._object_cast_to_AndPDBSelector(o)
713 
714 _object_types.append("XorPDBSelector")
715 
716 
717 def _object_cast_to_XorPDBSelector(o):
718  r"""_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
719  return _IMP_atom._object_cast_to_XorPDBSelector(o)
720 
721 _object_types.append("ResidueTypePDBSelector")
722 
723 
724 def _object_cast_to_ResidueTypePDBSelector(o):
725  r"""_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
726  return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
727 
728 _object_types.append("AtomTypePDBSelector")
729 
730 
731 def _object_cast_to_AtomTypePDBSelector(o):
732  r"""_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
733  return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
734 
735 _object_types.append("AngleSingletonScore")
736 
737 
738 def _object_cast_to_AngleSingletonScore(o):
739  r"""_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
740  return _IMP_atom._object_cast_to_AngleSingletonScore(o)
741 
742 _object_types.append("BondEndpointsRefiner")
743 
744 
745 def _object_cast_to_BondEndpointsRefiner(o):
746  r"""_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
747  return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
748 
749 _object_types.append("BondPairContainer")
750 
751 
752 def _object_cast_to_BondPairContainer(o):
753  r"""_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
754  return _IMP_atom._object_cast_to_BondPairContainer(o)
755 
756 _object_types.append("BondSingletonScore")
757 
758 
759 def _object_cast_to_BondSingletonScore(o):
760  r"""_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
761  return _IMP_atom._object_cast_to_BondSingletonScore(o)
762 
763 _object_types.append("BondedPairFilter")
764 
765 
766 def _object_cast_to_BondedPairFilter(o):
767  r"""_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
768  return _IMP_atom._object_cast_to_BondedPairFilter(o)
769 
770 _object_types.append("BrownianDynamics")
771 
772 
773 def _object_cast_to_BrownianDynamics(o):
774  r"""_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
775  return _IMP_atom._object_cast_to_BrownianDynamics(o)
776 
777 _object_types.append("BrownianDynamicsTAMD")
778 
779 
780 def _object_cast_to_BrownianDynamicsTAMD(o):
781  r"""_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
782  return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
783 
784 _object_types.append("CAlphaPDBSelector")
785 
786 
787 def _object_cast_to_CAlphaPDBSelector(o):
788  r"""_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
789  return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
790 
791 _object_types.append("CBetaPDBSelector")
792 
793 
794 def _object_cast_to_CBetaPDBSelector(o):
795  r"""_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
796  return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
797 
798 _object_types.append("BackbonePDBSelector")
799 
800 
801 def _object_cast_to_BackbonePDBSelector(o):
802  r"""_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
803  return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
804 
805 _object_types.append("CHARMMParameters")
806 
807 
808 def _object_cast_to_CHARMMParameters(o):
809  r"""_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
810  return _IMP_atom._object_cast_to_CHARMMParameters(o)
811 
812 _object_types.append("CHARMMResidueTopology")
813 
814 
815 def _object_cast_to_CHARMMResidueTopology(o):
816  r"""_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
817  return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
818 
819 _object_types.append("CHARMMSegmentTopology")
820 
821 
822 def _object_cast_to_CHARMMSegmentTopology(o):
823  r"""_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
824  return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
825 
826 _object_types.append("CHARMMStereochemistryRestraint")
827 
828 
829 def _object_cast_to_CHARMMStereochemistryRestraint(o):
830  r"""_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
831  return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
832 
833 _object_types.append("CHARMMTopology")
834 
835 
836 def _object_cast_to_CHARMMTopology(o):
837  r"""_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
838  return _IMP_atom._object_cast_to_CHARMMTopology(o)
839 
840 _object_types.append("CPDBSelector")
841 
842 
843 def _object_cast_to_CPDBSelector(o):
844  r"""_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
845  return _IMP_atom._object_cast_to_CPDBSelector(o)
846 
847 _object_types.append("ChainPDBSelector")
848 
849 
850 def _object_cast_to_ChainPDBSelector(o):
851  r"""_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
852  return _IMP_atom._object_cast_to_ChainPDBSelector(o)
853 
854 _object_types.append("CoulombPairScore")
855 
856 
857 def _object_cast_to_CoulombPairScore(o):
858  r"""_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
859  return _IMP_atom._object_cast_to_CoulombPairScore(o)
860 
861 _object_types.append("CoverBond")
862 
863 
864 def _object_cast_to_CoverBond(o):
865  r"""_object_cast_to_CoverBond(Object o) -> CoverBond"""
866  return _IMP_atom._object_cast_to_CoverBond(o)
867 
868 _object_types.append("DihedralSingletonScore")
869 
870 
871 def _object_cast_to_DihedralSingletonScore(o):
872  r"""_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
873  return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
874 
875 _object_types.append("DopePairScore")
876 
877 
878 def _object_cast_to_DopePairScore(o):
879  r"""_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
880  return _IMP_atom._object_cast_to_DopePairScore(o)
881 
882 _object_types.append("LoopStatisticalPairScore")
883 
884 
885 def _object_cast_to_LoopStatisticalPairScore(o):
886  r"""_object_cast_to_LoopStatisticalPairScore(Object o) -> LoopStatisticalPairScore"""
887  return _IMP_atom._object_cast_to_LoopStatisticalPairScore(o)
888 
889 _object_types.append("OrientedSoapPairScore")
890 
891 
892 def _object_cast_to_OrientedSoapPairScore(o):
893  r"""_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
894  return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
895 
896 _object_types.append("EzRestraint")
897 
898 
899 def _object_cast_to_EzRestraint(o):
900  r"""_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
901  return _IMP_atom._object_cast_to_EzRestraint(o)
902 
903 _object_types.append("ForceFieldParameters")
904 
905 
906 def _object_cast_to_ForceFieldParameters(o):
907  r"""_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
908  return _IMP_atom._object_cast_to_ForceFieldParameters(o)
909 
910 _object_types.append("ForceSwitch")
911 
912 
913 def _object_cast_to_ForceSwitch(o):
914  r"""_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
915  return _IMP_atom._object_cast_to_ForceSwitch(o)
916 
917 _object_types.append("HydrogenPDBSelector")
918 
919 
920 def _object_cast_to_HydrogenPDBSelector(o):
921  r"""_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
922  return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
923 
924 _object_types.append("ImproperSingletonScore")
925 
926 
927 def _object_cast_to_ImproperSingletonScore(o):
928  r"""_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
929  return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
930 
931 _object_types.append("LennardJonesPairScore")
932 
933 
934 def _object_cast_to_LennardJonesPairScore(o):
935  r"""_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
936  return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
937 
938 _object_types.append("Mol2Selector")
939 
940 
941 def _object_cast_to_Mol2Selector(o):
942  r"""_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
943  return _IMP_atom._object_cast_to_Mol2Selector(o)
944 
945 _object_types.append("MolecularDynamics")
946 
947 
948 def _object_cast_to_MolecularDynamics(o):
949  r"""_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
950  return _IMP_atom._object_cast_to_MolecularDynamics(o)
951 
952 _object_types.append("NPDBSelector")
953 
954 
955 def _object_cast_to_NPDBSelector(o):
956  r"""_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
957  return _IMP_atom._object_cast_to_NPDBSelector(o)
958 
959 _object_types.append("NonAlternativePDBSelector")
960 
961 
962 def _object_cast_to_NonAlternativePDBSelector(o):
963  r"""_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
964  return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
965 
966 _object_types.append("NonHydrogenMol2Selector")
967 
968 
969 def _object_cast_to_NonHydrogenMol2Selector(o):
970  r"""_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
971  return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
972 
973 _object_types.append("NonHydrogenPDBSelector")
974 
975 
976 def _object_cast_to_NonHydrogenPDBSelector(o):
977  r"""_object_cast_to_NonHydrogenPDBSelector(Object o) -> NonHydrogenPDBSelector"""
978  return _IMP_atom._object_cast_to_NonHydrogenPDBSelector(o)
979 
980 _object_types.append("NonWaterNonHydrogenPDBSelector")
981 
982 
983 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
984  r"""_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
985  return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
986 
987 _object_types.append("NonWaterPDBSelector")
988 
989 
990 def _object_cast_to_NonWaterPDBSelector(o):
991  r"""_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
992  return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
993 
994 _object_types.append("NotPDBSelector")
995 
996 
997 def _object_cast_to_NotPDBSelector(o):
998  r"""_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
999  return _IMP_atom._object_cast_to_NotPDBSelector(o)
1000 
1001 _object_types.append("OrPDBSelector")
1002 
1003 
1004 def _object_cast_to_OrPDBSelector(o):
1005  r"""_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1006  return _IMP_atom._object_cast_to_OrPDBSelector(o)
1007 
1008 _object_types.append("PPDBSelector")
1009 
1010 
1011 def _object_cast_to_PPDBSelector(o):
1012  r"""_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1013  return _IMP_atom._object_cast_to_PPDBSelector(o)
1014 
1015 _object_types.append("ProteinLigandAtomPairScore")
1016 
1017 
1018 def _object_cast_to_ProteinLigandAtomPairScore(o):
1019  r"""_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1020  return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1021 
1022 _object_types.append("ProteinLigandRestraint")
1023 
1024 
1025 def _object_cast_to_ProteinLigandRestraint(o):
1026  r"""_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1027  return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1028 
1029 _object_types.append("SameResiduePairFilter")
1030 
1031 
1032 def _object_cast_to_SameResiduePairFilter(o):
1033  r"""_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1034  return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1035 
1036 _object_types.append("SoapPairFilter")
1037 
1038 
1039 def _object_cast_to_SoapPairFilter(o):
1040  r"""_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1041  return _IMP_atom._object_cast_to_SoapPairFilter(o)
1042 
1043 _object_types.append("SmoothingFunction")
1044 
1045 
1046 def _object_cast_to_SmoothingFunction(o):
1047  r"""_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1048  return _IMP_atom._object_cast_to_SmoothingFunction(o)
1049 
1050 _object_types.append("StereochemistryPairFilter")
1051 
1052 
1053 def _object_cast_to_StereochemistryPairFilter(o):
1054  r"""_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1055  return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1056 
1057 _object_types.append("VelocityScalingOptimizerState")
1058 
1059 
1060 def _object_cast_to_VelocityScalingOptimizerState(o):
1061  r"""_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1062  return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1063 
1064 _object_types.append("WaterPDBSelector")
1065 
1066 
1067 def _object_cast_to_WaterPDBSelector(o):
1068  r"""_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1069  return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1070 
1071 _object_types.append("WritePDBOptimizerState")
1072 
1073 
1074 def _object_cast_to_WritePDBOptimizerState(o):
1075  r"""_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1076  return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1077 
1078 AtomTypes=list
1079 _plural_types.append("AtomTypes")
1080 _value_types.append("AtomType")
1081 
1082 
1083 CHARMMAtomTopologies=list
1084 _plural_types.append("CHARMMAtomTopologies")
1085 _value_types.append("CHARMMAtomTopology")
1086 
1087 
1088 CHARMMBondEndpoints=list
1089 _plural_types.append("CHARMMBondEndpoints")
1090 _value_types.append("CHARMMBondEndpoint")
1091 
1092 
1093 CHARMMBondParametersList=list
1094 _plural_types.append("CHARMMBondParametersList")
1095 _value_types.append("CHARMMBondParameters")
1096 
1097 
1098 CHARMMDihedralParametersList=list
1099 _plural_types.append("CHARMMDihedralParametersList")
1100 _value_types.append("CHARMMDihedralParameters")
1101 
1102 
1103 _object_types.append("CHARMMIdealResidueTopology")
1104 
1105 
1106 def _object_cast_to_CHARMMIdealResidueTopology(o):
1107  r"""_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1108  return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1109 
1110 CHARMMInternalCoordinates=list
1111 _plural_types.append("CHARMMInternalCoordinates")
1112 _value_types.append("CHARMMInternalCoordinate")
1113 
1114 
1115 _object_types.append("CHARMMPatch")
1116 
1117 
1118 def _object_cast_to_CHARMMPatch(o):
1119  r"""_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1120  return _IMP_atom._object_cast_to_CHARMMPatch(o)
1121 
1122 _object_types.append("CHARMMResidueTopologyBase")
1123 
1124 
1125 def _object_cast_to_CHARMMResidueTopologyBase(o):
1126  r"""_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1127  return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1128 
1129 ResidueTypes=list
1130 _plural_types.append("ResidueTypes")
1131 _value_types.append("ResidueType")
1132 
1133 
1134 ChainTypes=list
1135 _plural_types.append("ChainTypes")
1136 _value_types.append("ChainType")
1137 
1138 
1139 Selections=list
1140 _plural_types.append("Selections")
1141 _value_types.append("Selection")
1142 
1143 
1144 _object_types.append("RemoveRigidMotionOptimizerState")
1145 
1146 
1147 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1148  r"""_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1149  return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1150 
1151 _object_types.append("BerendsenThermostatOptimizerState")
1152 
1153 
1154 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1155  r"""_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1156  return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1157 
1158 _object_types.append("LangevinThermostatOptimizerState")
1159 
1160 
1161 def _object_cast_to_LangevinThermostatOptimizerState(o):
1162  r"""_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1163  return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1164 
1165 _object_types.append("SelectionGeometry")
1166 
1167 
1168 def _object_cast_to_SelectionGeometry(o):
1169  r"""_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1170  return _IMP_atom._object_cast_to_SelectionGeometry(o)
1171 
1172 _object_types.append("HierarchyGeometry")
1173 
1174 
1175 def _object_cast_to_HierarchyGeometry(o):
1176  r"""_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1177  return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1178 
1179 _object_types.append("HierarchiesGeometry")
1180 
1181 
1182 def _object_cast_to_HierarchiesGeometry(o):
1183  r"""_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1184  return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1185 
1186 _object_types.append("BondGeometry")
1187 
1188 
1189 def _object_cast_to_BondGeometry(o):
1190  r"""_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1191  return _IMP_atom._object_cast_to_BondGeometry(o)
1192 
1193 _object_types.append("BondsGeometry")
1194 
1195 
1196 def _object_cast_to_BondsGeometry(o):
1197  r"""_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1198  return _IMP_atom._object_cast_to_BondsGeometry(o)
1199 
1200 _object_types.append("CAAngleRestraint")
1201 
1202 
1203 def _object_cast_to_CAAngleRestraint(o):
1204  r"""_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1205  return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1206 
1207 _object_types.append("CADihedralRestraint")
1208 
1209 
1210 def _object_cast_to_CADihedralRestraint(o):
1211  r"""_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1212  return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1213 
1214 _object_types.append("HelixRestraint")
1215 
1216 
1217 def _object_cast_to_HelixRestraint(o):
1218  r"""_object_cast_to_HelixRestraint(Object o) -> HelixRestraint"""
1219  return _IMP_atom._object_cast_to_HelixRestraint(o)
1220 
1221 CHARMMDihedrals=list
1222 _plural_types.append("CHARMMDihedrals")
1223 _value_types.append("CHARMMDihedral")
1224 
1225 
1226 CHARMMBonds=list
1227 _plural_types.append("CHARMMBonds")
1228 _value_types.append("CHARMMBond")
1229 
1230 
1231 CHARMMAngles=list
1232 _plural_types.append("CHARMMAngles")
1233 _value_types.append("CHARMMAngle")
1234 
1235 class Bond(IMP.Decorator):
1236  r"""Proxy of C++ IMP::atom::Bond class."""
1237 
1238  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1239 
1240  def __init__(self, *args):
1241  r"""
1242  __init__(Bond self) -> Bond
1243  __init__(Bond self, Model m, ParticleIndex id) -> Bond
1244  __init__(Bond self, _ParticleAdaptor d) -> Bond
1245  """
1246  _IMP_atom.Bond_swiginit(self, _IMP_atom.new_Bond(*args))
1247 
1248  def show(self, *args):
1249  r"""show(Bond self, _ostream out=std::cout)"""
1250  return _IMP_atom.Bond_show(self, *args)
1251 
1252  @staticmethod
1253  def get_is_setup(*args):
1254  r"""
1255  get_is_setup(_ParticleAdaptor p) -> bool
1256  get_is_setup(Model m, ParticleIndex pi) -> bool
1257  """
1258  return _IMP_atom.Bond_get_is_setup(*args)
1259  UNKNOWN = _IMP_atom.Bond_UNKNOWN
1260 
1261  NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1262 
1263  SINGLE = _IMP_atom.Bond_SINGLE
1264 
1265  DOUBLE = _IMP_atom.Bond_DOUBLE
1266 
1267  TRIPLE = _IMP_atom.Bond_TRIPLE
1268 
1269  HYDROGEN = _IMP_atom.Bond_HYDROGEN
1270 
1271  SALT = _IMP_atom.Bond_SALT
1272 
1273  PEPTIDE = _IMP_atom.Bond_PEPTIDE
1274 
1275  AMIDE = _IMP_atom.Bond_AMIDE
1276 
1277  AROMATIC = _IMP_atom.Bond_AROMATIC
1278 
1279 
1280  def get_bonded(self, i):
1281  r"""get_bonded(Bond self, unsigned int i) -> Bonded"""
1282  return _IMP_atom.Bond_get_bonded(self, i)
1283 
1284  def get_type(self):
1285  r"""get_type(Bond self) -> IMP::Int"""
1286  return _IMP_atom.Bond_get_type(self)
1287 
1288  def set_type(self, t):
1289  r"""set_type(Bond self, IMP::Int t)"""
1290  return _IMP_atom.Bond_set_type(self, t)
1291 
1292  def get_order(self):
1293  r"""get_order(Bond self) -> IMP::Int"""
1294  return _IMP_atom.Bond_get_order(self)
1295 
1296  def set_order(self, t):
1297  r"""set_order(Bond self, IMP::Int t)"""
1298  return _IMP_atom.Bond_set_order(self, t)
1299 
1300  def get_length(self):
1301  r"""get_length(Bond self) -> IMP::Float"""
1302  return _IMP_atom.Bond_get_length(self)
1303 
1304  def set_length(self, t):
1305  r"""set_length(Bond self, IMP::Float t)"""
1306  return _IMP_atom.Bond_set_length(self, t)
1307 
1308  def get_stiffness(self):
1309  r"""get_stiffness(Bond self) -> IMP::Float"""
1310  return _IMP_atom.Bond_get_stiffness(self)
1311 
1312  def set_stiffness(self, t):
1313  r"""set_stiffness(Bond self, IMP::Float t)"""
1314  return _IMP_atom.Bond_set_stiffness(self, t)
1315 
1316  @staticmethod
1317  def get_length_key():
1318  r"""get_length_key() -> FloatKey"""
1319  return _IMP_atom.Bond_get_length_key()
1320 
1321  def add_attribute(self, *args):
1322  r"""
1323  add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1324  add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1325  add_attribute(Bond self, IntKey a0, IMP::Int a1)
1326  add_attribute(Bond self, FloatsKey a0, IMP::Floats a1)
1327  add_attribute(Bond self, IntsKey a0, IMP::Ints a1)
1328  add_attribute(Bond self, StringKey a0, IMP::String a1)
1329  add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1330  add_attribute(Bond self, ObjectKey a0, Object a1)
1331  add_attribute(Bond self, SparseFloatKey a0, IMP::Float a1)
1332  add_attribute(Bond self, SparseIntKey a0, IMP::Int a1)
1333  add_attribute(Bond self, SparseStringKey a0, IMP::String a1)
1334  add_attribute(Bond self, SparseParticleIndexKey a0, ParticleIndex a1)
1335  """
1336  return _IMP_atom.Bond_add_attribute(self, *args)
1337 
1338  def get_value(self, *args):
1339  r"""
1340  get_value(Bond self, FloatKey a0) -> IMP::Float
1341  get_value(Bond self, IntKey a0) -> IMP::Int
1342  get_value(Bond self, FloatsKey a0) -> IMP::Floats
1343  get_value(Bond self, IntsKey a0) -> IMP::Ints
1344  get_value(Bond self, StringKey a0) -> IMP::String
1345  get_value(Bond self, ParticleIndexKey a0) -> Particle
1346  get_value(Bond self, ObjectKey a0) -> Object
1347  get_value(Bond self, SparseFloatKey a0) -> IMP::Float
1348  get_value(Bond self, SparseIntKey a0) -> IMP::Int
1349  get_value(Bond self, SparseStringKey a0) -> IMP::String
1350  get_value(Bond self, SparseParticleIndexKey a0) -> ParticleIndex
1351  """
1352  return _IMP_atom.Bond_get_value(self, *args)
1353 
1354  def set_value(self, *args):
1355  r"""
1356  set_value(Bond self, FloatKey a0, IMP::Float a1)
1357  set_value(Bond self, IntKey a0, IMP::Int a1)
1358  set_value(Bond self, FloatsKey a0, IMP::Floats a1)
1359  set_value(Bond self, IntsKey a0, IMP::Ints a1)
1360  set_value(Bond self, StringKey a0, IMP::String a1)
1361  set_value(Bond self, ParticleIndexKey a0, Particle a1)
1362  set_value(Bond self, ObjectKey a0, Object a1)
1363  set_value(Bond self, SparseFloatKey a0, IMP::Float a1)
1364  set_value(Bond self, SparseIntKey a0, IMP::Int a1)
1365  set_value(Bond self, SparseStringKey a0, IMP::String a1)
1366  set_value(Bond self, SparseParticleIndexKey a0, ParticleIndex a1)
1367  """
1368  return _IMP_atom.Bond_set_value(self, *args)
1369 
1370  def remove_attribute(self, *args):
1371  r"""
1372  remove_attribute(Bond self, FloatKey a0)
1373  remove_attribute(Bond self, IntKey a0)
1374  remove_attribute(Bond self, FloatsKey a0)
1375  remove_attribute(Bond self, IntsKey a0)
1376  remove_attribute(Bond self, StringKey a0)
1377  remove_attribute(Bond self, ParticleIndexKey a0)
1378  remove_attribute(Bond self, ObjectKey a0)
1379  remove_attribute(Bond self, SparseFloatKey a0)
1380  remove_attribute(Bond self, SparseIntKey a0)
1381  remove_attribute(Bond self, SparseStringKey a0)
1382  remove_attribute(Bond self, SparseParticleIndexKey a0)
1383  """
1384  return _IMP_atom.Bond_remove_attribute(self, *args)
1385 
1386  def has_attribute(self, *args):
1387  r"""
1388  has_attribute(Bond self, FloatKey a0) -> bool
1389  has_attribute(Bond self, IntKey a0) -> bool
1390  has_attribute(Bond self, FloatsKey a0) -> bool
1391  has_attribute(Bond self, IntsKey a0) -> bool
1392  has_attribute(Bond self, StringKey a0) -> bool
1393  has_attribute(Bond self, ParticleIndexKey a0) -> bool
1394  has_attribute(Bond self, ObjectKey a0) -> bool
1395  has_attribute(Bond self, SparseFloatKey a0) -> bool
1396  has_attribute(Bond self, SparseIntKey a0) -> bool
1397  has_attribute(Bond self, SparseStringKey a0) -> bool
1398  has_attribute(Bond self, SparseParticleIndexKey a0) -> bool
1399  """
1400  return _IMP_atom.Bond_has_attribute(self, *args)
1401 
1402  def get_derivative(self, a0):
1403  r"""get_derivative(Bond self, FloatKey a0) -> double"""
1404  return _IMP_atom.Bond_get_derivative(self, a0)
1405 
1406  def get_name(self):
1407  r"""get_name(Bond self) -> std::string"""
1408  return _IMP_atom.Bond_get_name(self)
1409 
1410  def clear_caches(self):
1411  r"""clear_caches(Bond self)"""
1412  return _IMP_atom.Bond_clear_caches(self)
1413 
1414  def set_name(self, a0):
1415  r"""set_name(Bond self, std::string a0)"""
1416  return _IMP_atom.Bond_set_name(self, a0)
1417 
1418  def set_check_level(self, a0):
1419  r"""set_check_level(Bond self, IMP::CheckLevel a0)"""
1420  return _IMP_atom.Bond_set_check_level(self, a0)
1421 
1422  def add_to_derivative(self, a0, a1, a2):
1423  r"""add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1424  return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1425 
1426  def set_is_optimized(self, a0, a1):
1427  r"""set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1428  return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1429 
1430  def get_is_optimized(self, a0):
1431  r"""get_is_optimized(Bond self, FloatKey a0) -> bool"""
1432  return _IMP_atom.Bond_get_is_optimized(self, a0)
1433 
1434  def get_check_level(self):
1435  r"""get_check_level(Bond self) -> IMP::CheckLevel"""
1436  return _IMP_atom.Bond_get_check_level(self)
1437 
1438  def __eq__(self, *args):
1439  r"""
1440  __eq__(Bond self, Bond o) -> bool
1441  __eq__(Bond self, Particle d) -> bool
1442  """
1443  return _IMP_atom.Bond___eq__(self, *args)
1444 
1445  def __ne__(self, *args):
1446  r"""
1447  __ne__(Bond self, Bond o) -> bool
1448  __ne__(Bond self, Particle d) -> bool
1449  """
1450  return _IMP_atom.Bond___ne__(self, *args)
1451 
1452  def __le__(self, *args):
1453  r"""
1454  __le__(Bond self, Bond o) -> bool
1455  __le__(Bond self, Particle d) -> bool
1456  """
1457  return _IMP_atom.Bond___le__(self, *args)
1458 
1459  def __lt__(self, *args):
1460  r"""
1461  __lt__(Bond self, Bond o) -> bool
1462  __lt__(Bond self, Particle d) -> bool
1463  """
1464  return _IMP_atom.Bond___lt__(self, *args)
1465 
1466  def __ge__(self, *args):
1467  r"""
1468  __ge__(Bond self, Bond o) -> bool
1469  __ge__(Bond self, Particle d) -> bool
1470  """
1471  return _IMP_atom.Bond___ge__(self, *args)
1472 
1473  def __gt__(self, *args):
1474  r"""
1475  __gt__(Bond self, Bond o) -> bool
1476  __gt__(Bond self, Particle d) -> bool
1477  """
1478  return _IMP_atom.Bond___gt__(self, *args)
1479 
1480  def __hash__(self):
1481  r"""__hash__(Bond self) -> std::size_t"""
1482  return _IMP_atom.Bond___hash__(self)
1483 
1484  def __str__(self):
1485  r"""__str__(Bond self) -> std::string"""
1486  return _IMP_atom.Bond___str__(self)
1487 
1488  def __repr__(self):
1489  r"""__repr__(Bond self) -> std::string"""
1490  return _IMP_atom.Bond___repr__(self)
1491 
1492  def _get_as_binary(self):
1493  r"""_get_as_binary(Bond self) -> PyObject *"""
1494  return _IMP_atom.Bond__get_as_binary(self)
1495 
1496  def _set_from_binary(self, p):
1497  r"""_set_from_binary(Bond self, PyObject * p)"""
1498  return _IMP_atom.Bond__set_from_binary(self, p)
1499 
1500  def __getstate__(self):
1501  p = self._get_as_binary()
1502  if len(self.__dict__) > 1:
1503  d = self.__dict__.copy()
1504  del d['this']
1505  p = (d, p)
1506  return p
1507 
1508  def __setstate__(self, p):
1509  if not hasattr(self, 'this'):
1510  self.__init__()
1511  if isinstance(p, tuple):
1512  d, p = p
1513  self.__dict__.update(d)
1514  return self._set_from_binary(p)
1515 
1516  __swig_destroy__ = _IMP_atom.delete_Bond
1517 
1518 # Register Bond in _IMP_atom:
1519 _IMP_atom.Bond_swigregister(Bond)
1520 class Bonded(IMP.Decorator):
1521  r"""Proxy of C++ IMP::atom::Bonded class."""
1522 
1523  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1524 
1525  def __init__(self, *args):
1526  r"""
1527  __init__(Bonded self) -> Bonded
1528  __init__(Bonded self, Model m, ParticleIndex id) -> Bonded
1529  __init__(Bonded self, _ParticleAdaptor d) -> Bonded
1530  """
1531  _IMP_atom.Bonded_swiginit(self, _IMP_atom.new_Bonded(*args))
1532 
1533  def show(self, *args):
1534  r"""show(Bonded self, _ostream out=std::cout)"""
1535  return _IMP_atom.Bonded_show(self, *args)
1536 
1537  @staticmethod
1538  def setup_particle(*args):
1539  r"""
1540  setup_particle(Model m, ParticleIndex pi) -> Bonded
1541  setup_particle(_ParticleAdaptor pa) -> Bonded
1542  """
1543  return _IMP_atom.Bonded_setup_particle(*args)
1544 
1545  @staticmethod
1546  def get_is_setup(*args):
1547  r"""
1548  get_is_setup(_ParticleAdaptor p) -> bool
1549  get_is_setup(Model m, ParticleIndex pi) -> bool
1550  """
1551  return _IMP_atom.Bonded_get_is_setup(*args)
1552 
1553  def get_number_of_bonds(self):
1554  r"""get_number_of_bonds(Bonded self) -> unsigned int"""
1555  return _IMP_atom.Bonded_get_number_of_bonds(self)
1556 
1557  def get_bond_indexes(self):
1558  r"""get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1559  return _IMP_atom.Bonded_get_bond_indexes(self)
1560 
1561  def get_bond(self, i):
1562  r"""get_bond(Bonded self, unsigned int i) -> Bond"""
1563  return _IMP_atom.Bonded_get_bond(self, i)
1564 
1565  def get_bonded(self, i):
1566  r"""get_bonded(Bonded self, unsigned int i) -> Bonded"""
1567  return _IMP_atom.Bonded_get_bonded(self, i)
1568 
1569  def add_attribute(self, *args):
1570  r"""
1571  add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1572  add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1573  add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1574  add_attribute(Bonded self, FloatsKey a0, IMP::Floats a1)
1575  add_attribute(Bonded self, IntsKey a0, IMP::Ints a1)
1576  add_attribute(Bonded self, StringKey a0, IMP::String a1)
1577  add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1578  add_attribute(Bonded self, ObjectKey a0, Object a1)
1579  add_attribute(Bonded self, SparseFloatKey a0, IMP::Float a1)
1580  add_attribute(Bonded self, SparseIntKey a0, IMP::Int a1)
1581  add_attribute(Bonded self, SparseStringKey a0, IMP::String a1)
1582  add_attribute(Bonded self, SparseParticleIndexKey a0, ParticleIndex a1)
1583  """
1584  return _IMP_atom.Bonded_add_attribute(self, *args)
1585 
1586  def get_value(self, *args):
1587  r"""
1588  get_value(Bonded self, FloatKey a0) -> IMP::Float
1589  get_value(Bonded self, IntKey a0) -> IMP::Int
1590  get_value(Bonded self, FloatsKey a0) -> IMP::Floats
1591  get_value(Bonded self, IntsKey a0) -> IMP::Ints
1592  get_value(Bonded self, StringKey a0) -> IMP::String
1593  get_value(Bonded self, ParticleIndexKey a0) -> Particle
1594  get_value(Bonded self, ObjectKey a0) -> Object
1595  get_value(Bonded self, SparseFloatKey a0) -> IMP::Float
1596  get_value(Bonded self, SparseIntKey a0) -> IMP::Int
1597  get_value(Bonded self, SparseStringKey a0) -> IMP::String
1598  get_value(Bonded self, SparseParticleIndexKey a0) -> ParticleIndex
1599  """
1600  return _IMP_atom.Bonded_get_value(self, *args)
1601 
1602  def set_value(self, *args):
1603  r"""
1604  set_value(Bonded self, FloatKey a0, IMP::Float a1)
1605  set_value(Bonded self, IntKey a0, IMP::Int a1)
1606  set_value(Bonded self, FloatsKey a0, IMP::Floats a1)
1607  set_value(Bonded self, IntsKey a0, IMP::Ints a1)
1608  set_value(Bonded self, StringKey a0, IMP::String a1)
1609  set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1610  set_value(Bonded self, ObjectKey a0, Object a1)
1611  set_value(Bonded self, SparseFloatKey a0, IMP::Float a1)
1612  set_value(Bonded self, SparseIntKey a0, IMP::Int a1)
1613  set_value(Bonded self, SparseStringKey a0, IMP::String a1)
1614  set_value(Bonded self, SparseParticleIndexKey a0, ParticleIndex a1)
1615  """
1616  return _IMP_atom.Bonded_set_value(self, *args)
1617 
1618  def remove_attribute(self, *args):
1619  r"""
1620  remove_attribute(Bonded self, FloatKey a0)
1621  remove_attribute(Bonded self, IntKey a0)
1622  remove_attribute(Bonded self, FloatsKey a0)
1623  remove_attribute(Bonded self, IntsKey a0)
1624  remove_attribute(Bonded self, StringKey a0)
1625  remove_attribute(Bonded self, ParticleIndexKey a0)
1626  remove_attribute(Bonded self, ObjectKey a0)
1627  remove_attribute(Bonded self, SparseFloatKey a0)
1628  remove_attribute(Bonded self, SparseIntKey a0)
1629  remove_attribute(Bonded self, SparseStringKey a0)
1630  remove_attribute(Bonded self, SparseParticleIndexKey a0)
1631  """
1632  return _IMP_atom.Bonded_remove_attribute(self, *args)
1633 
1634  def has_attribute(self, *args):
1635  r"""
1636  has_attribute(Bonded self, FloatKey a0) -> bool
1637  has_attribute(Bonded self, IntKey a0) -> bool
1638  has_attribute(Bonded self, FloatsKey a0) -> bool
1639  has_attribute(Bonded self, IntsKey a0) -> bool
1640  has_attribute(Bonded self, StringKey a0) -> bool
1641  has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1642  has_attribute(Bonded self, ObjectKey a0) -> bool
1643  has_attribute(Bonded self, SparseFloatKey a0) -> bool
1644  has_attribute(Bonded self, SparseIntKey a0) -> bool
1645  has_attribute(Bonded self, SparseStringKey a0) -> bool
1646  has_attribute(Bonded self, SparseParticleIndexKey a0) -> bool
1647  """
1648  return _IMP_atom.Bonded_has_attribute(self, *args)
1649 
1650  def get_derivative(self, a0):
1651  r"""get_derivative(Bonded self, FloatKey a0) -> double"""
1652  return _IMP_atom.Bonded_get_derivative(self, a0)
1653 
1654  def get_name(self):
1655  r"""get_name(Bonded self) -> std::string"""
1656  return _IMP_atom.Bonded_get_name(self)
1657 
1658  def clear_caches(self):
1659  r"""clear_caches(Bonded self)"""
1660  return _IMP_atom.Bonded_clear_caches(self)
1661 
1662  def set_name(self, a0):
1663  r"""set_name(Bonded self, std::string a0)"""
1664  return _IMP_atom.Bonded_set_name(self, a0)
1665 
1666  def set_check_level(self, a0):
1667  r"""set_check_level(Bonded self, IMP::CheckLevel a0)"""
1668  return _IMP_atom.Bonded_set_check_level(self, a0)
1669 
1670  def add_to_derivative(self, a0, a1, a2):
1671  r"""add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1672  return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1673 
1674  def set_is_optimized(self, a0, a1):
1675  r"""set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1676  return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1677 
1678  def get_is_optimized(self, a0):
1679  r"""get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1680  return _IMP_atom.Bonded_get_is_optimized(self, a0)
1681 
1682  def get_check_level(self):
1683  r"""get_check_level(Bonded self) -> IMP::CheckLevel"""
1684  return _IMP_atom.Bonded_get_check_level(self)
1685 
1686  def __eq__(self, *args):
1687  r"""
1688  __eq__(Bonded self, Bonded o) -> bool
1689  __eq__(Bonded self, Particle d) -> bool
1690  """
1691  return _IMP_atom.Bonded___eq__(self, *args)
1692 
1693  def __ne__(self, *args):
1694  r"""
1695  __ne__(Bonded self, Bonded o) -> bool
1696  __ne__(Bonded self, Particle d) -> bool
1697  """
1698  return _IMP_atom.Bonded___ne__(self, *args)
1699 
1700  def __le__(self, *args):
1701  r"""
1702  __le__(Bonded self, Bonded o) -> bool
1703  __le__(Bonded self, Particle d) -> bool
1704  """
1705  return _IMP_atom.Bonded___le__(self, *args)
1706 
1707  def __lt__(self, *args):
1708  r"""
1709  __lt__(Bonded self, Bonded o) -> bool
1710  __lt__(Bonded self, Particle d) -> bool
1711  """
1712  return _IMP_atom.Bonded___lt__(self, *args)
1713 
1714  def __ge__(self, *args):
1715  r"""
1716  __ge__(Bonded self, Bonded o) -> bool
1717  __ge__(Bonded self, Particle d) -> bool
1718  """
1719  return _IMP_atom.Bonded___ge__(self, *args)
1720 
1721  def __gt__(self, *args):
1722  r"""
1723  __gt__(Bonded self, Bonded o) -> bool
1724  __gt__(Bonded self, Particle d) -> bool
1725  """
1726  return _IMP_atom.Bonded___gt__(self, *args)
1727 
1728  def __hash__(self):
1729  r"""__hash__(Bonded self) -> std::size_t"""
1730  return _IMP_atom.Bonded___hash__(self)
1731 
1732  def __str__(self):
1733  r"""__str__(Bonded self) -> std::string"""
1734  return _IMP_atom.Bonded___str__(self)
1735 
1736  def __repr__(self):
1737  r"""__repr__(Bonded self) -> std::string"""
1738  return _IMP_atom.Bonded___repr__(self)
1739 
1740  def _get_as_binary(self):
1741  r"""_get_as_binary(Bonded self) -> PyObject *"""
1742  return _IMP_atom.Bonded__get_as_binary(self)
1743 
1744  def _set_from_binary(self, p):
1745  r"""_set_from_binary(Bonded self, PyObject * p)"""
1746  return _IMP_atom.Bonded__set_from_binary(self, p)
1747 
1748  def __getstate__(self):
1749  p = self._get_as_binary()
1750  if len(self.__dict__) > 1:
1751  d = self.__dict__.copy()
1752  del d['this']
1753  p = (d, p)
1754  return p
1755 
1756  def __setstate__(self, p):
1757  if not hasattr(self, 'this'):
1758  self.__init__()
1759  if isinstance(p, tuple):
1760  d, p = p
1761  self.__dict__.update(d)
1762  return self._set_from_binary(p)
1763 
1764  __swig_destroy__ = _IMP_atom.delete_Bonded
1765 
1766 # Register Bonded in _IMP_atom:
1767 _IMP_atom.Bonded_swigregister(Bonded)
1768 
1769 def create_custom_bond(a, b, length, stiffness=-1):
1770  r"""create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond"""
1771  return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1772 
1773 def create_bond(*args):
1774  r"""
1775  create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1776  create_bond(Bonded a, Bonded b, Bond o) -> Bond
1777  """
1778  return _IMP_atom.create_bond(*args)
1779 
1780 def destroy_bond(b):
1781  r"""destroy_bond(Bond b)"""
1782  return _IMP_atom.destroy_bond(b)
1783 
1784 def get_bond(a, b):
1785  r"""get_bond(Bonded a, Bonded b) -> Bond"""
1786  return _IMP_atom.get_bond(a, b)
1787 class BondGeometry(IMP.display.SingletonGeometry):
1788  r"""Proxy of C++ IMP::atom::BondGeometry class."""
1789 
1790  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1791 
1792  def __init__(self, *args):
1793  r"""
1794  __init__(BondGeometry self, Particle p) -> BondGeometry
1795  __init__(BondGeometry self, Bond d) -> BondGeometry
1796  """
1797  _IMP_atom.BondGeometry_swiginit(self, _IMP_atom.new_BondGeometry(*args))
1798 
1799  def get_version_info(self):
1800  r"""get_version_info(BondGeometry self) -> VersionInfo"""
1801  return _IMP_atom.BondGeometry_get_version_info(self)
1802  __swig_destroy__ = _IMP_atom.delete_BondGeometry
1803 
1804  def __str__(self):
1805  r"""__str__(BondGeometry self) -> std::string"""
1806  return _IMP_atom.BondGeometry___str__(self)
1807 
1808  def __repr__(self):
1809  r"""__repr__(BondGeometry self) -> std::string"""
1810  return _IMP_atom.BondGeometry___repr__(self)
1811 
1812  @staticmethod
1813  def get_from(o):
1814  return _object_cast_to_BondGeometry(o)
1815 
1816 
1817 # Register BondGeometry in _IMP_atom:
1818 _IMP_atom.BondGeometry_swigregister(BondGeometry)
1819 class BondsGeometry(IMP.display.SingletonsGeometry):
1820  r"""Proxy of C++ IMP::atom::BondsGeometry class."""
1821 
1822  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1823 
1824  def __init__(self, sc):
1825  r"""__init__(BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
1826  _IMP_atom.BondsGeometry_swiginit(self, _IMP_atom.new_BondsGeometry(sc))
1827 
1828  def get_version_info(self):
1829  r"""get_version_info(BondsGeometry self) -> VersionInfo"""
1830  return _IMP_atom.BondsGeometry_get_version_info(self)
1831  __swig_destroy__ = _IMP_atom.delete_BondsGeometry
1832 
1833  def __str__(self):
1834  r"""__str__(BondsGeometry self) -> std::string"""
1835  return _IMP_atom.BondsGeometry___str__(self)
1836 
1837  def __repr__(self):
1838  r"""__repr__(BondsGeometry self) -> std::string"""
1839  return _IMP_atom.BondsGeometry___repr__(self)
1840 
1841  @staticmethod
1842  def get_from(o):
1843  return _object_cast_to_BondsGeometry(o)
1844 
1845 
1846 # Register BondsGeometry in _IMP_atom:
1847 _IMP_atom.BondsGeometry_swigregister(BondsGeometry)
1848 class Hierarchy(IMP.core.Hierarchy):
1849  r"""Proxy of C++ IMP::atom::Hierarchy class."""
1850 
1851  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1852 
1853  def __init__(self, *args):
1854  r"""
1855  __init__(Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
1856  __init__(Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
1857  __init__(Hierarchy self) -> Hierarchy
1858  __init__(Hierarchy self, Hierarchy h) -> Hierarchy
1859  """
1860  _IMP_atom.Hierarchy_swiginit(self, _IMP_atom.new_Hierarchy(*args))
1861 
1862  @staticmethod
1863  def setup_particle(*args):
1864  r"""
1865  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
1866  setup_particle(Particle p) -> Hierarchy
1867  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children=IMP::ParticleIndexesAdaptor()) -> Hierarchy
1868  """
1869  return _IMP_atom.Hierarchy_setup_particle(*args)
1870 
1871  @staticmethod
1872  def get_is_setup(*args):
1873  r"""
1874  get_is_setup(Particle p) -> bool
1875  get_is_setup(Model m, ParticleIndex p) -> bool
1876  """
1877  return _IMP_atom.Hierarchy_get_is_setup(*args)
1878 
1879  def get_is_valid(self, print_info=False):
1880  r"""get_is_valid(Hierarchy self, bool print_info=False) -> bool"""
1881  return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
1882 
1883  def add_child(self, o):
1884  r"""add_child(Hierarchy self, Hierarchy o)"""
1885  return _IMP_atom.Hierarchy_add_child(self, o)
1886 
1887  def get_child(self, i):
1888  r"""get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
1889  return _IMP_atom.Hierarchy_get_child(self, i)
1890 
1891  def get_children(self):
1892  r"""get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
1893  return _IMP_atom.Hierarchy_get_children(self)
1894 
1895  def get_parent(self):
1896  r"""get_parent(Hierarchy self) -> Hierarchy"""
1897  return _IMP_atom.Hierarchy_get_parent(self)
1898 
1899  @staticmethod
1900  def get_traits():
1901  r"""get_traits() -> HierarchyTraits"""
1902  return _IMP_atom.Hierarchy_get_traits()
1903 
1904  def show(self, *args):
1905  r"""
1906  show(Hierarchy self, _ostream out, std::string delimiter)
1907  show(Hierarchy self, _ostream out=std::cout)
1908  """
1909  return _IMP_atom.Hierarchy_show(self, *args)
1910 
1911  def add_attribute(self, *args):
1912  r"""
1913  add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
1914  add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
1915  add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
1916  add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
1917  add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
1918  add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
1919  add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
1920  add_attribute(Hierarchy self, ObjectKey a0, Object a1)
1921  add_attribute(Hierarchy self, SparseFloatKey a0, IMP::Float a1)
1922  add_attribute(Hierarchy self, SparseIntKey a0, IMP::Int a1)
1923  add_attribute(Hierarchy self, SparseStringKey a0, IMP::String a1)
1924  add_attribute(Hierarchy self, SparseParticleIndexKey a0, ParticleIndex a1)
1925  """
1926  return _IMP_atom.Hierarchy_add_attribute(self, *args)
1927 
1928  def get_value(self, *args):
1929  r"""
1930  get_value(Hierarchy self, FloatKey a0) -> IMP::Float
1931  get_value(Hierarchy self, IntKey a0) -> IMP::Int
1932  get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
1933  get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
1934  get_value(Hierarchy self, StringKey a0) -> IMP::String
1935  get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
1936  get_value(Hierarchy self, ObjectKey a0) -> Object
1937  get_value(Hierarchy self, SparseFloatKey a0) -> IMP::Float
1938  get_value(Hierarchy self, SparseIntKey a0) -> IMP::Int
1939  get_value(Hierarchy self, SparseStringKey a0) -> IMP::String
1940  get_value(Hierarchy self, SparseParticleIndexKey a0) -> ParticleIndex
1941  """
1942  return _IMP_atom.Hierarchy_get_value(self, *args)
1943 
1944  def set_value(self, *args):
1945  r"""
1946  set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
1947  set_value(Hierarchy self, IntKey a0, IMP::Int a1)
1948  set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
1949  set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
1950  set_value(Hierarchy self, StringKey a0, IMP::String a1)
1951  set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
1952  set_value(Hierarchy self, ObjectKey a0, Object a1)
1953  set_value(Hierarchy self, SparseFloatKey a0, IMP::Float a1)
1954  set_value(Hierarchy self, SparseIntKey a0, IMP::Int a1)
1955  set_value(Hierarchy self, SparseStringKey a0, IMP::String a1)
1956  set_value(Hierarchy self, SparseParticleIndexKey a0, ParticleIndex a1)
1957  """
1958  return _IMP_atom.Hierarchy_set_value(self, *args)
1959 
1960  def remove_attribute(self, *args):
1961  r"""
1962  remove_attribute(Hierarchy self, FloatKey a0)
1963  remove_attribute(Hierarchy self, IntKey a0)
1964  remove_attribute(Hierarchy self, FloatsKey a0)
1965  remove_attribute(Hierarchy self, IntsKey a0)
1966  remove_attribute(Hierarchy self, StringKey a0)
1967  remove_attribute(Hierarchy self, ParticleIndexKey a0)
1968  remove_attribute(Hierarchy self, ObjectKey a0)
1969  remove_attribute(Hierarchy self, SparseFloatKey a0)
1970  remove_attribute(Hierarchy self, SparseIntKey a0)
1971  remove_attribute(Hierarchy self, SparseStringKey a0)
1972  remove_attribute(Hierarchy self, SparseParticleIndexKey a0)
1973  """
1974  return _IMP_atom.Hierarchy_remove_attribute(self, *args)
1975 
1976  def has_attribute(self, *args):
1977  r"""
1978  has_attribute(Hierarchy self, FloatKey a0) -> bool
1979  has_attribute(Hierarchy self, IntKey a0) -> bool
1980  has_attribute(Hierarchy self, FloatsKey a0) -> bool
1981  has_attribute(Hierarchy self, IntsKey a0) -> bool
1982  has_attribute(Hierarchy self, StringKey a0) -> bool
1983  has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
1984  has_attribute(Hierarchy self, ObjectKey a0) -> bool
1985  has_attribute(Hierarchy self, SparseFloatKey a0) -> bool
1986  has_attribute(Hierarchy self, SparseIntKey a0) -> bool
1987  has_attribute(Hierarchy self, SparseStringKey a0) -> bool
1988  has_attribute(Hierarchy self, SparseParticleIndexKey a0) -> bool
1989  """
1990  return _IMP_atom.Hierarchy_has_attribute(self, *args)
1991 
1992  def get_derivative(self, a0):
1993  r"""get_derivative(Hierarchy self, FloatKey a0) -> double"""
1994  return _IMP_atom.Hierarchy_get_derivative(self, a0)
1995 
1996  def get_name(self):
1997  r"""get_name(Hierarchy self) -> std::string"""
1998  return _IMP_atom.Hierarchy_get_name(self)
1999 
2000  def clear_caches(self):
2001  r"""clear_caches(Hierarchy self)"""
2002  return _IMP_atom.Hierarchy_clear_caches(self)
2003 
2004  def set_name(self, a0):
2005  r"""set_name(Hierarchy self, std::string a0)"""
2006  return _IMP_atom.Hierarchy_set_name(self, a0)
2007 
2008  def set_check_level(self, a0):
2009  r"""set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2010  return _IMP_atom.Hierarchy_set_check_level(self, a0)
2011 
2012  def add_to_derivative(self, a0, a1, a2):
2013  r"""add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2014  return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
2015 
2016  def set_is_optimized(self, a0, a1):
2017  r"""set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2018  return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2019 
2020  def get_is_optimized(self, a0):
2021  r"""get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2022  return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2023 
2024  def get_check_level(self):
2025  r"""get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2026  return _IMP_atom.Hierarchy_get_check_level(self)
2027 
2028  def __eq__(self, *args):
2029  r"""
2030  __eq__(Hierarchy self, Hierarchy o) -> bool
2031  __eq__(Hierarchy self, Particle d) -> bool
2032  """
2033  return _IMP_atom.Hierarchy___eq__(self, *args)
2034 
2035  def __ne__(self, *args):
2036  r"""
2037  __ne__(Hierarchy self, Hierarchy o) -> bool
2038  __ne__(Hierarchy self, Particle d) -> bool
2039  """
2040  return _IMP_atom.Hierarchy___ne__(self, *args)
2041 
2042  def __le__(self, *args):
2043  r"""
2044  __le__(Hierarchy self, Hierarchy o) -> bool
2045  __le__(Hierarchy self, Particle d) -> bool
2046  """
2047  return _IMP_atom.Hierarchy___le__(self, *args)
2048 
2049  def __lt__(self, *args):
2050  r"""
2051  __lt__(Hierarchy self, Hierarchy o) -> bool
2052  __lt__(Hierarchy self, Particle d) -> bool
2053  """
2054  return _IMP_atom.Hierarchy___lt__(self, *args)
2055 
2056  def __ge__(self, *args):
2057  r"""
2058  __ge__(Hierarchy self, Hierarchy o) -> bool
2059  __ge__(Hierarchy self, Particle d) -> bool
2060  """
2061  return _IMP_atom.Hierarchy___ge__(self, *args)
2062 
2063  def __gt__(self, *args):
2064  r"""
2065  __gt__(Hierarchy self, Hierarchy o) -> bool
2066  __gt__(Hierarchy self, Particle d) -> bool
2067  """
2068  return _IMP_atom.Hierarchy___gt__(self, *args)
2069 
2070  def __hash__(self):
2071  r"""__hash__(Hierarchy self) -> std::size_t"""
2072  return _IMP_atom.Hierarchy___hash__(self)
2073 
2074  def __str__(self):
2075  r"""__str__(Hierarchy self) -> std::string"""
2076  return _IMP_atom.Hierarchy___str__(self)
2077 
2078  def __repr__(self):
2079  r"""__repr__(Hierarchy self) -> std::string"""
2080  return _IMP_atom.Hierarchy___repr__(self)
2081 
2082  def _get_as_binary(self):
2083  r"""_get_as_binary(Hierarchy self) -> PyObject *"""
2084  return _IMP_atom.Hierarchy__get_as_binary(self)
2085 
2086  def _set_from_binary(self, p):
2087  r"""_set_from_binary(Hierarchy self, PyObject * p)"""
2088  return _IMP_atom.Hierarchy__set_from_binary(self, p)
2089 
2090  def __getstate__(self):
2091  p = self._get_as_binary()
2092  if len(self.__dict__) > 1:
2093  d = self.__dict__.copy()
2094  del d['this']
2095  p = (d, p)
2096  return p
2097 
2098  def __setstate__(self, p):
2099  if not hasattr(self, 'this'):
2100  self.__init__()
2101  if isinstance(p, tuple):
2102  d, p = p
2103  self.__dict__.update(d)
2104  return self._set_from_binary(p)
2105 
2106  __swig_destroy__ = _IMP_atom.delete_Hierarchy
2107 
2108 # Register Hierarchy in _IMP_atom:
2109 _IMP_atom.Hierarchy_swigregister(Hierarchy)
2110 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2111 
2112 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2113 
2114 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2115 
2116 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2117 
2118 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2119 
2120 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2121 
2122 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2123 
2124 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2125 
2126 MASS_TYPE = _IMP_atom.MASS_TYPE
2127 
2128 STATE_TYPE = _IMP_atom.STATE_TYPE
2129 
2130 
2131 def get_by_type(mhd, t):
2132  r"""get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2133  return _IMP_atom.get_by_type(mhd, t)
2134 
2135 def create_fragment(ps):
2136  r"""create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2137  return _IMP_atom.create_fragment(ps)
2138 
2139 def get_internal_bonds(mhd):
2140  r"""get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2141  return _IMP_atom.get_internal_bonds(mhd)
2142 
2143 def get_root(h):
2144  r"""get_root(Hierarchy h) -> Hierarchy"""
2145  return _IMP_atom.get_root(h)
2146 
2147 def show(*args):
2148  r"""show(Hierarchy h, _ostream out=std::cout)"""
2149  return _IMP_atom.show(*args)
2150 
2151 def create_rigid_body(*args):
2152  r"""
2153  create_rigid_body(IMP::atom::Hierarchies const & h, std::string name=std::string("created rigid body")) -> RigidBody
2154  create_rigid_body(Hierarchy h) -> RigidBody
2155  """
2156  return _IMP_atom.create_rigid_body(*args)
2157 
2158 def create_compatible_rigid_body(h, reference):
2159  r"""create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2160  return _IMP_atom.create_compatible_rigid_body(h, reference)
2161 
2162 def get_is_heterogen(h):
2163  r"""get_is_heterogen(Hierarchy h) -> bool"""
2164  return _IMP_atom.get_is_heterogen(h)
2165 
2166 def create_clone(d):
2167  r"""create_clone(Hierarchy d) -> Hierarchy"""
2168  return _IMP_atom.create_clone(d)
2169 
2170 def create_clone_one(d):
2171  r"""create_clone_one(Hierarchy d) -> Hierarchy"""
2172  return _IMP_atom.create_clone_one(d)
2173 
2174 def destroy(d):
2175  r"""destroy(Hierarchy d)"""
2176  return _IMP_atom.destroy(d)
2177 
2178 def get_bounding_box(h):
2179  r"""get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2180  return _IMP_atom.get_bounding_box(h)
2181 
2182 def get_bounding_sphere(h):
2183  r"""get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2184  return _IMP_atom.get_bounding_sphere(h)
2185 class Angle(IMP.Decorator):
2186  r"""Proxy of C++ IMP::atom::Angle class."""
2187 
2188  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2189 
2190  def __init__(self, *args):
2191  r"""
2192  __init__(Angle self) -> Angle
2193  __init__(Angle self, Model m, ParticleIndex id) -> Angle
2194  __init__(Angle self, _ParticleAdaptor d) -> Angle
2195  """
2196  _IMP_atom.Angle_swiginit(self, _IMP_atom.new_Angle(*args))
2197 
2198  def show(self, *args):
2199  r"""show(Angle self, _ostream out=std::cout)"""
2200  return _IMP_atom.Angle_show(self, *args)
2201 
2202  @staticmethod
2203  def setup_particle(*args):
2204  r"""
2205  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2206  setup_particle(_ParticleAdaptor pa, XYZ a, XYZ b, XYZ c) -> Angle
2207  """
2208  return _IMP_atom.Angle_setup_particle(*args)
2209 
2210  @staticmethod
2211  def get_is_setup(*args):
2212  r"""
2213  get_is_setup(_ParticleAdaptor p) -> bool
2214  get_is_setup(Model m, ParticleIndex pi) -> bool
2215  """
2216  return _IMP_atom.Angle_get_is_setup(*args)
2217 
2218  def get_particle(self, *args):
2219  r"""
2220  get_particle(Angle self) -> Particle
2221  get_particle(Angle self, unsigned int i) -> Particle
2222  """
2223  return _IMP_atom.Angle_get_particle(self, *args)
2224 
2225  def get_ideal(self):
2226  r"""get_ideal(Angle self) -> IMP::Float"""
2227  return _IMP_atom.Angle_get_ideal(self)
2228 
2229  def set_ideal(self, t):
2230  r"""set_ideal(Angle self, IMP::Float t)"""
2231  return _IMP_atom.Angle_set_ideal(self, t)
2232 
2233  def get_stiffness(self):
2234  r"""get_stiffness(Angle self) -> IMP::Float"""
2235  return _IMP_atom.Angle_get_stiffness(self)
2236 
2237  def set_stiffness(self, t):
2238  r"""set_stiffness(Angle self, IMP::Float t)"""
2239  return _IMP_atom.Angle_set_stiffness(self, t)
2240 
2241  @staticmethod
2242  def get_particle_key(i):
2243  r"""get_particle_key(unsigned int i) -> ParticleIndexKey"""
2244  return _IMP_atom.Angle_get_particle_key(i)
2245 
2246  @staticmethod
2247  def get_ideal_key():
2248  r"""get_ideal_key() -> FloatKey"""
2249  return _IMP_atom.Angle_get_ideal_key()
2250 
2251  @staticmethod
2252  def get_stiffness_key():
2253  r"""get_stiffness_key() -> FloatKey"""
2254  return _IMP_atom.Angle_get_stiffness_key()
2255 
2256  def add_attribute(self, *args):
2257  r"""
2258  add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2259  add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2260  add_attribute(Angle self, IntKey a0, IMP::Int a1)
2261  add_attribute(Angle self, FloatsKey a0, IMP::Floats a1)
2262  add_attribute(Angle self, IntsKey a0, IMP::Ints a1)
2263  add_attribute(Angle self, StringKey a0, IMP::String a1)
2264  add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2265  add_attribute(Angle self, ObjectKey a0, Object a1)
2266  add_attribute(Angle self, SparseFloatKey a0, IMP::Float a1)
2267  add_attribute(Angle self, SparseIntKey a0, IMP::Int a1)
2268  add_attribute(Angle self, SparseStringKey a0, IMP::String a1)
2269  add_attribute(Angle self, SparseParticleIndexKey a0, ParticleIndex a1)
2270  """
2271  return _IMP_atom.Angle_add_attribute(self, *args)
2272 
2273  def get_value(self, *args):
2274  r"""
2275  get_value(Angle self, FloatKey a0) -> IMP::Float
2276  get_value(Angle self, IntKey a0) -> IMP::Int
2277  get_value(Angle self, FloatsKey a0) -> IMP::Floats
2278  get_value(Angle self, IntsKey a0) -> IMP::Ints
2279  get_value(Angle self, StringKey a0) -> IMP::String
2280  get_value(Angle self, ParticleIndexKey a0) -> Particle
2281  get_value(Angle self, ObjectKey a0) -> Object
2282  get_value(Angle self, SparseFloatKey a0) -> IMP::Float
2283  get_value(Angle self, SparseIntKey a0) -> IMP::Int
2284  get_value(Angle self, SparseStringKey a0) -> IMP::String
2285  get_value(Angle self, SparseParticleIndexKey a0) -> ParticleIndex
2286  """
2287  return _IMP_atom.Angle_get_value(self, *args)
2288 
2289  def set_value(self, *args):
2290  r"""
2291  set_value(Angle self, FloatKey a0, IMP::Float a1)
2292  set_value(Angle self, IntKey a0, IMP::Int a1)
2293  set_value(Angle self, FloatsKey a0, IMP::Floats a1)
2294  set_value(Angle self, IntsKey a0, IMP::Ints a1)
2295  set_value(Angle self, StringKey a0, IMP::String a1)
2296  set_value(Angle self, ParticleIndexKey a0, Particle a1)
2297  set_value(Angle self, ObjectKey a0, Object a1)
2298  set_value(Angle self, SparseFloatKey a0, IMP::Float a1)
2299  set_value(Angle self, SparseIntKey a0, IMP::Int a1)
2300  set_value(Angle self, SparseStringKey a0, IMP::String a1)
2301  set_value(Angle self, SparseParticleIndexKey a0, ParticleIndex a1)
2302  """
2303  return _IMP_atom.Angle_set_value(self, *args)
2304 
2305  def remove_attribute(self, *args):
2306  r"""
2307  remove_attribute(Angle self, FloatKey a0)
2308  remove_attribute(Angle self, IntKey a0)
2309  remove_attribute(Angle self, FloatsKey a0)
2310  remove_attribute(Angle self, IntsKey a0)
2311  remove_attribute(Angle self, StringKey a0)
2312  remove_attribute(Angle self, ParticleIndexKey a0)
2313  remove_attribute(Angle self, ObjectKey a0)
2314  remove_attribute(Angle self, SparseFloatKey a0)
2315  remove_attribute(Angle self, SparseIntKey a0)
2316  remove_attribute(Angle self, SparseStringKey a0)
2317  remove_attribute(Angle self, SparseParticleIndexKey a0)
2318  """
2319  return _IMP_atom.Angle_remove_attribute(self, *args)
2320 
2321  def has_attribute(self, *args):
2322  r"""
2323  has_attribute(Angle self, FloatKey a0) -> bool
2324  has_attribute(Angle self, IntKey a0) -> bool
2325  has_attribute(Angle self, FloatsKey a0) -> bool
2326  has_attribute(Angle self, IntsKey a0) -> bool
2327  has_attribute(Angle self, StringKey a0) -> bool
2328  has_attribute(Angle self, ParticleIndexKey a0) -> bool
2329  has_attribute(Angle self, ObjectKey a0) -> bool
2330  has_attribute(Angle self, SparseFloatKey a0) -> bool
2331  has_attribute(Angle self, SparseIntKey a0) -> bool
2332  has_attribute(Angle self, SparseStringKey a0) -> bool
2333  has_attribute(Angle self, SparseParticleIndexKey a0) -> bool
2334  """
2335  return _IMP_atom.Angle_has_attribute(self, *args)
2336 
2337  def get_derivative(self, a0):
2338  r"""get_derivative(Angle self, FloatKey a0) -> double"""
2339  return _IMP_atom.Angle_get_derivative(self, a0)
2340 
2341  def get_name(self):
2342  r"""get_name(Angle self) -> std::string"""
2343  return _IMP_atom.Angle_get_name(self)
2344 
2345  def clear_caches(self):
2346  r"""clear_caches(Angle self)"""
2347  return _IMP_atom.Angle_clear_caches(self)
2348 
2349  def set_name(self, a0):
2350  r"""set_name(Angle self, std::string a0)"""
2351  return _IMP_atom.Angle_set_name(self, a0)
2352 
2353  def set_check_level(self, a0):
2354  r"""set_check_level(Angle self, IMP::CheckLevel a0)"""
2355  return _IMP_atom.Angle_set_check_level(self, a0)
2356 
2357  def add_to_derivative(self, a0, a1, a2):
2358  r"""add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2359  return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2360 
2361  def set_is_optimized(self, a0, a1):
2362  r"""set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2363  return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2364 
2365  def get_is_optimized(self, a0):
2366  r"""get_is_optimized(Angle self, FloatKey a0) -> bool"""
2367  return _IMP_atom.Angle_get_is_optimized(self, a0)
2368 
2369  def get_check_level(self):
2370  r"""get_check_level(Angle self) -> IMP::CheckLevel"""
2371  return _IMP_atom.Angle_get_check_level(self)
2372 
2373  def __eq__(self, *args):
2374  r"""
2375  __eq__(Angle self, Angle o) -> bool
2376  __eq__(Angle self, Particle d) -> bool
2377  """
2378  return _IMP_atom.Angle___eq__(self, *args)
2379 
2380  def __ne__(self, *args):
2381  r"""
2382  __ne__(Angle self, Angle o) -> bool
2383  __ne__(Angle self, Particle d) -> bool
2384  """
2385  return _IMP_atom.Angle___ne__(self, *args)
2386 
2387  def __le__(self, *args):
2388  r"""
2389  __le__(Angle self, Angle o) -> bool
2390  __le__(Angle self, Particle d) -> bool
2391  """
2392  return _IMP_atom.Angle___le__(self, *args)
2393 
2394  def __lt__(self, *args):
2395  r"""
2396  __lt__(Angle self, Angle o) -> bool
2397  __lt__(Angle self, Particle d) -> bool
2398  """
2399  return _IMP_atom.Angle___lt__(self, *args)
2400 
2401  def __ge__(self, *args):
2402  r"""
2403  __ge__(Angle self, Angle o) -> bool
2404  __ge__(Angle self, Particle d) -> bool
2405  """
2406  return _IMP_atom.Angle___ge__(self, *args)
2407 
2408  def __gt__(self, *args):
2409  r"""
2410  __gt__(Angle self, Angle o) -> bool
2411  __gt__(Angle self, Particle d) -> bool
2412  """
2413  return _IMP_atom.Angle___gt__(self, *args)
2414 
2415  def __hash__(self):
2416  r"""__hash__(Angle self) -> std::size_t"""
2417  return _IMP_atom.Angle___hash__(self)
2418 
2419  def __str__(self):
2420  r"""__str__(Angle self) -> std::string"""
2421  return _IMP_atom.Angle___str__(self)
2422 
2423  def __repr__(self):
2424  r"""__repr__(Angle self) -> std::string"""
2425  return _IMP_atom.Angle___repr__(self)
2426 
2427  def _get_as_binary(self):
2428  r"""_get_as_binary(Angle self) -> PyObject *"""
2429  return _IMP_atom.Angle__get_as_binary(self)
2430 
2431  def _set_from_binary(self, p):
2432  r"""_set_from_binary(Angle self, PyObject * p)"""
2433  return _IMP_atom.Angle__set_from_binary(self, p)
2434 
2435  def __getstate__(self):
2436  p = self._get_as_binary()
2437  if len(self.__dict__) > 1:
2438  d = self.__dict__.copy()
2439  del d['this']
2440  p = (d, p)
2441  return p
2442 
2443  def __setstate__(self, p):
2444  if not hasattr(self, 'this'):
2445  self.__init__()
2446  if isinstance(p, tuple):
2447  d, p = p
2448  self.__dict__.update(d)
2449  return self._set_from_binary(p)
2450 
2451  __swig_destroy__ = _IMP_atom.delete_Angle
2452 
2453 # Register Angle in _IMP_atom:
2454 _IMP_atom.Angle_swigregister(Angle)
2455 class Dihedral(IMP.Decorator):
2456  r"""Proxy of C++ IMP::atom::Dihedral class."""
2457 
2458  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2459 
2460  def __init__(self, *args):
2461  r"""
2462  __init__(Dihedral self) -> Dihedral
2463  __init__(Dihedral self, Model m, ParticleIndex id) -> Dihedral
2464  __init__(Dihedral self, _ParticleAdaptor d) -> Dihedral
2465  """
2466  _IMP_atom.Dihedral_swiginit(self, _IMP_atom.new_Dihedral(*args))
2467 
2468  def show(self, *args):
2469  r"""show(Dihedral self, _ostream out=std::cout)"""
2470  return _IMP_atom.Dihedral_show(self, *args)
2471 
2472  @staticmethod
2473  def setup_particle(*args):
2474  r"""
2475  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2476  setup_particle(_ParticleAdaptor pa, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2477  """
2478  return _IMP_atom.Dihedral_setup_particle(*args)
2479 
2480  @staticmethod
2481  def get_is_setup(*args):
2482  r"""
2483  get_is_setup(_ParticleAdaptor p) -> bool
2484  get_is_setup(Model m, ParticleIndex pi) -> bool
2485  """
2486  return _IMP_atom.Dihedral_get_is_setup(*args)
2487 
2488  def get_particle(self, *args):
2489  r"""
2490  get_particle(Dihedral self) -> Particle
2491  get_particle(Dihedral self, unsigned int i) -> Particle
2492  """
2493  return _IMP_atom.Dihedral_get_particle(self, *args)
2494 
2495  def get_ideal(self):
2496  r"""get_ideal(Dihedral self) -> IMP::Float"""
2497  return _IMP_atom.Dihedral_get_ideal(self)
2498 
2499  def set_ideal(self, t):
2500  r"""set_ideal(Dihedral self, IMP::Float t)"""
2501  return _IMP_atom.Dihedral_set_ideal(self, t)
2502 
2503  def get_multiplicity(self):
2504  r"""get_multiplicity(Dihedral self) -> IMP::Int"""
2505  return _IMP_atom.Dihedral_get_multiplicity(self)
2506 
2507  def set_multiplicity(self, t):
2508  r"""set_multiplicity(Dihedral self, IMP::Int t)"""
2509  return _IMP_atom.Dihedral_set_multiplicity(self, t)
2510 
2511  def get_stiffness(self):
2512  r"""get_stiffness(Dihedral self) -> IMP::Float"""
2513  return _IMP_atom.Dihedral_get_stiffness(self)
2514 
2515  def set_stiffness(self, t):
2516  r"""set_stiffness(Dihedral self, IMP::Float t)"""
2517  return _IMP_atom.Dihedral_set_stiffness(self, t)
2518 
2519  @staticmethod
2520  def get_particle_key(i):
2521  r"""get_particle_key(unsigned int i) -> ParticleIndexKey"""
2522  return _IMP_atom.Dihedral_get_particle_key(i)
2523 
2524  @staticmethod
2525  def get_ideal_key():
2526  r"""get_ideal_key() -> FloatKey"""
2527  return _IMP_atom.Dihedral_get_ideal_key()
2528 
2529  @staticmethod
2530  def get_multiplicity_key():
2531  r"""get_multiplicity_key() -> IntKey"""
2532  return _IMP_atom.Dihedral_get_multiplicity_key()
2533 
2534  @staticmethod
2535  def get_stiffness_key():
2536  r"""get_stiffness_key() -> FloatKey"""
2537  return _IMP_atom.Dihedral_get_stiffness_key()
2538 
2539  def add_attribute(self, *args):
2540  r"""
2541  add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2542  add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2543  add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2544  add_attribute(Dihedral self, FloatsKey a0, IMP::Floats a1)
2545  add_attribute(Dihedral self, IntsKey a0, IMP::Ints a1)
2546  add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2547  add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2548  add_attribute(Dihedral self, ObjectKey a0, Object a1)
2549  add_attribute(Dihedral self, SparseFloatKey a0, IMP::Float a1)
2550  add_attribute(Dihedral self, SparseIntKey a0, IMP::Int a1)
2551  add_attribute(Dihedral self, SparseStringKey a0, IMP::String a1)
2552  add_attribute(Dihedral self, SparseParticleIndexKey a0, ParticleIndex a1)
2553  """
2554  return _IMP_atom.Dihedral_add_attribute(self, *args)
2555 
2556  def get_value(self, *args):
2557  r"""
2558  get_value(Dihedral self, FloatKey a0) -> IMP::Float
2559  get_value(Dihedral self, IntKey a0) -> IMP::Int
2560  get_value(Dihedral self, FloatsKey a0) -> IMP::Floats
2561  get_value(Dihedral self, IntsKey a0) -> IMP::Ints
2562  get_value(Dihedral self, StringKey a0) -> IMP::String
2563  get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2564  get_value(Dihedral self, ObjectKey a0) -> Object
2565  get_value(Dihedral self, SparseFloatKey a0) -> IMP::Float
2566  get_value(Dihedral self, SparseIntKey a0) -> IMP::Int
2567  get_value(Dihedral self, SparseStringKey a0) -> IMP::String
2568  get_value(Dihedral self, SparseParticleIndexKey a0) -> ParticleIndex
2569  """
2570  return _IMP_atom.Dihedral_get_value(self, *args)
2571 
2572  def set_value(self, *args):
2573  r"""
2574  set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2575  set_value(Dihedral self, IntKey a0, IMP::Int a1)
2576  set_value(Dihedral self, FloatsKey a0, IMP::Floats a1)
2577  set_value(Dihedral self, IntsKey a0, IMP::Ints a1)
2578  set_value(Dihedral self, StringKey a0, IMP::String a1)
2579  set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2580  set_value(Dihedral self, ObjectKey a0, Object a1)
2581  set_value(Dihedral self, SparseFloatKey a0, IMP::Float a1)
2582  set_value(Dihedral self, SparseIntKey a0, IMP::Int a1)
2583  set_value(Dihedral self, SparseStringKey a0, IMP::String a1)
2584  set_value(Dihedral self, SparseParticleIndexKey a0, ParticleIndex a1)
2585  """
2586  return _IMP_atom.Dihedral_set_value(self, *args)
2587 
2588  def remove_attribute(self, *args):
2589  r"""
2590  remove_attribute(Dihedral self, FloatKey a0)
2591  remove_attribute(Dihedral self, IntKey a0)
2592  remove_attribute(Dihedral self, FloatsKey a0)
2593  remove_attribute(Dihedral self, IntsKey a0)
2594  remove_attribute(Dihedral self, StringKey a0)
2595  remove_attribute(Dihedral self, ParticleIndexKey a0)
2596  remove_attribute(Dihedral self, ObjectKey a0)
2597  remove_attribute(Dihedral self, SparseFloatKey a0)
2598  remove_attribute(Dihedral self, SparseIntKey a0)
2599  remove_attribute(Dihedral self, SparseStringKey a0)
2600  remove_attribute(Dihedral self, SparseParticleIndexKey a0)
2601  """
2602  return _IMP_atom.Dihedral_remove_attribute(self, *args)
2603 
2604  def has_attribute(self, *args):
2605  r"""
2606  has_attribute(Dihedral self, FloatKey a0) -> bool
2607  has_attribute(Dihedral self, IntKey a0) -> bool
2608  has_attribute(Dihedral self, FloatsKey a0) -> bool
2609  has_attribute(Dihedral self, IntsKey a0) -> bool
2610  has_attribute(Dihedral self, StringKey a0) -> bool
2611  has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2612  has_attribute(Dihedral self, ObjectKey a0) -> bool
2613  has_attribute(Dihedral self, SparseFloatKey a0) -> bool
2614  has_attribute(Dihedral self, SparseIntKey a0) -> bool
2615  has_attribute(Dihedral self, SparseStringKey a0) -> bool
2616  has_attribute(Dihedral self, SparseParticleIndexKey a0) -> bool
2617  """
2618  return _IMP_atom.Dihedral_has_attribute(self, *args)
2619 
2620  def get_derivative(self, a0):
2621  r"""get_derivative(Dihedral self, FloatKey a0) -> double"""
2622  return _IMP_atom.Dihedral_get_derivative(self, a0)
2623 
2624  def get_name(self):
2625  r"""get_name(Dihedral self) -> std::string"""
2626  return _IMP_atom.Dihedral_get_name(self)
2627 
2628  def clear_caches(self):
2629  r"""clear_caches(Dihedral self)"""
2630  return _IMP_atom.Dihedral_clear_caches(self)
2631 
2632  def set_name(self, a0):
2633  r"""set_name(Dihedral self, std::string a0)"""
2634  return _IMP_atom.Dihedral_set_name(self, a0)
2635 
2636  def set_check_level(self, a0):
2637  r"""set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2638  return _IMP_atom.Dihedral_set_check_level(self, a0)
2639 
2640  def add_to_derivative(self, a0, a1, a2):
2641  r"""add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2642  return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2643 
2644  def set_is_optimized(self, a0, a1):
2645  r"""set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2646  return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2647 
2648  def get_is_optimized(self, a0):
2649  r"""get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2650  return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2651 
2652  def get_check_level(self):
2653  r"""get_check_level(Dihedral self) -> IMP::CheckLevel"""
2654  return _IMP_atom.Dihedral_get_check_level(self)
2655 
2656  def __eq__(self, *args):
2657  r"""
2658  __eq__(Dihedral self, Dihedral o) -> bool
2659  __eq__(Dihedral self, Particle d) -> bool
2660  """
2661  return _IMP_atom.Dihedral___eq__(self, *args)
2662 
2663  def __ne__(self, *args):
2664  r"""
2665  __ne__(Dihedral self, Dihedral o) -> bool
2666  __ne__(Dihedral self, Particle d) -> bool
2667  """
2668  return _IMP_atom.Dihedral___ne__(self, *args)
2669 
2670  def __le__(self, *args):
2671  r"""
2672  __le__(Dihedral self, Dihedral o) -> bool
2673  __le__(Dihedral self, Particle d) -> bool
2674  """
2675  return _IMP_atom.Dihedral___le__(self, *args)
2676 
2677  def __lt__(self, *args):
2678  r"""
2679  __lt__(Dihedral self, Dihedral o) -> bool
2680  __lt__(Dihedral self, Particle d) -> bool
2681  """
2682  return _IMP_atom.Dihedral___lt__(self, *args)
2683 
2684  def __ge__(self, *args):
2685  r"""
2686  __ge__(Dihedral self, Dihedral o) -> bool
2687  __ge__(Dihedral self, Particle d) -> bool
2688  """
2689  return _IMP_atom.Dihedral___ge__(self, *args)
2690 
2691  def __gt__(self, *args):
2692  r"""
2693  __gt__(Dihedral self, Dihedral o) -> bool
2694  __gt__(Dihedral self, Particle d) -> bool
2695  """
2696  return _IMP_atom.Dihedral___gt__(self, *args)
2697 
2698  def __hash__(self):
2699  r"""__hash__(Dihedral self) -> std::size_t"""
2700  return _IMP_atom.Dihedral___hash__(self)
2701 
2702  def __str__(self):
2703  r"""__str__(Dihedral self) -> std::string"""
2704  return _IMP_atom.Dihedral___str__(self)
2705 
2706  def __repr__(self):
2707  r"""__repr__(Dihedral self) -> std::string"""
2708  return _IMP_atom.Dihedral___repr__(self)
2709 
2710  def _get_as_binary(self):
2711  r"""_get_as_binary(Dihedral self) -> PyObject *"""
2712  return _IMP_atom.Dihedral__get_as_binary(self)
2713 
2714  def _set_from_binary(self, p):
2715  r"""_set_from_binary(Dihedral self, PyObject * p)"""
2716  return _IMP_atom.Dihedral__set_from_binary(self, p)
2717 
2718  def __getstate__(self):
2719  p = self._get_as_binary()
2720  if len(self.__dict__) > 1:
2721  d = self.__dict__.copy()
2722  del d['this']
2723  p = (d, p)
2724  return p
2725 
2726  def __setstate__(self, p):
2727  if not hasattr(self, 'this'):
2728  self.__init__()
2729  if isinstance(p, tuple):
2730  d, p = p
2731  self.__dict__.update(d)
2732  return self._set_from_binary(p)
2733 
2734  __swig_destroy__ = _IMP_atom.delete_Dihedral
2735 
2736 # Register Dihedral in _IMP_atom:
2737 _IMP_atom.Dihedral_swigregister(Dihedral)
2738 class SmoothingFunction(IMP.Object):
2739  r"""Proxy of C++ IMP::atom::SmoothingFunction class."""
2740 
2741  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2742 
2743  def __init__(self, *args, **kwargs):
2744  raise AttributeError("No constructor defined - class is abstract")
2745 
2746  def __call__(self, *args):
2747  r"""
2748  __call__(SmoothingFunction self, double score, double distance) -> double
2749  __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
2750  """
2751  return _IMP_atom.SmoothingFunction___call__(self, *args)
2752  __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
2753 
2754  def __str__(self):
2755  r"""__str__(SmoothingFunction self) -> std::string"""
2756  return _IMP_atom.SmoothingFunction___str__(self)
2757 
2758  def __repr__(self):
2759  r"""__repr__(SmoothingFunction self) -> std::string"""
2760  return _IMP_atom.SmoothingFunction___repr__(self)
2761 
2762  @staticmethod
2763  def get_from(o):
2764  return _object_cast_to_SmoothingFunction(o)
2765 
2766 
2767 # Register SmoothingFunction in _IMP_atom:
2768 _IMP_atom.SmoothingFunction_swigregister(SmoothingFunction)
2769 class ForceSwitch(SmoothingFunction):
2770  r"""Proxy of C++ IMP::atom::ForceSwitch class."""
2771 
2772  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2773 
2774  def __init__(self, min_distance, max_distance):
2775  r"""__init__(ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
2776  _IMP_atom.ForceSwitch_swiginit(self, _IMP_atom.new_ForceSwitch(min_distance, max_distance))
2777 
2778  def __call__(self, *args):
2779  r"""
2780  __call__(ForceSwitch self, double score, double distance) -> double
2781  __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
2782  """
2783  return _IMP_atom.ForceSwitch___call__(self, *args)
2784 
2785  def get_version_info(self):
2786  r"""get_version_info(ForceSwitch self) -> VersionInfo"""
2787  return _IMP_atom.ForceSwitch_get_version_info(self)
2788  __swig_destroy__ = _IMP_atom.delete_ForceSwitch
2789 
2790  def __str__(self):
2791  r"""__str__(ForceSwitch self) -> std::string"""
2792  return _IMP_atom.ForceSwitch___str__(self)
2793 
2794  def __repr__(self):
2795  r"""__repr__(ForceSwitch self) -> std::string"""
2796  return _IMP_atom.ForceSwitch___repr__(self)
2797 
2798  @staticmethod
2799  def get_from(o):
2800  return _object_cast_to_ForceSwitch(o)
2801 
2802 
2803 # Register ForceSwitch in _IMP_atom:
2804 _IMP_atom.ForceSwitch_swigregister(ForceSwitch)
2805 class AngleSingletonScore(IMP.SingletonScore):
2806  r"""Proxy of C++ IMP::atom::AngleSingletonScore class."""
2807 
2808  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2809 
2810  def __init__(self, f):
2811  r"""__init__(AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
2812  _IMP_atom.AngleSingletonScore_swiginit(self, _IMP_atom.new_AngleSingletonScore(f))
2813 
2814  def do_get_inputs(self, m, pis):
2815  r"""do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2816  return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
2817 
2818  def get_version_info(self):
2819  r"""get_version_info(AngleSingletonScore self) -> VersionInfo"""
2820  return _IMP_atom.AngleSingletonScore_get_version_info(self)
2821  __swig_destroy__ = _IMP_atom.delete_AngleSingletonScore
2822 
2823  def __str__(self):
2824  r"""__str__(AngleSingletonScore self) -> std::string"""
2825  return _IMP_atom.AngleSingletonScore___str__(self)
2826 
2827  def __repr__(self):
2828  r"""__repr__(AngleSingletonScore self) -> std::string"""
2829  return _IMP_atom.AngleSingletonScore___repr__(self)
2830 
2831  @staticmethod
2832  def get_from(o):
2833  return _object_cast_to_AngleSingletonScore(o)
2834 
2835 
2836 # Register AngleSingletonScore in _IMP_atom:
2837 _IMP_atom.AngleSingletonScore_swigregister(AngleSingletonScore)
2838 class BondEndpointsRefiner(IMP.Refiner):
2839  r"""Proxy of C++ IMP::atom::BondEndpointsRefiner class."""
2840 
2841  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2842 
2843  def __init__(self):
2844  r"""__init__(BondEndpointsRefiner self) -> BondEndpointsRefiner"""
2845  _IMP_atom.BondEndpointsRefiner_swiginit(self, _IMP_atom.new_BondEndpointsRefiner())
2846 
2847  def do_get_inputs(self, m, pis):
2848  r"""do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2849  return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
2850 
2851  def get_version_info(self):
2852  r"""get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
2853  return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
2854  __swig_destroy__ = _IMP_atom.delete_BondEndpointsRefiner
2855 
2856  def __str__(self):
2857  r"""__str__(BondEndpointsRefiner self) -> std::string"""
2858  return _IMP_atom.BondEndpointsRefiner___str__(self)
2859 
2860  def __repr__(self):
2861  r"""__repr__(BondEndpointsRefiner self) -> std::string"""
2862  return _IMP_atom.BondEndpointsRefiner___repr__(self)
2863 
2864  @staticmethod
2865  def get_from(o):
2866  return _object_cast_to_BondEndpointsRefiner(o)
2867 
2868 
2869 # Register BondEndpointsRefiner in _IMP_atom:
2870 _IMP_atom.BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
2871 class BondPairContainer(IMP.PairContainer):
2872  r"""Proxy of C++ IMP::atom::BondPairContainer class."""
2873 
2874  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2875 
2876  def __init__(self, sc):
2877  r"""__init__(BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
2878  _IMP_atom.BondPairContainer_swiginit(self, _IMP_atom.new_BondPairContainer(sc))
2879 
2880  def do_get_inputs(self):
2881  r"""do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
2882  return _IMP_atom.BondPairContainer_do_get_inputs(self)
2883 
2884  def do_apply(self, sm):
2885  r"""do_apply(BondPairContainer self, PairModifier sm)"""
2886  return _IMP_atom.BondPairContainer_do_apply(self, sm)
2887 
2888  def do_apply_moved(self, sm, moved_pis, reset_pis):
2889  r"""do_apply_moved(BondPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2890  return _IMP_atom.BondPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
2891 
2892  def get_version_info(self):
2893  r"""get_version_info(BondPairContainer self) -> VersionInfo"""
2894  return _IMP_atom.BondPairContainer_get_version_info(self)
2895  __swig_destroy__ = _IMP_atom.delete_BondPairContainer
2896 
2897  def __str__(self):
2898  r"""__str__(BondPairContainer self) -> std::string"""
2899  return _IMP_atom.BondPairContainer___str__(self)
2900 
2901  def __repr__(self):
2902  r"""__repr__(BondPairContainer self) -> std::string"""
2903  return _IMP_atom.BondPairContainer___repr__(self)
2904 
2905  @staticmethod
2906  def get_from(o):
2907  return _object_cast_to_BondPairContainer(o)
2908 
2909 
2910 # Register BondPairContainer in _IMP_atom:
2911 _IMP_atom.BondPairContainer_swigregister(BondPairContainer)
2912 class BondSingletonScore(IMP.SingletonScore):
2913  r"""Proxy of C++ IMP::atom::BondSingletonScore class."""
2914 
2915  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2916 
2917  def __init__(self, f):
2918  r"""__init__(BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
2919  _IMP_atom.BondSingletonScore_swiginit(self, _IMP_atom.new_BondSingletonScore(f))
2920 
2921  def get_unary_function(self):
2922  r"""get_unary_function(BondSingletonScore self) -> UnaryFunction"""
2923  return _IMP_atom.BondSingletonScore_get_unary_function(self)
2924 
2925  def do_get_inputs(self, m, pis):
2926  r"""do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2927  return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
2928 
2929  def get_version_info(self):
2930  r"""get_version_info(BondSingletonScore self) -> VersionInfo"""
2931  return _IMP_atom.BondSingletonScore_get_version_info(self)
2932  __swig_destroy__ = _IMP_atom.delete_BondSingletonScore
2933 
2934  def __str__(self):
2935  r"""__str__(BondSingletonScore self) -> std::string"""
2936  return _IMP_atom.BondSingletonScore___str__(self)
2937 
2938  def __repr__(self):
2939  r"""__repr__(BondSingletonScore self) -> std::string"""
2940  return _IMP_atom.BondSingletonScore___repr__(self)
2941 
2942  @staticmethod
2943  def get_from(o):
2944  return _object_cast_to_BondSingletonScore(o)
2945 
2946 
2947 # Register BondSingletonScore in _IMP_atom:
2948 _IMP_atom.BondSingletonScore_swigregister(BondSingletonScore)
2949 class DihedralSingletonScore(IMP.SingletonScore):
2950  r"""Proxy of C++ IMP::atom::DihedralSingletonScore class."""
2951 
2952  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2953 
2954  def __init__(self):
2955  r"""__init__(DihedralSingletonScore self) -> DihedralSingletonScore"""
2956  _IMP_atom.DihedralSingletonScore_swiginit(self, _IMP_atom.new_DihedralSingletonScore())
2957 
2958  def do_get_inputs(self, m, pis):
2959  r"""do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2960  return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
2961 
2962  def get_version_info(self):
2963  r"""get_version_info(DihedralSingletonScore self) -> VersionInfo"""
2964  return _IMP_atom.DihedralSingletonScore_get_version_info(self)
2965  __swig_destroy__ = _IMP_atom.delete_DihedralSingletonScore
2966 
2967  def __str__(self):
2968  r"""__str__(DihedralSingletonScore self) -> std::string"""
2969  return _IMP_atom.DihedralSingletonScore___str__(self)
2970 
2971  def __repr__(self):
2972  r"""__repr__(DihedralSingletonScore self) -> std::string"""
2973  return _IMP_atom.DihedralSingletonScore___repr__(self)
2974 
2975  @staticmethod
2976  def get_from(o):
2977  return _object_cast_to_DihedralSingletonScore(o)
2978 
2979 
2980  def _get_as_binary(self):
2981  r"""_get_as_binary(DihedralSingletonScore self) -> PyObject *"""
2982  return _IMP_atom.DihedralSingletonScore__get_as_binary(self)
2983 
2984  def _set_from_binary(self, p):
2985  r"""_set_from_binary(DihedralSingletonScore self, PyObject * p)"""
2986  return _IMP_atom.DihedralSingletonScore__set_from_binary(self, p)
2987 
2988  def __getstate__(self):
2989  p = self._get_as_binary()
2990  if len(self.__dict__) > 1:
2991  d = self.__dict__.copy()
2992  del d['this']
2993  p = (d, p)
2994  return p
2995 
2996  def __setstate__(self, p):
2997  if not hasattr(self, 'this'):
2998  self.__init__()
2999  if isinstance(p, tuple):
3000  d, p = p
3001  self.__dict__.update(d)
3002  return self._set_from_binary(p)
3003 
3004 
3005 # Register DihedralSingletonScore in _IMP_atom:
3006 _IMP_atom.DihedralSingletonScore_swigregister(DihedralSingletonScore)
3007 class ImproperSingletonScore(IMP.SingletonScore):
3008  r"""Proxy of C++ IMP::atom::ImproperSingletonScore class."""
3009 
3010  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3011 
3012  def __init__(self, f):
3013  r"""__init__(ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3014  _IMP_atom.ImproperSingletonScore_swiginit(self, _IMP_atom.new_ImproperSingletonScore(f))
3015 
3016  def do_get_inputs(self, m, pis):
3017  r"""do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3018  return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3019 
3020  def get_version_info(self):
3021  r"""get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3022  return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3023  __swig_destroy__ = _IMP_atom.delete_ImproperSingletonScore
3024 
3025  def __str__(self):
3026  r"""__str__(ImproperSingletonScore self) -> std::string"""
3027  return _IMP_atom.ImproperSingletonScore___str__(self)
3028 
3029  def __repr__(self):
3030  r"""__repr__(ImproperSingletonScore self) -> std::string"""
3031  return _IMP_atom.ImproperSingletonScore___repr__(self)
3032 
3033  @staticmethod
3034  def get_from(o):
3035  return _object_cast_to_ImproperSingletonScore(o)
3036 
3037 
3038 # Register ImproperSingletonScore in _IMP_atom:
3039 _IMP_atom.ImproperSingletonScore_swigregister(ImproperSingletonScore)
3040 class CenterOfMass(IMP.Decorator):
3041  r"""Proxy of C++ IMP::atom::CenterOfMass class."""
3042 
3043  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3044 
3045  def get_constraint(self):
3046  r"""get_constraint(CenterOfMass self) -> Constraint"""
3047  return _IMP_atom.CenterOfMass_get_constraint(self)
3048 
3049  def get_mass(self):
3050  r"""get_mass(CenterOfMass self) -> IMP::Float"""
3051  return _IMP_atom.CenterOfMass_get_mass(self)
3052 
3053  def get_coordinate(self, i):
3054  r"""get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3055  return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3056 
3057  def get_coordinates(self):
3058  r"""get_coordinates(CenterOfMass self) -> Vector3D"""
3059  return _IMP_atom.CenterOfMass_get_coordinates(self)
3060 
3061  def __init__(self, *args):
3062  r"""
3063  __init__(CenterOfMass self) -> CenterOfMass
3064  __init__(CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3065  __init__(CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3066  """
3067  _IMP_atom.CenterOfMass_swiginit(self, _IMP_atom.new_CenterOfMass(*args))
3068 
3069  def show(self, *args):
3070  r"""show(CenterOfMass self, _ostream out=std::cout)"""
3071  return _IMP_atom.CenterOfMass_show(self, *args)
3072 
3073  @staticmethod
3074  def setup_particle(*args):
3075  r"""
3076  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3077  setup_particle(_ParticleAdaptor pa, _ParticleIndexesAdaptor members) -> CenterOfMass
3078  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3079  setup_particle(_ParticleAdaptor pa, Refiner refiner) -> CenterOfMass
3080  """
3081  return _IMP_atom.CenterOfMass_setup_particle(*args)
3082 
3083  @staticmethod
3084  def teardown_particle(com):
3085  r"""teardown_particle(CenterOfMass com)"""
3086  return _IMP_atom.CenterOfMass_teardown_particle(com)
3087 
3088  @staticmethod
3089  def get_is_setup(*args):
3090  r"""
3091  get_is_setup(_ParticleAdaptor p) -> bool
3092  get_is_setup(Model m, ParticleIndex pi) -> bool
3093  """
3094  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3095 
3096  def add_attribute(self, *args):
3097  r"""
3098  add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3099  add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3100  add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3101  add_attribute(CenterOfMass self, FloatsKey a0, IMP::Floats a1)
3102  add_attribute(CenterOfMass self, IntsKey a0, IMP::Ints a1)
3103  add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3104  add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3105  add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3106  add_attribute(CenterOfMass self, SparseFloatKey a0, IMP::Float a1)
3107  add_attribute(CenterOfMass self, SparseIntKey a0, IMP::Int a1)
3108  add_attribute(CenterOfMass self, SparseStringKey a0, IMP::String a1)
3109  add_attribute(CenterOfMass self, SparseParticleIndexKey a0, ParticleIndex a1)
3110  """
3111  return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3112 
3113  def get_value(self, *args):
3114  r"""
3115  get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3116  get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3117  get_value(CenterOfMass self, FloatsKey a0) -> IMP::Floats
3118  get_value(CenterOfMass self, IntsKey a0) -> IMP::Ints
3119  get_value(CenterOfMass self, StringKey a0) -> IMP::String
3120  get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3121  get_value(CenterOfMass self, ObjectKey a0) -> Object
3122  get_value(CenterOfMass self, SparseFloatKey a0) -> IMP::Float
3123  get_value(CenterOfMass self, SparseIntKey a0) -> IMP::Int
3124  get_value(CenterOfMass self, SparseStringKey a0) -> IMP::String
3125  get_value(CenterOfMass self, SparseParticleIndexKey a0) -> ParticleIndex
3126  """
3127  return _IMP_atom.CenterOfMass_get_value(self, *args)
3128 
3129  def set_value(self, *args):
3130  r"""
3131  set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3132  set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3133  set_value(CenterOfMass self, FloatsKey a0, IMP::Floats a1)
3134  set_value(CenterOfMass self, IntsKey a0, IMP::Ints a1)
3135  set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3136  set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3137  set_value(CenterOfMass self, ObjectKey a0, Object a1)
3138  set_value(CenterOfMass self, SparseFloatKey a0, IMP::Float a1)
3139  set_value(CenterOfMass self, SparseIntKey a0, IMP::Int a1)
3140  set_value(CenterOfMass self, SparseStringKey a0, IMP::String a1)
3141  set_value(CenterOfMass self, SparseParticleIndexKey a0, ParticleIndex a1)
3142  """
3143  return _IMP_atom.CenterOfMass_set_value(self, *args)
3144 
3145  def remove_attribute(self, *args):
3146  r"""
3147  remove_attribute(CenterOfMass self, FloatKey a0)
3148  remove_attribute(CenterOfMass self, IntKey a0)
3149  remove_attribute(CenterOfMass self, FloatsKey a0)
3150  remove_attribute(CenterOfMass self, IntsKey a0)
3151  remove_attribute(CenterOfMass self, StringKey a0)
3152  remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3153  remove_attribute(CenterOfMass self, ObjectKey a0)
3154  remove_attribute(CenterOfMass self, SparseFloatKey a0)
3155  remove_attribute(CenterOfMass self, SparseIntKey a0)
3156  remove_attribute(CenterOfMass self, SparseStringKey a0)
3157  remove_attribute(CenterOfMass self, SparseParticleIndexKey a0)
3158  """
3159  return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3160 
3161  def has_attribute(self, *args):
3162  r"""
3163  has_attribute(CenterOfMass self, FloatKey a0) -> bool
3164  has_attribute(CenterOfMass self, IntKey a0) -> bool
3165  has_attribute(CenterOfMass self, FloatsKey a0) -> bool
3166  has_attribute(CenterOfMass self, IntsKey a0) -> bool
3167  has_attribute(CenterOfMass self, StringKey a0) -> bool
3168  has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3169  has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3170  has_attribute(CenterOfMass self, SparseFloatKey a0) -> bool
3171  has_attribute(CenterOfMass self, SparseIntKey a0) -> bool
3172  has_attribute(CenterOfMass self, SparseStringKey a0) -> bool
3173  has_attribute(CenterOfMass self, SparseParticleIndexKey a0) -> bool
3174  """
3175  return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3176 
3177  def get_derivative(self, a0):
3178  r"""get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3179  return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3180 
3181  def get_name(self):
3182  r"""get_name(CenterOfMass self) -> std::string"""
3183  return _IMP_atom.CenterOfMass_get_name(self)
3184 
3185  def clear_caches(self):
3186  r"""clear_caches(CenterOfMass self)"""
3187  return _IMP_atom.CenterOfMass_clear_caches(self)
3188 
3189  def set_name(self, a0):
3190  r"""set_name(CenterOfMass self, std::string a0)"""
3191  return _IMP_atom.CenterOfMass_set_name(self, a0)
3192 
3193  def set_check_level(self, a0):
3194  r"""set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3195  return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3196 
3197  def add_to_derivative(self, a0, a1, a2):
3198  r"""add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3199  return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3200 
3201  def set_is_optimized(self, a0, a1):
3202  r"""set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3203  return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3204 
3205  def get_is_optimized(self, a0):
3206  r"""get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3207  return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3208 
3209  def get_check_level(self):
3210  r"""get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3211  return _IMP_atom.CenterOfMass_get_check_level(self)
3212 
3213  def __eq__(self, *args):
3214  r"""
3215  __eq__(CenterOfMass self, CenterOfMass o) -> bool
3216  __eq__(CenterOfMass self, Particle d) -> bool
3217  """
3218  return _IMP_atom.CenterOfMass___eq__(self, *args)
3219 
3220  def __ne__(self, *args):
3221  r"""
3222  __ne__(CenterOfMass self, CenterOfMass o) -> bool
3223  __ne__(CenterOfMass self, Particle d) -> bool
3224  """
3225  return _IMP_atom.CenterOfMass___ne__(self, *args)
3226 
3227  def __le__(self, *args):
3228  r"""
3229  __le__(CenterOfMass self, CenterOfMass o) -> bool
3230  __le__(CenterOfMass self, Particle d) -> bool
3231  """
3232  return _IMP_atom.CenterOfMass___le__(self, *args)
3233 
3234  def __lt__(self, *args):
3235  r"""
3236  __lt__(CenterOfMass self, CenterOfMass o) -> bool
3237  __lt__(CenterOfMass self, Particle d) -> bool
3238  """
3239  return _IMP_atom.CenterOfMass___lt__(self, *args)
3240 
3241  def __ge__(self, *args):
3242  r"""
3243  __ge__(CenterOfMass self, CenterOfMass o) -> bool
3244  __ge__(CenterOfMass self, Particle d) -> bool
3245  """
3246  return _IMP_atom.CenterOfMass___ge__(self, *args)
3247 
3248  def __gt__(self, *args):
3249  r"""
3250  __gt__(CenterOfMass self, CenterOfMass o) -> bool
3251  __gt__(CenterOfMass self, Particle d) -> bool
3252  """
3253  return _IMP_atom.CenterOfMass___gt__(self, *args)
3254 
3255  def __hash__(self):
3256  r"""__hash__(CenterOfMass self) -> std::size_t"""
3257  return _IMP_atom.CenterOfMass___hash__(self)
3258 
3259  def __str__(self):
3260  r"""__str__(CenterOfMass self) -> std::string"""
3261  return _IMP_atom.CenterOfMass___str__(self)
3262 
3263  def __repr__(self):
3264  r"""__repr__(CenterOfMass self) -> std::string"""
3265  return _IMP_atom.CenterOfMass___repr__(self)
3266 
3267  def _get_as_binary(self):
3268  r"""_get_as_binary(CenterOfMass self) -> PyObject *"""
3269  return _IMP_atom.CenterOfMass__get_as_binary(self)
3270 
3271  def _set_from_binary(self, p):
3272  r"""_set_from_binary(CenterOfMass self, PyObject * p)"""
3273  return _IMP_atom.CenterOfMass__set_from_binary(self, p)
3274 
3275  def __getstate__(self):
3276  p = self._get_as_binary()
3277  if len(self.__dict__) > 1:
3278  d = self.__dict__.copy()
3279  del d['this']
3280  p = (d, p)
3281  return p
3282 
3283  def __setstate__(self, p):
3284  if not hasattr(self, 'this'):
3285  self.__init__()
3286  if isinstance(p, tuple):
3287  d, p = p
3288  self.__dict__.update(d)
3289  return self._set_from_binary(p)
3290 
3291  __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3292 
3293 # Register CenterOfMass in _IMP_atom:
3294 _IMP_atom.CenterOfMass_swigregister(CenterOfMass)
3295 class CoverBond(IMP.SingletonModifier):
3296  r"""Proxy of C++ IMP::atom::CoverBond class."""
3297 
3298  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3299 
3300  def __init__(self):
3301  r"""__init__(CoverBond self) -> CoverBond"""
3302  _IMP_atom.CoverBond_swiginit(self, _IMP_atom.new_CoverBond())
3303 
3304  def do_get_inputs(self, m, pis):
3305  r"""do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3306  return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3307 
3308  def do_get_outputs(self, m, pis):
3309  r"""do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3310  return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3311 
3312  def get_version_info(self):
3313  r"""get_version_info(CoverBond self) -> VersionInfo"""
3314  return _IMP_atom.CoverBond_get_version_info(self)
3315  __swig_destroy__ = _IMP_atom.delete_CoverBond
3316 
3317  def __str__(self):
3318  r"""__str__(CoverBond self) -> std::string"""
3319  return _IMP_atom.CoverBond___str__(self)
3320 
3321  def __repr__(self):
3322  r"""__repr__(CoverBond self) -> std::string"""
3323  return _IMP_atom.CoverBond___repr__(self)
3324 
3325  @staticmethod
3326  def get_from(o):
3327  return _object_cast_to_CoverBond(o)
3328 
3329 
3330 # Register CoverBond in _IMP_atom:
3331 _IMP_atom.CoverBond_swigregister(CoverBond)
3332 class Simulator(IMP.Optimizer):
3333  r"""Proxy of C++ IMP::atom::Simulator class."""
3334 
3335  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3336 
3337  def __init__(self, *args):
3338  r"""__init__(Simulator self, Model m, std::string name="Simulator %1%", double wave_factor=1.0) -> Simulator"""
3339  if self.__class__ == Simulator:
3340  _self = None
3341  else:
3342  _self = self
3343  _IMP_atom.Simulator_swiginit(self, _IMP_atom.new_Simulator(_self, *args))
3344 
3345  if self.__class__ != Simulator:
3346  _director_objects.register(self)
3347 
3348 
3349 
3350 
3351  def simulate(self, time_in_fs):
3352  r"""simulate(Simulator self, double time_in_fs) -> double"""
3353  return _IMP_atom.Simulator_simulate(self, time_in_fs)
3354 
3355  def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3356  r"""simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double"""
3357  return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3358 
3359  def get_temperature(self):
3360  r"""get_temperature(Simulator self) -> double"""
3361  return _IMP_atom.Simulator_get_temperature(self)
3362 
3363  def set_temperature(self, d):
3364  r"""set_temperature(Simulator self, double d)"""
3365  return _IMP_atom.Simulator_set_temperature(self, d)
3366 
3367  def set_maximum_time_step(self, ts):
3368  r"""set_maximum_time_step(Simulator self, double ts)"""
3369  return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3370 
3371  def get_maximum_time_step(self):
3372  r"""get_maximum_time_step(Simulator self) -> double"""
3373  return _IMP_atom.Simulator_get_maximum_time_step(self)
3374 
3375  def get_last_time_step(self):
3376  r"""get_last_time_step(Simulator self) -> double"""
3377  return _IMP_atom.Simulator_get_last_time_step(self)
3378 
3379  def set_time_step(self, ts):
3380  r"""set_time_step(Simulator self, double ts)"""
3381  return _IMP_atom.Simulator_set_time_step(self, ts)
3382 
3383  def get_kt(self):
3384  r"""get_kt(Simulator self) -> double"""
3385  return _IMP_atom.Simulator_get_kt(self)
3386 
3387  def get_current_time(self):
3388  r"""get_current_time(Simulator self) -> double"""
3389  return _IMP_atom.Simulator_get_current_time(self)
3390 
3391  def set_current_time(self, ct):
3392  r"""set_current_time(Simulator self, double ct)"""
3393  return _IMP_atom.Simulator_set_current_time(self, ct)
3394 
3395  def get_simulation_particles(self):
3396  r"""get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3397  return _IMP_atom.Simulator_get_simulation_particles(self)
3398 
3399  def get_simulation_particle_indexes(self):
3400  r"""get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3401  return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3402  def __get_particles(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_particles, getfunc=self.get_particle, erasefunc=self.erase_particle, appendfunc=self.add_particle, extendfunc=self.add_particles, clearfunc=self.clear_particles, indexfunc=self._python_index_particle)
3403  def __set_particles(self, obj): IMP._list_util.set_varlist(self.particles, obj)
3404  def __del_particles(self): IMP._list_util.del_varlist(self.particles)
3405  particles = property(__get_particles, __set_particles, __del_particles, doc="List of ##ucnames")
3406 
3407  def remove_particle(self, d):
3408  r"""remove_particle(Simulator self, Particle d)"""
3409  return _IMP_atom.Simulator_remove_particle(self, d)
3410 
3411  def _python_index_particle(self, d, start, stop):
3412  r"""_python_index_particle(Simulator self, Particle d, unsigned int start, unsigned int stop) -> unsigned int"""
3413  return _IMP_atom.Simulator__python_index_particle(self, d, start, stop)
3414 
3415  def remove_particles(self, d):
3416  r"""remove_particles(Simulator self, IMP::Particles const & d)"""
3417  return _IMP_atom.Simulator_remove_particles(self, d)
3418 
3419  def set_particles(self, ps):
3420  r"""set_particles(Simulator self, IMP::Particles const & ps)"""
3421  return _IMP_atom.Simulator_set_particles(self, ps)
3422 
3423  def set_particles_order(self, objs):
3424  r"""set_particles_order(Simulator self, IMP::Particles const & objs)"""
3425  return _IMP_atom.Simulator_set_particles_order(self, objs)
3426 
3427  def add_particle(self, obj):
3428  r"""add_particle(Simulator self, Particle obj) -> unsigned int"""
3429  return _IMP_atom.Simulator_add_particle(self, obj)
3430 
3431  def add_particles(self, objs):
3432  r"""add_particles(Simulator self, IMP::Particles const & objs)"""
3433  return _IMP_atom.Simulator_add_particles(self, objs)
3434 
3435  def clear_particles(self):
3436  r"""clear_particles(Simulator self)"""
3437  return _IMP_atom.Simulator_clear_particles(self)
3438 
3439  def get_number_of_particles(self):
3440  r"""get_number_of_particles(Simulator self) -> unsigned int"""
3441  return _IMP_atom.Simulator_get_number_of_particles(self)
3442 
3443  def get_has_particles(self):
3444  r"""get_has_particles(Simulator self) -> bool"""
3445  return _IMP_atom.Simulator_get_has_particles(self)
3446 
3447  def get_particle(self, i):
3448  r"""get_particle(Simulator self, unsigned int i) -> Particle"""
3449  return _IMP_atom.Simulator_get_particle(self, i)
3450 
3451  def get_particles(self):
3452  r"""get_particles(Simulator self) -> IMP::Particles"""
3453  return _IMP_atom.Simulator_get_particles(self)
3454 
3455  def erase_particle(self, i):
3456  r"""erase_particle(Simulator self, unsigned int i)"""
3457  return _IMP_atom.Simulator_erase_particle(self, i)
3458 
3459  def reserve_particles(self, sz):
3460  r"""reserve_particles(Simulator self, unsigned int sz)"""
3461  return _IMP_atom.Simulator_reserve_particles(self, sz)
3462 
3463  def do_optimize(self, max_steps):
3464  r"""do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3465  return _IMP_atom.Simulator_do_optimize(self, max_steps)
3466 
3467  def setup(self, arg0):
3468  r"""setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3469  return _IMP_atom.Simulator_setup(self, arg0)
3470 
3471  def do_step(self, sc, dt):
3472  r"""do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3473  return _IMP_atom.Simulator_do_step(self, sc, dt)
3474 
3475  def get_is_simulation_particle(self, p):
3476  r"""get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3477  return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3478 
3479  def do_simulate(self, time):
3480  r"""do_simulate(Simulator self, double time) -> double"""
3481  return _IMP_atom.Simulator_do_simulate(self, time)
3482 
3483  def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3484  r"""do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double"""
3485  return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3486 
3487  def __str__(self):
3488  r"""__str__(Simulator self) -> std::string"""
3489  return _IMP_atom.Simulator___str__(self)
3490 
3491  def __repr__(self):
3492  r"""__repr__(Simulator self) -> std::string"""
3493  return _IMP_atom.Simulator___repr__(self)
3494 
3495  @staticmethod
3496  def get_from(o):
3497  return _object_cast_to_Simulator(o)
3498 
3499 
3500  def get_type_name(self):
3501  return self.__class__.__name__
3502  def do_show(self, out):
3503  pass
3504  def get_version_info(self):
3505  if"IMP::atom" == "IMP":
3506  return VersionInfo(self.__module__,
3507  __import__(self.__module__).get_module_version())
3508  else:
3509  return IMP.VersionInfo(self.__module__,
3510  __import__(self.__module__).get_module_version())
3511  @staticmethod
3512  def get_from(o):
3513  return _object_cast_to_Simulator(o)
3514 
3515  __swig_destroy__ = _IMP_atom.delete_Simulator
3516  def __disown__(self):
3517  self.this.disown()
3518  _IMP_atom.disown_Simulator(self)
3519  return weakref.proxy(self)
3520 
3521  def do_destroy(self):
3522  r"""do_destroy(Simulator self)"""
3523  return _IMP_atom.Simulator_do_destroy(self)
3524 
3525  def handle_set_has_required_score_states(self, arg0):
3526  r"""handle_set_has_required_score_states(Simulator self, bool arg0)"""
3527  return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3528 
3529  def do_get_inputs(self):
3530  r"""do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3531  return _IMP_atom.Simulator_do_get_inputs(self)
3532 
3533  def do_get_outputs(self):
3534  r"""do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3535  return _IMP_atom.Simulator_do_get_outputs(self)
3536 
3537  def do_get_interactions(self):
3538  r"""do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3539  return _IMP_atom.Simulator_do_get_interactions(self)
3540 
3541 # Register Simulator in _IMP_atom:
3542 _IMP_atom.Simulator_swigregister(Simulator)
3543 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3544 
3545 class BrownianDynamics(Simulator):
3546  r"""Proxy of C++ IMP::atom::BrownianDynamics class."""
3547 
3548  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3549 
3550  def __init__(self, *args):
3551  r"""__init__(BrownianDynamics self, Model m, std::string name="BrownianDynamics%1%", double wave_factor=1.0, unsigned int random_pool_size=10000) -> BrownianDynamics"""
3552  _IMP_atom.BrownianDynamics_swiginit(self, _IMP_atom.new_BrownianDynamics(*args))
3553 
3554  def set_maximum_move(self, ms_in_A):
3555  r"""set_maximum_move(BrownianDynamics self, double ms_in_A)"""
3556  return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms_in_A)
3557 
3558  def set_use_stochastic_runge_kutta(self, tf):
3559  r"""set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3560  return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3561 
3562  def get_version_info(self):
3563  r"""get_version_info(BrownianDynamics self) -> VersionInfo"""
3564  return _IMP_atom.BrownianDynamics_get_version_info(self)
3565  __swig_destroy__ = _IMP_atom.delete_BrownianDynamics
3566 
3567  def __str__(self):
3568  r"""__str__(BrownianDynamics self) -> std::string"""
3569  return _IMP_atom.BrownianDynamics___str__(self)
3570 
3571  def __repr__(self):
3572  r"""__repr__(BrownianDynamics self) -> std::string"""
3573  return _IMP_atom.BrownianDynamics___repr__(self)
3574 
3575  @staticmethod
3576  def get_from(o):
3577  return _object_cast_to_BrownianDynamics(o)
3578 
3579 
3580 # Register BrownianDynamics in _IMP_atom:
3581 _IMP_atom.BrownianDynamics_swigregister(BrownianDynamics)
3582 
3584  r"""get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3585  return _IMP_atom.get_maximum_time_step_estimate(bd)
3586 
3587 def get_harmonic_sigma(D, f):
3588  r"""get_harmonic_sigma(double D, double f) -> double"""
3589  return _IMP_atom.get_harmonic_sigma(D, f)
3590 class BrownianDynamicsTAMD(BrownianDynamics):
3591  r"""Proxy of C++ IMP::atom::BrownianDynamicsTAMD class."""
3592 
3593  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3594 
3595  def __init__(self, *args):
3596  r"""__init__(BrownianDynamicsTAMD self, Model m, std::string name="BrownianDynamicsTAMD%1%", double wave_factor=1.0) -> BrownianDynamicsTAMD"""
3597  _IMP_atom.BrownianDynamicsTAMD_swiginit(self, _IMP_atom.new_BrownianDynamicsTAMD(*args))
3598 
3599  def __str__(self):
3600  r"""__str__(BrownianDynamicsTAMD self) -> std::string"""
3601  return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3602 
3603  def __repr__(self):
3604  r"""__repr__(BrownianDynamicsTAMD self) -> std::string"""
3605  return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3606 
3607  @staticmethod
3608  def get_from(o):
3609  return _object_cast_to_BrownianDynamicsTAMD(o)
3610 
3611  __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3612 
3613 # Register BrownianDynamicsTAMD in _IMP_atom:
3614 _IMP_atom.BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3615 class Diffusion(IMP.core.XYZ):
3616  r"""Proxy of C++ IMP::atom::Diffusion class."""
3617 
3618  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3619 
3620  def __init__(self, *args):
3621  r"""
3622  __init__(Diffusion self) -> Diffusion
3623  __init__(Diffusion self, Model m, ParticleIndex id) -> Diffusion
3624  __init__(Diffusion self, _ParticleAdaptor d) -> Diffusion
3625  """
3626  _IMP_atom.Diffusion_swiginit(self, _IMP_atom.new_Diffusion(*args))
3627 
3628  def show(self, *args):
3629  r"""show(Diffusion self, _ostream out=std::cout)"""
3630  return _IMP_atom.Diffusion_show(self, *args)
3631 
3632  @staticmethod
3633  def setup_particle(*args):
3634  r"""
3635  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3636  setup_particle(_ParticleAdaptor pa, IMP::Float D) -> Diffusion
3637  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3638  setup_particle(_ParticleAdaptor pa, Vector3D v, IMP::Float D) -> Diffusion
3639  setup_particle(Model m, ParticleIndex pi) -> Diffusion
3640  setup_particle(_ParticleAdaptor pa) -> Diffusion
3641  """
3642  return _IMP_atom.Diffusion_setup_particle(*args)
3643 
3644  @staticmethod
3645  def get_is_setup(*args):
3646  r"""
3647  get_is_setup(_ParticleAdaptor p) -> bool
3648  get_is_setup(Model m, ParticleIndex p) -> bool
3649  """
3650  return _IMP_atom.Diffusion_get_is_setup(*args)
3651 
3652  def set_diffusion_coefficient(self, d):
3653  r"""set_diffusion_coefficient(Diffusion self, double d)"""
3654  return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
3655 
3656  def get_diffusion_coefficient(self):
3657  r"""get_diffusion_coefficient(Diffusion self) -> double"""
3658  return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
3659 
3660  @staticmethod
3661  def get_diffusion_coefficient_key():
3662  r"""get_diffusion_coefficient_key() -> FloatKey"""
3663  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
3664 
3665  def add_attribute(self, *args):
3666  r"""
3667  add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
3668  add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
3669  add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
3670  add_attribute(Diffusion self, FloatsKey a0, IMP::Floats a1)
3671  add_attribute(Diffusion self, IntsKey a0, IMP::Ints a1)
3672  add_attribute(Diffusion self, StringKey a0, IMP::String a1)
3673  add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
3674  add_attribute(Diffusion self, ObjectKey a0, Object a1)
3675  add_attribute(Diffusion self, SparseFloatKey a0, IMP::Float a1)
3676  add_attribute(Diffusion self, SparseIntKey a0, IMP::Int a1)
3677  add_attribute(Diffusion self, SparseStringKey a0, IMP::String a1)
3678  add_attribute(Diffusion self, SparseParticleIndexKey a0, ParticleIndex a1)
3679  """
3680  return _IMP_atom.Diffusion_add_attribute(self, *args)
3681 
3682  def get_value(self, *args):
3683  r"""
3684  get_value(Diffusion self, FloatKey a0) -> IMP::Float
3685  get_value(Diffusion self, IntKey a0) -> IMP::Int
3686  get_value(Diffusion self, FloatsKey a0) -> IMP::Floats
3687  get_value(Diffusion self, IntsKey a0) -> IMP::Ints
3688  get_value(Diffusion self, StringKey a0) -> IMP::String
3689  get_value(Diffusion self, ParticleIndexKey a0) -> Particle
3690  get_value(Diffusion self, ObjectKey a0) -> Object
3691  get_value(Diffusion self, SparseFloatKey a0) -> IMP::Float
3692  get_value(Diffusion self, SparseIntKey a0) -> IMP::Int
3693  get_value(Diffusion self, SparseStringKey a0) -> IMP::String
3694  get_value(Diffusion self, SparseParticleIndexKey a0) -> ParticleIndex
3695  """
3696  return _IMP_atom.Diffusion_get_value(self, *args)
3697 
3698  def set_value(self, *args):
3699  r"""
3700  set_value(Diffusion self, FloatKey a0, IMP::Float a1)
3701  set_value(Diffusion self, IntKey a0, IMP::Int a1)
3702  set_value(Diffusion self, FloatsKey a0, IMP::Floats a1)
3703  set_value(Diffusion self, IntsKey a0, IMP::Ints a1)
3704  set_value(Diffusion self, StringKey a0, IMP::String a1)
3705  set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
3706  set_value(Diffusion self, ObjectKey a0, Object a1)
3707  set_value(Diffusion self, SparseFloatKey a0, IMP::Float a1)
3708  set_value(Diffusion self, SparseIntKey a0, IMP::Int a1)
3709  set_value(Diffusion self, SparseStringKey a0, IMP::String a1)
3710  set_value(Diffusion self, SparseParticleIndexKey a0, ParticleIndex a1)
3711  """
3712  return _IMP_atom.Diffusion_set_value(self, *args)
3713 
3714  def remove_attribute(self, *args):
3715  r"""
3716  remove_attribute(Diffusion self, FloatKey a0)
3717  remove_attribute(Diffusion self, IntKey a0)
3718  remove_attribute(Diffusion self, FloatsKey a0)
3719  remove_attribute(Diffusion self, IntsKey a0)
3720  remove_attribute(Diffusion self, StringKey a0)
3721  remove_attribute(Diffusion self, ParticleIndexKey a0)
3722  remove_attribute(Diffusion self, ObjectKey a0)
3723  remove_attribute(Diffusion self, SparseFloatKey a0)
3724  remove_attribute(Diffusion self, SparseIntKey a0)
3725  remove_attribute(Diffusion self, SparseStringKey a0)
3726  remove_attribute(Diffusion self, SparseParticleIndexKey a0)
3727  """
3728  return _IMP_atom.Diffusion_remove_attribute(self, *args)
3729 
3730  def has_attribute(self, *args):
3731  r"""
3732  has_attribute(Diffusion self, FloatKey a0) -> bool
3733  has_attribute(Diffusion self, IntKey a0) -> bool
3734  has_attribute(Diffusion self, FloatsKey a0) -> bool
3735  has_attribute(Diffusion self, IntsKey a0) -> bool
3736  has_attribute(Diffusion self, StringKey a0) -> bool
3737  has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
3738  has_attribute(Diffusion self, ObjectKey a0) -> bool
3739  has_attribute(Diffusion self, SparseFloatKey a0) -> bool
3740  has_attribute(Diffusion self, SparseIntKey a0) -> bool
3741  has_attribute(Diffusion self, SparseStringKey a0) -> bool
3742  has_attribute(Diffusion self, SparseParticleIndexKey a0) -> bool
3743  """
3744  return _IMP_atom.Diffusion_has_attribute(self, *args)
3745 
3746  def get_derivative(self, a0):
3747  r"""get_derivative(Diffusion self, FloatKey a0) -> double"""
3748  return _IMP_atom.Diffusion_get_derivative(self, a0)
3749 
3750  def get_name(self):
3751  r"""get_name(Diffusion self) -> std::string"""
3752  return _IMP_atom.Diffusion_get_name(self)
3753 
3754  def clear_caches(self):
3755  r"""clear_caches(Diffusion self)"""
3756  return _IMP_atom.Diffusion_clear_caches(self)
3757 
3758  def set_name(self, a0):
3759  r"""set_name(Diffusion self, std::string a0)"""
3760  return _IMP_atom.Diffusion_set_name(self, a0)
3761 
3762  def set_check_level(self, a0):
3763  r"""set_check_level(Diffusion self, IMP::CheckLevel a0)"""
3764  return _IMP_atom.Diffusion_set_check_level(self, a0)
3765 
3766  def add_to_derivative(self, a0, a1, a2):
3767  r"""add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3768  return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
3769 
3770  def set_is_optimized(self, a0, a1):
3771  r"""set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
3772  return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
3773 
3774  def get_is_optimized(self, a0):
3775  r"""get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
3776  return _IMP_atom.Diffusion_get_is_optimized(self, a0)
3777 
3778  def get_check_level(self):
3779  r"""get_check_level(Diffusion self) -> IMP::CheckLevel"""
3780  return _IMP_atom.Diffusion_get_check_level(self)
3781 
3782  def __eq__(self, *args):
3783  r"""
3784  __eq__(Diffusion self, Diffusion o) -> bool
3785  __eq__(Diffusion self, Particle d) -> bool
3786  """
3787  return _IMP_atom.Diffusion___eq__(self, *args)
3788 
3789  def __ne__(self, *args):
3790  r"""
3791  __ne__(Diffusion self, Diffusion o) -> bool
3792  __ne__(Diffusion self, Particle d) -> bool
3793  """
3794  return _IMP_atom.Diffusion___ne__(self, *args)
3795 
3796  def __le__(self, *args):
3797  r"""
3798  __le__(Diffusion self, Diffusion o) -> bool
3799  __le__(Diffusion self, Particle d) -> bool
3800  """
3801  return _IMP_atom.Diffusion___le__(self, *args)
3802 
3803  def __lt__(self, *args):
3804  r"""
3805  __lt__(Diffusion self, Diffusion o) -> bool
3806  __lt__(Diffusion self, Particle d) -> bool
3807  """
3808  return _IMP_atom.Diffusion___lt__(self, *args)
3809 
3810  def __ge__(self, *args):
3811  r"""
3812  __ge__(Diffusion self, Diffusion o) -> bool
3813  __ge__(Diffusion self, Particle d) -> bool
3814  """
3815  return _IMP_atom.Diffusion___ge__(self, *args)
3816 
3817  def __gt__(self, *args):
3818  r"""
3819  __gt__(Diffusion self, Diffusion o) -> bool
3820  __gt__(Diffusion self, Particle d) -> bool
3821  """
3822  return _IMP_atom.Diffusion___gt__(self, *args)
3823 
3824  def __hash__(self):
3825  r"""__hash__(Diffusion self) -> std::size_t"""
3826  return _IMP_atom.Diffusion___hash__(self)
3827 
3828  def __str__(self):
3829  r"""__str__(Diffusion self) -> std::string"""
3830  return _IMP_atom.Diffusion___str__(self)
3831 
3832  def __repr__(self):
3833  r"""__repr__(Diffusion self) -> std::string"""
3834  return _IMP_atom.Diffusion___repr__(self)
3835 
3836  def _get_as_binary(self):
3837  r"""_get_as_binary(Diffusion self) -> PyObject *"""
3838  return _IMP_atom.Diffusion__get_as_binary(self)
3839 
3840  def _set_from_binary(self, p):
3841  r"""_set_from_binary(Diffusion self, PyObject * p)"""
3842  return _IMP_atom.Diffusion__set_from_binary(self, p)
3843 
3844  def __getstate__(self):
3845  p = self._get_as_binary()
3846  if len(self.__dict__) > 1:
3847  d = self.__dict__.copy()
3848  del d['this']
3849  p = (d, p)
3850  return p
3851 
3852  def __setstate__(self, p):
3853  if not hasattr(self, 'this'):
3854  self.__init__()
3855  if isinstance(p, tuple):
3856  d, p = p
3857  self.__dict__.update(d)
3858  return self._set_from_binary(p)
3859 
3860  __swig_destroy__ = _IMP_atom.delete_Diffusion
3861 
3862 # Register Diffusion in _IMP_atom:
3863 _IMP_atom.Diffusion_swigregister(Diffusion)
3864 
3865 def get_diffusion_coefficient_from_cm2_per_second(din):
3866  r"""get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
3867  return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
3868 class RigidBodyDiffusion(Diffusion):
3869  r"""Proxy of C++ IMP::atom::RigidBodyDiffusion class."""
3870 
3871  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3872 
3873  def __init__(self, *args):
3874  r"""
3875  __init__(RigidBodyDiffusion self) -> RigidBodyDiffusion
3876  __init__(RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
3877  __init__(RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
3878  """
3879  _IMP_atom.RigidBodyDiffusion_swiginit(self, _IMP_atom.new_RigidBodyDiffusion(*args))
3880 
3881  def show(self, *args):
3882  r"""show(RigidBodyDiffusion self, _ostream out=std::cout)"""
3883  return _IMP_atom.RigidBodyDiffusion_show(self, *args)
3884 
3885  @staticmethod
3886  def setup_particle(*args):
3887  r"""
3888  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
3889  setup_particle(_ParticleAdaptor pa) -> RigidBodyDiffusion
3890  """
3891  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
3892 
3894  r"""get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
3895  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
3896 
3897  def set_rotational_diffusion_coefficient(self, d):
3898  r"""set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
3899  return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
3900 
3901  @staticmethod
3902  def get_is_setup(*args):
3903  r"""
3904  get_is_setup(_ParticleAdaptor p) -> bool
3905  get_is_setup(Model m, ParticleIndex p) -> bool
3906  """
3907  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
3908 
3909  @staticmethod
3910  def get_rotational_diffusion_coefficient_key():
3911  r"""get_rotational_diffusion_coefficient_key() -> FloatKey"""
3912  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
3913 
3914  def add_attribute(self, *args):
3915  r"""
3916  add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
3917  add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
3918  add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
3919  add_attribute(RigidBodyDiffusion self, FloatsKey a0, IMP::Floats a1)
3920  add_attribute(RigidBodyDiffusion self, IntsKey a0, IMP::Ints a1)
3921  add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
3922  add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
3923  add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
3924  add_attribute(RigidBodyDiffusion self, SparseFloatKey a0, IMP::Float a1)
3925  add_attribute(RigidBodyDiffusion self, SparseIntKey a0, IMP::Int a1)
3926  add_attribute(RigidBodyDiffusion self, SparseStringKey a0, IMP::String a1)
3927  add_attribute(RigidBodyDiffusion self, SparseParticleIndexKey a0, ParticleIndex a1)
3928  """
3929  return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
3930 
3931  def get_value(self, *args):
3932  r"""
3933  get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
3934  get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
3935  get_value(RigidBodyDiffusion self, FloatsKey a0) -> IMP::Floats
3936  get_value(RigidBodyDiffusion self, IntsKey a0) -> IMP::Ints
3937  get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
3938  get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
3939  get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
3940  get_value(RigidBodyDiffusion self, SparseFloatKey a0) -> IMP::Float
3941  get_value(RigidBodyDiffusion self, SparseIntKey a0) -> IMP::Int
3942  get_value(RigidBodyDiffusion self, SparseStringKey a0) -> IMP::String
3943  get_value(RigidBodyDiffusion self, SparseParticleIndexKey a0) -> ParticleIndex
3944  """
3945  return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
3946 
3947  def set_value(self, *args):
3948  r"""
3949  set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
3950  set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
3951  set_value(RigidBodyDiffusion self, FloatsKey a0, IMP::Floats a1)
3952  set_value(RigidBodyDiffusion self, IntsKey a0, IMP::Ints a1)
3953  set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
3954  set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
3955  set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
3956  set_value(RigidBodyDiffusion self, SparseFloatKey a0, IMP::Float a1)
3957  set_value(RigidBodyDiffusion self, SparseIntKey a0, IMP::Int a1)
3958  set_value(RigidBodyDiffusion self, SparseStringKey a0, IMP::String a1)
3959  set_value(RigidBodyDiffusion self, SparseParticleIndexKey a0, ParticleIndex a1)
3960  """
3961  return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
3962 
3963  def remove_attribute(self, *args):
3964  r"""
3965  remove_attribute(RigidBodyDiffusion self, FloatKey a0)
3966  remove_attribute(RigidBodyDiffusion self, IntKey a0)
3967  remove_attribute(RigidBodyDiffusion self, FloatsKey a0)
3968  remove_attribute(RigidBodyDiffusion self, IntsKey a0)
3969  remove_attribute(RigidBodyDiffusion self, StringKey a0)
3970  remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
3971  remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
3972  remove_attribute(RigidBodyDiffusion self, SparseFloatKey a0)
3973  remove_attribute(RigidBodyDiffusion self, SparseIntKey a0)
3974  remove_attribute(RigidBodyDiffusion self, SparseStringKey a0)
3975  remove_attribute(RigidBodyDiffusion self, SparseParticleIndexKey a0)
3976  """
3977  return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
3978 
3979  def has_attribute(self, *args):
3980  r"""
3981  has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
3982  has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
3983  has_attribute(RigidBodyDiffusion self, FloatsKey a0) -> bool
3984  has_attribute(RigidBodyDiffusion self, IntsKey a0) -> bool
3985  has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
3986  has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
3987  has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
3988  has_attribute(RigidBodyDiffusion self, SparseFloatKey a0) -> bool
3989  has_attribute(RigidBodyDiffusion self, SparseIntKey a0) -> bool
3990  has_attribute(RigidBodyDiffusion self, SparseStringKey a0) -> bool
3991  has_attribute(RigidBodyDiffusion self, SparseParticleIndexKey a0) -> bool
3992  """
3993  return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
3994 
3995  def get_derivative(self, a0):
3996  r"""get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
3997  return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
3998 
3999  def get_name(self):
4000  r"""get_name(RigidBodyDiffusion self) -> std::string"""
4001  return _IMP_atom.RigidBodyDiffusion_get_name(self)
4002 
4003  def clear_caches(self):
4004  r"""clear_caches(RigidBodyDiffusion self)"""
4005  return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4006 
4007  def set_name(self, a0):
4008  r"""set_name(RigidBodyDiffusion self, std::string a0)"""
4009  return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4010 
4011  def set_check_level(self, a0):
4012  r"""set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4013  return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4014 
4015  def add_to_derivative(self, a0, a1, a2):
4016  r"""add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4017  return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4018 
4019  def set_is_optimized(self, a0, a1):
4020  r"""set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4021  return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4022 
4023  def get_is_optimized(self, a0):
4024  r"""get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4025  return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4026 
4027  def get_check_level(self):
4028  r"""get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4029  return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4030 
4031  def __eq__(self, *args):
4032  r"""
4033  __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4034  __eq__(RigidBodyDiffusion self, Particle d) -> bool
4035  """
4036  return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4037 
4038  def __ne__(self, *args):
4039  r"""
4040  __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4041  __ne__(RigidBodyDiffusion self, Particle d) -> bool
4042  """
4043  return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4044 
4045  def __le__(self, *args):
4046  r"""
4047  __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4048  __le__(RigidBodyDiffusion self, Particle d) -> bool
4049  """
4050  return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4051 
4052  def __lt__(self, *args):
4053  r"""
4054  __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4055  __lt__(RigidBodyDiffusion self, Particle d) -> bool
4056  """
4057  return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4058 
4059  def __ge__(self, *args):
4060  r"""
4061  __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4062  __ge__(RigidBodyDiffusion self, Particle d) -> bool
4063  """
4064  return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4065 
4066  def __gt__(self, *args):
4067  r"""
4068  __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4069  __gt__(RigidBodyDiffusion self, Particle d) -> bool
4070  """
4071  return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4072 
4073  def __hash__(self):
4074  r"""__hash__(RigidBodyDiffusion self) -> std::size_t"""
4075  return _IMP_atom.RigidBodyDiffusion___hash__(self)
4076 
4077  def __str__(self):
4078  r"""__str__(RigidBodyDiffusion self) -> std::string"""
4079  return _IMP_atom.RigidBodyDiffusion___str__(self)
4080 
4081  def __repr__(self):
4082  r"""__repr__(RigidBodyDiffusion self) -> std::string"""
4083  return _IMP_atom.RigidBodyDiffusion___repr__(self)
4084 
4085  def _get_as_binary(self):
4086  r"""_get_as_binary(RigidBodyDiffusion self) -> PyObject *"""
4087  return _IMP_atom.RigidBodyDiffusion__get_as_binary(self)
4088 
4089  def _set_from_binary(self, p):
4090  r"""_set_from_binary(RigidBodyDiffusion self, PyObject * p)"""
4091  return _IMP_atom.RigidBodyDiffusion__set_from_binary(self, p)
4092 
4093  def __getstate__(self):
4094  p = self._get_as_binary()
4095  if len(self.__dict__) > 1:
4096  d = self.__dict__.copy()
4097  del d['this']
4098  p = (d, p)
4099  return p
4100 
4101  def __setstate__(self, p):
4102  if not hasattr(self, 'this'):
4103  self.__init__()
4104  if isinstance(p, tuple):
4105  d, p = p
4106  self.__dict__.update(d)
4107  return self._set_from_binary(p)
4108 
4109  __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4110 
4111 # Register RigidBodyDiffusion in _IMP_atom:
4112 _IMP_atom.RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4113 class TAMDParticle(IMP.Decorator):
4114  r"""Proxy of C++ IMP::atom::TAMDParticle class."""
4115 
4116  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4117 
4118  def __init__(self, *args):
4119  r"""
4120  __init__(TAMDParticle self) -> TAMDParticle
4121  __init__(TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4122  __init__(TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4123  """
4124  _IMP_atom.TAMDParticle_swiginit(self, _IMP_atom.new_TAMDParticle(*args))
4125 
4126  def show(self, *args):
4127  r"""show(TAMDParticle self, _ostream out=std::cout)"""
4128  return _IMP_atom.TAMDParticle_show(self, *args)
4129 
4130  @staticmethod
4131  def setup_particle(*args):
4132  r"""
4133  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4134  setup_particle(_ParticleAdaptor pa, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4135  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4136  setup_particle(_ParticleAdaptor pa, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4137  """
4138  return _IMP_atom.TAMDParticle_setup_particle(*args)
4139 
4140  @staticmethod
4141  def get_is_setup(*args):
4142  r"""
4143  get_is_setup(_ParticleAdaptor p) -> bool
4144  get_is_setup(Model m, ParticleIndex p) -> bool
4145  """
4146  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4147 
4148  def get_reference_particle_index(self):
4149  r"""get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4150  return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4151 
4152  def set_temperature_scale_factor(self, tsf):
4153  r"""set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4154  return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4155 
4156  def get_temperature_scale_factor(self):
4157  r"""get_temperature_scale_factor(TAMDParticle self) -> double"""
4158  return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4159 
4160  def set_friction_scale_factor(self, tsf):
4161  r"""set_friction_scale_factor(TAMDParticle self, float tsf)"""
4162  return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4163 
4164  def get_friction_scale_factor(self):
4165  r"""get_friction_scale_factor(TAMDParticle self) -> double"""
4166  return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4167 
4168  def update_coordinates_from_ref(self):
4169  r"""update_coordinates_from_ref(TAMDParticle self)"""
4170  return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4171 
4172  @staticmethod
4173  def get_temperature_scale_factor_key():
4174  r"""get_temperature_scale_factor_key() -> FloatKey"""
4175  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4176 
4177  @staticmethod
4178  def get_friction_scale_factor_key():
4179  r"""get_friction_scale_factor_key() -> FloatKey"""
4180  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4181 
4182  @staticmethod
4183  def get_reference_particle_index_key():
4184  r"""get_reference_particle_index_key() -> ParticleIndexKey"""
4185  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4186 
4187  def add_attribute(self, *args):
4188  r"""
4189  add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4190  add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4191  add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4192  add_attribute(TAMDParticle self, FloatsKey a0, IMP::Floats a1)
4193  add_attribute(TAMDParticle self, IntsKey a0, IMP::Ints a1)
4194  add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4195  add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4196  add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4197  add_attribute(TAMDParticle self, SparseFloatKey a0, IMP::Float a1)
4198  add_attribute(TAMDParticle self, SparseIntKey a0, IMP::Int a1)
4199  add_attribute(TAMDParticle self, SparseStringKey a0, IMP::String a1)
4200  add_attribute(TAMDParticle self, SparseParticleIndexKey a0, ParticleIndex a1)
4201  """
4202  return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4203 
4204  def get_value(self, *args):
4205  r"""
4206  get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4207  get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4208  get_value(TAMDParticle self, FloatsKey a0) -> IMP::Floats
4209  get_value(TAMDParticle self, IntsKey a0) -> IMP::Ints
4210  get_value(TAMDParticle self, StringKey a0) -> IMP::String
4211  get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4212  get_value(TAMDParticle self, ObjectKey a0) -> Object
4213  get_value(TAMDParticle self, SparseFloatKey a0) -> IMP::Float
4214  get_value(TAMDParticle self, SparseIntKey a0) -> IMP::Int
4215  get_value(TAMDParticle self, SparseStringKey a0) -> IMP::String
4216  get_value(TAMDParticle self, SparseParticleIndexKey a0) -> ParticleIndex
4217  """
4218  return _IMP_atom.TAMDParticle_get_value(self, *args)
4219 
4220  def set_value(self, *args):
4221  r"""
4222  set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4223  set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4224  set_value(TAMDParticle self, FloatsKey a0, IMP::Floats a1)
4225  set_value(TAMDParticle self, IntsKey a0, IMP::Ints a1)
4226  set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4227  set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4228  set_value(TAMDParticle self, ObjectKey a0, Object a1)
4229  set_value(TAMDParticle self, SparseFloatKey a0, IMP::Float a1)
4230  set_value(TAMDParticle self, SparseIntKey a0, IMP::Int a1)
4231  set_value(TAMDParticle self, SparseStringKey a0, IMP::String a1)
4232  set_value(TAMDParticle self, SparseParticleIndexKey a0, ParticleIndex a1)
4233  """
4234  return _IMP_atom.TAMDParticle_set_value(self, *args)
4235 
4236  def remove_attribute(self, *args):
4237  r"""
4238  remove_attribute(TAMDParticle self, FloatKey a0)
4239  remove_attribute(TAMDParticle self, IntKey a0)
4240  remove_attribute(TAMDParticle self, FloatsKey a0)
4241  remove_attribute(TAMDParticle self, IntsKey a0)
4242  remove_attribute(TAMDParticle self, StringKey a0)
4243  remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4244  remove_attribute(TAMDParticle self, ObjectKey a0)
4245  remove_attribute(TAMDParticle self, SparseFloatKey a0)
4246  remove_attribute(TAMDParticle self, SparseIntKey a0)
4247  remove_attribute(TAMDParticle self, SparseStringKey a0)
4248  remove_attribute(TAMDParticle self, SparseParticleIndexKey a0)
4249  """
4250  return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4251 
4252  def has_attribute(self, *args):
4253  r"""
4254  has_attribute(TAMDParticle self, FloatKey a0) -> bool
4255  has_attribute(TAMDParticle self, IntKey a0) -> bool
4256  has_attribute(TAMDParticle self, FloatsKey a0) -> bool
4257  has_attribute(TAMDParticle self, IntsKey a0) -> bool
4258  has_attribute(TAMDParticle self, StringKey a0) -> bool
4259  has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4260  has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4261  has_attribute(TAMDParticle self, SparseFloatKey a0) -> bool
4262  has_attribute(TAMDParticle self, SparseIntKey a0) -> bool
4263  has_attribute(TAMDParticle self, SparseStringKey a0) -> bool
4264  has_attribute(TAMDParticle self, SparseParticleIndexKey a0) -> bool
4265  """
4266  return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4267 
4268  def get_derivative(self, a0):
4269  r"""get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4270  return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4271 
4272  def get_name(self):
4273  r"""get_name(TAMDParticle self) -> std::string"""
4274  return _IMP_atom.TAMDParticle_get_name(self)
4275 
4276  def clear_caches(self):
4277  r"""clear_caches(TAMDParticle self)"""
4278  return _IMP_atom.TAMDParticle_clear_caches(self)
4279 
4280  def set_name(self, a0):
4281  r"""set_name(TAMDParticle self, std::string a0)"""
4282  return _IMP_atom.TAMDParticle_set_name(self, a0)
4283 
4284  def set_check_level(self, a0):
4285  r"""set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4286  return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4287 
4288  def add_to_derivative(self, a0, a1, a2):
4289  r"""add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4290  return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4291 
4292  def set_is_optimized(self, a0, a1):
4293  r"""set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4294  return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4295 
4296  def get_is_optimized(self, a0):
4297  r"""get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4298  return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4299 
4300  def get_check_level(self):
4301  r"""get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4302  return _IMP_atom.TAMDParticle_get_check_level(self)
4303 
4304  def __eq__(self, *args):
4305  r"""
4306  __eq__(TAMDParticle self, TAMDParticle o) -> bool
4307  __eq__(TAMDParticle self, Particle d) -> bool
4308  """
4309  return _IMP_atom.TAMDParticle___eq__(self, *args)
4310 
4311  def __ne__(self, *args):
4312  r"""
4313  __ne__(TAMDParticle self, TAMDParticle o) -> bool
4314  __ne__(TAMDParticle self, Particle d) -> bool
4315  """
4316  return _IMP_atom.TAMDParticle___ne__(self, *args)
4317 
4318  def __le__(self, *args):
4319  r"""
4320  __le__(TAMDParticle self, TAMDParticle o) -> bool
4321  __le__(TAMDParticle self, Particle d) -> bool
4322  """
4323  return _IMP_atom.TAMDParticle___le__(self, *args)
4324 
4325  def __lt__(self, *args):
4326  r"""
4327  __lt__(TAMDParticle self, TAMDParticle o) -> bool
4328  __lt__(TAMDParticle self, Particle d) -> bool
4329  """
4330  return _IMP_atom.TAMDParticle___lt__(self, *args)
4331 
4332  def __ge__(self, *args):
4333  r"""
4334  __ge__(TAMDParticle self, TAMDParticle o) -> bool
4335  __ge__(TAMDParticle self, Particle d) -> bool
4336  """
4337  return _IMP_atom.TAMDParticle___ge__(self, *args)
4338 
4339  def __gt__(self, *args):
4340  r"""
4341  __gt__(TAMDParticle self, TAMDParticle o) -> bool
4342  __gt__(TAMDParticle self, Particle d) -> bool
4343  """
4344  return _IMP_atom.TAMDParticle___gt__(self, *args)
4345 
4346  def __hash__(self):
4347  r"""__hash__(TAMDParticle self) -> std::size_t"""
4348  return _IMP_atom.TAMDParticle___hash__(self)
4349 
4350  def __str__(self):
4351  r"""__str__(TAMDParticle self) -> std::string"""
4352  return _IMP_atom.TAMDParticle___str__(self)
4353 
4354  def __repr__(self):
4355  r"""__repr__(TAMDParticle self) -> std::string"""
4356  return _IMP_atom.TAMDParticle___repr__(self)
4357 
4358  def _get_as_binary(self):
4359  r"""_get_as_binary(TAMDParticle self) -> PyObject *"""
4360  return _IMP_atom.TAMDParticle__get_as_binary(self)
4361 
4362  def _set_from_binary(self, p):
4363  r"""_set_from_binary(TAMDParticle self, PyObject * p)"""
4364  return _IMP_atom.TAMDParticle__set_from_binary(self, p)
4365 
4366  def __getstate__(self):
4367  p = self._get_as_binary()
4368  if len(self.__dict__) > 1:
4369  d = self.__dict__.copy()
4370  del d['this']
4371  p = (d, p)
4372  return p
4373 
4374  def __setstate__(self, p):
4375  if not hasattr(self, 'this'):
4376  self.__init__()
4377  if isinstance(p, tuple):
4378  d, p = p
4379  self.__dict__.update(d)
4380  return self._set_from_binary(p)
4381 
4382  __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4383 
4384 # Register TAMDParticle in _IMP_atom:
4385 _IMP_atom.TAMDParticle_swigregister(TAMDParticle)
4386 class Charged(IMP.core.XYZ):
4387  r"""Proxy of C++ IMP::atom::Charged class."""
4388 
4389  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4390 
4391  def __init__(self, *args):
4392  r"""
4393  __init__(Charged self) -> Charged
4394  __init__(Charged self, Model m, ParticleIndex id) -> Charged
4395  __init__(Charged self, _ParticleAdaptor d) -> Charged
4396  """
4397  _IMP_atom.Charged_swiginit(self, _IMP_atom.new_Charged(*args))
4398 
4399  def show(self, *args):
4400  r"""show(Charged self, _ostream out=std::cout)"""
4401  return _IMP_atom.Charged_show(self, *args)
4402 
4403  @staticmethod
4404  def setup_particle(*args):
4405  r"""
4406  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
4407  setup_particle(_ParticleAdaptor pa, IMP::Float charge) -> Charged
4408  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
4409  setup_particle(_ParticleAdaptor pa, Vector3D v, IMP::Float charge) -> Charged
4410  """
4411  return _IMP_atom.Charged_setup_particle(*args)
4412 
4413  def get_charge(self):
4414  r"""get_charge(Charged self) -> IMP::Float"""
4415  return _IMP_atom.Charged_get_charge(self)
4416 
4417  def set_charge(self, t):
4418  r"""set_charge(Charged self, IMP::Float t)"""
4419  return _IMP_atom.Charged_set_charge(self, t)
4420 
4421  @staticmethod
4422  def get_is_setup(*args):
4423  r"""
4424  get_is_setup(_ParticleAdaptor p) -> bool
4425  get_is_setup(Model m, ParticleIndex pi) -> bool
4426  """
4427  return _IMP_atom.Charged_get_is_setup(*args)
4428 
4429  @staticmethod
4430  def get_charge_key():
4431  r"""get_charge_key() -> FloatKey"""
4432  return _IMP_atom.Charged_get_charge_key()
4433 
4434  def add_attribute(self, *args):
4435  r"""
4436  add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
4437  add_attribute(Charged self, FloatKey a0, IMP::Float a1)
4438  add_attribute(Charged self, IntKey a0, IMP::Int a1)
4439  add_attribute(Charged self, FloatsKey a0, IMP::Floats a1)
4440  add_attribute(Charged self, IntsKey a0, IMP::Ints a1)
4441  add_attribute(Charged self, StringKey a0, IMP::String a1)
4442  add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
4443  add_attribute(Charged self, ObjectKey a0, Object a1)
4444  add_attribute(Charged self, SparseFloatKey a0, IMP::Float a1)
4445  add_attribute(Charged self, SparseIntKey a0, IMP::Int a1)
4446  add_attribute(Charged self, SparseStringKey a0, IMP::String a1)
4447  add_attribute(Charged self, SparseParticleIndexKey a0, ParticleIndex a1)
4448  """
4449  return _IMP_atom.Charged_add_attribute(self, *args)
4450 
4451  def get_value(self, *args):
4452  r"""
4453  get_value(Charged self, FloatKey a0) -> IMP::Float
4454  get_value(Charged self, IntKey a0) -> IMP::Int
4455  get_value(Charged self, FloatsKey a0) -> IMP::Floats
4456  get_value(Charged self, IntsKey a0) -> IMP::Ints
4457  get_value(Charged self, StringKey a0) -> IMP::String
4458  get_value(Charged self, ParticleIndexKey a0) -> Particle
4459  get_value(Charged self, ObjectKey a0) -> Object
4460  get_value(Charged self, SparseFloatKey a0) -> IMP::Float
4461  get_value(Charged self, SparseIntKey a0) -> IMP::Int
4462  get_value(Charged self, SparseStringKey a0) -> IMP::String
4463  get_value(Charged self, SparseParticleIndexKey a0) -> ParticleIndex
4464  """
4465  return _IMP_atom.Charged_get_value(self, *args)
4466 
4467  def set_value(self, *args):
4468  r"""
4469  set_value(Charged self, FloatKey a0, IMP::Float a1)
4470  set_value(Charged self, IntKey a0, IMP::Int a1)
4471  set_value(Charged self, FloatsKey a0, IMP::Floats a1)
4472  set_value(Charged self, IntsKey a0, IMP::Ints a1)
4473  set_value(Charged self, StringKey a0, IMP::String a1)
4474  set_value(Charged self, ParticleIndexKey a0, Particle a1)
4475  set_value(Charged self, ObjectKey a0, Object a1)
4476  set_value(Charged self, SparseFloatKey a0, IMP::Float a1)
4477  set_value(Charged self, SparseIntKey a0, IMP::Int a1)
4478  set_value(Charged self, SparseStringKey a0, IMP::String a1)
4479  set_value(Charged self, SparseParticleIndexKey a0, ParticleIndex a1)
4480  """
4481  return _IMP_atom.Charged_set_value(self, *args)
4482 
4483  def remove_attribute(self, *args):
4484  r"""
4485  remove_attribute(Charged self, FloatKey a0)
4486  remove_attribute(Charged self, IntKey a0)
4487  remove_attribute(Charged self, FloatsKey a0)
4488  remove_attribute(Charged self, IntsKey a0)
4489  remove_attribute(Charged self, StringKey a0)
4490  remove_attribute(Charged self, ParticleIndexKey a0)
4491  remove_attribute(Charged self, ObjectKey a0)
4492  remove_attribute(Charged self, SparseFloatKey a0)
4493  remove_attribute(Charged self, SparseIntKey a0)
4494  remove_attribute(Charged self, SparseStringKey a0)
4495  remove_attribute(Charged self, SparseParticleIndexKey a0)
4496  """
4497  return _IMP_atom.Charged_remove_attribute(self, *args)
4498 
4499  def has_attribute(self, *args):
4500  r"""
4501  has_attribute(Charged self, FloatKey a0) -> bool
4502  has_attribute(Charged self, IntKey a0) -> bool
4503  has_attribute(Charged self, FloatsKey a0) -> bool
4504  has_attribute(Charged self, IntsKey a0) -> bool
4505  has_attribute(Charged self, StringKey a0) -> bool
4506  has_attribute(Charged self, ParticleIndexKey a0) -> bool
4507  has_attribute(Charged self, ObjectKey a0) -> bool
4508  has_attribute(Charged self, SparseFloatKey a0) -> bool
4509  has_attribute(Charged self, SparseIntKey a0) -> bool
4510  has_attribute(Charged self, SparseStringKey a0) -> bool
4511  has_attribute(Charged self, SparseParticleIndexKey a0) -> bool
4512  """
4513  return _IMP_atom.Charged_has_attribute(self, *args)
4514 
4515  def get_derivative(self, a0):
4516  r"""get_derivative(Charged self, FloatKey a0) -> double"""
4517  return _IMP_atom.Charged_get_derivative(self, a0)
4518 
4519  def get_name(self):
4520  r"""get_name(Charged self) -> std::string"""
4521  return _IMP_atom.Charged_get_name(self)
4522 
4523  def clear_caches(self):
4524  r"""clear_caches(Charged self)"""
4525  return _IMP_atom.Charged_clear_caches(self)
4526 
4527  def set_name(self, a0):
4528  r"""set_name(Charged self, std::string a0)"""
4529  return _IMP_atom.Charged_set_name(self, a0)
4530 
4531  def set_check_level(self, a0):
4532  r"""set_check_level(Charged self, IMP::CheckLevel a0)"""
4533  return _IMP_atom.Charged_set_check_level(self, a0)
4534 
4535  def add_to_derivative(self, a0, a1, a2):
4536  r"""add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4537  return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
4538 
4539  def set_is_optimized(self, a0, a1):
4540  r"""set_is_optimized(Charged self, FloatKey a0, bool a1)"""
4541  return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
4542 
4543  def get_is_optimized(self, a0):
4544  r"""get_is_optimized(Charged self, FloatKey a0) -> bool"""
4545  return _IMP_atom.Charged_get_is_optimized(self, a0)
4546 
4547  def get_check_level(self):
4548  r"""get_check_level(Charged self) -> IMP::CheckLevel"""
4549  return _IMP_atom.Charged_get_check_level(self)
4550 
4551  def __eq__(self, *args):
4552  r"""
4553  __eq__(Charged self, Charged o) -> bool
4554  __eq__(Charged self, Particle d) -> bool
4555  """
4556  return _IMP_atom.Charged___eq__(self, *args)
4557 
4558  def __ne__(self, *args):
4559  r"""
4560  __ne__(Charged self, Charged o) -> bool
4561  __ne__(Charged self, Particle d) -> bool
4562  """
4563  return _IMP_atom.Charged___ne__(self, *args)
4564 
4565  def __le__(self, *args):
4566  r"""
4567  __le__(Charged self, Charged o) -> bool
4568  __le__(Charged self, Particle d) -> bool
4569  """
4570  return _IMP_atom.Charged___le__(self, *args)
4571 
4572  def __lt__(self, *args):
4573  r"""
4574  __lt__(Charged self, Charged o) -> bool
4575  __lt__(Charged self, Particle d) -> bool
4576  """
4577  return _IMP_atom.Charged___lt__(self, *args)
4578 
4579  def __ge__(self, *args):
4580  r"""
4581  __ge__(Charged self, Charged o) -> bool
4582  __ge__(Charged self, Particle d) -> bool
4583  """
4584  return _IMP_atom.Charged___ge__(self, *args)
4585 
4586  def __gt__(self, *args):
4587  r"""
4588  __gt__(Charged self, Charged o) -> bool
4589  __gt__(Charged self, Particle d) -> bool
4590  """
4591  return _IMP_atom.Charged___gt__(self, *args)
4592 
4593  def __hash__(self):
4594  r"""__hash__(Charged self) -> std::size_t"""
4595  return _IMP_atom.Charged___hash__(self)
4596 
4597  def __str__(self):
4598  r"""__str__(Charged self) -> std::string"""
4599  return _IMP_atom.Charged___str__(self)
4600 
4601  def __repr__(self):
4602  r"""__repr__(Charged self) -> std::string"""
4603  return _IMP_atom.Charged___repr__(self)
4604 
4605  def _get_as_binary(self):
4606  r"""_get_as_binary(Charged self) -> PyObject *"""
4607  return _IMP_atom.Charged__get_as_binary(self)
4608 
4609  def _set_from_binary(self, p):
4610  r"""_set_from_binary(Charged self, PyObject * p)"""
4611  return _IMP_atom.Charged__set_from_binary(self, p)
4612 
4613  def __getstate__(self):
4614  p = self._get_as_binary()
4615  if len(self.__dict__) > 1:
4616  d = self.__dict__.copy()
4617  del d['this']
4618  p = (d, p)
4619  return p
4620 
4621  def __setstate__(self, p):
4622  if not hasattr(self, 'this'):
4623  self.__init__()
4624  if isinstance(p, tuple):
4625  d, p = p
4626  self.__dict__.update(d)
4627  return self._set_from_binary(p)
4628 
4629  __swig_destroy__ = _IMP_atom.delete_Charged
4630 
4631 # Register Charged in _IMP_atom:
4632 _IMP_atom.Charged_swigregister(Charged)
4633 class CoulombPairScore(IMP.PairScore):
4634  r"""Proxy of C++ IMP::atom::CoulombPairScore class."""
4635 
4636  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4637 
4638  def __init__(self, f):
4639  r"""__init__(CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
4640  _IMP_atom.CoulombPairScore_swiginit(self, _IMP_atom.new_CoulombPairScore(f))
4641 
4642  def set_relative_dielectric(self, relative_dielectric):
4643  r"""set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
4644  return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
4645 
4646  def get_relative_dielectric(self):
4647  r"""get_relative_dielectric(CoulombPairScore self) -> double"""
4648  return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
4649 
4650  def do_get_inputs(self, m, pis):
4651  r"""do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4652  return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
4653 
4654  def get_version_info(self):
4655  r"""get_version_info(CoulombPairScore self) -> VersionInfo"""
4656  return _IMP_atom.CoulombPairScore_get_version_info(self)
4657  __swig_destroy__ = _IMP_atom.delete_CoulombPairScore
4658 
4659  def __str__(self):
4660  r"""__str__(CoulombPairScore self) -> std::string"""
4661  return _IMP_atom.CoulombPairScore___str__(self)
4662 
4663  def __repr__(self):
4664  r"""__repr__(CoulombPairScore self) -> std::string"""
4665  return _IMP_atom.CoulombPairScore___repr__(self)
4666 
4667  @staticmethod
4668  def get_from(o):
4669  return _object_cast_to_CoulombPairScore(o)
4670 
4671 
4672 # Register CoulombPairScore in _IMP_atom:
4673 _IMP_atom.CoulombPairScore_swigregister(CoulombPairScore)
4674 class Domain(Hierarchy):
4675  r"""Proxy of C++ IMP::atom::Domain class."""
4676 
4677  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4678 
4679  def set_index_range(self, ir):
4680  r"""set_index_range(Domain self, IMP::IntRange ir)"""
4681  return _IMP_atom.Domain_set_index_range(self, ir)
4682 
4683  def get_index_range(self):
4684  r"""get_index_range(Domain self) -> IMP::IntRange"""
4685  return _IMP_atom.Domain_get_index_range(self)
4686 
4687  def __init__(self, *args):
4688  r"""
4689  __init__(Domain self) -> Domain
4690  __init__(Domain self, Model m, ParticleIndex id) -> Domain
4691  __init__(Domain self, _ParticleAdaptor d) -> Domain
4692  """
4693  _IMP_atom.Domain_swiginit(self, _IMP_atom.new_Domain(*args))
4694 
4695  @staticmethod
4696  def get_is_setup(*args):
4697  r"""
4698  get_is_setup(Model m, ParticleIndex pi) -> bool
4699  get_is_setup(_ParticleAdaptor p) -> bool
4700  """
4701  return _IMP_atom.Domain_get_is_setup(*args)
4702 
4703  def show(self, *args):
4704  r"""show(Domain self, _ostream out=std::cout)"""
4705  return _IMP_atom.Domain_show(self, *args)
4706 
4707  @staticmethod
4708  def setup_particle(*args):
4709  r"""
4710  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
4711  setup_particle(_ParticleAdaptor pa, Domain other) -> Domain
4712  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
4713  setup_particle(_ParticleAdaptor pa, IMP::IntRange residues) -> Domain
4714  """
4715  return _IMP_atom.Domain_setup_particle(*args)
4716 
4717  def add_attribute(self, *args):
4718  r"""
4719  add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
4720  add_attribute(Domain self, FloatKey a0, IMP::Float a1)
4721  add_attribute(Domain self, IntKey a0, IMP::Int a1)
4722  add_attribute(Domain self, FloatsKey a0, IMP::Floats a1)
4723  add_attribute(Domain self, IntsKey a0, IMP::Ints a1)
4724  add_attribute(Domain self, StringKey a0, IMP::String a1)
4725  add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
4726  add_attribute(Domain self, ObjectKey a0, Object a1)
4727  add_attribute(Domain self, SparseFloatKey a0, IMP::Float a1)
4728  add_attribute(Domain self, SparseIntKey a0, IMP::Int a1)
4729  add_attribute(Domain self, SparseStringKey a0, IMP::String a1)
4730  add_attribute(Domain self, SparseParticleIndexKey a0, ParticleIndex a1)
4731  """
4732  return _IMP_atom.Domain_add_attribute(self, *args)
4733 
4734  def get_value(self, *args):
4735  r"""
4736  get_value(Domain self, FloatKey a0) -> IMP::Float
4737  get_value(Domain self, IntKey a0) -> IMP::Int
4738  get_value(Domain self, FloatsKey a0) -> IMP::Floats
4739  get_value(Domain self, IntsKey a0) -> IMP::Ints
4740  get_value(Domain self, StringKey a0) -> IMP::String
4741  get_value(Domain self, ParticleIndexKey a0) -> Particle
4742  get_value(Domain self, ObjectKey a0) -> Object
4743  get_value(Domain self, SparseFloatKey a0) -> IMP::Float
4744  get_value(Domain self, SparseIntKey a0) -> IMP::Int
4745  get_value(Domain self, SparseStringKey a0) -> IMP::String
4746  get_value(Domain self, SparseParticleIndexKey a0) -> ParticleIndex
4747  """
4748  return _IMP_atom.Domain_get_value(self, *args)
4749 
4750  def set_value(self, *args):
4751  r"""
4752  set_value(Domain self, FloatKey a0, IMP::Float a1)
4753  set_value(Domain self, IntKey a0, IMP::Int a1)
4754  set_value(Domain self, FloatsKey a0, IMP::Floats a1)
4755  set_value(Domain self, IntsKey a0, IMP::Ints a1)
4756  set_value(Domain self, StringKey a0, IMP::String a1)
4757  set_value(Domain self, ParticleIndexKey a0, Particle a1)
4758  set_value(Domain self, ObjectKey a0, Object a1)
4759  set_value(Domain self, SparseFloatKey a0, IMP::Float a1)
4760  set_value(Domain self, SparseIntKey a0, IMP::Int a1)
4761  set_value(Domain self, SparseStringKey a0, IMP::String a1)
4762  set_value(Domain self, SparseParticleIndexKey a0, ParticleIndex a1)
4763  """
4764  return _IMP_atom.Domain_set_value(self, *args)
4765 
4766  def remove_attribute(self, *args):
4767  r"""
4768  remove_attribute(Domain self, FloatKey a0)
4769  remove_attribute(Domain self, IntKey a0)
4770  remove_attribute(Domain self, FloatsKey a0)
4771  remove_attribute(Domain self, IntsKey a0)
4772  remove_attribute(Domain self, StringKey a0)
4773  remove_attribute(Domain self, ParticleIndexKey a0)
4774  remove_attribute(Domain self, ObjectKey a0)
4775  remove_attribute(Domain self, SparseFloatKey a0)
4776  remove_attribute(Domain self, SparseIntKey a0)
4777  remove_attribute(Domain self, SparseStringKey a0)
4778  remove_attribute(Domain self, SparseParticleIndexKey a0)
4779  """
4780  return _IMP_atom.Domain_remove_attribute(self, *args)
4781 
4782  def has_attribute(self, *args):
4783  r"""
4784  has_attribute(Domain self, FloatKey a0) -> bool
4785  has_attribute(Domain self, IntKey a0) -> bool
4786  has_attribute(Domain self, FloatsKey a0) -> bool
4787  has_attribute(Domain self, IntsKey a0) -> bool
4788  has_attribute(Domain self, StringKey a0) -> bool
4789  has_attribute(Domain self, ParticleIndexKey a0) -> bool
4790  has_attribute(Domain self, ObjectKey a0) -> bool
4791  has_attribute(Domain self, SparseFloatKey a0) -> bool
4792  has_attribute(Domain self, SparseIntKey a0) -> bool
4793  has_attribute(Domain self, SparseStringKey a0) -> bool
4794  has_attribute(Domain self, SparseParticleIndexKey a0) -> bool
4795  """
4796  return _IMP_atom.Domain_has_attribute(self, *args)
4797 
4798  def get_derivative(self, a0):
4799  r"""get_derivative(Domain self, FloatKey a0) -> double"""
4800  return _IMP_atom.Domain_get_derivative(self, a0)
4801 
4802  def get_name(self):
4803  r"""get_name(Domain self) -> std::string"""
4804  return _IMP_atom.Domain_get_name(self)
4805 
4806  def clear_caches(self):
4807  r"""clear_caches(Domain self)"""
4808  return _IMP_atom.Domain_clear_caches(self)
4809 
4810  def set_name(self, a0):
4811  r"""set_name(Domain self, std::string a0)"""
4812  return _IMP_atom.Domain_set_name(self, a0)
4813 
4814  def set_check_level(self, a0):
4815  r"""set_check_level(Domain self, IMP::CheckLevel a0)"""
4816  return _IMP_atom.Domain_set_check_level(self, a0)
4817 
4818  def add_to_derivative(self, a0, a1, a2):
4819  r"""add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4820  return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
4821 
4822  def set_is_optimized(self, a0, a1):
4823  r"""set_is_optimized(Domain self, FloatKey a0, bool a1)"""
4824  return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
4825 
4826  def get_is_optimized(self, a0):
4827  r"""get_is_optimized(Domain self, FloatKey a0) -> bool"""
4828  return _IMP_atom.Domain_get_is_optimized(self, a0)
4829 
4830  def get_check_level(self):
4831  r"""get_check_level(Domain self) -> IMP::CheckLevel"""
4832  return _IMP_atom.Domain_get_check_level(self)
4833 
4834  def __eq__(self, *args):
4835  r"""
4836  __eq__(Domain self, Domain o) -> bool
4837  __eq__(Domain self, Particle d) -> bool
4838  """
4839  return _IMP_atom.Domain___eq__(self, *args)
4840 
4841  def __ne__(self, *args):
4842  r"""
4843  __ne__(Domain self, Domain o) -> bool
4844  __ne__(Domain self, Particle d) -> bool
4845  """
4846  return _IMP_atom.Domain___ne__(self, *args)
4847 
4848  def __le__(self, *args):
4849  r"""
4850  __le__(Domain self, Domain o) -> bool
4851  __le__(Domain self, Particle d) -> bool
4852  """
4853  return _IMP_atom.Domain___le__(self, *args)
4854 
4855  def __lt__(self, *args):
4856  r"""
4857  __lt__(Domain self, Domain o) -> bool
4858  __lt__(Domain self, Particle d) -> bool
4859  """
4860  return _IMP_atom.Domain___lt__(self, *args)
4861 
4862  def __ge__(self, *args):
4863  r"""
4864  __ge__(Domain self, Domain o) -> bool
4865  __ge__(Domain self, Particle d) -> bool
4866  """
4867  return _IMP_atom.Domain___ge__(self, *args)
4868 
4869  def __gt__(self, *args):
4870  r"""
4871  __gt__(Domain self, Domain o) -> bool
4872  __gt__(Domain self, Particle d) -> bool
4873  """
4874  return _IMP_atom.Domain___gt__(self, *args)
4875 
4876  def __hash__(self):
4877  r"""__hash__(Domain self) -> std::size_t"""
4878  return _IMP_atom.Domain___hash__(self)
4879 
4880  def __str__(self):
4881  r"""__str__(Domain self) -> std::string"""
4882  return _IMP_atom.Domain___str__(self)
4883 
4884  def __repr__(self):
4885  r"""__repr__(Domain self) -> std::string"""
4886  return _IMP_atom.Domain___repr__(self)
4887 
4888  def _get_as_binary(self):
4889  r"""_get_as_binary(Domain self) -> PyObject *"""
4890  return _IMP_atom.Domain__get_as_binary(self)
4891 
4892  def _set_from_binary(self, p):
4893  r"""_set_from_binary(Domain self, PyObject * p)"""
4894  return _IMP_atom.Domain__set_from_binary(self, p)
4895 
4896  def __getstate__(self):
4897  p = self._get_as_binary()
4898  if len(self.__dict__) > 1:
4899  d = self.__dict__.copy()
4900  del d['this']
4901  p = (d, p)
4902  return p
4903 
4904  def __setstate__(self, p):
4905  if not hasattr(self, 'this'):
4906  self.__init__()
4907  if isinstance(p, tuple):
4908  d, p = p
4909  self.__dict__.update(d)
4910  return self._set_from_binary(p)
4911 
4912  __swig_destroy__ = _IMP_atom.delete_Domain
4913 
4914 # Register Domain in _IMP_atom:
4915 _IMP_atom.Domain_swigregister(Domain)
4916 class LennardJones(IMP.core.XYZR):
4917  r"""Proxy of C++ IMP::atom::LennardJones class."""
4918 
4919  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4920 
4921  def __init__(self, *args):
4922  r"""
4923  __init__(LennardJones self) -> LennardJones
4924  __init__(LennardJones self, Model m, ParticleIndex id) -> LennardJones
4925  __init__(LennardJones self, _ParticleAdaptor d) -> LennardJones
4926  """
4927  _IMP_atom.LennardJones_swiginit(self, _IMP_atom.new_LennardJones(*args))
4928 
4929  def show(self, *args):
4930  r"""show(LennardJones self, _ostream out=std::cout)"""
4931  return _IMP_atom.LennardJones_show(self, *args)
4932 
4933  @staticmethod
4934  def setup_particle(*args):
4935  r"""
4936  setup_particle(Model m, ParticleIndex pi) -> LennardJones
4937  setup_particle(_ParticleAdaptor pa) -> LennardJones
4938  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
4939  setup_particle(_ParticleAdaptor pa, IMP::Float well_depth) -> LennardJones
4940  """
4941  return _IMP_atom.LennardJones_setup_particle(*args)
4942 
4943  def get_well_depth(self):
4944  r"""get_well_depth(LennardJones self) -> IMP::Float"""
4945  return _IMP_atom.LennardJones_get_well_depth(self)
4946 
4947  def set_well_depth(self, well_depth):
4948  r"""set_well_depth(LennardJones self, IMP::Float well_depth)"""
4949  return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
4950 
4951  @staticmethod
4952  def get_is_setup(*args):
4953  r"""
4954  get_is_setup(_ParticleAdaptor p) -> bool
4955  get_is_setup(Model m, ParticleIndex pi) -> bool
4956  """
4957  return _IMP_atom.LennardJones_get_is_setup(*args)
4958 
4959  @staticmethod
4960  def get_well_depth_key():
4961  r"""get_well_depth_key() -> FloatKey"""
4962  return _IMP_atom.LennardJones_get_well_depth_key()
4963 
4964  def add_attribute(self, *args):
4965  r"""
4966  add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
4967  add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
4968  add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
4969  add_attribute(LennardJones self, FloatsKey a0, IMP::Floats a1)
4970  add_attribute(LennardJones self, IntsKey a0, IMP::Ints a1)
4971  add_attribute(LennardJones self, StringKey a0, IMP::String a1)
4972  add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
4973  add_attribute(LennardJones self, ObjectKey a0, Object a1)
4974  add_attribute(LennardJones self, SparseFloatKey a0, IMP::Float a1)
4975  add_attribute(LennardJones self, SparseIntKey a0, IMP::Int a1)
4976  add_attribute(LennardJones self, SparseStringKey a0, IMP::String a1)
4977  add_attribute(LennardJones self, SparseParticleIndexKey a0, ParticleIndex a1)
4978  """
4979  return _IMP_atom.LennardJones_add_attribute(self, *args)
4980 
4981  def get_value(self, *args):
4982  r"""
4983  get_value(LennardJones self, FloatKey a0) -> IMP::Float
4984  get_value(LennardJones self, IntKey a0) -> IMP::Int
4985  get_value(LennardJones self, FloatsKey a0) -> IMP::Floats
4986  get_value(LennardJones self, IntsKey a0) -> IMP::Ints
4987  get_value(LennardJones self, StringKey a0) -> IMP::String
4988  get_value(LennardJones self, ParticleIndexKey a0) -> Particle
4989  get_value(LennardJones self, ObjectKey a0) -> Object
4990  get_value(LennardJones self, SparseFloatKey a0) -> IMP::Float
4991  get_value(LennardJones self, SparseIntKey a0) -> IMP::Int
4992  get_value(LennardJones self, SparseStringKey a0) -> IMP::String
4993  get_value(LennardJones self, SparseParticleIndexKey a0) -> ParticleIndex
4994  """
4995  return _IMP_atom.LennardJones_get_value(self, *args)
4996 
4997  def set_value(self, *args):
4998  r"""
4999  set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5000  set_value(LennardJones self, IntKey a0, IMP::Int a1)
5001  set_value(LennardJones self, FloatsKey a0, IMP::Floats a1)
5002  set_value(LennardJones self, IntsKey a0, IMP::Ints a1)
5003  set_value(LennardJones self, StringKey a0, IMP::String a1)
5004  set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5005  set_value(LennardJones self, ObjectKey a0, Object a1)
5006  set_value(LennardJones self, SparseFloatKey a0, IMP::Float a1)
5007  set_value(LennardJones self, SparseIntKey a0, IMP::Int a1)
5008  set_value(LennardJones self, SparseStringKey a0, IMP::String a1)
5009  set_value(LennardJones self, SparseParticleIndexKey a0, ParticleIndex a1)
5010  """
5011  return _IMP_atom.LennardJones_set_value(self, *args)
5012 
5013  def remove_attribute(self, *args):
5014  r"""
5015  remove_attribute(LennardJones self, FloatKey a0)
5016  remove_attribute(LennardJones self, IntKey a0)
5017  remove_attribute(LennardJones self, FloatsKey a0)
5018  remove_attribute(LennardJones self, IntsKey a0)
5019  remove_attribute(LennardJones self, StringKey a0)
5020  remove_attribute(LennardJones self, ParticleIndexKey a0)
5021  remove_attribute(LennardJones self, ObjectKey a0)
5022  remove_attribute(LennardJones self, SparseFloatKey a0)
5023  remove_attribute(LennardJones self, SparseIntKey a0)
5024  remove_attribute(LennardJones self, SparseStringKey a0)
5025  remove_attribute(LennardJones self, SparseParticleIndexKey a0)
5026  """
5027  return _IMP_atom.LennardJones_remove_attribute(self, *args)
5028 
5029  def has_attribute(self, *args):
5030  r"""
5031  has_attribute(LennardJones self, FloatKey a0) -> bool
5032  has_attribute(LennardJones self, IntKey a0) -> bool
5033  has_attribute(LennardJones self, FloatsKey a0) -> bool
5034  has_attribute(LennardJones self, IntsKey a0) -> bool
5035  has_attribute(LennardJones self, StringKey a0) -> bool
5036  has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5037  has_attribute(LennardJones self, ObjectKey a0) -> bool
5038  has_attribute(LennardJones self, SparseFloatKey a0) -> bool
5039  has_attribute(LennardJones self, SparseIntKey a0) -> bool
5040  has_attribute(LennardJones self, SparseStringKey a0) -> bool
5041  has_attribute(LennardJones self, SparseParticleIndexKey a0) -> bool
5042  """
5043  return _IMP_atom.LennardJones_has_attribute(self, *args)
5044 
5045  def get_derivative(self, a0):
5046  r"""get_derivative(LennardJones self, FloatKey a0) -> double"""
5047  return _IMP_atom.LennardJones_get_derivative(self, a0)
5048 
5049  def get_name(self):
5050  r"""get_name(LennardJones self) -> std::string"""
5051  return _IMP_atom.LennardJones_get_name(self)
5052 
5053  def clear_caches(self):
5054  r"""clear_caches(LennardJones self)"""
5055  return _IMP_atom.LennardJones_clear_caches(self)
5056 
5057  def set_name(self, a0):
5058  r"""set_name(LennardJones self, std::string a0)"""
5059  return _IMP_atom.LennardJones_set_name(self, a0)
5060 
5061  def set_check_level(self, a0):
5062  r"""set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5063  return _IMP_atom.LennardJones_set_check_level(self, a0)
5064 
5065  def add_to_derivative(self, a0, a1, a2):
5066  r"""add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5067  return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5068 
5069  def set_is_optimized(self, a0, a1):
5070  r"""set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5071  return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5072 
5073  def get_is_optimized(self, a0):
5074  r"""get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5075  return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5076 
5077  def get_check_level(self):
5078  r"""get_check_level(LennardJones self) -> IMP::CheckLevel"""
5079  return _IMP_atom.LennardJones_get_check_level(self)
5080 
5081  def __eq__(self, *args):
5082  r"""
5083  __eq__(LennardJones self, LennardJones o) -> bool
5084  __eq__(LennardJones self, Particle d) -> bool
5085  """
5086  return _IMP_atom.LennardJones___eq__(self, *args)
5087 
5088  def __ne__(self, *args):
5089  r"""
5090  __ne__(LennardJones self, LennardJones o) -> bool
5091  __ne__(LennardJones self, Particle d) -> bool
5092  """
5093  return _IMP_atom.LennardJones___ne__(self, *args)
5094 
5095  def __le__(self, *args):
5096  r"""
5097  __le__(LennardJones self, LennardJones o) -> bool
5098  __le__(LennardJones self, Particle d) -> bool
5099  """
5100  return _IMP_atom.LennardJones___le__(self, *args)
5101 
5102  def __lt__(self, *args):
5103  r"""
5104  __lt__(LennardJones self, LennardJones o) -> bool
5105  __lt__(LennardJones self, Particle d) -> bool
5106  """
5107  return _IMP_atom.LennardJones___lt__(self, *args)
5108 
5109  def __ge__(self, *args):
5110  r"""
5111  __ge__(LennardJones self, LennardJones o) -> bool
5112  __ge__(LennardJones self, Particle d) -> bool
5113  """
5114  return _IMP_atom.LennardJones___ge__(self, *args)
5115 
5116  def __gt__(self, *args):
5117  r"""
5118  __gt__(LennardJones self, LennardJones o) -> bool
5119  __gt__(LennardJones self, Particle d) -> bool
5120  """
5121  return _IMP_atom.LennardJones___gt__(self, *args)
5122 
5123  def __hash__(self):
5124  r"""__hash__(LennardJones self) -> std::size_t"""
5125  return _IMP_atom.LennardJones___hash__(self)
5126 
5127  def __str__(self):
5128  r"""__str__(LennardJones self) -> std::string"""
5129  return _IMP_atom.LennardJones___str__(self)
5130 
5131  def __repr__(self):
5132  r"""__repr__(LennardJones self) -> std::string"""
5133  return _IMP_atom.LennardJones___repr__(self)
5134 
5135  def _get_as_binary(self):
5136  r"""_get_as_binary(LennardJones self) -> PyObject *"""
5137  return _IMP_atom.LennardJones__get_as_binary(self)
5138 
5139  def _set_from_binary(self, p):
5140  r"""_set_from_binary(LennardJones self, PyObject * p)"""
5141  return _IMP_atom.LennardJones__set_from_binary(self, p)
5142 
5143  def __getstate__(self):
5144  p = self._get_as_binary()
5145  if len(self.__dict__) > 1:
5146  d = self.__dict__.copy()
5147  del d['this']
5148  p = (d, p)
5149  return p
5150 
5151  def __setstate__(self, p):
5152  if not hasattr(self, 'this'):
5153  self.__init__()
5154  if isinstance(p, tuple):
5155  d, p = p
5156  self.__dict__.update(d)
5157  return self._set_from_binary(p)
5158 
5159  __swig_destroy__ = _IMP_atom.delete_LennardJones
5160 
5161 # Register LennardJones in _IMP_atom:
5162 _IMP_atom.LennardJones_swigregister(LennardJones)
5163 class LennardJonesPairScore(IMP.PairScore):
5164  r"""Proxy of C++ IMP::atom::LennardJonesPairScore class."""
5165 
5166  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5167 
5168  def __init__(self, f):
5169  r"""__init__(LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5170  _IMP_atom.LennardJonesPairScore_swiginit(self, _IMP_atom.new_LennardJonesPairScore(f))
5171 
5172  def set_repulsive_weight(self, repulsive_weight):
5173  r"""set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5174  return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5175 
5176  def get_repulsive_weight(self):
5177  r"""get_repulsive_weight(LennardJonesPairScore self) -> double"""
5178  return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5179 
5180  def set_attractive_weight(self, attractive_weight):
5181  r"""set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5182  return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5183 
5184  def get_attractive_weight(self):
5185  r"""get_attractive_weight(LennardJonesPairScore self) -> double"""
5186  return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5187 
5188  def do_get_inputs(self, m, pis):
5189  r"""do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5190  return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5191 
5192  def get_version_info(self):
5193  r"""get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5194  return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5195  __swig_destroy__ = _IMP_atom.delete_LennardJonesPairScore
5196 
5197  def __str__(self):
5198  r"""__str__(LennardJonesPairScore self) -> std::string"""
5199  return _IMP_atom.LennardJonesPairScore___str__(self)
5200 
5201  def __repr__(self):
5202  r"""__repr__(LennardJonesPairScore self) -> std::string"""
5203  return _IMP_atom.LennardJonesPairScore___repr__(self)
5204 
5205  @staticmethod
5206  def get_from(o):
5207  return _object_cast_to_LennardJonesPairScore(o)
5208 
5209 
5210 # Register LennardJonesPairScore in _IMP_atom:
5211 _IMP_atom.LennardJonesPairScore_swigregister(LennardJonesPairScore)
5212 class LinearVelocity(IMP.Decorator):
5213  r"""Proxy of C++ IMP::atom::LinearVelocity class."""
5214 
5215  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5216 
5217  def __init__(self, *args):
5218  r"""
5219  __init__(LinearVelocity self) -> LinearVelocity
5220  __init__(LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
5221  __init__(LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
5222  """
5223  _IMP_atom.LinearVelocity_swiginit(self, _IMP_atom.new_LinearVelocity(*args))
5224 
5225  @staticmethod
5226  def get_is_setup(*args):
5227  r"""
5228  get_is_setup(Model m, ParticleIndex pi) -> bool
5229  get_is_setup(_ParticleAdaptor p) -> bool
5230  """
5231  return _IMP_atom.LinearVelocity_get_is_setup(*args)
5232 
5233  def show(self, *args):
5234  r"""show(LinearVelocity self, _ostream out=std::cout)"""
5235  return _IMP_atom.LinearVelocity_show(self, *args)
5236 
5237  @staticmethod
5238  def setup_particle(*args):
5239  r"""
5240  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5241  setup_particle(_ParticleAdaptor pa) -> LinearVelocity
5242  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5243  setup_particle(_ParticleAdaptor pa, Vector3D v) -> LinearVelocity
5244  """
5245  return _IMP_atom.LinearVelocity_setup_particle(*args)
5246 
5247  def set_velocity(self, v):
5248  r"""set_velocity(LinearVelocity self, Vector3D v)"""
5249  return _IMP_atom.LinearVelocity_set_velocity(self, v)
5250 
5251  def get_velocity(self):
5252  r"""get_velocity(LinearVelocity self) -> Vector3D"""
5253  return _IMP_atom.LinearVelocity_get_velocity(self)
5254 
5255  def add_attribute(self, *args):
5256  r"""
5257  add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
5258  add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
5259  add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
5260  add_attribute(LinearVelocity self, FloatsKey a0, IMP::Floats a1)
5261  add_attribute(LinearVelocity self, IntsKey a0, IMP::Ints a1)
5262  add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
5263  add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5264  add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
5265  add_attribute(LinearVelocity self, SparseFloatKey a0, IMP::Float a1)
5266  add_attribute(LinearVelocity self, SparseIntKey a0, IMP::Int a1)
5267  add_attribute(LinearVelocity self, SparseStringKey a0, IMP::String a1)
5268  add_attribute(LinearVelocity self, SparseParticleIndexKey a0, ParticleIndex a1)
5269  """
5270  return _IMP_atom.LinearVelocity_add_attribute(self, *args)
5271 
5272  def get_value(self, *args):
5273  r"""
5274  get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
5275  get_value(LinearVelocity self, IntKey a0) -> IMP::Int
5276  get_value(LinearVelocity self, FloatsKey a0) -> IMP::Floats
5277  get_value(LinearVelocity self, IntsKey a0) -> IMP::Ints
5278  get_value(LinearVelocity self, StringKey a0) -> IMP::String
5279  get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
5280  get_value(LinearVelocity self, ObjectKey a0) -> Object
5281  get_value(LinearVelocity self, SparseFloatKey a0) -> IMP::Float
5282  get_value(LinearVelocity self, SparseIntKey a0) -> IMP::Int
5283  get_value(LinearVelocity self, SparseStringKey a0) -> IMP::String
5284  get_value(LinearVelocity self, SparseParticleIndexKey a0) -> ParticleIndex
5285  """
5286  return _IMP_atom.LinearVelocity_get_value(self, *args)
5287 
5288  def set_value(self, *args):
5289  r"""
5290  set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
5291  set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
5292  set_value(LinearVelocity self, FloatsKey a0, IMP::Floats a1)
5293  set_value(LinearVelocity self, IntsKey a0, IMP::Ints a1)
5294  set_value(LinearVelocity self, StringKey a0, IMP::String a1)
5295  set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5296  set_value(LinearVelocity self, ObjectKey a0, Object a1)
5297  set_value(LinearVelocity self, SparseFloatKey a0, IMP::Float a1)
5298  set_value(LinearVelocity self, SparseIntKey a0, IMP::Int a1)
5299  set_value(LinearVelocity self, SparseStringKey a0, IMP::String a1)
5300  set_value(LinearVelocity self, SparseParticleIndexKey a0, ParticleIndex a1)
5301  """
5302  return _IMP_atom.LinearVelocity_set_value(self, *args)
5303 
5304  def remove_attribute(self, *args):
5305  r"""
5306  remove_attribute(LinearVelocity self, FloatKey a0)
5307  remove_attribute(LinearVelocity self, IntKey a0)
5308  remove_attribute(LinearVelocity self, FloatsKey a0)
5309  remove_attribute(LinearVelocity self, IntsKey a0)
5310  remove_attribute(LinearVelocity self, StringKey a0)
5311  remove_attribute(LinearVelocity self, ParticleIndexKey a0)
5312  remove_attribute(LinearVelocity self, ObjectKey a0)
5313  remove_attribute(LinearVelocity self, SparseFloatKey a0)
5314  remove_attribute(LinearVelocity self, SparseIntKey a0)
5315  remove_attribute(LinearVelocity self, SparseStringKey a0)
5316  remove_attribute(LinearVelocity self, SparseParticleIndexKey a0)
5317  """
5318  return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
5319 
5320  def has_attribute(self, *args):
5321  r"""
5322  has_attribute(LinearVelocity self, FloatKey a0) -> bool
5323  has_attribute(LinearVelocity self, IntKey a0) -> bool
5324  has_attribute(LinearVelocity self, FloatsKey a0) -> bool
5325  has_attribute(LinearVelocity self, IntsKey a0) -> bool
5326  has_attribute(LinearVelocity self, StringKey a0) -> bool
5327  has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
5328  has_attribute(LinearVelocity self, ObjectKey a0) -> bool
5329  has_attribute(LinearVelocity self, SparseFloatKey a0) -> bool
5330  has_attribute(LinearVelocity self, SparseIntKey a0) -> bool
5331  has_attribute(LinearVelocity self, SparseStringKey a0) -> bool
5332  has_attribute(LinearVelocity self, SparseParticleIndexKey a0) -> bool
5333  """
5334  return _IMP_atom.LinearVelocity_has_attribute(self, *args)
5335 
5336  def get_derivative(self, a0):
5337  r"""get_derivative(LinearVelocity self, FloatKey a0) -> double"""
5338  return _IMP_atom.LinearVelocity_get_derivative(self, a0)
5339 
5340  def get_name(self):
5341  r"""get_name(LinearVelocity self) -> std::string"""
5342  return _IMP_atom.LinearVelocity_get_name(self)
5343 
5344  def clear_caches(self):
5345  r"""clear_caches(LinearVelocity self)"""
5346  return _IMP_atom.LinearVelocity_clear_caches(self)
5347 
5348  def set_name(self, a0):
5349  r"""set_name(LinearVelocity self, std::string a0)"""
5350  return _IMP_atom.LinearVelocity_set_name(self, a0)
5351 
5352  def set_check_level(self, a0):
5353  r"""set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
5354  return _IMP_atom.LinearVelocity_set_check_level(self, a0)
5355 
5356  def add_to_derivative(self, a0, a1, a2):
5357  r"""add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5358  return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
5359 
5360  def set_is_optimized(self, a0, a1):
5361  r"""set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
5362  return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
5363 
5364  def get_is_optimized(self, a0):
5365  r"""get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
5366  return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
5367 
5368  def get_check_level(self):
5369  r"""get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
5370  return _IMP_atom.LinearVelocity_get_check_level(self)
5371 
5372  def __eq__(self, *args):
5373  r"""
5374  __eq__(LinearVelocity self, LinearVelocity o) -> bool
5375  __eq__(LinearVelocity self, Particle d) -> bool
5376  """
5377  return _IMP_atom.LinearVelocity___eq__(self, *args)
5378 
5379  def __ne__(self, *args):
5380  r"""
5381  __ne__(LinearVelocity self, LinearVelocity o) -> bool
5382  __ne__(LinearVelocity self, Particle d) -> bool
5383  """
5384  return _IMP_atom.LinearVelocity___ne__(self, *args)
5385 
5386  def __le__(self, *args):
5387  r"""
5388  __le__(LinearVelocity self, LinearVelocity o) -> bool
5389  __le__(LinearVelocity self, Particle d) -> bool
5390  """
5391  return _IMP_atom.LinearVelocity___le__(self, *args)
5392 
5393  def __lt__(self, *args):
5394  r"""
5395  __lt__(LinearVelocity self, LinearVelocity o) -> bool
5396  __lt__(LinearVelocity self, Particle d) -> bool
5397  """
5398  return _IMP_atom.LinearVelocity___lt__(self, *args)
5399 
5400  def __ge__(self, *args):
5401  r"""
5402  __ge__(LinearVelocity self, LinearVelocity o) -> bool
5403  __ge__(LinearVelocity self, Particle d) -> bool
5404  """
5405  return _IMP_atom.LinearVelocity___ge__(self, *args)
5406 
5407  def __gt__(self, *args):
5408  r"""
5409  __gt__(LinearVelocity self, LinearVelocity o) -> bool
5410  __gt__(LinearVelocity self, Particle d) -> bool
5411  """
5412  return _IMP_atom.LinearVelocity___gt__(self, *args)
5413 
5414  def __hash__(self):
5415  r"""__hash__(LinearVelocity self) -> std::size_t"""
5416  return _IMP_atom.LinearVelocity___hash__(self)
5417 
5418  def __str__(self):
5419  r"""__str__(LinearVelocity self) -> std::string"""
5420  return _IMP_atom.LinearVelocity___str__(self)
5421 
5422  def __repr__(self):
5423  r"""__repr__(LinearVelocity self) -> std::string"""
5424  return _IMP_atom.LinearVelocity___repr__(self)
5425 
5426  def _get_as_binary(self):
5427  r"""_get_as_binary(LinearVelocity self) -> PyObject *"""
5428  return _IMP_atom.LinearVelocity__get_as_binary(self)
5429 
5430  def _set_from_binary(self, p):
5431  r"""_set_from_binary(LinearVelocity self, PyObject * p)"""
5432  return _IMP_atom.LinearVelocity__set_from_binary(self, p)
5433 
5434  def __getstate__(self):
5435  p = self._get_as_binary()
5436  if len(self.__dict__) > 1:
5437  d = self.__dict__.copy()
5438  del d['this']
5439  p = (d, p)
5440  return p
5441 
5442  def __setstate__(self, p):
5443  if not hasattr(self, 'this'):
5444  self.__init__()
5445  if isinstance(p, tuple):
5446  d, p = p
5447  self.__dict__.update(d)
5448  return self._set_from_binary(p)
5449 
5450  __swig_destroy__ = _IMP_atom.delete_LinearVelocity
5451 
5452 # Register LinearVelocity in _IMP_atom:
5453 _IMP_atom.LinearVelocity_swigregister(LinearVelocity)
5454 class AngularVelocity(IMP.Decorator):
5455  r"""Proxy of C++ IMP::atom::AngularVelocity class."""
5456 
5457  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5458 
5459  def __init__(self, *args):
5460  r"""
5461  __init__(AngularVelocity self) -> AngularVelocity
5462  __init__(AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
5463  __init__(AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
5464  """
5465  _IMP_atom.AngularVelocity_swiginit(self, _IMP_atom.new_AngularVelocity(*args))
5466 
5467  @staticmethod
5468  def get_is_setup(*args):
5469  r"""
5470  get_is_setup(Model m, ParticleIndex pi) -> bool
5471  get_is_setup(_ParticleAdaptor p) -> bool
5472  """
5473  return _IMP_atom.AngularVelocity_get_is_setup(*args)
5474 
5475  def show(self, *args):
5476  r"""show(AngularVelocity self, _ostream out=std::cout)"""
5477  return _IMP_atom.AngularVelocity_show(self, *args)
5478 
5479  @staticmethod
5480  def setup_particle(*args):
5481  r"""
5482  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
5483  setup_particle(_ParticleAdaptor pa) -> AngularVelocity
5484  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
5485  setup_particle(_ParticleAdaptor pa, Vector4D v) -> AngularVelocity
5486  """
5487  return _IMP_atom.AngularVelocity_setup_particle(*args)
5488 
5489  def set_velocity(self, v):
5490  r"""set_velocity(AngularVelocity self, Vector4D v)"""
5491  return _IMP_atom.AngularVelocity_set_velocity(self, v)
5492 
5493  def get_velocity(self):
5494  r"""get_velocity(AngularVelocity self) -> Vector4D"""
5495  return _IMP_atom.AngularVelocity_get_velocity(self)
5496 
5497  def add_attribute(self, *args):
5498  r"""
5499  add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
5500  add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
5501  add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
5502  add_attribute(AngularVelocity self, FloatsKey a0, IMP::Floats a1)
5503  add_attribute(AngularVelocity self, IntsKey a0, IMP::Ints a1)
5504  add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
5505  add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
5506  add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
5507  add_attribute(AngularVelocity self, SparseFloatKey a0, IMP::Float a1)
5508  add_attribute(AngularVelocity self, SparseIntKey a0, IMP::Int a1)
5509  add_attribute(AngularVelocity self, SparseStringKey a0, IMP::String a1)
5510  add_attribute(AngularVelocity self, SparseParticleIndexKey a0, ParticleIndex a1)
5511  """
5512  return _IMP_atom.AngularVelocity_add_attribute(self, *args)
5513 
5514  def get_value(self, *args):
5515  r"""
5516  get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
5517  get_value(AngularVelocity self, IntKey a0) -> IMP::Int
5518  get_value(AngularVelocity self, FloatsKey a0) -> IMP::Floats
5519  get_value(AngularVelocity self, IntsKey a0) -> IMP::Ints
5520  get_value(AngularVelocity self, StringKey a0) -> IMP::String
5521  get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
5522  get_value(AngularVelocity self, ObjectKey a0) -> Object
5523  get_value(AngularVelocity self, SparseFloatKey a0) -> IMP::Float
5524  get_value(AngularVelocity self, SparseIntKey a0) -> IMP::Int
5525  get_value(AngularVelocity self, SparseStringKey a0) -> IMP::String
5526  get_value(AngularVelocity self, SparseParticleIndexKey a0) -> ParticleIndex
5527  """
5528  return _IMP_atom.AngularVelocity_get_value(self, *args)
5529 
5530  def set_value(self, *args):
5531  r"""
5532  set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
5533  set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
5534  set_value(AngularVelocity self, FloatsKey a0, IMP::Floats a1)
5535  set_value(AngularVelocity self, IntsKey a0, IMP::Ints a1)
5536  set_value(AngularVelocity self, StringKey a0, IMP::String a1)
5537  set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
5538  set_value(AngularVelocity self, ObjectKey a0, Object a1)
5539  set_value(AngularVelocity self, SparseFloatKey a0, IMP::Float a1)
5540  set_value(AngularVelocity self, SparseIntKey a0, IMP::Int a1)
5541  set_value(AngularVelocity self, SparseStringKey a0, IMP::String a1)
5542  set_value(AngularVelocity self, SparseParticleIndexKey a0, ParticleIndex a1)
5543  """
5544  return _IMP_atom.AngularVelocity_set_value(self, *args)
5545 
5546  def remove_attribute(self, *args):
5547  r"""
5548  remove_attribute(AngularVelocity self, FloatKey a0)
5549  remove_attribute(AngularVelocity self, IntKey a0)
5550  remove_attribute(AngularVelocity self, FloatsKey a0)
5551  remove_attribute(AngularVelocity self, IntsKey a0)
5552  remove_attribute(AngularVelocity self, StringKey a0)
5553  remove_attribute(AngularVelocity self, ParticleIndexKey a0)
5554  remove_attribute(AngularVelocity self, ObjectKey a0)
5555  remove_attribute(AngularVelocity self, SparseFloatKey a0)
5556  remove_attribute(AngularVelocity self, SparseIntKey a0)
5557  remove_attribute(AngularVelocity self, SparseStringKey a0)
5558  remove_attribute(AngularVelocity self, SparseParticleIndexKey a0)
5559  """
5560  return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
5561 
5562  def has_attribute(self, *args):
5563  r"""
5564  has_attribute(AngularVelocity self, FloatKey a0) -> bool
5565  has_attribute(AngularVelocity self, IntKey a0) -> bool
5566  has_attribute(AngularVelocity self, FloatsKey a0) -> bool
5567  has_attribute(AngularVelocity self, IntsKey a0) -> bool
5568  has_attribute(AngularVelocity self, StringKey a0) -> bool
5569  has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
5570  has_attribute(AngularVelocity self, ObjectKey a0) -> bool
5571  has_attribute(AngularVelocity self, SparseFloatKey a0) -> bool
5572  has_attribute(AngularVelocity self, SparseIntKey a0) -> bool
5573  has_attribute(AngularVelocity self, SparseStringKey a0) -> bool
5574  has_attribute(AngularVelocity self, SparseParticleIndexKey a0) -> bool
5575  """
5576  return _IMP_atom.AngularVelocity_has_attribute(self, *args)
5577 
5578  def get_derivative(self, a0):
5579  r"""get_derivative(AngularVelocity self, FloatKey a0) -> double"""
5580  return _IMP_atom.AngularVelocity_get_derivative(self, a0)
5581 
5582  def get_name(self):
5583  r"""get_name(AngularVelocity self) -> std::string"""
5584  return _IMP_atom.AngularVelocity_get_name(self)
5585 
5586  def clear_caches(self):
5587  r"""clear_caches(AngularVelocity self)"""
5588  return _IMP_atom.AngularVelocity_clear_caches(self)
5589 
5590  def set_name(self, a0):
5591  r"""set_name(AngularVelocity self, std::string a0)"""
5592  return _IMP_atom.AngularVelocity_set_name(self, a0)
5593 
5594  def set_check_level(self, a0):
5595  r"""set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
5596  return _IMP_atom.AngularVelocity_set_check_level(self, a0)
5597 
5598  def add_to_derivative(self, a0, a1, a2):
5599  r"""add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5600  return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
5601 
5602  def set_is_optimized(self, a0, a1):
5603  r"""set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
5604  return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
5605 
5606  def get_is_optimized(self, a0):
5607  r"""get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
5608  return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
5609 
5610  def get_check_level(self):
5611  r"""get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
5612  return _IMP_atom.AngularVelocity_get_check_level(self)
5613 
5614  def __eq__(self, *args):
5615  r"""
5616  __eq__(AngularVelocity self, AngularVelocity o) -> bool
5617  __eq__(AngularVelocity self, Particle d) -> bool
5618  """
5619  return _IMP_atom.AngularVelocity___eq__(self, *args)
5620 
5621  def __ne__(self, *args):
5622  r"""
5623  __ne__(AngularVelocity self, AngularVelocity o) -> bool
5624  __ne__(AngularVelocity self, Particle d) -> bool
5625  """
5626  return _IMP_atom.AngularVelocity___ne__(self, *args)
5627 
5628  def __le__(self, *args):
5629  r"""
5630  __le__(AngularVelocity self, AngularVelocity o) -> bool
5631  __le__(AngularVelocity self, Particle d) -> bool
5632  """
5633  return _IMP_atom.AngularVelocity___le__(self, *args)
5634 
5635  def __lt__(self, *args):
5636  r"""
5637  __lt__(AngularVelocity self, AngularVelocity o) -> bool
5638  __lt__(AngularVelocity self, Particle d) -> bool
5639  """
5640  return _IMP_atom.AngularVelocity___lt__(self, *args)
5641 
5642  def __ge__(self, *args):
5643  r"""
5644  __ge__(AngularVelocity self, AngularVelocity o) -> bool
5645  __ge__(AngularVelocity self, Particle d) -> bool
5646  """
5647  return _IMP_atom.AngularVelocity___ge__(self, *args)
5648 
5649  def __gt__(self, *args):
5650  r"""
5651  __gt__(AngularVelocity self, AngularVelocity o) -> bool
5652  __gt__(AngularVelocity self, Particle d) -> bool
5653  """
5654  return _IMP_atom.AngularVelocity___gt__(self, *args)
5655 
5656  def __hash__(self):
5657  r"""__hash__(AngularVelocity self) -> std::size_t"""
5658  return _IMP_atom.AngularVelocity___hash__(self)
5659 
5660  def __str__(self):
5661  r"""__str__(AngularVelocity self) -> std::string"""
5662  return _IMP_atom.AngularVelocity___str__(self)
5663 
5664  def __repr__(self):
5665  r"""__repr__(AngularVelocity self) -> std::string"""
5666  return _IMP_atom.AngularVelocity___repr__(self)
5667 
5668  def _get_as_binary(self):
5669  r"""_get_as_binary(AngularVelocity self) -> PyObject *"""
5670  return _IMP_atom.AngularVelocity__get_as_binary(self)
5671 
5672  def _set_from_binary(self, p):
5673  r"""_set_from_binary(AngularVelocity self, PyObject * p)"""
5674  return _IMP_atom.AngularVelocity__set_from_binary(self, p)
5675 
5676  def __getstate__(self):
5677  p = self._get_as_binary()
5678  if len(self.__dict__) > 1:
5679  d = self.__dict__.copy()
5680  del d['this']
5681  p = (d, p)
5682  return p
5683 
5684  def __setstate__(self, p):
5685  if not hasattr(self, 'this'):
5686  self.__init__()
5687  if isinstance(p, tuple):
5688  d, p = p
5689  self.__dict__.update(d)
5690  return self._set_from_binary(p)
5691 
5692  __swig_destroy__ = _IMP_atom.delete_AngularVelocity
5693 
5694 # Register AngularVelocity in _IMP_atom:
5695 _IMP_atom.AngularVelocity_swigregister(AngularVelocity)
5696 class MolecularDynamics(Simulator):
5697  r"""Proxy of C++ IMP::atom::MolecularDynamics class."""
5698 
5699  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5700 
5701  def __init__(self, m):
5702  r"""__init__(MolecularDynamics self, Model m) -> MolecularDynamics"""
5703  _IMP_atom.MolecularDynamics_swiginit(self, _IMP_atom.new_MolecularDynamics(m))
5704 
5705  def get_kinetic_energy(self):
5706  r"""get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
5707  return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
5708 
5709  def get_kinetic_temperature(self, ekinetic):
5710  r"""get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
5711  return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
5712 
5713  def set_velocity_cap(self, velocity_cap):
5714  r"""set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
5715  return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
5716 
5717  def assign_velocities(self, temperature):
5718  r"""assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
5719  return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
5720 
5721  def setup(self, ps):
5722  r"""setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
5723  return _IMP_atom.MolecularDynamics_setup(self, ps)
5724 
5725  def do_step(self, sc, dt):
5726  r"""do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
5727  return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
5728 
5729  def get_is_simulation_particle(self, p):
5730  r"""get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
5731  return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
5732 
5733  def get_version_info(self):
5734  r"""get_version_info(MolecularDynamics self) -> VersionInfo"""
5735  return _IMP_atom.MolecularDynamics_get_version_info(self)
5736  __swig_destroy__ = _IMP_atom.delete_MolecularDynamics
5737 
5738  def __str__(self):
5739  r"""__str__(MolecularDynamics self) -> std::string"""
5740  return _IMP_atom.MolecularDynamics___str__(self)
5741 
5742  def __repr__(self):
5743  r"""__repr__(MolecularDynamics self) -> std::string"""
5744  return _IMP_atom.MolecularDynamics___repr__(self)
5745 
5746  @staticmethod
5747  def get_from(o):
5748  return _object_cast_to_MolecularDynamics(o)
5749 
5750 
5751 # Register MolecularDynamics in _IMP_atom:
5752 _IMP_atom.MolecularDynamics_swigregister(MolecularDynamics)
5753 class VelocityScalingOptimizerState(IMP.OptimizerState):
5754  r"""Proxy of C++ IMP::atom::VelocityScalingOptimizerState class."""
5755 
5756  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5757 
5758  def __init__(self, m, pis, temperature):
5759  r"""__init__(VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
5760  _IMP_atom.VelocityScalingOptimizerState_swiginit(self, _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature))
5761 
5762  def set_particles(self, pis):
5763  r"""set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
5764  return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
5765 
5766  def set_temperature(self, temperature):
5767  r"""set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
5768  return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
5769 
5770  def rescale_velocities(self):
5771  r"""rescale_velocities(VelocityScalingOptimizerState self)"""
5772  return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
5773 
5774  def get_version_info(self):
5775  r"""get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
5776  return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
5777  __swig_destroy__ = _IMP_atom.delete_VelocityScalingOptimizerState
5778 
5779  def __str__(self):
5780  r"""__str__(VelocityScalingOptimizerState self) -> std::string"""
5781  return _IMP_atom.VelocityScalingOptimizerState___str__(self)
5782 
5783  def __repr__(self):
5784  r"""__repr__(VelocityScalingOptimizerState self) -> std::string"""
5785  return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
5786 
5787  @staticmethod
5788  def get_from(o):
5789  return _object_cast_to_VelocityScalingOptimizerState(o)
5790 
5791 
5792 # Register VelocityScalingOptimizerState in _IMP_atom:
5793 _IMP_atom.VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
5794 class Fragment(Hierarchy):
5795  r"""Proxy of C++ IMP::atom::Fragment class."""
5796 
5797  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5798 
5799  def set_residue_indexes(self, o):
5800  r"""set_residue_indexes(Fragment self, IMP::Ints o)"""
5801  return _IMP_atom.Fragment_set_residue_indexes(self, o)
5802 
5803  def get_residue_indexes(self):
5804  r"""get_residue_indexes(Fragment self) -> IMP::Ints"""
5805  return _IMP_atom.Fragment_get_residue_indexes(self)
5806 
5807  def get_contains_residue(self, rindex):
5808  r"""get_contains_residue(Fragment self, int rindex) -> bool"""
5809  return _IMP_atom.Fragment_get_contains_residue(self, rindex)
5810 
5811  def get_contains_any_sorted_residue(self, rinds):
5812  r"""get_contains_any_sorted_residue(Fragment self, IMP::Ints const & rinds) -> bool"""
5813  return _IMP_atom.Fragment_get_contains_any_sorted_residue(self, rinds)
5814 
5815  def __init__(self, *args):
5816  r"""
5817  __init__(Fragment self) -> Fragment
5818  __init__(Fragment self, Model m, ParticleIndex id) -> Fragment
5819  __init__(Fragment self, _ParticleAdaptor d) -> Fragment
5820  """
5821  _IMP_atom.Fragment_swiginit(self, _IMP_atom.new_Fragment(*args))
5822 
5823  @staticmethod
5824  def get_is_setup(*args):
5825  r"""
5826  get_is_setup(Model m, ParticleIndex pi) -> bool
5827  get_is_setup(_ParticleAdaptor p) -> bool
5828  """
5829  return _IMP_atom.Fragment_get_is_setup(*args)
5830 
5831  def show(self, *args):
5832  r"""show(Fragment self, _ostream out=std::cout)"""
5833  return _IMP_atom.Fragment_show(self, *args)
5834 
5835  @staticmethod
5836  def setup_particle(*args):
5837  r"""
5838  setup_particle(Model m, ParticleIndex pi) -> Fragment
5839  setup_particle(_ParticleAdaptor pa) -> Fragment
5840  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
5841  setup_particle(_ParticleAdaptor pa, Fragment other) -> Fragment
5842  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
5843  setup_particle(_ParticleAdaptor pa, IMP::Ints residue_indexes) -> Fragment
5844  """
5845  return _IMP_atom.Fragment_setup_particle(*args)
5846 
5847  def add_attribute(self, *args):
5848  r"""
5849  add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
5850  add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
5851  add_attribute(Fragment self, IntKey a0, IMP::Int a1)
5852  add_attribute(Fragment self, FloatsKey a0, IMP::Floats a1)
5853  add_attribute(Fragment self, IntsKey a0, IMP::Ints a1)
5854  add_attribute(Fragment self, StringKey a0, IMP::String a1)
5855  add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
5856  add_attribute(Fragment self, ObjectKey a0, Object a1)
5857  add_attribute(Fragment self, SparseFloatKey a0, IMP::Float a1)
5858  add_attribute(Fragment self, SparseIntKey a0, IMP::Int a1)
5859  add_attribute(Fragment self, SparseStringKey a0, IMP::String a1)
5860  add_attribute(Fragment self, SparseParticleIndexKey a0, ParticleIndex a1)
5861  """
5862  return _IMP_atom.Fragment_add_attribute(self, *args)
5863 
5864  def get_value(self, *args):
5865  r"""
5866  get_value(Fragment self, FloatKey a0) -> IMP::Float
5867  get_value(Fragment self, IntKey a0) -> IMP::Int
5868  get_value(Fragment self, FloatsKey a0) -> IMP::Floats
5869  get_value(Fragment self, IntsKey a0) -> IMP::Ints
5870  get_value(Fragment self, StringKey a0) -> IMP::String
5871  get_value(Fragment self, ParticleIndexKey a0) -> Particle
5872  get_value(Fragment self, ObjectKey a0) -> Object
5873  get_value(Fragment self, SparseFloatKey a0) -> IMP::Float
5874  get_value(Fragment self, SparseIntKey a0) -> IMP::Int
5875  get_value(Fragment self, SparseStringKey a0) -> IMP::String
5876  get_value(Fragment self, SparseParticleIndexKey a0) -> ParticleIndex
5877  """
5878  return _IMP_atom.Fragment_get_value(self, *args)
5879 
5880  def set_value(self, *args):
5881  r"""
5882  set_value(Fragment self, FloatKey a0, IMP::Float a1)
5883  set_value(Fragment self, IntKey a0, IMP::Int a1)
5884  set_value(Fragment self, FloatsKey a0, IMP::Floats a1)
5885  set_value(Fragment self, IntsKey a0, IMP::Ints a1)
5886  set_value(Fragment self, StringKey a0, IMP::String a1)
5887  set_value(Fragment self, ParticleIndexKey a0, Particle a1)
5888  set_value(Fragment self, ObjectKey a0, Object a1)
5889  set_value(Fragment self, SparseFloatKey a0, IMP::Float a1)
5890  set_value(Fragment self, SparseIntKey a0, IMP::Int a1)
5891  set_value(Fragment self, SparseStringKey a0, IMP::String a1)
5892  set_value(Fragment self, SparseParticleIndexKey a0, ParticleIndex a1)
5893  """
5894  return _IMP_atom.Fragment_set_value(self, *args)
5895 
5896  def remove_attribute(self, *args):
5897  r"""
5898  remove_attribute(Fragment self, FloatKey a0)
5899  remove_attribute(Fragment self, IntKey a0)
5900  remove_attribute(Fragment self, FloatsKey a0)
5901  remove_attribute(Fragment self, IntsKey a0)
5902  remove_attribute(Fragment self, StringKey a0)
5903  remove_attribute(Fragment self, ParticleIndexKey a0)
5904  remove_attribute(Fragment self, ObjectKey a0)
5905  remove_attribute(Fragment self, SparseFloatKey a0)
5906  remove_attribute(Fragment self, SparseIntKey a0)
5907  remove_attribute(Fragment self, SparseStringKey a0)
5908  remove_attribute(Fragment self, SparseParticleIndexKey a0)
5909  """
5910  return _IMP_atom.Fragment_remove_attribute(self, *args)
5911 
5912  def has_attribute(self, *args):
5913  r"""
5914  has_attribute(Fragment self, FloatKey a0) -> bool
5915  has_attribute(Fragment self, IntKey a0) -> bool
5916  has_attribute(Fragment self, FloatsKey a0) -> bool
5917  has_attribute(Fragment self, IntsKey a0) -> bool
5918  has_attribute(Fragment self, StringKey a0) -> bool
5919  has_attribute(Fragment self, ParticleIndexKey a0) -> bool
5920  has_attribute(Fragment self, ObjectKey a0) -> bool
5921  has_attribute(Fragment self, SparseFloatKey a0) -> bool
5922  has_attribute(Fragment self, SparseIntKey a0) -> bool
5923  has_attribute(Fragment self, SparseStringKey a0) -> bool
5924  has_attribute(Fragment self, SparseParticleIndexKey a0) -> bool
5925  """
5926  return _IMP_atom.Fragment_has_attribute(self, *args)
5927 
5928  def get_derivative(self, a0):
5929  r"""get_derivative(Fragment self, FloatKey a0) -> double"""
5930  return _IMP_atom.Fragment_get_derivative(self, a0)
5931 
5932  def get_name(self):
5933  r"""get_name(Fragment self) -> std::string"""
5934  return _IMP_atom.Fragment_get_name(self)
5935 
5936  def clear_caches(self):
5937  r"""clear_caches(Fragment self)"""
5938  return _IMP_atom.Fragment_clear_caches(self)
5939 
5940  def set_name(self, a0):
5941  r"""set_name(Fragment self, std::string a0)"""
5942  return _IMP_atom.Fragment_set_name(self, a0)
5943 
5944  def set_check_level(self, a0):
5945  r"""set_check_level(Fragment self, IMP::CheckLevel a0)"""
5946  return _IMP_atom.Fragment_set_check_level(self, a0)
5947 
5948  def add_to_derivative(self, a0, a1, a2):
5949  r"""add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5950  return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
5951 
5952  def set_is_optimized(self, a0, a1):
5953  r"""set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
5954  return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
5955 
5956  def get_is_optimized(self, a0):
5957  r"""get_is_optimized(Fragment self, FloatKey a0) -> bool"""
5958  return _IMP_atom.Fragment_get_is_optimized(self, a0)
5959 
5960  def get_check_level(self):
5961  r"""get_check_level(Fragment self) -> IMP::CheckLevel"""
5962  return _IMP_atom.Fragment_get_check_level(self)
5963 
5964  def __eq__(self, *args):
5965  r"""
5966  __eq__(Fragment self, Fragment o) -> bool
5967  __eq__(Fragment self, Particle d) -> bool
5968  """
5969  return _IMP_atom.Fragment___eq__(self, *args)
5970 
5971  def __ne__(self, *args):
5972  r"""
5973  __ne__(Fragment self, Fragment o) -> bool
5974  __ne__(Fragment self, Particle d) -> bool
5975  """
5976  return _IMP_atom.Fragment___ne__(self, *args)
5977 
5978  def __le__(self, *args):
5979  r"""
5980  __le__(Fragment self, Fragment o) -> bool
5981  __le__(Fragment self, Particle d) -> bool
5982  """
5983  return _IMP_atom.Fragment___le__(self, *args)
5984 
5985  def __lt__(self, *args):
5986  r"""
5987  __lt__(Fragment self, Fragment o) -> bool
5988  __lt__(Fragment self, Particle d) -> bool
5989  """
5990  return _IMP_atom.Fragment___lt__(self, *args)
5991 
5992  def __ge__(self, *args):
5993  r"""
5994  __ge__(Fragment self, Fragment o) -> bool
5995  __ge__(Fragment self, Particle d) -> bool
5996  """
5997  return _IMP_atom.Fragment___ge__(self, *args)
5998 
5999  def __gt__(self, *args):
6000  r"""
6001  __gt__(Fragment self, Fragment o) -> bool
6002  __gt__(Fragment self, Particle d) -> bool
6003  """
6004  return _IMP_atom.Fragment___gt__(self, *args)
6005 
6006  def __hash__(self):
6007  r"""__hash__(Fragment self) -> std::size_t"""
6008  return _IMP_atom.Fragment___hash__(self)
6009 
6010  def __str__(self):
6011  r"""__str__(Fragment self) -> std::string"""
6012  return _IMP_atom.Fragment___str__(self)
6013 
6014  def __repr__(self):
6015  r"""__repr__(Fragment self) -> std::string"""
6016  return _IMP_atom.Fragment___repr__(self)
6017 
6018  def _get_as_binary(self):
6019  r"""_get_as_binary(Fragment self) -> PyObject *"""
6020  return _IMP_atom.Fragment__get_as_binary(self)
6021 
6022  def _set_from_binary(self, p):
6023  r"""_set_from_binary(Fragment self, PyObject * p)"""
6024  return _IMP_atom.Fragment__set_from_binary(self, p)
6025 
6026  def __getstate__(self):
6027  p = self._get_as_binary()
6028  if len(self.__dict__) > 1:
6029  d = self.__dict__.copy()
6030  del d['this']
6031  p = (d, p)
6032  return p
6033 
6034  def __setstate__(self, p):
6035  if not hasattr(self, 'this'):
6036  self.__init__()
6037  if isinstance(p, tuple):
6038  d, p = p
6039  self.__dict__.update(d)
6040  return self._set_from_binary(p)
6041 
6042  __swig_destroy__ = _IMP_atom.delete_Fragment
6043 
6044 # Register Fragment in _IMP_atom:
6045 _IMP_atom.Fragment_swigregister(Fragment)
6046 class StereochemistryPairFilter(IMP.PairPredicate):
6047  r"""Proxy of C++ IMP::atom::StereochemistryPairFilter class."""
6048 
6049  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6050 
6051  def __init__(self):
6052  r"""__init__(StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6053  _IMP_atom.StereochemistryPairFilter_swiginit(self, _IMP_atom.new_StereochemistryPairFilter())
6054 
6055  def set_bonds(self, bonds):
6056  r"""set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6057  return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6058 
6059  def set_angles(self, angles):
6060  r"""set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6061  return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6062 
6063  def set_dihedrals(self, dihedrals):
6064  r"""set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6065  return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6066 
6067  def do_get_inputs(self, m, pis):
6068  r"""do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6069  return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6070 
6071  def get_value(self, *args):
6072  r"""
6073  get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6074  get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6075  """
6076  return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6077 
6078  def get_value_index(self, *args):
6079  r"""
6080  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6081  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6082  """
6083  return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6084 
6085  def get_version_info(self):
6086  r"""get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6087  return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6088  __swig_destroy__ = _IMP_atom.delete_StereochemistryPairFilter
6089 
6090  def __str__(self):
6091  r"""__str__(StereochemistryPairFilter self) -> std::string"""
6092  return _IMP_atom.StereochemistryPairFilter___str__(self)
6093 
6094  def __repr__(self):
6095  r"""__repr__(StereochemistryPairFilter self) -> std::string"""
6096  return _IMP_atom.StereochemistryPairFilter___repr__(self)
6097 
6098  @staticmethod
6099  def get_from(o):
6100  return _object_cast_to_StereochemistryPairFilter(o)
6101 
6102 
6103 # Register StereochemistryPairFilter in _IMP_atom:
6104 _IMP_atom.StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6105 class SoapPairFilter(IMP.PairPredicate):
6106  r"""Proxy of C++ IMP::atom::SoapPairFilter class."""
6107 
6108  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6109 
6110  def __init__(self, library):
6111  r"""__init__(SoapPairFilter self, std::string library) -> SoapPairFilter"""
6112  _IMP_atom.SoapPairFilter_swiginit(self, _IMP_atom.new_SoapPairFilter(library))
6113 
6114  def do_get_inputs(self, m, pis):
6115  r"""do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6116  return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6117 
6118  def get_value(self, *args):
6119  r"""
6120  get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6121  get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6122  """
6123  return _IMP_atom.SoapPairFilter_get_value(self, *args)
6124 
6125  def get_value_index(self, *args):
6126  r"""
6127  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6128  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6129  """
6130  return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6131 
6132  def get_version_info(self):
6133  r"""get_version_info(SoapPairFilter self) -> VersionInfo"""
6134  return _IMP_atom.SoapPairFilter_get_version_info(self)
6135  __swig_destroy__ = _IMP_atom.delete_SoapPairFilter
6136 
6137  def __str__(self):
6138  r"""__str__(SoapPairFilter self) -> std::string"""
6139  return _IMP_atom.SoapPairFilter___str__(self)
6140 
6141  def __repr__(self):
6142  r"""__repr__(SoapPairFilter self) -> std::string"""
6143  return _IMP_atom.SoapPairFilter___repr__(self)
6144 
6145  @staticmethod
6146  def get_from(o):
6147  return _object_cast_to_SoapPairFilter(o)
6148 
6149 
6150 # Register SoapPairFilter in _IMP_atom:
6151 _IMP_atom.SoapPairFilter_swigregister(SoapPairFilter)
6152 class Mass(IMP.Decorator):
6153  r"""Proxy of C++ IMP::atom::Mass class."""
6154 
6155  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6156 
6157  def get_mass(self):
6158  r"""get_mass(Mass self) -> IMP::Float"""
6159  return _IMP_atom.Mass_get_mass(self)
6160 
6161  def set_mass(self, d):
6162  r"""set_mass(Mass self, IMP::Float d)"""
6163  return _IMP_atom.Mass_set_mass(self, d)
6164 
6165  def __init__(self, *args):
6166  r"""
6167  __init__(Mass self) -> Mass
6168  __init__(Mass self, Model m, ParticleIndex id) -> Mass
6169  __init__(Mass self, _ParticleAdaptor d) -> Mass
6170  """
6171  _IMP_atom.Mass_swiginit(self, _IMP_atom.new_Mass(*args))
6172 
6173  @staticmethod
6174  def get_is_setup(*args):
6175  r"""
6176  get_is_setup(Model m, ParticleIndex pi) -> bool
6177  get_is_setup(_ParticleAdaptor p) -> bool
6178  """
6179  return _IMP_atom.Mass_get_is_setup(*args)
6180 
6181  def show(self, *args):
6182  r"""show(Mass self, _ostream out=std::cout)"""
6183  return _IMP_atom.Mass_show(self, *args)
6184 
6185  @staticmethod
6186  def setup_particle(*args):
6187  r"""
6188  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6189  setup_particle(_ParticleAdaptor pa, IMP::Float mass) -> Mass
6190  setup_particle(Model m, ParticleIndex pi, Mass other) -> Mass
6191  setup_particle(_ParticleAdaptor pa, Mass other) -> Mass
6192  """
6193  return _IMP_atom.Mass_setup_particle(*args)
6194 
6195  @staticmethod
6196  def get_mass_key():
6197  r"""get_mass_key() -> FloatKey"""
6198  return _IMP_atom.Mass_get_mass_key()
6199 
6200  def add_attribute(self, *args):
6201  r"""
6202  add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
6203  add_attribute(Mass self, FloatKey a0, IMP::Float a1)
6204  add_attribute(Mass self, IntKey a0, IMP::Int a1)
6205  add_attribute(Mass self, FloatsKey a0, IMP::Floats a1)
6206  add_attribute(Mass self, IntsKey a0, IMP::Ints a1)
6207  add_attribute(Mass self, StringKey a0, IMP::String a1)
6208  add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
6209  add_attribute(Mass self, ObjectKey a0, Object a1)
6210  add_attribute(Mass self, SparseFloatKey a0, IMP::Float a1)
6211  add_attribute(Mass self, SparseIntKey a0, IMP::Int a1)
6212  add_attribute(Mass self, SparseStringKey a0, IMP::String a1)
6213  add_attribute(Mass self, SparseParticleIndexKey a0, ParticleIndex a1)
6214  """
6215  return _IMP_atom.Mass_add_attribute(self, *args)
6216 
6217  def get_value(self, *args):
6218  r"""
6219  get_value(Mass self, FloatKey a0) -> IMP::Float
6220  get_value(Mass self, IntKey a0) -> IMP::Int
6221  get_value(Mass self, FloatsKey a0) -> IMP::Floats
6222  get_value(Mass self, IntsKey a0) -> IMP::Ints
6223  get_value(Mass self, StringKey a0) -> IMP::String
6224  get_value(Mass self, ParticleIndexKey a0) -> Particle
6225  get_value(Mass self, ObjectKey a0) -> Object
6226  get_value(Mass self, SparseFloatKey a0) -> IMP::Float
6227  get_value(Mass self, SparseIntKey a0) -> IMP::Int
6228  get_value(Mass self, SparseStringKey a0) -> IMP::String
6229  get_value(Mass self, SparseParticleIndexKey a0) -> ParticleIndex
6230  """
6231  return _IMP_atom.Mass_get_value(self, *args)
6232 
6233  def set_value(self, *args):
6234  r"""
6235  set_value(Mass self, FloatKey a0, IMP::Float a1)
6236  set_value(Mass self, IntKey a0, IMP::Int a1)
6237  set_value(Mass self, FloatsKey a0, IMP::Floats a1)
6238  set_value(Mass self, IntsKey a0, IMP::Ints a1)
6239  set_value(Mass self, StringKey a0, IMP::String a1)
6240  set_value(Mass self, ParticleIndexKey a0, Particle a1)
6241  set_value(Mass self, ObjectKey a0, Object a1)
6242  set_value(Mass self, SparseFloatKey a0, IMP::Float a1)
6243  set_value(Mass self, SparseIntKey a0, IMP::Int a1)
6244  set_value(Mass self, SparseStringKey a0, IMP::String a1)
6245  set_value(Mass self, SparseParticleIndexKey a0, ParticleIndex a1)
6246  """
6247  return _IMP_atom.Mass_set_value(self, *args)
6248 
6249  def remove_attribute(self, *args):
6250  r"""
6251  remove_attribute(Mass self, FloatKey a0)
6252  remove_attribute(Mass self, IntKey a0)
6253  remove_attribute(Mass self, FloatsKey a0)
6254  remove_attribute(Mass self, IntsKey a0)
6255  remove_attribute(Mass self, StringKey a0)
6256  remove_attribute(Mass self, ParticleIndexKey a0)
6257  remove_attribute(Mass self, ObjectKey a0)
6258  remove_attribute(Mass self, SparseFloatKey a0)
6259  remove_attribute(Mass self, SparseIntKey a0)
6260  remove_attribute(Mass self, SparseStringKey a0)
6261  remove_attribute(Mass self, SparseParticleIndexKey a0)
6262  """
6263  return _IMP_atom.Mass_remove_attribute(self, *args)
6264 
6265  def has_attribute(self, *args):
6266  r"""
6267  has_attribute(Mass self, FloatKey a0) -> bool
6268  has_attribute(Mass self, IntKey a0) -> bool
6269  has_attribute(Mass self, FloatsKey a0) -> bool
6270  has_attribute(Mass self, IntsKey a0) -> bool
6271  has_attribute(Mass self, StringKey a0) -> bool
6272  has_attribute(Mass self, ParticleIndexKey a0) -> bool
6273  has_attribute(Mass self, ObjectKey a0) -> bool
6274  has_attribute(Mass self, SparseFloatKey a0) -> bool
6275  has_attribute(Mass self, SparseIntKey a0) -> bool
6276  has_attribute(Mass self, SparseStringKey a0) -> bool
6277  has_attribute(Mass self, SparseParticleIndexKey a0) -> bool
6278  """
6279  return _IMP_atom.Mass_has_attribute(self, *args)
6280 
6281  def get_derivative(self, a0):
6282  r"""get_derivative(Mass self, FloatKey a0) -> double"""
6283  return _IMP_atom.Mass_get_derivative(self, a0)
6284 
6285  def get_name(self):
6286  r"""get_name(Mass self) -> std::string"""
6287  return _IMP_atom.Mass_get_name(self)
6288 
6289  def clear_caches(self):
6290  r"""clear_caches(Mass self)"""
6291  return _IMP_atom.Mass_clear_caches(self)
6292 
6293  def set_name(self, a0):
6294  r"""set_name(Mass self, std::string a0)"""
6295  return _IMP_atom.Mass_set_name(self, a0)
6296 
6297  def set_check_level(self, a0):
6298  r"""set_check_level(Mass self, IMP::CheckLevel a0)"""
6299  return _IMP_atom.Mass_set_check_level(self, a0)
6300 
6301  def add_to_derivative(self, a0, a1, a2):
6302  r"""add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6303  return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
6304 
6305  def set_is_optimized(self, a0, a1):
6306  r"""set_is_optimized(Mass self, FloatKey a0, bool a1)"""
6307  return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
6308 
6309  def get_is_optimized(self, a0):
6310  r"""get_is_optimized(Mass self, FloatKey a0) -> bool"""
6311  return _IMP_atom.Mass_get_is_optimized(self, a0)
6312 
6313  def get_check_level(self):
6314  r"""get_check_level(Mass self) -> IMP::CheckLevel"""
6315  return _IMP_atom.Mass_get_check_level(self)
6316 
6317  def __eq__(self, *args):
6318  r"""
6319  __eq__(Mass self, Mass o) -> bool
6320  __eq__(Mass self, Particle d) -> bool
6321  """
6322  return _IMP_atom.Mass___eq__(self, *args)
6323 
6324  def __ne__(self, *args):
6325  r"""
6326  __ne__(Mass self, Mass o) -> bool
6327  __ne__(Mass self, Particle d) -> bool
6328  """
6329  return _IMP_atom.Mass___ne__(self, *args)
6330 
6331  def __le__(self, *args):
6332  r"""
6333  __le__(Mass self, Mass o) -> bool
6334  __le__(Mass self, Particle d) -> bool
6335  """
6336  return _IMP_atom.Mass___le__(self, *args)
6337 
6338  def __lt__(self, *args):
6339  r"""
6340  __lt__(Mass self, Mass o) -> bool
6341  __lt__(Mass self, Particle d) -> bool
6342  """
6343  return _IMP_atom.Mass___lt__(self, *args)
6344 
6345  def __ge__(self, *args):
6346  r"""
6347  __ge__(Mass self, Mass o) -> bool
6348  __ge__(Mass self, Particle d) -> bool
6349  """
6350  return _IMP_atom.Mass___ge__(self, *args)
6351 
6352  def __gt__(self, *args):
6353  r"""
6354  __gt__(Mass self, Mass o) -> bool
6355  __gt__(Mass self, Particle d) -> bool
6356  """
6357  return _IMP_atom.Mass___gt__(self, *args)
6358 
6359  def __hash__(self):
6360  r"""__hash__(Mass self) -> std::size_t"""
6361  return _IMP_atom.Mass___hash__(self)
6362 
6363  def __str__(self):
6364  r"""__str__(Mass self) -> std::string"""
6365  return _IMP_atom.Mass___str__(self)
6366 
6367  def __repr__(self):
6368  r"""__repr__(Mass self) -> std::string"""
6369  return _IMP_atom.Mass___repr__(self)
6370 
6371  def _get_as_binary(self):
6372  r"""_get_as_binary(Mass self) -> PyObject *"""
6373  return _IMP_atom.Mass__get_as_binary(self)
6374 
6375  def _set_from_binary(self, p):
6376  r"""_set_from_binary(Mass self, PyObject * p)"""
6377  return _IMP_atom.Mass__set_from_binary(self, p)
6378 
6379  def __getstate__(self):
6380  p = self._get_as_binary()
6381  if len(self.__dict__) > 1:
6382  d = self.__dict__.copy()
6383  del d['this']
6384  p = (d, p)
6385  return p
6386 
6387  def __setstate__(self, p):
6388  if not hasattr(self, 'this'):
6389  self.__init__()
6390  if isinstance(p, tuple):
6391  d, p = p
6392  self.__dict__.update(d)
6393  return self._set_from_binary(p)
6394 
6395  __swig_destroy__ = _IMP_atom.delete_Mass
6396 
6397 # Register Mass in _IMP_atom:
6398 _IMP_atom.Mass_swigregister(Mass)
6399 class BondedPairFilter(IMP.PairPredicate):
6400  r"""Proxy of C++ IMP::atom::BondedPairFilter class."""
6401 
6402  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6403 
6404  def __init__(self):
6405  r"""__init__(BondedPairFilter self) -> BondedPairFilter"""
6406  _IMP_atom.BondedPairFilter_swiginit(self, _IMP_atom.new_BondedPairFilter())
6407 
6408  def do_get_inputs(self, m, pis):
6409  r"""do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6410  return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
6411 
6412  def get_value(self, *args):
6413  r"""
6414  get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
6415  get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6416  """
6417  return _IMP_atom.BondedPairFilter_get_value(self, *args)
6418 
6419  def get_value_index(self, *args):
6420  r"""
6421  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6422  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6423  """
6424  return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
6425 
6426  def get_version_info(self):
6427  r"""get_version_info(BondedPairFilter self) -> VersionInfo"""
6428  return _IMP_atom.BondedPairFilter_get_version_info(self)
6429  __swig_destroy__ = _IMP_atom.delete_BondedPairFilter
6430 
6431  def __str__(self):
6432  r"""__str__(BondedPairFilter self) -> std::string"""
6433  return _IMP_atom.BondedPairFilter___str__(self)
6434 
6435  def __repr__(self):
6436  r"""__repr__(BondedPairFilter self) -> std::string"""
6437  return _IMP_atom.BondedPairFilter___repr__(self)
6438 
6439  @staticmethod
6440  def get_from(o):
6441  return _object_cast_to_BondedPairFilter(o)
6442 
6443 
6444 # Register BondedPairFilter in _IMP_atom:
6445 _IMP_atom.BondedPairFilter_swigregister(BondedPairFilter)
6446 class Mol2Selector(IMP.Object):
6447  r"""Proxy of C++ IMP::atom::Mol2Selector class."""
6448 
6449  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6450 
6451  def __init__(self, *args, **kwargs):
6452  raise AttributeError("No constructor defined - class is abstract")
6453 
6454  def get_is_selected(self, atom_line):
6455  r"""get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
6456  return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
6457  __swig_destroy__ = _IMP_atom.delete_Mol2Selector
6458 
6459  def __str__(self):
6460  r"""__str__(Mol2Selector self) -> std::string"""
6461  return _IMP_atom.Mol2Selector___str__(self)
6462 
6463  def __repr__(self):
6464  r"""__repr__(Mol2Selector self) -> std::string"""
6465  return _IMP_atom.Mol2Selector___repr__(self)
6466 
6467  @staticmethod
6468  def get_from(o):
6469  return _object_cast_to_Mol2Selector(o)
6470 
6471 
6472 # Register Mol2Selector in _IMP_atom:
6473 _IMP_atom.Mol2Selector_swigregister(Mol2Selector)
6474 class AllMol2Selector(Mol2Selector):
6475  r"""Proxy of C++ IMP::atom::AllMol2Selector class."""
6476 
6477  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6478 
6479  def __str__(self):
6480  r"""__str__(AllMol2Selector self) -> std::string"""
6481  return _IMP_atom.AllMol2Selector___str__(self)
6482 
6483  def __repr__(self):
6484  r"""__repr__(AllMol2Selector self) -> std::string"""
6485  return _IMP_atom.AllMol2Selector___repr__(self)
6486 
6487  @staticmethod
6488  def get_from(o):
6489  return _object_cast_to_AllMol2Selector(o)
6490 
6491 
6492  def __init__(self):
6493  r"""__init__(AllMol2Selector self) -> AllMol2Selector"""
6494  _IMP_atom.AllMol2Selector_swiginit(self, _IMP_atom.new_AllMol2Selector())
6495  __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
6496 
6497 # Register AllMol2Selector in _IMP_atom:
6498 _IMP_atom.AllMol2Selector_swigregister(AllMol2Selector)
6499 class NonHydrogenMol2Selector(Mol2Selector):
6500  r"""Proxy of C++ IMP::atom::NonHydrogenMol2Selector class."""
6501 
6502  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6503 
6504  def __str__(self):
6505  r"""__str__(NonHydrogenMol2Selector self) -> std::string"""
6506  return _IMP_atom.NonHydrogenMol2Selector___str__(self)
6507 
6508  def __repr__(self):
6509  r"""__repr__(NonHydrogenMol2Selector self) -> std::string"""
6510  return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
6511 
6512  @staticmethod
6513  def get_from(o):
6514  return _object_cast_to_NonHydrogenMol2Selector(o)
6515 
6516 
6517  def __init__(self):
6518  r"""__init__(NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
6519  _IMP_atom.NonHydrogenMol2Selector_swiginit(self, _IMP_atom.new_NonHydrogenMol2Selector())
6520  __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
6521 
6522 # Register NonHydrogenMol2Selector in _IMP_atom:
6523 _IMP_atom.NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
6524 
6525 def read_mol2(mol2_file, model, mol2sel=None):
6526  r"""read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy"""
6527  return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
6528 
6529 def write_mol2(rhd, file_name):
6530  r"""write_mol2(Hierarchy rhd, TextOutput file_name)"""
6531  return _IMP_atom.write_mol2(rhd, file_name)
6532 class SecondaryStructureResidue(IMP.Decorator):
6533  r"""Proxy of C++ IMP::atom::SecondaryStructureResidue class."""
6534 
6535  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6536 
6537  def __init__(self, *args):
6538  r"""
6539  __init__(SecondaryStructureResidue self) -> SecondaryStructureResidue
6540  __init__(SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
6541  __init__(SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
6542  """
6543  _IMP_atom.SecondaryStructureResidue_swiginit(self, _IMP_atom.new_SecondaryStructureResidue(*args))
6544 
6545  def show(self, *args):
6546  r"""show(SecondaryStructureResidue self, _ostream out=std::cout)"""
6547  return _IMP_atom.SecondaryStructureResidue_show(self, *args)
6548 
6549  @staticmethod
6550  def setup_particle(*args):
6551  r"""
6552  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
6553  setup_particle(_ParticleAdaptor pa, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
6554  setup_particle(Particle res_p) -> SecondaryStructureResidue
6555  """
6556  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
6557 
6558  @staticmethod
6559  def get_is_setup(*args):
6560  r"""
6561  get_is_setup(_ParticleAdaptor p) -> bool
6562  get_is_setup(Model m, ParticleIndex pi) -> bool
6563  """
6564  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
6565 
6566  def get_particle(self):
6567  r"""get_particle(SecondaryStructureResidue self) -> Particle"""
6568  return _IMP_atom.SecondaryStructureResidue_get_particle(self)
6569 
6570  def get_all_probabilities(self):
6571  r"""get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
6572  return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
6573 
6574  def get_prob_helix(self):
6575  r"""get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
6576  return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
6577 
6578  def set_prob_helix(self, t):
6579  r"""set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
6580  return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
6581 
6582  def get_prob_strand(self):
6583  r"""get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
6584  return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
6585 
6586  def set_prob_strand(self, t):
6587  r"""set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
6588  return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
6589 
6590  def get_prob_coil(self):
6591  r"""get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
6592  return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
6593 
6594  def set_prob_coil(self, t):
6595  r"""set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
6596  return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
6597 
6598  @staticmethod
6599  def get_prob_helix_key():
6600  r"""get_prob_helix_key() -> FloatKey"""
6601  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
6602 
6603  @staticmethod
6604  def get_prob_strand_key():
6605  r"""get_prob_strand_key() -> FloatKey"""
6606  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
6607 
6608  @staticmethod
6609  def get_prob_coil_key():
6610  r"""get_prob_coil_key() -> FloatKey"""
6611  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
6612 
6613  def add_attribute(self, *args):
6614  r"""
6615  add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
6616  add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
6617  add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
6618  add_attribute(SecondaryStructureResidue self, FloatsKey a0, IMP::Floats a1)
6619  add_attribute(SecondaryStructureResidue self, IntsKey a0, IMP::Ints a1)
6620  add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
6621  add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
6622  add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
6623  add_attribute(SecondaryStructureResidue self, SparseFloatKey a0, IMP::Float a1)
6624  add_attribute(SecondaryStructureResidue self, SparseIntKey a0, IMP::Int a1)
6625  add_attribute(SecondaryStructureResidue self, SparseStringKey a0, IMP::String a1)
6626  add_attribute(SecondaryStructureResidue self, SparseParticleIndexKey a0, ParticleIndex a1)
6627  """
6628  return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
6629 
6630  def get_value(self, *args):
6631  r"""
6632  get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
6633  get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
6634  get_value(SecondaryStructureResidue self, FloatsKey a0) -> IMP::Floats
6635  get_value(SecondaryStructureResidue self, IntsKey a0) -> IMP::Ints
6636  get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
6637  get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
6638  get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
6639  get_value(SecondaryStructureResidue self, SparseFloatKey a0) -> IMP::Float
6640  get_value(SecondaryStructureResidue self, SparseIntKey a0) -> IMP::Int
6641  get_value(SecondaryStructureResidue self, SparseStringKey a0) -> IMP::String
6642  get_value(SecondaryStructureResidue self, SparseParticleIndexKey a0) -> ParticleIndex
6643  """
6644  return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
6645 
6646  def set_value(self, *args):
6647  r"""
6648  set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
6649  set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
6650  set_value(SecondaryStructureResidue self, FloatsKey a0, IMP::Floats a1)
6651  set_value(SecondaryStructureResidue self, IntsKey a0, IMP::Ints a1)
6652  set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
6653  set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
6654  set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
6655  set_value(SecondaryStructureResidue self, SparseFloatKey a0, IMP::Float a1)
6656  set_value(SecondaryStructureResidue self, SparseIntKey a0, IMP::Int a1)
6657  set_value(SecondaryStructureResidue self, SparseStringKey a0, IMP::String a1)
6658  set_value(SecondaryStructureResidue self, SparseParticleIndexKey a0, ParticleIndex a1)
6659  """
6660  return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
6661 
6662  def remove_attribute(self, *args):
6663  r"""
6664  remove_attribute(SecondaryStructureResidue self, FloatKey a0)
6665  remove_attribute(SecondaryStructureResidue self, IntKey a0)
6666  remove_attribute(SecondaryStructureResidue self, FloatsKey a0)
6667  remove_attribute(SecondaryStructureResidue self, IntsKey a0)
6668  remove_attribute(SecondaryStructureResidue self, StringKey a0)
6669  remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
6670  remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
6671  remove_attribute(SecondaryStructureResidue self, SparseFloatKey a0)
6672  remove_attribute(SecondaryStructureResidue self, SparseIntKey a0)
6673  remove_attribute(SecondaryStructureResidue self, SparseStringKey a0)
6674  remove_attribute(SecondaryStructureResidue self, SparseParticleIndexKey a0)
6675  """
6676  return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
6677 
6678  def has_attribute(self, *args):
6679  r"""
6680  has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
6681  has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
6682  has_attribute(SecondaryStructureResidue self, FloatsKey a0) -> bool
6683  has_attribute(SecondaryStructureResidue self, IntsKey a0) -> bool
6684  has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
6685  has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
6686  has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
6687  has_attribute(SecondaryStructureResidue self, SparseFloatKey a0) -> bool
6688  has_attribute(SecondaryStructureResidue self, SparseIntKey a0) -> bool
6689  has_attribute(SecondaryStructureResidue self, SparseStringKey a0) -> bool
6690  has_attribute(SecondaryStructureResidue self, SparseParticleIndexKey a0) -> bool
6691  """
6692  return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
6693 
6694  def get_derivative(self, a0):
6695  r"""get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
6696  return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
6697 
6698  def get_name(self):
6699  r"""get_name(SecondaryStructureResidue self) -> std::string"""
6700  return _IMP_atom.SecondaryStructureResidue_get_name(self)
6701 
6702  def clear_caches(self):
6703  r"""clear_caches(SecondaryStructureResidue self)"""
6704  return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
6705 
6706  def set_name(self, a0):
6707  r"""set_name(SecondaryStructureResidue self, std::string a0)"""
6708  return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
6709 
6710  def set_check_level(self, a0):
6711  r"""set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
6712  return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
6713 
6714  def add_to_derivative(self, a0, a1, a2):
6715  r"""add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6716  return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
6717 
6718  def set_is_optimized(self, a0, a1):
6719  r"""set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
6720  return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
6721 
6722  def get_is_optimized(self, a0):
6723  r"""get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
6724  return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
6725 
6726  def get_check_level(self):
6727  r"""get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
6728  return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
6729 
6730  def __eq__(self, *args):
6731  r"""
6732  __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6733  __eq__(SecondaryStructureResidue self, Particle d) -> bool
6734  """
6735  return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
6736 
6737  def __ne__(self, *args):
6738  r"""
6739  __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6740  __ne__(SecondaryStructureResidue self, Particle d) -> bool
6741  """
6742  return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
6743 
6744  def __le__(self, *args):
6745  r"""
6746  __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6747  __le__(SecondaryStructureResidue self, Particle d) -> bool
6748  """
6749  return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
6750 
6751  def __lt__(self, *args):
6752  r"""
6753  __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6754  __lt__(SecondaryStructureResidue self, Particle d) -> bool
6755  """
6756  return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
6757 
6758  def __ge__(self, *args):
6759  r"""
6760  __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6761  __ge__(SecondaryStructureResidue self, Particle d) -> bool
6762  """
6763  return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
6764 
6765  def __gt__(self, *args):
6766  r"""
6767  __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
6768  __gt__(SecondaryStructureResidue self, Particle d) -> bool
6769  """
6770  return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
6771 
6772  def __hash__(self):
6773  r"""__hash__(SecondaryStructureResidue self) -> std::size_t"""
6774  return _IMP_atom.SecondaryStructureResidue___hash__(self)
6775 
6776  def __str__(self):
6777  r"""__str__(SecondaryStructureResidue self) -> std::string"""
6778  return _IMP_atom.SecondaryStructureResidue___str__(self)
6779 
6780  def __repr__(self):
6781  r"""__repr__(SecondaryStructureResidue self) -> std::string"""
6782  return _IMP_atom.SecondaryStructureResidue___repr__(self)
6783 
6784  def _get_as_binary(self):
6785  r"""_get_as_binary(SecondaryStructureResidue self) -> PyObject *"""
6786  return _IMP_atom.SecondaryStructureResidue__get_as_binary(self)
6787 
6788  def _set_from_binary(self, p):
6789  r"""_set_from_binary(SecondaryStructureResidue self, PyObject * p)"""
6790  return _IMP_atom.SecondaryStructureResidue__set_from_binary(self, p)
6791 
6792  def __getstate__(self):
6793  p = self._get_as_binary()
6794  if len(self.__dict__) > 1:
6795  d = self.__dict__.copy()
6796  del d['this']
6797  p = (d, p)
6798  return p
6799 
6800  def __setstate__(self, p):
6801  if not hasattr(self, 'this'):
6802  self.__init__()
6803  if isinstance(p, tuple):
6804  d, p = p
6805  self.__dict__.update(d)
6806  return self._set_from_binary(p)
6807 
6808  __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
6809 
6810 # Register SecondaryStructureResidue in _IMP_atom:
6811 _IMP_atom.SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
6812 
6813 def setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res=False):
6814  r"""setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue"""
6815  return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
6816 
6817 def setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res=False):
6818  r"""setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=False) -> IMP::atom::SecondaryStructureResidues"""
6819  return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
6820 
6821 def get_secondary_structure_match_score(ssr1, ssr2):
6822  r"""get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
6823  return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
6824 
6825 def read_psipred(*args):
6826  r"""
6827  read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
6828  read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
6829  """
6830  return _IMP_atom.read_psipred(*args)
6831 class _ADopeBase(IMP.PairScore):
6832  r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::score_functor::Dope > class."""
6833 
6834  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6835  __repr__ = _swig_repr
6836 
6837  def __init__(self, *args):
6838  r"""
6839  __init__(_ADopeBase self, Dope t0, std::string name="FunctorDistancePairScore %1%") -> _ADopeBase
6840  __init__(_ADopeBase self) -> _ADopeBase
6841  """
6842  _IMP_atom._ADopeBase_swiginit(self, _IMP_atom.new__ADopeBase(*args))
6843 
6844  def do_get_inputs(self, m, pis):
6845  r"""do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6846  return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
6847 
6848  def get_score_functor(self):
6849  r"""get_score_functor(_ADopeBase self) -> Dope"""
6850  return _IMP_atom._ADopeBase_get_score_functor(self)
6851 
6852  def get_version_info(self):
6853  r"""get_version_info(_ADopeBase self) -> VersionInfo"""
6854  return _IMP_atom._ADopeBase_get_version_info(self)
6855  __swig_destroy__ = _IMP_atom.delete__ADopeBase
6856 
6857 # Register _ADopeBase in _IMP_atom:
6858 _IMP_atom._ADopeBase_swigregister(_ADopeBase)
6859 class _BDopeBase(IMP.PairScore):
6860  r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > > class."""
6861 
6862  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6863  __repr__ = _swig_repr
6864 
6865  def __init__(self, *args):
6866  r"""
6867  __init__(_BDopeBase self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > >::DistanceScore const & t0, std::string name="FunctorDistancePairScore %1%") -> _BDopeBase
6868  __init__(_BDopeBase self) -> _BDopeBase
6869  """
6870  _IMP_atom._BDopeBase_swiginit(self, _IMP_atom.new__BDopeBase(*args))
6871 
6872  def do_get_inputs(self, m, pis):
6873  r"""do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6874  return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
6875 
6876  def get_score_functor(self):
6877  r"""get_score_functor(_BDopeBase self) -> _DopeBase"""
6878  return _IMP_atom._BDopeBase_get_score_functor(self)
6879 
6880  def get_version_info(self):
6881  r"""get_version_info(_BDopeBase self) -> VersionInfo"""
6882  return _IMP_atom._BDopeBase_get_version_info(self)
6883  __swig_destroy__ = _IMP_atom.delete__BDopeBase
6884 
6885 # Register _BDopeBase in _IMP_atom:
6886 _IMP_atom._BDopeBase_swigregister(_BDopeBase)
6887 class _ALoopStatisticalBase(IMP.PairScore):
6888  r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::score_functor::LoopStatistical > class."""
6889 
6890  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6891  __repr__ = _swig_repr
6892 
6893  def __init__(self, *args):
6894  r"""
6895  __init__(_ALoopStatisticalBase self, LoopStatistical t0, std::string name="FunctorDistancePairScore %1%") -> _ALoopStatisticalBase
6896  __init__(_ALoopStatisticalBase self) -> _ALoopStatisticalBase
6897  """
6898  _IMP_atom._ALoopStatisticalBase_swiginit(self, _IMP_atom.new__ALoopStatisticalBase(*args))
6899 
6900  def do_get_inputs(self, m, pis):
6901  r"""do_get_inputs(_ALoopStatisticalBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6902  return _IMP_atom._ALoopStatisticalBase_do_get_inputs(self, m, pis)
6903 
6904  def get_score_functor(self):
6905  r"""get_score_functor(_ALoopStatisticalBase self) -> LoopStatistical"""
6906  return _IMP_atom._ALoopStatisticalBase_get_score_functor(self)
6907 
6908  def get_version_info(self):
6909  r"""get_version_info(_ALoopStatisticalBase self) -> VersionInfo"""
6910  return _IMP_atom._ALoopStatisticalBase_get_version_info(self)
6911  __swig_destroy__ = _IMP_atom.delete__ALoopStatisticalBase
6912 
6913 # Register _ALoopStatisticalBase in _IMP_atom:
6914 _IMP_atom._ALoopStatisticalBase_swigregister(_ALoopStatisticalBase)
6915 class _BLoopStatisticalBase(IMP.PairScore):
6916  r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::LoopStatisticalType,false,true,false > > class."""
6917 
6918  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6919  __repr__ = _swig_repr
6920 
6921  def __init__(self, *args):
6922  r"""
6923  __init__(_BLoopStatisticalBase self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::LoopStatisticalType,false,true,false > >::DistanceScore const & t0, std::string name="FunctorDistancePairScore %1%") -> _BLoopStatisticalBase
6924  __init__(_BLoopStatisticalBase self) -> _BLoopStatisticalBase
6925  """
6926  _IMP_atom._BLoopStatisticalBase_swiginit(self, _IMP_atom.new__BLoopStatisticalBase(*args))
6927 
6928  def do_get_inputs(self, m, pis):
6929  r"""do_get_inputs(_BLoopStatisticalBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6930  return _IMP_atom._BLoopStatisticalBase_do_get_inputs(self, m, pis)
6931 
6932  def get_score_functor(self):
6933  r"""get_score_functor(_BLoopStatisticalBase self) -> _LoopStatisticalBase"""
6934  return _IMP_atom._BLoopStatisticalBase_get_score_functor(self)
6935 
6936  def get_version_info(self):
6937  r"""get_version_info(_BLoopStatisticalBase self) -> VersionInfo"""
6938  return _IMP_atom._BLoopStatisticalBase_get_version_info(self)
6939  __swig_destroy__ = _IMP_atom.delete__BLoopStatisticalBase
6940 
6941 # Register _BLoopStatisticalBase in _IMP_atom:
6942 _IMP_atom._BLoopStatisticalBase_swigregister(_BLoopStatisticalBase)
6943 class _OrientedSoapBase(IMP.PairScore):
6944  r"""Proxy of C++ IMP::score_functor::DistancePairScoreWithCache< IMP::score_functor::OrientedSoap > class."""
6945 
6946  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6947  __repr__ = _swig_repr
6948 
6949  def __init__(self, *args):
6950  r"""__init__(_OrientedSoapBase self, IMP::score_functor::DistancePairScoreWithCache< IMP::score_functor::OrientedSoap >::DistanceScore const & t0, std::string name="FunctorDistancePairScoreWithCache %1%") -> _OrientedSoapBase"""
6951  _IMP_atom._OrientedSoapBase_swiginit(self, _IMP_atom.new__OrientedSoapBase(*args))
6952 
6953  def do_get_inputs(self, m, pis):
6954  r"""do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6955  return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
6956 
6957  def get_score_functor(self):
6958  r"""get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
6959  return _IMP_atom._OrientedSoapBase_get_score_functor(self)
6960 
6961  def get_version_info(self):
6962  r"""get_version_info(_OrientedSoapBase self) -> VersionInfo"""
6963  return _IMP_atom._OrientedSoapBase_get_version_info(self)
6964  __swig_destroy__ = _IMP_atom.delete__OrientedSoapBase
6965 
6966 # Register _OrientedSoapBase in _IMP_atom:
6967 _IMP_atom._OrientedSoapBase_swigregister(_OrientedSoapBase)
6968 class _SPSFTB(IMP.PairScore):
6969  r"""Proxy of C++ IMP::score_functor::DistancePairScore< score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > > class."""
6970 
6971  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6972  __repr__ = _swig_repr
6973 
6974  def __init__(self, *args):
6975  r"""
6976  __init__(_SPSFTB self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > >::DistanceScore const & t0, std::string name="FunctorDistancePairScore %1%") -> _SPSFTB
6977  __init__(_SPSFTB self) -> _SPSFTB
6978  """
6979  _IMP_atom._SPSFTB_swiginit(self, _IMP_atom.new__SPSFTB(*args))
6980 
6981  def do_get_inputs(self, m, pis):
6982  r"""do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6983  return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
6984 
6985  def get_score_functor(self):
6986  r"""get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
6987  return _IMP_atom._SPSFTB_get_score_functor(self)
6988 
6989  def get_version_info(self):
6990  r"""get_version_info(_SPSFTB self) -> VersionInfo"""
6991  return _IMP_atom._SPSFTB_get_version_info(self)
6992  __swig_destroy__ = _IMP_atom.delete__SPSFTB
6993 
6994 # Register _SPSFTB in _IMP_atom:
6995 _IMP_atom._SPSFTB_swigregister(_SPSFTB)
6996 class _SPSTF(_SPSFTB):
6997  r"""Proxy of C++ IMP::core::StatisticalPairScore< IMP::atom::ProteinLigandType,true,false > class."""
6998 
6999  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7000  __repr__ = _swig_repr
7001 
7002  def __init__(self, *args):
7003  r"""
7004  __init__(_SPSTF self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7005  __init__(_SPSTF self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7006  """
7007  _IMP_atom._SPSTF_swiginit(self, _IMP_atom.new__SPSTF(*args))
7008  __swig_destroy__ = _IMP_atom.delete__SPSTF
7009 
7010 # Register _SPSTF in _IMP_atom:
7011 _IMP_atom._SPSTF_swigregister(_SPSTF)
7012 class _SPSFT(_BDopeBase):
7013  r"""Proxy of C++ IMP::core::StatisticalPairScore< IMP::atom::DopeType,false,true > class."""
7014 
7015  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7016  __repr__ = _swig_repr
7017 
7018  def __init__(self, *args):
7019  r"""
7020  __init__(_SPSFT self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7021  __init__(_SPSFT self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7022  """
7023  _IMP_atom._SPSFT_swiginit(self, _IMP_atom.new__SPSFT(*args))
7024  __swig_destroy__ = _IMP_atom.delete__SPSFT
7025 
7026 # Register _SPSFT in _IMP_atom:
7027 _IMP_atom._SPSFT_swigregister(_SPSFT)
7028 class _SPSFTL(_BLoopStatisticalBase):
7029  r"""Proxy of C++ IMP::core::StatisticalPairScore< IMP::atom::LoopStatisticalType,false,true > class."""
7030 
7031  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7032  __repr__ = _swig_repr
7033 
7034  def __init__(self, *args):
7035  r"""
7036  __init__(_SPSFTL self, IntKey k, double threshold, TextInput data_file) -> _SPSFTL
7037  __init__(_SPSFTL self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFTL
7038  """
7039  _IMP_atom._SPSFTL_swiginit(self, _IMP_atom.new__SPSFTL(*args))
7040  __swig_destroy__ = _IMP_atom.delete__SPSFTL
7041 
7042 # Register _SPSFTL in _IMP_atom:
7043 _IMP_atom._SPSFTL_swigregister(_SPSFTL)
7044 class ProteinLigandAtomPairScore(_SPSTF):
7045  r"""Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class."""
7046 
7047  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7048 
7049  def __init__(self, *args):
7050  r"""
7051  __init__(ProteinLigandAtomPairScore self, double threshold=std::numeric_limits< double >::max()) -> ProteinLigandAtomPairScore
7052  __init__(ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
7053  """
7054  _IMP_atom.ProteinLigandAtomPairScore_swiginit(self, _IMP_atom.new_ProteinLigandAtomPairScore(*args))
7055 
7056  def get_maximum_distance(self):
7057  r"""get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
7058  return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
7059 
7060  def __str__(self):
7061  r"""__str__(ProteinLigandAtomPairScore self) -> std::string"""
7062  return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
7063 
7064  def __repr__(self):
7065  r"""__repr__(ProteinLigandAtomPairScore self) -> std::string"""
7066  return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
7067 
7068  @staticmethod
7069  def get_from(o):
7070  return _object_cast_to_ProteinLigandAtomPairScore(o)
7071 
7072  __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
7073 
7074 # Register ProteinLigandAtomPairScore in _IMP_atom:
7075 _IMP_atom.ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
7076 class ProteinLigandRestraint(IMP.container.PairsRestraint):
7077  r"""Proxy of C++ IMP::atom::ProteinLigandRestraint class."""
7078 
7079  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7080 
7081  def __init__(self, *args):
7082  r"""
7083  __init__(ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold=std::numeric_limits< double >::max()) -> ProteinLigandRestraint
7084  __init__(ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
7085  """
7086  _IMP_atom.ProteinLigandRestraint_swiginit(self, _IMP_atom.new_ProteinLigandRestraint(*args))
7087 
7088  def __str__(self):
7089  r"""__str__(ProteinLigandRestraint self) -> std::string"""
7090  return _IMP_atom.ProteinLigandRestraint___str__(self)
7091 
7092  def __repr__(self):
7093  r"""__repr__(ProteinLigandRestraint self) -> std::string"""
7094  return _IMP_atom.ProteinLigandRestraint___repr__(self)
7095 
7096  @staticmethod
7097  def get_from(o):
7098  return _object_cast_to_ProteinLigandRestraint(o)
7099 
7100  __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
7101 
7102 # Register ProteinLigandRestraint in _IMP_atom:
7103 _IMP_atom.ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
7104 
7106  r"""add_protein_ligand_score_data(Hierarchy h)"""
7107  return _IMP_atom.add_protein_ligand_score_data(h)
7108 class AtomType(IMP._Value):
7109  r"""Proxy of C++ IMP::Key< 8974343 > class."""
7110 
7111  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7112 
7113  def __init__(self, *args):
7114  r"""
7115  __init__(AtomType self) -> AtomType
7116  __init__(AtomType self, std::string const & c, bool is_implicit_add_permitted=True) -> AtomType
7117  __init__(AtomType self, unsigned int i) -> AtomType
7118  """
7119  _IMP_atom.AtomType_swiginit(self, _IMP_atom.new_AtomType(*args))
7120 
7121  @staticmethod
7122  def add_key(sc):
7123  r"""add_key(std::string sc) -> unsigned int"""
7124  return _IMP_atom.AtomType_add_key(sc)
7125 
7126  @staticmethod
7127  def get_key_exists(sc):
7128  r"""get_key_exists(std::string sc) -> bool"""
7129  return _IMP_atom.AtomType_get_key_exists(sc)
7130 
7131  def get_string(self):
7132  r"""get_string(AtomType self) -> std::string const"""
7133  return _IMP_atom.AtomType_get_string(self)
7134 
7135  def __cmp__(self, o):
7136  r"""__cmp__(AtomType self, AtomType o) -> int"""
7137  return _IMP_atom.AtomType___cmp__(self, o)
7138 
7139  def __eq__(self, o):
7140  r"""__eq__(AtomType self, AtomType o) -> bool"""
7141  return _IMP_atom.AtomType___eq__(self, o)
7142 
7143  def __ne__(self, o):
7144  r"""__ne__(AtomType self, AtomType o) -> bool"""
7145  return _IMP_atom.AtomType___ne__(self, o)
7146 
7147  def __lt__(self, o):
7148  r"""__lt__(AtomType self, AtomType o) -> bool"""
7149  return _IMP_atom.AtomType___lt__(self, o)
7150 
7151  def __gt__(self, o):
7152  r"""__gt__(AtomType self, AtomType o) -> bool"""
7153  return _IMP_atom.AtomType___gt__(self, o)
7154 
7155  def __ge__(self, o):
7156  r"""__ge__(AtomType self, AtomType o) -> bool"""
7157  return _IMP_atom.AtomType___ge__(self, o)
7158 
7159  def __le__(self, o):
7160  r"""__le__(AtomType self, AtomType o) -> bool"""
7161  return _IMP_atom.AtomType___le__(self, o)
7162 
7163  def __hash__(self):
7164  r"""__hash__(AtomType self) -> std::size_t"""
7165  return _IMP_atom.AtomType___hash__(self)
7166 
7167  def show(self, *args):
7168  r"""show(AtomType self, _ostream out=std::cout)"""
7169  return _IMP_atom.AtomType_show(self, *args)
7170 
7171  @staticmethod
7172  def add_alias(old_key, new_name):
7173  r"""add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7174  return _IMP_atom.AtomType_add_alias(old_key, new_name)
7175 
7176  @staticmethod
7177  def get_number_of_keys():
7178  r"""get_number_of_keys() -> unsigned int"""
7179  return _IMP_atom.AtomType_get_number_of_keys()
7180 
7181  def get_index(self):
7182  r"""get_index(AtomType self) -> unsigned int"""
7183  return _IMP_atom.AtomType_get_index(self)
7184 
7185  @staticmethod
7186  def show_all(out):
7187  r"""show_all(_ostream out)"""
7188  return _IMP_atom.AtomType_show_all(out)
7189 
7190  @staticmethod
7191  def get_all_strings():
7192  r"""get_all_strings() -> IMP::Vector< std::string >"""
7193  return _IMP_atom.AtomType_get_all_strings()
7194 
7195  @staticmethod
7196  def get_number_unique():
7197  r"""get_number_unique() -> unsigned int"""
7198  return _IMP_atom.AtomType_get_number_unique()
7199 
7200  def __str__(self):
7201  r"""__str__(AtomType self) -> std::string"""
7202  return _IMP_atom.AtomType___str__(self)
7203 
7204  def __repr__(self):
7205  r"""__repr__(AtomType self) -> std::string"""
7206  return _IMP_atom.AtomType___repr__(self)
7207  __swig_destroy__ = _IMP_atom.delete_AtomType
7208 
7209 # Register AtomType in _IMP_atom:
7210 _IMP_atom.AtomType_swigregister(AtomType)
7211 class ResidueType(IMP._Value):
7212  r"""Proxy of C++ IMP::Key< 90784334 > class."""
7213 
7214  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7215 
7216  def __init__(self, *args):
7217  r"""
7218  __init__(ResidueType self) -> ResidueType
7219  __init__(ResidueType self, std::string const & c, bool is_implicit_add_permitted=True) -> ResidueType
7220  __init__(ResidueType self, unsigned int i) -> ResidueType
7221  """
7222  _IMP_atom.ResidueType_swiginit(self, _IMP_atom.new_ResidueType(*args))
7223 
7224  @staticmethod
7225  def add_key(sc):
7226  r"""add_key(std::string sc) -> unsigned int"""
7227  return _IMP_atom.ResidueType_add_key(sc)
7228 
7229  @staticmethod
7230  def get_key_exists(sc):
7231  r"""get_key_exists(std::string sc) -> bool"""
7232  return _IMP_atom.ResidueType_get_key_exists(sc)
7233 
7234  def get_string(self):
7235  r"""get_string(ResidueType self) -> std::string const"""
7236  return _IMP_atom.ResidueType_get_string(self)
7237 
7238  def __cmp__(self, o):
7239  r"""__cmp__(ResidueType self, ResidueType o) -> int"""
7240  return _IMP_atom.ResidueType___cmp__(self, o)
7241 
7242  def __eq__(self, o):
7243  r"""__eq__(ResidueType self, ResidueType o) -> bool"""
7244  return _IMP_atom.ResidueType___eq__(self, o)
7245 
7246  def __ne__(self, o):
7247  r"""__ne__(ResidueType self, ResidueType o) -> bool"""
7248  return _IMP_atom.ResidueType___ne__(self, o)
7249 
7250  def __lt__(self, o):
7251  r"""__lt__(ResidueType self, ResidueType o) -> bool"""
7252  return _IMP_atom.ResidueType___lt__(self, o)
7253 
7254  def __gt__(self, o):
7255  r"""__gt__(ResidueType self, ResidueType o) -> bool"""
7256  return _IMP_atom.ResidueType___gt__(self, o)
7257 
7258  def __ge__(self, o):
7259  r"""__ge__(ResidueType self, ResidueType o) -> bool"""
7260  return _IMP_atom.ResidueType___ge__(self, o)
7261 
7262  def __le__(self, o):
7263  r"""__le__(ResidueType self, ResidueType o) -> bool"""
7264  return _IMP_atom.ResidueType___le__(self, o)
7265 
7266  def __hash__(self):
7267  r"""__hash__(ResidueType self) -> std::size_t"""
7268  return _IMP_atom.ResidueType___hash__(self)
7269 
7270  def show(self, *args):
7271  r"""show(ResidueType self, _ostream out=std::cout)"""
7272  return _IMP_atom.ResidueType_show(self, *args)
7273 
7274  @staticmethod
7275  def add_alias(old_key, new_name):
7276  r"""add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
7277  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
7278 
7279  @staticmethod
7280  def get_number_of_keys():
7281  r"""get_number_of_keys() -> unsigned int"""
7282  return _IMP_atom.ResidueType_get_number_of_keys()
7283 
7284  def get_index(self):
7285  r"""get_index(ResidueType self) -> unsigned int"""
7286  return _IMP_atom.ResidueType_get_index(self)
7287 
7288  @staticmethod
7289  def show_all(out):
7290  r"""show_all(_ostream out)"""
7291  return _IMP_atom.ResidueType_show_all(out)
7292 
7293  @staticmethod
7294  def get_all_strings():
7295  r"""get_all_strings() -> IMP::Vector< std::string >"""
7296  return _IMP_atom.ResidueType_get_all_strings()
7297 
7298  @staticmethod
7299  def get_number_unique():
7300  r"""get_number_unique() -> unsigned int"""
7301  return _IMP_atom.ResidueType_get_number_unique()
7302 
7303  def __str__(self):
7304  r"""__str__(ResidueType self) -> std::string"""
7305  return _IMP_atom.ResidueType___str__(self)
7306 
7307  def __repr__(self):
7308  r"""__repr__(ResidueType self) -> std::string"""
7309  return _IMP_atom.ResidueType___repr__(self)
7310  __swig_destroy__ = _IMP_atom.delete_ResidueType
7311 
7312 # Register ResidueType in _IMP_atom:
7313 _IMP_atom.ResidueType_swigregister(ResidueType)
7314 class ChainType(IMP._Value):
7315  r"""Proxy of C++ IMP::Key< 90784336 > class."""
7316 
7317  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7318 
7319  def __init__(self, *args):
7320  r"""
7321  __init__(ChainType self) -> ChainType
7322  __init__(ChainType self, std::string const & c, bool is_implicit_add_permitted=True) -> ChainType
7323  __init__(ChainType self, unsigned int i) -> ChainType
7324  """
7325  _IMP_atom.ChainType_swiginit(self, _IMP_atom.new_ChainType(*args))
7326 
7327  @staticmethod
7328  def add_key(sc):
7329  r"""add_key(std::string sc) -> unsigned int"""
7330  return _IMP_atom.ChainType_add_key(sc)
7331 
7332  @staticmethod
7333  def get_key_exists(sc):
7334  r"""get_key_exists(std::string sc) -> bool"""
7335  return _IMP_atom.ChainType_get_key_exists(sc)
7336 
7337  def get_string(self):
7338  r"""get_string(ChainType self) -> std::string const"""
7339  return _IMP_atom.ChainType_get_string(self)
7340 
7341  def __cmp__(self, o):
7342  r"""__cmp__(ChainType self, ChainType o) -> int"""
7343  return _IMP_atom.ChainType___cmp__(self, o)
7344 
7345  def __eq__(self, o):
7346  r"""__eq__(ChainType self, ChainType o) -> bool"""
7347  return _IMP_atom.ChainType___eq__(self, o)
7348 
7349  def __ne__(self, o):
7350  r"""__ne__(ChainType self, ChainType o) -> bool"""
7351  return _IMP_atom.ChainType___ne__(self, o)
7352 
7353  def __lt__(self, o):
7354  r"""__lt__(ChainType self, ChainType o) -> bool"""
7355  return _IMP_atom.ChainType___lt__(self, o)
7356 
7357  def __gt__(self, o):
7358  r"""__gt__(ChainType self, ChainType o) -> bool"""
7359  return _IMP_atom.ChainType___gt__(self, o)
7360 
7361  def __ge__(self, o):
7362  r"""__ge__(ChainType self, ChainType o) -> bool"""
7363  return _IMP_atom.ChainType___ge__(self, o)
7364 
7365  def __le__(self, o):
7366  r"""__le__(ChainType self, ChainType o) -> bool"""
7367  return _IMP_atom.ChainType___le__(self, o)
7368 
7369  def __hash__(self):
7370  r"""__hash__(ChainType self) -> std::size_t"""
7371  return _IMP_atom.ChainType___hash__(self)
7372 
7373  def show(self, *args):
7374  r"""show(ChainType self, _ostream out=std::cout)"""
7375  return _IMP_atom.ChainType_show(self, *args)
7376 
7377  @staticmethod
7378  def add_alias(old_key, new_name):
7379  r"""add_alias(ChainType old_key, std::string new_name) -> ChainType"""
7380  return _IMP_atom.ChainType_add_alias(old_key, new_name)
7381 
7382  @staticmethod
7383  def get_number_of_keys():
7384  r"""get_number_of_keys() -> unsigned int"""
7385  return _IMP_atom.ChainType_get_number_of_keys()
7386 
7387  def get_index(self):
7388  r"""get_index(ChainType self) -> unsigned int"""
7389  return _IMP_atom.ChainType_get_index(self)
7390 
7391  @staticmethod
7392  def show_all(out):
7393  r"""show_all(_ostream out)"""
7394  return _IMP_atom.ChainType_show_all(out)
7395 
7396  @staticmethod
7397  def get_all_strings():
7398  r"""get_all_strings() -> IMP::Vector< std::string >"""
7399  return _IMP_atom.ChainType_get_all_strings()
7400 
7401  @staticmethod
7402  def get_number_unique():
7403  r"""get_number_unique() -> unsigned int"""
7404  return _IMP_atom.ChainType_get_number_unique()
7405 
7406  def __str__(self):
7407  r"""__str__(ChainType self) -> std::string"""
7408  return _IMP_atom.ChainType___str__(self)
7409 
7410  def __repr__(self):
7411  r"""__repr__(ChainType self) -> std::string"""
7412  return _IMP_atom.ChainType___repr__(self)
7413  __swig_destroy__ = _IMP_atom.delete_ChainType
7414 
7415 # Register ChainType in _IMP_atom:
7416 _IMP_atom.ChainType_swigregister(ChainType)
7417 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
7418 
7419 OH = _IMP_atom.OH
7420 
7421 H2O = _IMP_atom.H2O
7422 
7423 H = _IMP_atom.H
7424 
7425 He = _IMP_atom.He
7426 
7427 Li = _IMP_atom.Li
7428 
7429 Be = _IMP_atom.Be
7430 
7431 B = _IMP_atom.B
7432 
7433 C = _IMP_atom.C
7434 
7435 N = _IMP_atom.N
7436 
7437 O = _IMP_atom.O
7438 
7439 F = _IMP_atom.F
7440 
7441 Ne = _IMP_atom.Ne
7442 
7443 Na = _IMP_atom.Na
7444 
7445 Mg = _IMP_atom.Mg
7446 
7447 Al = _IMP_atom.Al
7448 
7449 Si = _IMP_atom.Si
7450 
7451 P = _IMP_atom.P
7452 
7453 S = _IMP_atom.S
7454 
7455 Cl = _IMP_atom.Cl
7456 
7457 Ar = _IMP_atom.Ar
7458 
7459 K = _IMP_atom.K
7460 
7461 Ca = _IMP_atom.Ca
7462 
7463 Sc = _IMP_atom.Sc
7464 
7465 Ti = _IMP_atom.Ti
7466 
7467 V = _IMP_atom.V
7468 
7469 Cr = _IMP_atom.Cr
7470 
7471 Mn = _IMP_atom.Mn
7472 
7473 Fe = _IMP_atom.Fe
7474 
7475 Co = _IMP_atom.Co
7476 
7477 Ni = _IMP_atom.Ni
7478 
7479 Cu = _IMP_atom.Cu
7480 
7481 Zn = _IMP_atom.Zn
7482 
7483 Ga = _IMP_atom.Ga
7484 
7485 Ge = _IMP_atom.Ge
7486 
7487 As = _IMP_atom.As
7488 
7489 Se = _IMP_atom.Se
7490 
7491 Br = _IMP_atom.Br
7492 
7493 Kr = _IMP_atom.Kr
7494 
7495 Rb = _IMP_atom.Rb
7496 
7497 Sr = _IMP_atom.Sr
7498 
7499 Y = _IMP_atom.Y
7500 
7501 Zr = _IMP_atom.Zr
7502 
7503 Nb = _IMP_atom.Nb
7504 
7505 Mo = _IMP_atom.Mo
7506 
7507 Tc = _IMP_atom.Tc
7508 
7509 Ru = _IMP_atom.Ru
7510 
7511 Rh = _IMP_atom.Rh
7512 
7513 Pd = _IMP_atom.Pd
7514 
7515 Ag = _IMP_atom.Ag
7516 
7517 Cd = _IMP_atom.Cd
7518 
7519 In = _IMP_atom.In
7520 
7521 Sn = _IMP_atom.Sn
7522 
7523 Sb = _IMP_atom.Sb
7524 
7525 Te = _IMP_atom.Te
7526 
7527 I = _IMP_atom.I
7528 
7529 Xe = _IMP_atom.Xe
7530 
7531 Cs = _IMP_atom.Cs
7532 
7533 Ba = _IMP_atom.Ba
7534 
7535 La = _IMP_atom.La
7536 
7537 Ce = _IMP_atom.Ce
7538 
7539 Pr = _IMP_atom.Pr
7540 
7541 Nd = _IMP_atom.Nd
7542 
7543 Pm = _IMP_atom.Pm
7544 
7545 Sm = _IMP_atom.Sm
7546 
7547 Eu = _IMP_atom.Eu
7548 
7549 Gd = _IMP_atom.Gd
7550 
7551 Tb = _IMP_atom.Tb
7552 
7553 Dy = _IMP_atom.Dy
7554 
7555 Ho = _IMP_atom.Ho
7556 
7557 Er = _IMP_atom.Er
7558 
7559 Tm = _IMP_atom.Tm
7560 
7561 Yb = _IMP_atom.Yb
7562 
7563 Lu = _IMP_atom.Lu
7564 
7565 Hf = _IMP_atom.Hf
7566 
7567 Ta = _IMP_atom.Ta
7568 
7569 W = _IMP_atom.W
7570 
7571 Re = _IMP_atom.Re
7572 
7573 Os = _IMP_atom.Os
7574 
7575 Ir = _IMP_atom.Ir
7576 
7577 Pt = _IMP_atom.Pt
7578 
7579 Au = _IMP_atom.Au
7580 
7581 Hg = _IMP_atom.Hg
7582 
7583 Tl = _IMP_atom.Tl
7584 
7585 Pb = _IMP_atom.Pb
7586 
7587 Bi = _IMP_atom.Bi
7588 
7589 Po = _IMP_atom.Po
7590 
7591 At = _IMP_atom.At
7592 
7593 Rn = _IMP_atom.Rn
7594 
7595 Fr = _IMP_atom.Fr
7596 
7597 Ra = _IMP_atom.Ra
7598 
7599 Ac = _IMP_atom.Ac
7600 
7601 Th = _IMP_atom.Th
7602 
7603 Pa = _IMP_atom.Pa
7604 
7605 U = _IMP_atom.U
7606 
7607 Np = _IMP_atom.Np
7608 
7609 Pu = _IMP_atom.Pu
7610 
7611 Am = _IMP_atom.Am
7612 
7613 Cm = _IMP_atom.Cm
7614 
7615 Bk = _IMP_atom.Bk
7616 
7617 Cf = _IMP_atom.Cf
7618 
7619 Es = _IMP_atom.Es
7620 
7621 Fm = _IMP_atom.Fm
7622 
7623 Md = _IMP_atom.Md
7624 
7625 No = _IMP_atom.No
7626 
7627 Lr = _IMP_atom.Lr
7628 
7629 Db = _IMP_atom.Db
7630 
7631 Jl = _IMP_atom.Jl
7632 
7633 Rf = _IMP_atom.Rf
7634 
7635 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
7636 
7637 
7638 def hash_value(e):
7639  r"""hash_value(IMP::atom::Element e) -> size_t"""
7640  return _IMP_atom.hash_value(e)
7641 class ElementTable(object):
7642  r"""Proxy of C++ IMP::atom::ElementTable class."""
7643 
7644  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7645  __repr__ = _swig_repr
7646 
7647  def __init__(self):
7648  r"""__init__(ElementTable self) -> ElementTable"""
7649  _IMP_atom.ElementTable_swiginit(self, _IMP_atom.new_ElementTable())
7650 
7651  def get_element(self, s):
7652  r"""get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
7653  return _IMP_atom.ElementTable_get_element(self, s)
7654 
7655  def get_name(self, e):
7656  r"""get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
7657  return _IMP_atom.ElementTable_get_name(self, e)
7658 
7659  def get_mass(self, e):
7660  r"""get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
7661  return _IMP_atom.ElementTable_get_mass(self, e)
7662  __swig_destroy__ = _IMP_atom.delete_ElementTable
7663 
7664 # Register ElementTable in _IMP_atom:
7665 _IMP_atom.ElementTable_swigregister(ElementTable)
7666 
7667 def get_element_table():
7668  r"""get_element_table() -> ElementTable"""
7669  return _IMP_atom.get_element_table()
7670 class Atom(Hierarchy):
7671  r"""Proxy of C++ IMP::atom::Atom class."""
7672 
7673  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7674 
7675  def __init__(self, *args):
7676  r"""
7677  __init__(Atom self) -> Atom
7678  __init__(Atom self, Model m, ParticleIndex id) -> Atom
7679  __init__(Atom self, _ParticleAdaptor d) -> Atom
7680  """
7681  _IMP_atom.Atom_swiginit(self, _IMP_atom.new_Atom(*args))
7682 
7683  def show(self, *args):
7684  r"""show(Atom self, _ostream out=std::cout)"""
7685  return _IMP_atom.Atom_show(self, *args)
7686 
7687  @staticmethod
7688  def setup_particle(*args):
7689  r"""
7690  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
7691  setup_particle(_ParticleAdaptor pa, Atom other) -> Atom
7692  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
7693  setup_particle(_ParticleAdaptor pa, AtomType atom_type) -> Atom
7694  """
7695  return _IMP_atom.Atom_setup_particle(*args)
7696 
7697  @staticmethod
7698  def get_is_setup(*args):
7699  r"""
7700  get_is_setup(_ParticleAdaptor p) -> bool
7701  get_is_setup(Model m, ParticleIndex pi) -> bool
7702  """
7703  return _IMP_atom.Atom_get_is_setup(*args)
7704 
7705  def get_atom_type(self):
7706  r"""get_atom_type(Atom self) -> AtomType"""
7707  return _IMP_atom.Atom_get_atom_type(self)
7708 
7709  def set_atom_type(self, t):
7710  r"""set_atom_type(Atom self, AtomType t)"""
7711  return _IMP_atom.Atom_set_atom_type(self, t)
7712 
7713  def get_element(self):
7714  r"""get_element(Atom self) -> IMP::atom::Element"""
7715  return _IMP_atom.Atom_get_element(self)
7716 
7717  def set_element(self, e):
7718  r"""set_element(Atom self, IMP::atom::Element e)"""
7719  return _IMP_atom.Atom_set_element(self, e)
7720 
7721  def get_occupancy(self):
7722  r"""get_occupancy(Atom self) -> double"""
7723  return _IMP_atom.Atom_get_occupancy(self)
7724 
7725  def set_occupancy(self, occupancy):
7726  r"""set_occupancy(Atom self, double occupancy)"""
7727  return _IMP_atom.Atom_set_occupancy(self, occupancy)
7728 
7729  def get_temperature_factor(self):
7730  r"""get_temperature_factor(Atom self) -> double"""
7731  return _IMP_atom.Atom_get_temperature_factor(self)
7732 
7733  def set_temperature_factor(self, tempFactor):
7734  r"""set_temperature_factor(Atom self, double tempFactor)"""
7735  return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
7736 
7737  def get_input_index(self):
7738  r"""get_input_index(Atom self) -> IMP::Int"""
7739  return _IMP_atom.Atom_get_input_index(self)
7740 
7741  def set_input_index(self, t):
7742  r"""set_input_index(Atom self, IMP::Int t)"""
7743  return _IMP_atom.Atom_set_input_index(self, t)
7744 
7745  @staticmethod
7746  def get_atom_type_key():
7747  r"""get_atom_type_key() -> IntKey"""
7748  return _IMP_atom.Atom_get_atom_type_key()
7749 
7750  @staticmethod
7751  def get_element_key():
7752  r"""get_element_key() -> IntKey"""
7753  return _IMP_atom.Atom_get_element_key()
7754 
7755  @staticmethod
7756  def get_input_index_key():
7757  r"""get_input_index_key() -> IntKey"""
7758  return _IMP_atom.Atom_get_input_index_key()
7759 
7760  @staticmethod
7761  def get_occupancy_key():
7762  r"""get_occupancy_key() -> FloatKey"""
7763  return _IMP_atom.Atom_get_occupancy_key()
7764 
7765  @staticmethod
7766  def get_temperature_factor_key():
7767  r"""get_temperature_factor_key() -> FloatKey"""
7768  return _IMP_atom.Atom_get_temperature_factor_key()
7769 
7770  def add_attribute(self, *args):
7771  r"""
7772  add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
7773  add_attribute(Atom self, FloatKey a0, IMP::Float a1)
7774  add_attribute(Atom self, IntKey a0, IMP::Int a1)
7775  add_attribute(Atom self, FloatsKey a0, IMP::Floats a1)
7776  add_attribute(Atom self, IntsKey a0, IMP::Ints a1)
7777  add_attribute(Atom self, StringKey a0, IMP::String a1)
7778  add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
7779  add_attribute(Atom self, ObjectKey a0, Object a1)
7780  add_attribute(Atom self, SparseFloatKey a0, IMP::Float a1)
7781  add_attribute(Atom self, SparseIntKey a0, IMP::Int a1)
7782  add_attribute(Atom self, SparseStringKey a0, IMP::String a1)
7783  add_attribute(Atom self, SparseParticleIndexKey a0, ParticleIndex a1)
7784  """
7785  return _IMP_atom.Atom_add_attribute(self, *args)
7786 
7787  def get_value(self, *args):
7788  r"""
7789  get_value(Atom self, FloatKey a0) -> IMP::Float
7790  get_value(Atom self, IntKey a0) -> IMP::Int
7791  get_value(Atom self, FloatsKey a0) -> IMP::Floats
7792  get_value(Atom self, IntsKey a0) -> IMP::Ints
7793  get_value(Atom self, StringKey a0) -> IMP::String
7794  get_value(Atom self, ParticleIndexKey a0) -> Particle
7795  get_value(Atom self, ObjectKey a0) -> Object
7796  get_value(Atom self, SparseFloatKey a0) -> IMP::Float
7797  get_value(Atom self, SparseIntKey a0) -> IMP::Int
7798  get_value(Atom self, SparseStringKey a0) -> IMP::String
7799  get_value(Atom self, SparseParticleIndexKey a0) -> ParticleIndex
7800  """
7801  return _IMP_atom.Atom_get_value(self, *args)
7802 
7803  def set_value(self, *args):
7804  r"""
7805  set_value(Atom self, FloatKey a0, IMP::Float a1)
7806  set_value(Atom self, IntKey a0, IMP::Int a1)
7807  set_value(Atom self, FloatsKey a0, IMP::Floats a1)
7808  set_value(Atom self, IntsKey a0, IMP::Ints a1)
7809  set_value(Atom self, StringKey a0, IMP::String a1)
7810  set_value(Atom self, ParticleIndexKey a0, Particle a1)
7811  set_value(Atom self, ObjectKey a0, Object a1)
7812  set_value(Atom self, SparseFloatKey a0, IMP::Float a1)
7813  set_value(Atom self, SparseIntKey a0, IMP::Int a1)
7814  set_value(Atom self, SparseStringKey a0, IMP::String a1)
7815  set_value(Atom self, SparseParticleIndexKey a0, ParticleIndex a1)
7816  """
7817  return _IMP_atom.Atom_set_value(self, *args)
7818 
7819  def remove_attribute(self, *args):
7820  r"""
7821  remove_attribute(Atom self, FloatKey a0)
7822  remove_attribute(Atom self, IntKey a0)
7823  remove_attribute(Atom self, FloatsKey a0)
7824  remove_attribute(Atom self, IntsKey a0)
7825  remove_attribute(Atom self, StringKey a0)
7826  remove_attribute(Atom self, ParticleIndexKey a0)
7827  remove_attribute(Atom self, ObjectKey a0)
7828  remove_attribute(Atom self, SparseFloatKey a0)
7829  remove_attribute(Atom self, SparseIntKey a0)
7830  remove_attribute(Atom self, SparseStringKey a0)
7831  remove_attribute(Atom self, SparseParticleIndexKey a0)
7832  """
7833  return _IMP_atom.Atom_remove_attribute(self, *args)
7834 
7835  def has_attribute(self, *args):
7836  r"""
7837  has_attribute(Atom self, FloatKey a0) -> bool
7838  has_attribute(Atom self, IntKey a0) -> bool
7839  has_attribute(Atom self, FloatsKey a0) -> bool
7840  has_attribute(Atom self, IntsKey a0) -> bool
7841  has_attribute(Atom self, StringKey a0) -> bool
7842  has_attribute(Atom self, ParticleIndexKey a0) -> bool
7843  has_attribute(Atom self, ObjectKey a0) -> bool
7844  has_attribute(Atom self, SparseFloatKey a0) -> bool
7845  has_attribute(Atom self, SparseIntKey a0) -> bool
7846  has_attribute(Atom self, SparseStringKey a0) -> bool
7847  has_attribute(Atom self, SparseParticleIndexKey a0) -> bool
7848  """
7849  return _IMP_atom.Atom_has_attribute(self, *args)
7850 
7851  def get_derivative(self, a0):
7852  r"""get_derivative(Atom self, FloatKey a0) -> double"""
7853  return _IMP_atom.Atom_get_derivative(self, a0)
7854 
7855  def get_name(self):
7856  r"""get_name(Atom self) -> std::string"""
7857  return _IMP_atom.Atom_get_name(self)
7858 
7859  def clear_caches(self):
7860  r"""clear_caches(Atom self)"""
7861  return _IMP_atom.Atom_clear_caches(self)
7862 
7863  def set_name(self, a0):
7864  r"""set_name(Atom self, std::string a0)"""
7865  return _IMP_atom.Atom_set_name(self, a0)
7866 
7867  def set_check_level(self, a0):
7868  r"""set_check_level(Atom self, IMP::CheckLevel a0)"""
7869  return _IMP_atom.Atom_set_check_level(self, a0)
7870 
7871  def add_to_derivative(self, a0, a1, a2):
7872  r"""add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7873  return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
7874 
7875  def set_is_optimized(self, a0, a1):
7876  r"""set_is_optimized(Atom self, FloatKey a0, bool a1)"""
7877  return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
7878 
7879  def get_is_optimized(self, a0):
7880  r"""get_is_optimized(Atom self, FloatKey a0) -> bool"""
7881  return _IMP_atom.Atom_get_is_optimized(self, a0)
7882 
7883  def get_check_level(self):
7884  r"""get_check_level(Atom self) -> IMP::CheckLevel"""
7885  return _IMP_atom.Atom_get_check_level(self)
7886 
7887  def __eq__(self, *args):
7888  r"""
7889  __eq__(Atom self, Atom o) -> bool
7890  __eq__(Atom self, Particle d) -> bool
7891  """
7892  return _IMP_atom.Atom___eq__(self, *args)
7893 
7894  def __ne__(self, *args):
7895  r"""
7896  __ne__(Atom self, Atom o) -> bool
7897  __ne__(Atom self, Particle d) -> bool
7898  """
7899  return _IMP_atom.Atom___ne__(self, *args)
7900 
7901  def __le__(self, *args):
7902  r"""
7903  __le__(Atom self, Atom o) -> bool
7904  __le__(Atom self, Particle d) -> bool
7905  """
7906  return _IMP_atom.Atom___le__(self, *args)
7907 
7908  def __lt__(self, *args):
7909  r"""
7910  __lt__(Atom self, Atom o) -> bool
7911  __lt__(Atom self, Particle d) -> bool
7912  """
7913  return _IMP_atom.Atom___lt__(self, *args)
7914 
7915  def __ge__(self, *args):
7916  r"""
7917  __ge__(Atom self, Atom o) -> bool
7918  __ge__(Atom self, Particle d) -> bool
7919  """
7920  return _IMP_atom.Atom___ge__(self, *args)
7921 
7922  def __gt__(self, *args):
7923  r"""
7924  __gt__(Atom self, Atom o) -> bool
7925  __gt__(Atom self, Particle d) -> bool
7926  """
7927  return _IMP_atom.Atom___gt__(self, *args)
7928 
7929  def __hash__(self):
7930  r"""__hash__(Atom self) -> std::size_t"""
7931  return _IMP_atom.Atom___hash__(self)
7932 
7933  def __str__(self):
7934  r"""__str__(Atom self) -> std::string"""
7935  return _IMP_atom.Atom___str__(self)
7936 
7937  def __repr__(self):
7938  r"""__repr__(Atom self) -> std::string"""
7939  return _IMP_atom.Atom___repr__(self)
7940 
7941  def _get_as_binary(self):
7942  r"""_get_as_binary(Atom self) -> PyObject *"""
7943  return _IMP_atom.Atom__get_as_binary(self)
7944 
7945  def _set_from_binary(self, p):
7946  r"""_set_from_binary(Atom self, PyObject * p)"""
7947  return _IMP_atom.Atom__set_from_binary(self, p)
7948 
7949  def __getstate__(self):
7950  p = self._get_as_binary()
7951  if len(self.__dict__) > 1:
7952  d = self.__dict__.copy()
7953  del d['this']
7954  p = (d, p)
7955  return p
7956 
7957  def __setstate__(self, p):
7958  if not hasattr(self, 'this'):
7959  self.__init__()
7960  if isinstance(p, tuple):
7961  d, p = p
7962  self.__dict__.update(d)
7963  return self._set_from_binary(p)
7964 
7965  __swig_destroy__ = _IMP_atom.delete_Atom
7966 
7967 # Register Atom in _IMP_atom:
7968 _IMP_atom.Atom_swigregister(Atom)
7969 cvar = _IMP_atom.cvar
7970 AT_UNKNOWN = cvar.AT_UNKNOWN
7971 AT_N = cvar.AT_N
7972 AT_CA = cvar.AT_CA
7973 AT_C = cvar.AT_C
7974 AT_O = cvar.AT_O
7975 AT_H = cvar.AT_H
7976 AT_H1 = cvar.AT_H1
7977 AT_H2 = cvar.AT_H2
7978 AT_H3 = cvar.AT_H3
7979 AT_HA = cvar.AT_HA
7980 AT_HA1 = cvar.AT_HA1
7981 AT_HA2 = cvar.AT_HA2
7982 AT_HA3 = cvar.AT_HA3
7983 AT_CB = cvar.AT_CB
7984 AT_HB = cvar.AT_HB
7985 AT_HB1 = cvar.AT_HB1
7986 AT_HB2 = cvar.AT_HB2
7987 AT_HB3 = cvar.AT_HB3
7988 AT_OXT = cvar.AT_OXT
7989 AT_CH3 = cvar.AT_CH3
7990 AT_CH = cvar.AT_CH
7991 AT_CG = cvar.AT_CG
7992 AT_CG1 = cvar.AT_CG1
7993 AT_CG2 = cvar.AT_CG2
7994 AT_HG = cvar.AT_HG
7995 AT_HG1 = cvar.AT_HG1
7996 AT_HG2 = cvar.AT_HG2
7997 AT_HG3 = cvar.AT_HG3
7998 AT_HG11 = cvar.AT_HG11
7999 AT_HG21 = cvar.AT_HG21
8000 AT_HG31 = cvar.AT_HG31
8001 AT_HG12 = cvar.AT_HG12
8002 AT_HG13 = cvar.AT_HG13
8003 AT_HG22 = cvar.AT_HG22
8004 AT_HG23 = cvar.AT_HG23
8005 AT_HG32 = cvar.AT_HG32
8006 AT_OG = cvar.AT_OG
8007 AT_OG1 = cvar.AT_OG1
8008 AT_SG = cvar.AT_SG
8009 AT_CD = cvar.AT_CD
8010 AT_CD1 = cvar.AT_CD1
8011 AT_CD2 = cvar.AT_CD2
8012 AT_HD = cvar.AT_HD
8013 AT_HD1 = cvar.AT_HD1
8014 AT_HD2 = cvar.AT_HD2
8015 AT_HD3 = cvar.AT_HD3
8016 AT_HD11 = cvar.AT_HD11
8017 AT_HD21 = cvar.AT_HD21
8018 AT_HD31 = cvar.AT_HD31
8019 AT_HD12 = cvar.AT_HD12
8020 AT_HD13 = cvar.AT_HD13
8021 AT_HD22 = cvar.AT_HD22
8022 AT_HD23 = cvar.AT_HD23
8023 AT_HD32 = cvar.AT_HD32
8024 AT_SD = cvar.AT_SD
8025 AT_OD1 = cvar.AT_OD1
8026 AT_OD2 = cvar.AT_OD2
8027 AT_ND1 = cvar.AT_ND1
8028 AT_ND2 = cvar.AT_ND2
8029 AT_CE = cvar.AT_CE
8030 AT_CE1 = cvar.AT_CE1
8031 AT_CE2 = cvar.AT_CE2
8032 AT_CE3 = cvar.AT_CE3
8033 AT_HE = cvar.AT_HE
8034 AT_HE1 = cvar.AT_HE1
8035 AT_HE2 = cvar.AT_HE2
8036 AT_HE3 = cvar.AT_HE3
8037 AT_HE21 = cvar.AT_HE21
8038 AT_HE22 = cvar.AT_HE22
8039 AT_OE1 = cvar.AT_OE1
8040 AT_OE2 = cvar.AT_OE2
8041 AT_NE = cvar.AT_NE
8042 AT_NE1 = cvar.AT_NE1
8043 AT_NE2 = cvar.AT_NE2
8044 AT_CZ = cvar.AT_CZ
8045 AT_CZ2 = cvar.AT_CZ2
8046 AT_CZ3 = cvar.AT_CZ3
8047 AT_NZ = cvar.AT_NZ
8048 AT_HZ = cvar.AT_HZ
8049 AT_HZ1 = cvar.AT_HZ1
8050 AT_HZ2 = cvar.AT_HZ2
8051 AT_HZ3 = cvar.AT_HZ3
8052 AT_CH2 = cvar.AT_CH2
8053 AT_NH1 = cvar.AT_NH1
8054 AT_NH2 = cvar.AT_NH2
8055 AT_OH = cvar.AT_OH
8056 AT_HH = cvar.AT_HH
8057 AT_HH11 = cvar.AT_HH11
8058 AT_HH21 = cvar.AT_HH21
8059 AT_HH2 = cvar.AT_HH2
8060 AT_HH12 = cvar.AT_HH12
8061 AT_HH22 = cvar.AT_HH22
8062 AT_HH13 = cvar.AT_HH13
8063 AT_HH23 = cvar.AT_HH23
8064 AT_HH33 = cvar.AT_HH33
8065 AT_P = cvar.AT_P
8066 AT_OP1 = cvar.AT_OP1
8067 AT_OP2 = cvar.AT_OP2
8068 AT_OP3 = cvar.AT_OP3
8069 AT_O5p = cvar.AT_O5p
8070 AT_C5p = cvar.AT_C5p
8071 AT_H5p = cvar.AT_H5p
8072 AT_H5pp = cvar.AT_H5pp
8073 AT_C4p = cvar.AT_C4p
8074 AT_H4p = cvar.AT_H4p
8075 AT_O4p = cvar.AT_O4p
8076 AT_C1p = cvar.AT_C1p
8077 AT_H1p = cvar.AT_H1p
8078 AT_C3p = cvar.AT_C3p
8079 AT_H3p = cvar.AT_H3p
8080 AT_O3p = cvar.AT_O3p
8081 AT_C2p = cvar.AT_C2p
8082 AT_H2p = cvar.AT_H2p
8083 AT_H2pp = cvar.AT_H2pp
8084 AT_O2p = cvar.AT_O2p
8085 AT_HO2p = cvar.AT_HO2p
8086 AT_N9 = cvar.AT_N9
8087 AT_C8 = cvar.AT_C8
8088 AT_H8 = cvar.AT_H8
8089 AT_N7 = cvar.AT_N7
8090 AT_C5 = cvar.AT_C5
8091 AT_C4 = cvar.AT_C4
8092 AT_N3 = cvar.AT_N3
8093 AT_C2 = cvar.AT_C2
8094 AT_N1 = cvar.AT_N1
8095 AT_C6 = cvar.AT_C6
8096 AT_N6 = cvar.AT_N6
8097 AT_H61 = cvar.AT_H61
8098 AT_H62 = cvar.AT_H62
8099 AT_O6 = cvar.AT_O6
8100 AT_N2 = cvar.AT_N2
8101 AT_NT = cvar.AT_NT
8102 AT_H21 = cvar.AT_H21
8103 AT_H22 = cvar.AT_H22
8104 AT_H6 = cvar.AT_H6
8105 AT_H5 = cvar.AT_H5
8106 AT_O2 = cvar.AT_O2
8107 AT_N4 = cvar.AT_N4
8108 AT_H41 = cvar.AT_H41
8109 AT_H42 = cvar.AT_H42
8110 AT_O4 = cvar.AT_O4
8111 AT_C7 = cvar.AT_C7
8112 AT_H71 = cvar.AT_H71
8113 AT_H72 = cvar.AT_H72
8114 AT_H73 = cvar.AT_H73
8115 AT_O1A = cvar.AT_O1A
8116 AT_O2A = cvar.AT_O2A
8117 AT_O3A = cvar.AT_O3A
8118 AT_O1B = cvar.AT_O1B
8119 AT_O2B = cvar.AT_O2B
8120 AT_O3B = cvar.AT_O3B
8121 AT_CAY = cvar.AT_CAY
8122 AT_CY = cvar.AT_CY
8123 AT_OY = cvar.AT_OY
8124 AT_CAT = cvar.AT_CAT
8125 
8126 
8127 def get_residue(*args):
8128  r"""
8129  get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
8130  get_residue(Atom d, bool nothrow=False) -> Residue
8131  """
8132  return _IMP_atom.get_residue(*args)
8133 
8134 def get_atom(rd, at):
8135  r"""get_atom(Residue rd, AtomType at) -> Atom"""
8136  return _IMP_atom.get_atom(rd, at)
8137 
8138 def add_atom_type(name, e):
8139  r"""add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
8140  return _IMP_atom.add_atom_type(name, e)
8141 
8142 def get_element_for_atom_type(at):
8143  r"""get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
8144  return _IMP_atom.get_element_for_atom_type(at)
8145 
8146 def get_atom_type_exists(name):
8147  r"""get_atom_type_exists(std::string name) -> bool"""
8148  return _IMP_atom.get_atom_type_exists(name)
8149 class Residue(Hierarchy):
8150  r"""Proxy of C++ IMP::atom::Residue class."""
8151 
8152  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8153 
8154  def __init__(self, *args):
8155  r"""
8156  __init__(Residue self) -> Residue
8157  __init__(Residue self, Model m, ParticleIndex id) -> Residue
8158  __init__(Residue self, _ParticleAdaptor d) -> Residue
8159  """
8160  _IMP_atom.Residue_swiginit(self, _IMP_atom.new_Residue(*args))
8161 
8162  def show(self, *args):
8163  r"""show(Residue self, _ostream out=std::cout)"""
8164  return _IMP_atom.Residue_show(self, *args)
8165 
8166  @staticmethod
8167  def setup_particle(*args):
8168  r"""
8169  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
8170  setup_particle(_ParticleAdaptor pa, ResidueType t, int index, int insertion_code) -> Residue
8171  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
8172  setup_particle(_ParticleAdaptor pa, ResidueType t, int index) -> Residue
8173  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
8174  setup_particle(_ParticleAdaptor pa, ResidueType t) -> Residue
8175  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
8176  setup_particle(_ParticleAdaptor pa, Residue other) -> Residue
8177  """
8178  return _IMP_atom.Residue_setup_particle(*args)
8179 
8180  @staticmethod
8181  def get_is_setup(*args):
8182  r"""
8183  get_is_setup(_ParticleAdaptor p) -> bool
8184  get_is_setup(Model m, ParticleIndex pi) -> bool
8185  """
8186  return _IMP_atom.Residue_get_is_setup(*args)
8187 
8188  def get_residue_type(self):
8189  r"""get_residue_type(Residue self) -> ResidueType"""
8190  return _IMP_atom.Residue_get_residue_type(self)
8191 
8192  def set_residue_type(self, t):
8193  r"""set_residue_type(Residue self, ResidueType t)"""
8194  return _IMP_atom.Residue_set_residue_type(self, t)
8195 
8196  def get_is_protein(self):
8197  r"""get_is_protein(Residue self) -> bool"""
8198  return _IMP_atom.Residue_get_is_protein(self)
8199 
8200  def get_is_dna(self):
8201  r"""get_is_dna(Residue self) -> bool"""
8202  return _IMP_atom.Residue_get_is_dna(self)
8203 
8204  def get_is_rna(self):
8205  r"""get_is_rna(Residue self) -> bool"""
8206  return _IMP_atom.Residue_get_is_rna(self)
8207 
8208  def get_index(self):
8209  r"""get_index(Residue self) -> IMP::Int"""
8210  return _IMP_atom.Residue_get_index(self)
8211 
8212  def set_index(self, t):
8213  r"""set_index(Residue self, IMP::Int t)"""
8214  return _IMP_atom.Residue_set_index(self, t)
8215 
8216  def get_insertion_code(self):
8217  r"""get_insertion_code(Residue self) -> char"""
8218  return _IMP_atom.Residue_get_insertion_code(self)
8219 
8220  def set_insertion_code(self, insertion_code):
8221  r"""set_insertion_code(Residue self, char insertion_code)"""
8222  return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
8223 
8224  @staticmethod
8225  def get_index_key():
8226  r"""get_index_key() -> IntKey"""
8227  return _IMP_atom.Residue_get_index_key()
8228 
8229  @staticmethod
8230  def get_residue_type_key():
8231  r"""get_residue_type_key() -> IntKey"""
8232  return _IMP_atom.Residue_get_residue_type_key()
8233 
8234  @staticmethod
8235  def get_insertion_code_key():
8236  r"""get_insertion_code_key() -> IntKey"""
8237  return _IMP_atom.Residue_get_insertion_code_key()
8238 
8239  @staticmethod
8240  def get_type_changed_key():
8241  r"""get_type_changed_key() -> TriggerKey"""
8242  return _IMP_atom.Residue_get_type_changed_key()
8243 
8244  def add_attribute(self, *args):
8245  r"""
8246  add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
8247  add_attribute(Residue self, FloatKey a0, IMP::Float a1)
8248  add_attribute(Residue self, IntKey a0, IMP::Int a1)
8249  add_attribute(Residue self, FloatsKey a0, IMP::Floats a1)
8250  add_attribute(Residue self, IntsKey a0, IMP::Ints a1)
8251  add_attribute(Residue self, StringKey a0, IMP::String a1)
8252  add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
8253  add_attribute(Residue self, ObjectKey a0, Object a1)
8254  add_attribute(Residue self, SparseFloatKey a0, IMP::Float a1)
8255  add_attribute(Residue self, SparseIntKey a0, IMP::Int a1)
8256  add_attribute(Residue self, SparseStringKey a0, IMP::String a1)
8257  add_attribute(Residue self, SparseParticleIndexKey a0, ParticleIndex a1)
8258  """
8259  return _IMP_atom.Residue_add_attribute(self, *args)
8260 
8261  def get_value(self, *args):
8262  r"""
8263  get_value(Residue self, FloatKey a0) -> IMP::Float
8264  get_value(Residue self, IntKey a0) -> IMP::Int
8265  get_value(Residue self, FloatsKey a0) -> IMP::Floats
8266  get_value(Residue self, IntsKey a0) -> IMP::Ints
8267  get_value(Residue self, StringKey a0) -> IMP::String
8268  get_value(Residue self, ParticleIndexKey a0) -> Particle
8269  get_value(Residue self, ObjectKey a0) -> Object
8270  get_value(Residue self, SparseFloatKey a0) -> IMP::Float
8271  get_value(Residue self, SparseIntKey a0) -> IMP::Int
8272  get_value(Residue self, SparseStringKey a0) -> IMP::String
8273  get_value(Residue self, SparseParticleIndexKey a0) -> ParticleIndex
8274  """
8275  return _IMP_atom.Residue_get_value(self, *args)
8276 
8277  def set_value(self, *args):
8278  r"""
8279  set_value(Residue self, FloatKey a0, IMP::Float a1)
8280  set_value(Residue self, IntKey a0, IMP::Int a1)
8281  set_value(Residue self, FloatsKey a0, IMP::Floats a1)
8282  set_value(Residue self, IntsKey a0, IMP::Ints a1)
8283  set_value(Residue self, StringKey a0, IMP::String a1)
8284  set_value(Residue self, ParticleIndexKey a0, Particle a1)
8285  set_value(Residue self, ObjectKey a0, Object a1)
8286  set_value(Residue self, SparseFloatKey a0, IMP::Float a1)
8287  set_value(Residue self, SparseIntKey a0, IMP::Int a1)
8288  set_value(Residue self, SparseStringKey a0, IMP::String a1)
8289  set_value(Residue self, SparseParticleIndexKey a0, ParticleIndex a1)
8290  """
8291  return _IMP_atom.Residue_set_value(self, *args)
8292 
8293  def remove_attribute(self, *args):
8294  r"""
8295  remove_attribute(Residue self, FloatKey a0)
8296  remove_attribute(Residue self, IntKey a0)
8297  remove_attribute(Residue self, FloatsKey a0)
8298  remove_attribute(Residue self, IntsKey a0)
8299  remove_attribute(Residue self, StringKey a0)
8300  remove_attribute(Residue self, ParticleIndexKey a0)
8301  remove_attribute(Residue self, ObjectKey a0)
8302  remove_attribute(Residue self, SparseFloatKey a0)
8303  remove_attribute(Residue self, SparseIntKey a0)
8304  remove_attribute(Residue self, SparseStringKey a0)
8305  remove_attribute(Residue self, SparseParticleIndexKey a0)
8306  """
8307  return _IMP_atom.Residue_remove_attribute(self, *args)
8308 
8309  def has_attribute(self, *args):
8310  r"""
8311  has_attribute(Residue self, FloatKey a0) -> bool
8312  has_attribute(Residue self, IntKey a0) -> bool
8313  has_attribute(Residue self, FloatsKey a0) -> bool
8314  has_attribute(Residue self, IntsKey a0) -> bool
8315  has_attribute(Residue self, StringKey a0) -> bool
8316  has_attribute(Residue self, ParticleIndexKey a0) -> bool
8317  has_attribute(Residue self, ObjectKey a0) -> bool
8318  has_attribute(Residue self, SparseFloatKey a0) -> bool
8319  has_attribute(Residue self, SparseIntKey a0) -> bool
8320  has_attribute(Residue self, SparseStringKey a0) -> bool
8321  has_attribute(Residue self, SparseParticleIndexKey a0) -> bool
8322  """
8323  return _IMP_atom.Residue_has_attribute(self, *args)
8324 
8325  def get_derivative(self, a0):
8326  r"""get_derivative(Residue self, FloatKey a0) -> double"""
8327  return _IMP_atom.Residue_get_derivative(self, a0)
8328 
8329  def get_name(self):
8330  r"""get_name(Residue self) -> std::string"""
8331  return _IMP_atom.Residue_get_name(self)
8332 
8333  def clear_caches(self):
8334  r"""clear_caches(Residue self)"""
8335  return _IMP_atom.Residue_clear_caches(self)
8336 
8337  def set_name(self, a0):
8338  r"""set_name(Residue self, std::string a0)"""
8339  return _IMP_atom.Residue_set_name(self, a0)
8340 
8341  def set_check_level(self, a0):
8342  r"""set_check_level(Residue self, IMP::CheckLevel a0)"""
8343  return _IMP_atom.Residue_set_check_level(self, a0)
8344 
8345  def add_to_derivative(self, a0, a1, a2):
8346  r"""add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8347  return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
8348 
8349  def set_is_optimized(self, a0, a1):
8350  r"""set_is_optimized(Residue self, FloatKey a0, bool a1)"""
8351  return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
8352 
8353  def get_is_optimized(self, a0):
8354  r"""get_is_optimized(Residue self, FloatKey a0) -> bool"""
8355  return _IMP_atom.Residue_get_is_optimized(self, a0)
8356 
8357  def get_check_level(self):
8358  r"""get_check_level(Residue self) -> IMP::CheckLevel"""
8359  return _IMP_atom.Residue_get_check_level(self)
8360 
8361  def __eq__(self, *args):
8362  r"""
8363  __eq__(Residue self, Residue o) -> bool
8364  __eq__(Residue self, Particle d) -> bool
8365  """
8366  return _IMP_atom.Residue___eq__(self, *args)
8367 
8368  def __ne__(self, *args):
8369  r"""
8370  __ne__(Residue self, Residue o) -> bool
8371  __ne__(Residue self, Particle d) -> bool
8372  """
8373  return _IMP_atom.Residue___ne__(self, *args)
8374 
8375  def __le__(self, *args):
8376  r"""
8377  __le__(Residue self, Residue o) -> bool
8378  __le__(Residue self, Particle d) -> bool
8379  """
8380  return _IMP_atom.Residue___le__(self, *args)
8381 
8382  def __lt__(self, *args):
8383  r"""
8384  __lt__(Residue self, Residue o) -> bool
8385  __lt__(Residue self, Particle d) -> bool
8386  """
8387  return _IMP_atom.Residue___lt__(self, *args)
8388 
8389  def __ge__(self, *args):
8390  r"""
8391  __ge__(Residue self, Residue o) -> bool
8392  __ge__(Residue self, Particle d) -> bool
8393  """
8394  return _IMP_atom.Residue___ge__(self, *args)
8395 
8396  def __gt__(self, *args):
8397  r"""
8398  __gt__(Residue self, Residue o) -> bool
8399  __gt__(Residue self, Particle d) -> bool
8400  """
8401  return _IMP_atom.Residue___gt__(self, *args)
8402 
8403  def __hash__(self):
8404  r"""__hash__(Residue self) -> std::size_t"""
8405  return _IMP_atom.Residue___hash__(self)
8406 
8407  def __str__(self):
8408  r"""__str__(Residue self) -> std::string"""
8409  return _IMP_atom.Residue___str__(self)
8410 
8411  def __repr__(self):
8412  r"""__repr__(Residue self) -> std::string"""
8413  return _IMP_atom.Residue___repr__(self)
8414 
8415  def _get_as_binary(self):
8416  r"""_get_as_binary(Residue self) -> PyObject *"""
8417  return _IMP_atom.Residue__get_as_binary(self)
8418 
8419  def _set_from_binary(self, p):
8420  r"""_set_from_binary(Residue self, PyObject * p)"""
8421  return _IMP_atom.Residue__set_from_binary(self, p)
8422 
8423  def __getstate__(self):
8424  p = self._get_as_binary()
8425  if len(self.__dict__) > 1:
8426  d = self.__dict__.copy()
8427  del d['this']
8428  p = (d, p)
8429  return p
8430 
8431  def __setstate__(self, p):
8432  if not hasattr(self, 'this'):
8433  self.__init__()
8434  if isinstance(p, tuple):
8435  d, p = p
8436  self.__dict__.update(d)
8437  return self._set_from_binary(p)
8438 
8439  __swig_destroy__ = _IMP_atom.delete_Residue
8440 
8441 # Register Residue in _IMP_atom:
8442 _IMP_atom.Residue_swigregister(Residue)
8443 UNK = cvar.UNK
8444 GLY = cvar.GLY
8445 ALA = cvar.ALA
8446 VAL = cvar.VAL
8447 LEU = cvar.LEU
8448 ILE = cvar.ILE
8449 SER = cvar.SER
8450 THR = cvar.THR
8451 CYS = cvar.CYS
8452 MET = cvar.MET
8453 PRO = cvar.PRO
8454 ASP = cvar.ASP
8455 ASN = cvar.ASN
8456 GLU = cvar.GLU
8457 GLN = cvar.GLN
8458 LYS = cvar.LYS
8459 ARG = cvar.ARG
8460 HIS = cvar.HIS
8461 PHE = cvar.PHE
8462 TYR = cvar.TYR
8463 TRP = cvar.TRP
8464 ACE = cvar.ACE
8465 NH2 = cvar.NH2
8466 MSE = cvar.MSE
8467 ADE = cvar.ADE
8468 URA = cvar.URA
8469 CYT = cvar.CYT
8470 GUA = cvar.GUA
8471 THY = cvar.THY
8472 DADE = cvar.DADE
8473 DURA = cvar.DURA
8474 DCYT = cvar.DCYT
8475 DGUA = cvar.DGUA
8476 DTHY = cvar.DTHY
8477 HOH = cvar.HOH
8478 HEME = cvar.HEME
8479 POP = cvar.POP
8480 
8481 
8482 def get_next_residue(rd):
8483  r"""get_next_residue(Residue rd) -> Hierarchy"""
8484  return _IMP_atom.get_next_residue(rd)
8485 
8486 def get_previous_residue(rd):
8487  r"""get_previous_residue(Residue rd) -> Hierarchy"""
8488  return _IMP_atom.get_previous_residue(rd)
8489 
8490 def get_one_letter_code(c):
8491  r"""get_one_letter_code(ResidueType c) -> char"""
8492  return _IMP_atom.get_one_letter_code(c)
8493 BALLS = _IMP_atom.BALLS
8494 
8495 DENSITIES = _IMP_atom.DENSITIES
8496 
8497 class Representation(Hierarchy):
8498  r"""Proxy of C++ IMP::atom::Representation class."""
8499 
8500  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8501 
8502  @staticmethod
8503  def setup_particle(*args):
8504  r"""
8505  setup_particle(Model m, ParticleIndex pi) -> Representation
8506  setup_particle(_ParticleAdaptor pa) -> Representation
8507  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
8508  setup_particle(_ParticleAdaptor pa, double resolution) -> Representation
8509  setup_particle(Model m, ParticleIndex pi, Representation other) -> Representation
8510  setup_particle(_ParticleAdaptor pa, Representation other) -> Representation
8511  """
8512  return _IMP_atom.Representation_setup_particle(*args)
8513 
8514  def __init__(self, *args):
8515  r"""
8516  __init__(Representation self) -> Representation
8517  __init__(Representation self, Model m, ParticleIndex id) -> Representation
8518  __init__(Representation self, _ParticleAdaptor d) -> Representation
8519  """
8520  _IMP_atom.Representation_swiginit(self, _IMP_atom.new_Representation(*args))
8521 
8522  def show(self, *args):
8523  r"""show(Representation self, _ostream out=std::cout)"""
8524  return _IMP_atom.Representation_show(self, *args)
8525 
8526  @staticmethod
8527  def get_is_setup(*args):
8528  r"""
8529  get_is_setup(_ParticleAdaptor p) -> bool
8530  get_is_setup(Model m, ParticleIndex pi) -> bool
8531  """
8532  return _IMP_atom.Representation_get_is_setup(*args)
8533 
8534  def get_representation(self, *args):
8535  r"""get_representation(Representation self, double resolution, IMP::atom::RepresentationType type=BALLS) -> Hierarchy"""
8536  return _IMP_atom.Representation_get_representation(self, *args)
8537 
8538  def get_representations(self, *args):
8539  r"""get_representations(Representation self, IMP::atom::RepresentationType type=BALLS) -> IMP::atom::Hierarchies"""
8540  return _IMP_atom.Representation_get_representations(self, *args)
8541 
8542  def add_representation(self, *args):
8543  r"""add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type=BALLS, double resolution=-1)"""
8544  return _IMP_atom.Representation_add_representation(self, *args)
8545 
8546  def get_resolutions(self, *args):
8547  r"""get_resolutions(Representation self, IMP::atom::RepresentationType type=BALLS) -> IMP::Floats"""
8548  return _IMP_atom.Representation_get_resolutions(self, *args)
8549 
8550  def remove_representation(self, rep):
8551  r"""remove_representation(Representation self, _ParticleIndexAdaptor rep)"""
8552  return _IMP_atom.Representation_remove_representation(self, rep)
8553 
8554  def update_parents(self):
8555  r"""update_parents(Representation self)"""
8556  return _IMP_atom.Representation_update_parents(self)
8557 
8558  def add_attribute(self, *args):
8559  r"""
8560  add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
8561  add_attribute(Representation self, FloatKey a0, IMP::Float a1)
8562  add_attribute(Representation self, IntKey a0, IMP::Int a1)
8563  add_attribute(Representation self, FloatsKey a0, IMP::Floats a1)
8564  add_attribute(Representation self, IntsKey a0, IMP::Ints a1)
8565  add_attribute(Representation self, StringKey a0, IMP::String a1)
8566  add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
8567  add_attribute(Representation self, ObjectKey a0, Object a1)
8568  add_attribute(Representation self, SparseFloatKey a0, IMP::Float a1)
8569  add_attribute(Representation self, SparseIntKey a0, IMP::Int a1)
8570  add_attribute(Representation self, SparseStringKey a0, IMP::String a1)
8571  add_attribute(Representation self, SparseParticleIndexKey a0, ParticleIndex a1)
8572  """
8573  return _IMP_atom.Representation_add_attribute(self, *args)
8574 
8575  def get_value(self, *args):
8576  r"""
8577  get_value(Representation self, FloatKey a0) -> IMP::Float
8578  get_value(Representation self, IntKey a0) -> IMP::Int
8579  get_value(Representation self, FloatsKey a0) -> IMP::Floats
8580  get_value(Representation self, IntsKey a0) -> IMP::Ints
8581  get_value(Representation self, StringKey a0) -> IMP::String
8582  get_value(Representation self, ParticleIndexKey a0) -> Particle
8583  get_value(Representation self, ObjectKey a0) -> Object
8584  get_value(Representation self, SparseFloatKey a0) -> IMP::Float
8585  get_value(Representation self, SparseIntKey a0) -> IMP::Int
8586  get_value(Representation self, SparseStringKey a0) -> IMP::String
8587  get_value(Representation self, SparseParticleIndexKey a0) -> ParticleIndex
8588  """
8589  return _IMP_atom.Representation_get_value(self, *args)
8590 
8591  def set_value(self, *args):
8592  r"""
8593  set_value(Representation self, FloatKey a0, IMP::Float a1)
8594  set_value(Representation self, IntKey a0, IMP::Int a1)
8595  set_value(Representation self, FloatsKey a0, IMP::Floats a1)
8596  set_value(Representation self, IntsKey a0, IMP::Ints a1)
8597  set_value(Representation self, StringKey a0, IMP::String a1)
8598  set_value(Representation self, ParticleIndexKey a0, Particle a1)
8599  set_value(Representation self, ObjectKey a0, Object a1)
8600  set_value(Representation self, SparseFloatKey a0, IMP::Float a1)
8601  set_value(Representation self, SparseIntKey a0, IMP::Int a1)
8602  set_value(Representation self, SparseStringKey a0, IMP::String a1)
8603  set_value(Representation self, SparseParticleIndexKey a0, ParticleIndex a1)
8604  """
8605  return _IMP_atom.Representation_set_value(self, *args)
8606 
8607  def remove_attribute(self, *args):
8608  r"""
8609  remove_attribute(Representation self, FloatKey a0)
8610  remove_attribute(Representation self, IntKey a0)
8611  remove_attribute(Representation self, FloatsKey a0)
8612  remove_attribute(Representation self, IntsKey a0)
8613  remove_attribute(Representation self, StringKey a0)
8614  remove_attribute(Representation self, ParticleIndexKey a0)
8615  remove_attribute(Representation self, ObjectKey a0)
8616  remove_attribute(Representation self, SparseFloatKey a0)
8617  remove_attribute(Representation self, SparseIntKey a0)
8618  remove_attribute(Representation self, SparseStringKey a0)
8619  remove_attribute(Representation self, SparseParticleIndexKey a0)
8620  """
8621  return _IMP_atom.Representation_remove_attribute(self, *args)
8622 
8623  def has_attribute(self, *args):
8624  r"""
8625  has_attribute(Representation self, FloatKey a0) -> bool
8626  has_attribute(Representation self, IntKey a0) -> bool
8627  has_attribute(Representation self, FloatsKey a0) -> bool
8628  has_attribute(Representation self, IntsKey a0) -> bool
8629  has_attribute(Representation self, StringKey a0) -> bool
8630  has_attribute(Representation self, ParticleIndexKey a0) -> bool
8631  has_attribute(Representation self, ObjectKey a0) -> bool
8632  has_attribute(Representation self, SparseFloatKey a0) -> bool
8633  has_attribute(Representation self, SparseIntKey a0) -> bool
8634  has_attribute(Representation self, SparseStringKey a0) -> bool
8635  has_attribute(Representation self, SparseParticleIndexKey a0) -> bool
8636  """
8637  return _IMP_atom.Representation_has_attribute(self, *args)
8638 
8639  def get_derivative(self, a0):
8640  r"""get_derivative(Representation self, FloatKey a0) -> double"""
8641  return _IMP_atom.Representation_get_derivative(self, a0)
8642 
8643  def get_name(self):
8644  r"""get_name(Representation self) -> std::string"""
8645  return _IMP_atom.Representation_get_name(self)
8646 
8647  def clear_caches(self):
8648  r"""clear_caches(Representation self)"""
8649  return _IMP_atom.Representation_clear_caches(self)
8650 
8651  def set_name(self, a0):
8652  r"""set_name(Representation self, std::string a0)"""
8653  return _IMP_atom.Representation_set_name(self, a0)
8654 
8655  def set_check_level(self, a0):
8656  r"""set_check_level(Representation self, IMP::CheckLevel a0)"""
8657  return _IMP_atom.Representation_set_check_level(self, a0)
8658 
8659  def add_to_derivative(self, a0, a1, a2):
8660  r"""add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8661  return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
8662 
8663  def set_is_optimized(self, a0, a1):
8664  r"""set_is_optimized(Representation self, FloatKey a0, bool a1)"""
8665  return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
8666 
8667  def get_is_optimized(self, a0):
8668  r"""get_is_optimized(Representation self, FloatKey a0) -> bool"""
8669  return _IMP_atom.Representation_get_is_optimized(self, a0)
8670 
8671  def get_check_level(self):
8672  r"""get_check_level(Representation self) -> IMP::CheckLevel"""
8673  return _IMP_atom.Representation_get_check_level(self)
8674 
8675  def __eq__(self, *args):
8676  r"""
8677  __eq__(Representation self, Representation o) -> bool
8678  __eq__(Representation self, Particle d) -> bool
8679  """
8680  return _IMP_atom.Representation___eq__(self, *args)
8681 
8682  def __ne__(self, *args):
8683  r"""
8684  __ne__(Representation self, Representation o) -> bool
8685  __ne__(Representation self, Particle d) -> bool
8686  """
8687  return _IMP_atom.Representation___ne__(self, *args)
8688 
8689  def __le__(self, *args):
8690  r"""
8691  __le__(Representation self, Representation o) -> bool
8692  __le__(Representation self, Particle d) -> bool
8693  """
8694  return _IMP_atom.Representation___le__(self, *args)
8695 
8696  def __lt__(self, *args):
8697  r"""
8698  __lt__(Representation self, Representation o) -> bool
8699  __lt__(Representation self, Particle d) -> bool
8700  """
8701  return _IMP_atom.Representation___lt__(self, *args)
8702 
8703  def __ge__(self, *args):
8704  r"""
8705  __ge__(Representation self, Representation o) -> bool
8706  __ge__(Representation self, Particle d) -> bool
8707  """
8708  return _IMP_atom.Representation___ge__(self, *args)
8709 
8710  def __gt__(self, *args):
8711  r"""
8712  __gt__(Representation self, Representation o) -> bool
8713  __gt__(Representation self, Particle d) -> bool
8714  """
8715  return _IMP_atom.Representation___gt__(self, *args)
8716 
8717  def __hash__(self):
8718  r"""__hash__(Representation self) -> std::size_t"""
8719  return _IMP_atom.Representation___hash__(self)
8720 
8721  def __str__(self):
8722  r"""__str__(Representation self) -> std::string"""
8723  return _IMP_atom.Representation___str__(self)
8724 
8725  def __repr__(self):
8726  r"""__repr__(Representation self) -> std::string"""
8727  return _IMP_atom.Representation___repr__(self)
8728 
8729  def _get_as_binary(self):
8730  r"""_get_as_binary(Representation self) -> PyObject *"""
8731  return _IMP_atom.Representation__get_as_binary(self)
8732 
8733  def _set_from_binary(self, p):
8734  r"""_set_from_binary(Representation self, PyObject * p)"""
8735  return _IMP_atom.Representation__set_from_binary(self, p)
8736 
8737  def __getstate__(self):
8738  p = self._get_as_binary()
8739  if len(self.__dict__) > 1:
8740  d = self.__dict__.copy()
8741  del d['this']
8742  p = (d, p)
8743  return p
8744 
8745  def __setstate__(self, p):
8746  if not hasattr(self, 'this'):
8747  self.__init__()
8748  if isinstance(p, tuple):
8749  d, p = p
8750  self.__dict__.update(d)
8751  return self._set_from_binary(p)
8752 
8753  __swig_destroy__ = _IMP_atom.delete_Representation
8754 
8755 # Register Representation in _IMP_atom:
8756 _IMP_atom.Representation_swigregister(Representation)
8757 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
8758 
8759 
8760 def get_resolution(*args):
8761  r"""
8762  get_resolution(Model m, ParticleIndex pi) -> double
8763  get_resolution(Hierarchy h) -> double
8764  """
8765  return _IMP_atom.get_resolution(*args)
8766 
8767 def get_representation(h, nothrow=False):
8768  r"""get_representation(Hierarchy h, bool nothrow=False) -> Representation"""
8769  return _IMP_atom.get_representation(h, nothrow)
8770 
8771 def show_with_representations(*args):
8772  r"""show_with_representations(Hierarchy h, _ostream out=std::cout)"""
8773  return _IMP_atom.show_with_representations(*args)
8774 class State(Hierarchy):
8775  r"""Proxy of C++ IMP::atom::State class."""
8776 
8777  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8778 
8779  @staticmethod
8780  def setup_particle(*args):
8781  r"""
8782  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
8783  setup_particle(_ParticleAdaptor pa, unsigned int index) -> State
8784  setup_particle(Model m, ParticleIndex pi, State other) -> State
8785  setup_particle(_ParticleAdaptor pa, State other) -> State
8786  """
8787  return _IMP_atom.State_setup_particle(*args)
8788 
8789  def __init__(self, *args):
8790  r"""
8791  __init__(State self) -> State
8792  __init__(State self, Model m, ParticleIndex id) -> State
8793  __init__(State self, _ParticleAdaptor d) -> State
8794  """
8795  _IMP_atom.State_swiginit(self, _IMP_atom.new_State(*args))
8796 
8797  def show(self, *args):
8798  r"""show(State self, _ostream out=std::cout)"""
8799  return _IMP_atom.State_show(self, *args)
8800 
8801  @staticmethod
8802  def get_is_setup(*args):
8803  r"""
8804  get_is_setup(_ParticleAdaptor p) -> bool
8805  get_is_setup(Model m, ParticleIndex pi) -> bool
8806  """
8807  return _IMP_atom.State_get_is_setup(*args)
8808 
8809  def get_state_index(self):
8810  r"""get_state_index(State self) -> unsigned int"""
8811  return _IMP_atom.State_get_state_index(self)
8812 
8813  def add_attribute(self, *args):
8814  r"""
8815  add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
8816  add_attribute(State self, FloatKey a0, IMP::Float a1)
8817  add_attribute(State self, IntKey a0, IMP::Int a1)
8818  add_attribute(State self, FloatsKey a0, IMP::Floats a1)
8819  add_attribute(State self, IntsKey a0, IMP::Ints a1)
8820  add_attribute(State self, StringKey a0, IMP::String a1)
8821  add_attribute(State self, ParticleIndexKey a0, Particle a1)
8822  add_attribute(State self, ObjectKey a0, Object a1)
8823  add_attribute(State self, SparseFloatKey a0, IMP::Float a1)
8824  add_attribute(State self, SparseIntKey a0, IMP::Int a1)
8825  add_attribute(State self, SparseStringKey a0, IMP::String a1)
8826  add_attribute(State self, SparseParticleIndexKey a0, ParticleIndex a1)
8827  """
8828  return _IMP_atom.State_add_attribute(self, *args)
8829 
8830  def get_value(self, *args):
8831  r"""
8832  get_value(State self, FloatKey a0) -> IMP::Float
8833  get_value(State self, IntKey a0) -> IMP::Int
8834  get_value(State self, FloatsKey a0) -> IMP::Floats
8835  get_value(State self, IntsKey a0) -> IMP::Ints
8836  get_value(State self, StringKey a0) -> IMP::String
8837  get_value(State self, ParticleIndexKey a0) -> Particle
8838  get_value(State self, ObjectKey a0) -> Object
8839  get_value(State self, SparseFloatKey a0) -> IMP::Float
8840  get_value(State self, SparseIntKey a0) -> IMP::Int
8841  get_value(State self, SparseStringKey a0) -> IMP::String
8842  get_value(State self, SparseParticleIndexKey a0) -> ParticleIndex
8843  """
8844  return _IMP_atom.State_get_value(self, *args)
8845 
8846  def set_value(self, *args):
8847  r"""
8848  set_value(State self, FloatKey a0, IMP::Float a1)
8849  set_value(State self, IntKey a0, IMP::Int a1)
8850  set_value(State self, FloatsKey a0, IMP::Floats a1)
8851  set_value(State self, IntsKey a0, IMP::Ints a1)
8852  set_value(State self, StringKey a0, IMP::String a1)
8853  set_value(State self, ParticleIndexKey a0, Particle a1)
8854  set_value(State self, ObjectKey a0, Object a1)
8855  set_value(State self, SparseFloatKey a0, IMP::Float a1)
8856  set_value(State self, SparseIntKey a0, IMP::Int a1)
8857  set_value(State self, SparseStringKey a0, IMP::String a1)
8858  set_value(State self, SparseParticleIndexKey a0, ParticleIndex a1)
8859  """
8860  return _IMP_atom.State_set_value(self, *args)
8861 
8862  def remove_attribute(self, *args):
8863  r"""
8864  remove_attribute(State self, FloatKey a0)
8865  remove_attribute(State self, IntKey a0)
8866  remove_attribute(State self, FloatsKey a0)
8867  remove_attribute(State self, IntsKey a0)
8868  remove_attribute(State self, StringKey a0)
8869  remove_attribute(State self, ParticleIndexKey a0)
8870  remove_attribute(State self, ObjectKey a0)
8871  remove_attribute(State self, SparseFloatKey a0)
8872  remove_attribute(State self, SparseIntKey a0)
8873  remove_attribute(State self, SparseStringKey a0)
8874  remove_attribute(State self, SparseParticleIndexKey a0)
8875  """
8876  return _IMP_atom.State_remove_attribute(self, *args)
8877 
8878  def has_attribute(self, *args):
8879  r"""
8880  has_attribute(State self, FloatKey a0) -> bool
8881  has_attribute(State self, IntKey a0) -> bool
8882  has_attribute(State self, FloatsKey a0) -> bool
8883  has_attribute(State self, IntsKey a0) -> bool
8884  has_attribute(State self, StringKey a0) -> bool
8885  has_attribute(State self, ParticleIndexKey a0) -> bool
8886  has_attribute(State self, ObjectKey a0) -> bool
8887  has_attribute(State self, SparseFloatKey a0) -> bool
8888  has_attribute(State self, SparseIntKey a0) -> bool
8889  has_attribute(State self, SparseStringKey a0) -> bool
8890  has_attribute(State self, SparseParticleIndexKey a0) -> bool
8891  """
8892  return _IMP_atom.State_has_attribute(self, *args)
8893 
8894  def get_derivative(self, a0):
8895  r"""get_derivative(State self, FloatKey a0) -> double"""
8896  return _IMP_atom.State_get_derivative(self, a0)
8897 
8898  def get_name(self):
8899  r"""get_name(State self) -> std::string"""
8900  return _IMP_atom.State_get_name(self)
8901 
8902  def clear_caches(self):
8903  r"""clear_caches(State self)"""
8904  return _IMP_atom.State_clear_caches(self)
8905 
8906  def set_name(self, a0):
8907  r"""set_name(State self, std::string a0)"""
8908  return _IMP_atom.State_set_name(self, a0)
8909 
8910  def set_check_level(self, a0):
8911  r"""set_check_level(State self, IMP::CheckLevel a0)"""
8912  return _IMP_atom.State_set_check_level(self, a0)
8913 
8914  def add_to_derivative(self, a0, a1, a2):
8915  r"""add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8916  return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
8917 
8918  def set_is_optimized(self, a0, a1):
8919  r"""set_is_optimized(State self, FloatKey a0, bool a1)"""
8920  return _IMP_atom.State_set_is_optimized(self, a0, a1)
8921 
8922  def get_is_optimized(self, a0):
8923  r"""get_is_optimized(State self, FloatKey a0) -> bool"""
8924  return _IMP_atom.State_get_is_optimized(self, a0)
8925 
8926  def get_check_level(self):
8927  r"""get_check_level(State self) -> IMP::CheckLevel"""
8928  return _IMP_atom.State_get_check_level(self)
8929 
8930  def __eq__(self, *args):
8931  r"""
8932  __eq__(State self, State o) -> bool
8933  __eq__(State self, Particle d) -> bool
8934  """
8935  return _IMP_atom.State___eq__(self, *args)
8936 
8937  def __ne__(self, *args):
8938  r"""
8939  __ne__(State self, State o) -> bool
8940  __ne__(State self, Particle d) -> bool
8941  """
8942  return _IMP_atom.State___ne__(self, *args)
8943 
8944  def __le__(self, *args):
8945  r"""
8946  __le__(State self, State o) -> bool
8947  __le__(State self, Particle d) -> bool
8948  """
8949  return _IMP_atom.State___le__(self, *args)
8950 
8951  def __lt__(self, *args):
8952  r"""
8953  __lt__(State self, State o) -> bool
8954  __lt__(State self, Particle d) -> bool
8955  """
8956  return _IMP_atom.State___lt__(self, *args)
8957 
8958  def __ge__(self, *args):
8959  r"""
8960  __ge__(State self, State o) -> bool
8961  __ge__(State self, Particle d) -> bool
8962  """
8963  return _IMP_atom.State___ge__(self, *args)
8964 
8965  def __gt__(self, *args):
8966  r"""
8967  __gt__(State self, State o) -> bool
8968  __gt__(State self, Particle d) -> bool
8969  """
8970  return _IMP_atom.State___gt__(self, *args)
8971 
8972  def __hash__(self):
8973  r"""__hash__(State self) -> std::size_t"""
8974  return _IMP_atom.State___hash__(self)
8975 
8976  def __str__(self):
8977  r"""__str__(State self) -> std::string"""
8978  return _IMP_atom.State___str__(self)
8979 
8980  def __repr__(self):
8981  r"""__repr__(State self) -> std::string"""
8982  return _IMP_atom.State___repr__(self)
8983 
8984  def _get_as_binary(self):
8985  r"""_get_as_binary(State self) -> PyObject *"""
8986  return _IMP_atom.State__get_as_binary(self)
8987 
8988  def _set_from_binary(self, p):
8989  r"""_set_from_binary(State self, PyObject * p)"""
8990  return _IMP_atom.State__set_from_binary(self, p)
8991 
8992  def __getstate__(self):
8993  p = self._get_as_binary()
8994  if len(self.__dict__) > 1:
8995  d = self.__dict__.copy()
8996  del d['this']
8997  p = (d, p)
8998  return p
8999 
9000  def __setstate__(self, p):
9001  if not hasattr(self, 'this'):
9002  self.__init__()
9003  if isinstance(p, tuple):
9004  d, p = p
9005  self.__dict__.update(d)
9006  return self._set_from_binary(p)
9007 
9008  __swig_destroy__ = _IMP_atom.delete_State
9009 
9010 # Register State in _IMP_atom:
9011 _IMP_atom.State_swigregister(State)
9012 
9013 def get_state_index(h):
9014  r"""get_state_index(Hierarchy h) -> int"""
9015  return _IMP_atom.get_state_index(h)
9016 
9017 def get_phi_dihedral_atoms(rd):
9018  r"""get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9019  return _IMP_atom.get_phi_dihedral_atoms(rd)
9020 
9021 def get_psi_dihedral_atoms(rd):
9022  r"""get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9023  return _IMP_atom.get_psi_dihedral_atoms(rd)
9024 
9025 def get_omega_dihedral_atoms(rd):
9026  r"""get_omega_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9027  return _IMP_atom.get_omega_dihedral_atoms(rd)
9028 
9030  r"""get_chi_dihedral_atom_types(ResidueType rt) -> IMP::Vector< IMP::atom::AtomTypes >"""
9031  return _IMP_atom.get_chi_dihedral_atom_types(rt)
9032 
9033 def get_chi_dihedral_atoms(rd):
9034  r"""get_chi_dihedral_atoms(Residue rd) -> IMP::Vector< IMP::atom::Atoms >"""
9035  return _IMP_atom.get_chi_dihedral_atoms(rd)
9036 
9038  r"""get_chi_dihedral_particle_indexes(Residue rd) -> IMP::ParticleIndexQuads"""
9039  return _IMP_atom.get_chi_dihedral_particle_indexes(rd)
9040 class Molecule(Hierarchy):
9041  r"""Proxy of C++ IMP::atom::Molecule class."""
9042 
9043  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9044 
9045  def __init__(self, *args):
9046  r"""
9047  __init__(Molecule self) -> Molecule
9048  __init__(Molecule self, Model m, ParticleIndex id) -> Molecule
9049  __init__(Molecule self, _ParticleAdaptor d) -> Molecule
9050  """
9051  _IMP_atom.Molecule_swiginit(self, _IMP_atom.new_Molecule(*args))
9052 
9053  def show(self, *args):
9054  r"""show(Molecule self, _ostream out=std::cout)"""
9055  return _IMP_atom.Molecule_show(self, *args)
9056 
9057  @staticmethod
9058  def setup_particle(*args):
9059  r"""
9060  setup_particle(Model m, ParticleIndex pi) -> Molecule
9061  setup_particle(_ParticleAdaptor pa) -> Molecule
9062  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9063  setup_particle(_ParticleAdaptor pa, Molecule other) -> Molecule
9064  """
9065  return _IMP_atom.Molecule_setup_particle(*args)
9066 
9067  @staticmethod
9068  def get_is_setup(*args):
9069  r"""
9070  get_is_setup(_ParticleAdaptor p) -> bool
9071  get_is_setup(Model m, ParticleIndex pi) -> bool
9072  """
9073  return _IMP_atom.Molecule_get_is_setup(*args)
9074 
9075  def add_attribute(self, *args):
9076  r"""
9077  add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
9078  add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
9079  add_attribute(Molecule self, IntKey a0, IMP::Int a1)
9080  add_attribute(Molecule self, FloatsKey a0, IMP::Floats a1)
9081  add_attribute(Molecule self, IntsKey a0, IMP::Ints a1)
9082  add_attribute(Molecule self, StringKey a0, IMP::String a1)
9083  add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
9084  add_attribute(Molecule self, ObjectKey a0, Object a1)
9085  add_attribute(Molecule self, SparseFloatKey a0, IMP::Float a1)
9086  add_attribute(Molecule self, SparseIntKey a0, IMP::Int a1)
9087  add_attribute(Molecule self, SparseStringKey a0, IMP::String a1)
9088  add_attribute(Molecule self, SparseParticleIndexKey a0, ParticleIndex a1)
9089  """
9090  return _IMP_atom.Molecule_add_attribute(self, *args)
9091 
9092  def get_value(self, *args):
9093  r"""
9094  get_value(Molecule self, FloatKey a0) -> IMP::Float
9095  get_value(Molecule self, IntKey a0) -> IMP::Int
9096  get_value(Molecule self, FloatsKey a0) -> IMP::Floats
9097  get_value(Molecule self, IntsKey a0) -> IMP::Ints
9098  get_value(Molecule self, StringKey a0) -> IMP::String
9099  get_value(Molecule self, ParticleIndexKey a0) -> Particle
9100  get_value(Molecule self, ObjectKey a0) -> Object
9101  get_value(Molecule self, SparseFloatKey a0) -> IMP::Float
9102  get_value(Molecule self, SparseIntKey a0) -> IMP::Int
9103  get_value(Molecule self, SparseStringKey a0) -> IMP::String
9104  get_value(Molecule self, SparseParticleIndexKey a0) -> ParticleIndex
9105  """
9106  return _IMP_atom.Molecule_get_value(self, *args)
9107 
9108  def set_value(self, *args):
9109  r"""
9110  set_value(Molecule self, FloatKey a0, IMP::Float a1)
9111  set_value(Molecule self, IntKey a0, IMP::Int a1)
9112  set_value(Molecule self, FloatsKey a0, IMP::Floats a1)
9113  set_value(Molecule self, IntsKey a0, IMP::Ints a1)
9114  set_value(Molecule self, StringKey a0, IMP::String a1)
9115  set_value(Molecule self, ParticleIndexKey a0, Particle a1)
9116  set_value(Molecule self, ObjectKey a0, Object a1)
9117  set_value(Molecule self, SparseFloatKey a0, IMP::Float a1)
9118  set_value(Molecule self, SparseIntKey a0, IMP::Int a1)
9119  set_value(Molecule self, SparseStringKey a0, IMP::String a1)
9120  set_value(Molecule self, SparseParticleIndexKey a0, ParticleIndex a1)
9121  """
9122  return _IMP_atom.Molecule_set_value(self, *args)
9123 
9124  def remove_attribute(self, *args):
9125  r"""
9126  remove_attribute(Molecule self, FloatKey a0)
9127  remove_attribute(Molecule self, IntKey a0)
9128  remove_attribute(Molecule self, FloatsKey a0)
9129  remove_attribute(Molecule self, IntsKey a0)
9130  remove_attribute(Molecule self, StringKey a0)
9131  remove_attribute(Molecule self, ParticleIndexKey a0)
9132  remove_attribute(Molecule self, ObjectKey a0)
9133  remove_attribute(Molecule self, SparseFloatKey a0)
9134  remove_attribute(Molecule self, SparseIntKey a0)
9135  remove_attribute(Molecule self, SparseStringKey a0)
9136  remove_attribute(Molecule self, SparseParticleIndexKey a0)
9137  """
9138  return _IMP_atom.Molecule_remove_attribute(self, *args)
9139 
9140  def has_attribute(self, *args):
9141  r"""
9142  has_attribute(Molecule self, FloatKey a0) -> bool
9143  has_attribute(Molecule self, IntKey a0) -> bool
9144  has_attribute(Molecule self, FloatsKey a0) -> bool
9145  has_attribute(Molecule self, IntsKey a0) -> bool
9146  has_attribute(Molecule self, StringKey a0) -> bool
9147  has_attribute(Molecule self, ParticleIndexKey a0) -> bool
9148  has_attribute(Molecule self, ObjectKey a0) -> bool
9149  has_attribute(Molecule self, SparseFloatKey a0) -> bool
9150  has_attribute(Molecule self, SparseIntKey a0) -> bool
9151  has_attribute(Molecule self, SparseStringKey a0) -> bool
9152  has_attribute(Molecule self, SparseParticleIndexKey a0) -> bool
9153  """
9154  return _IMP_atom.Molecule_has_attribute(self, *args)
9155 
9156  def get_derivative(self, a0):
9157  r"""get_derivative(Molecule self, FloatKey a0) -> double"""
9158  return _IMP_atom.Molecule_get_derivative(self, a0)
9159 
9160  def get_name(self):
9161  r"""get_name(Molecule self) -> std::string"""
9162  return _IMP_atom.Molecule_get_name(self)
9163 
9164  def clear_caches(self):
9165  r"""clear_caches(Molecule self)"""
9166  return _IMP_atom.Molecule_clear_caches(self)
9167 
9168  def set_name(self, a0):
9169  r"""set_name(Molecule self, std::string a0)"""
9170  return _IMP_atom.Molecule_set_name(self, a0)
9171 
9172  def set_check_level(self, a0):
9173  r"""set_check_level(Molecule self, IMP::CheckLevel a0)"""
9174  return _IMP_atom.Molecule_set_check_level(self, a0)
9175 
9176  def add_to_derivative(self, a0, a1, a2):
9177  r"""add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9178  return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
9179 
9180  def set_is_optimized(self, a0, a1):
9181  r"""set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
9182  return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
9183 
9184  def get_is_optimized(self, a0):
9185  r"""get_is_optimized(Molecule self, FloatKey a0) -> bool"""
9186  return _IMP_atom.Molecule_get_is_optimized(self, a0)
9187 
9188  def get_check_level(self):
9189  r"""get_check_level(Molecule self) -> IMP::CheckLevel"""
9190  return _IMP_atom.Molecule_get_check_level(self)
9191 
9192  def __eq__(self, *args):
9193  r"""
9194  __eq__(Molecule self, Molecule o) -> bool
9195  __eq__(Molecule self, Particle d) -> bool
9196  """
9197  return _IMP_atom.Molecule___eq__(self, *args)
9198 
9199  def __ne__(self, *args):
9200  r"""
9201  __ne__(Molecule self, Molecule o) -> bool
9202  __ne__(Molecule self, Particle d) -> bool
9203  """
9204  return _IMP_atom.Molecule___ne__(self, *args)
9205 
9206  def __le__(self, *args):
9207  r"""
9208  __le__(Molecule self, Molecule o) -> bool
9209  __le__(Molecule self, Particle d) -> bool
9210  """
9211  return _IMP_atom.Molecule___le__(self, *args)
9212 
9213  def __lt__(self, *args):
9214  r"""
9215  __lt__(Molecule self, Molecule o) -> bool
9216  __lt__(Molecule self, Particle d) -> bool
9217  """
9218  return _IMP_atom.Molecule___lt__(self, *args)
9219 
9220  def __ge__(self, *args):
9221  r"""
9222  __ge__(Molecule self, Molecule o) -> bool
9223  __ge__(Molecule self, Particle d) -> bool
9224  """
9225  return _IMP_atom.Molecule___ge__(self, *args)
9226 
9227  def __gt__(self, *args):
9228  r"""
9229  __gt__(Molecule self, Molecule o) -> bool
9230  __gt__(Molecule self, Particle d) -> bool
9231  """
9232  return _IMP_atom.Molecule___gt__(self, *args)
9233 
9234  def __hash__(self):
9235  r"""__hash__(Molecule self) -> std::size_t"""
9236  return _IMP_atom.Molecule___hash__(self)
9237 
9238  def __str__(self):
9239  r"""__str__(Molecule self) -> std::string"""
9240  return _IMP_atom.Molecule___str__(self)
9241 
9242  def __repr__(self):
9243  r"""__repr__(Molecule self) -> std::string"""
9244  return _IMP_atom.Molecule___repr__(self)
9245 
9246  def _get_as_binary(self):
9247  r"""_get_as_binary(Molecule self) -> PyObject *"""
9248  return _IMP_atom.Molecule__get_as_binary(self)
9249 
9250  def _set_from_binary(self, p):
9251  r"""_set_from_binary(Molecule self, PyObject * p)"""
9252  return _IMP_atom.Molecule__set_from_binary(self, p)
9253 
9254  def __getstate__(self):
9255  p = self._get_as_binary()
9256  if len(self.__dict__) > 1:
9257  d = self.__dict__.copy()
9258  del d['this']
9259  p = (d, p)
9260  return p
9261 
9262  def __setstate__(self, p):
9263  if not hasattr(self, 'this'):
9264  self.__init__()
9265  if isinstance(p, tuple):
9266  d, p = p
9267  self.__dict__.update(d)
9268  return self._set_from_binary(p)
9269 
9270  __swig_destroy__ = _IMP_atom.delete_Molecule
9271 
9272 # Register Molecule in _IMP_atom:
9273 _IMP_atom.Molecule_swigregister(Molecule)
9274 
9275 def get_molecule_name(h):
9276  r"""get_molecule_name(Hierarchy h) -> std::string"""
9277  return _IMP_atom.get_molecule_name(h)
9278 class Copy(Molecule):
9279  r"""Proxy of C++ IMP::atom::Copy class."""
9280 
9281  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9282 
9283  @staticmethod
9284  def get_copy_index_key():
9285  r"""get_copy_index_key() -> IntKey"""
9286  return _IMP_atom.Copy_get_copy_index_key()
9287 
9288  def __init__(self, *args):
9289  r"""
9290  __init__(Copy self) -> Copy
9291  __init__(Copy self, Model m, ParticleIndex id) -> Copy
9292  __init__(Copy self, _ParticleAdaptor d) -> Copy
9293  """
9294  _IMP_atom.Copy_swiginit(self, _IMP_atom.new_Copy(*args))
9295 
9296  def show(self, *args):
9297  r"""show(Copy self, _ostream out=std::cout)"""
9298  return _IMP_atom.Copy_show(self, *args)
9299 
9300  @staticmethod
9301  def setup_particle(*args):
9302  r"""
9303  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
9304  setup_particle(_ParticleAdaptor pa, IMP::Int number) -> Copy
9305  """
9306  return _IMP_atom.Copy_setup_particle(*args)
9307 
9308  @staticmethod
9309  def get_is_setup(*args):
9310  r"""
9311  get_is_setup(_ParticleAdaptor p) -> bool
9312  get_is_setup(Model m, ParticleIndex pi) -> bool
9313  """
9314  return _IMP_atom.Copy_get_is_setup(*args)
9315 
9316  def get_copy_index(self):
9317  r"""get_copy_index(Copy self) -> int"""
9318  return _IMP_atom.Copy_get_copy_index(self)
9319 
9320  def add_attribute(self, *args):
9321  r"""
9322  add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
9323  add_attribute(Copy self, FloatKey a0, IMP::Float a1)
9324  add_attribute(Copy self, IntKey a0, IMP::Int a1)
9325  add_attribute(Copy self, FloatsKey a0, IMP::Floats a1)
9326  add_attribute(Copy self, IntsKey a0, IMP::Ints a1)
9327  add_attribute(Copy self, StringKey a0, IMP::String a1)
9328  add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
9329  add_attribute(Copy self, ObjectKey a0, Object a1)
9330  add_attribute(Copy self, SparseFloatKey a0, IMP::Float a1)
9331  add_attribute(Copy self, SparseIntKey a0, IMP::Int a1)
9332  add_attribute(Copy self, SparseStringKey a0, IMP::String a1)
9333  add_attribute(Copy self, SparseParticleIndexKey a0, ParticleIndex a1)
9334  """
9335  return _IMP_atom.Copy_add_attribute(self, *args)
9336 
9337  def get_value(self, *args):
9338  r"""
9339  get_value(Copy self, FloatKey a0) -> IMP::Float
9340  get_value(Copy self, IntKey a0) -> IMP::Int
9341  get_value(Copy self, FloatsKey a0) -> IMP::Floats
9342  get_value(Copy self, IntsKey a0) -> IMP::Ints
9343  get_value(Copy self, StringKey a0) -> IMP::String
9344  get_value(Copy self, ParticleIndexKey a0) -> Particle
9345  get_value(Copy self, ObjectKey a0) -> Object
9346  get_value(Copy self, SparseFloatKey a0) -> IMP::Float
9347  get_value(Copy self, SparseIntKey a0) -> IMP::Int
9348  get_value(Copy self, SparseStringKey a0) -> IMP::String
9349  get_value(Copy self, SparseParticleIndexKey a0) -> ParticleIndex
9350  """
9351  return _IMP_atom.Copy_get_value(self, *args)
9352 
9353  def set_value(self, *args):
9354  r"""
9355  set_value(Copy self, FloatKey a0, IMP::Float a1)
9356  set_value(Copy self, IntKey a0, IMP::Int a1)
9357  set_value(Copy self, FloatsKey a0, IMP::Floats a1)
9358  set_value(Copy self, IntsKey a0, IMP::Ints a1)
9359  set_value(Copy self, StringKey a0, IMP::String a1)
9360  set_value(Copy self, ParticleIndexKey a0, Particle a1)
9361  set_value(Copy self, ObjectKey a0, Object a1)
9362  set_value(Copy self, SparseFloatKey a0, IMP::Float a1)
9363  set_value(Copy self, SparseIntKey a0, IMP::Int a1)
9364  set_value(Copy self, SparseStringKey a0, IMP::String a1)
9365  set_value(Copy self, SparseParticleIndexKey a0, ParticleIndex a1)
9366  """
9367  return _IMP_atom.Copy_set_value(self, *args)
9368 
9369  def remove_attribute(self, *args):
9370  r"""
9371  remove_attribute(Copy self, FloatKey a0)
9372  remove_attribute(Copy self, IntKey a0)
9373  remove_attribute(Copy self, FloatsKey a0)
9374  remove_attribute(Copy self, IntsKey a0)
9375  remove_attribute(Copy self, StringKey a0)
9376  remove_attribute(Copy self, ParticleIndexKey a0)
9377  remove_attribute(Copy self, ObjectKey a0)
9378  remove_attribute(Copy self, SparseFloatKey a0)
9379  remove_attribute(Copy self, SparseIntKey a0)
9380  remove_attribute(Copy self, SparseStringKey a0)
9381  remove_attribute(Copy self, SparseParticleIndexKey a0)
9382  """
9383  return _IMP_atom.Copy_remove_attribute(self, *args)
9384 
9385  def has_attribute(self, *args):
9386  r"""
9387  has_attribute(Copy self, FloatKey a0) -> bool
9388  has_attribute(Copy self, IntKey a0) -> bool
9389  has_attribute(Copy self, FloatsKey a0) -> bool
9390  has_attribute(Copy self, IntsKey a0) -> bool
9391  has_attribute(Copy self, StringKey a0) -> bool
9392  has_attribute(Copy self, ParticleIndexKey a0) -> bool
9393  has_attribute(Copy self, ObjectKey a0) -> bool
9394  has_attribute(Copy self, SparseFloatKey a0) -> bool
9395  has_attribute(Copy self, SparseIntKey a0) -> bool
9396  has_attribute(Copy self, SparseStringKey a0) -> bool
9397  has_attribute(Copy self, SparseParticleIndexKey a0) -> bool
9398  """
9399  return _IMP_atom.Copy_has_attribute(self, *args)
9400 
9401  def get_derivative(self, a0):
9402  r"""get_derivative(Copy self, FloatKey a0) -> double"""
9403  return _IMP_atom.Copy_get_derivative(self, a0)
9404 
9405  def get_name(self):
9406  r"""get_name(Copy self) -> std::string"""
9407  return _IMP_atom.Copy_get_name(self)
9408 
9409  def clear_caches(self):
9410  r"""clear_caches(Copy self)"""
9411  return _IMP_atom.Copy_clear_caches(self)
9412 
9413  def set_name(self, a0):
9414  r"""set_name(Copy self, std::string a0)"""
9415  return _IMP_atom.Copy_set_name(self, a0)
9416 
9417  def set_check_level(self, a0):
9418  r"""set_check_level(Copy self, IMP::CheckLevel a0)"""
9419  return _IMP_atom.Copy_set_check_level(self, a0)
9420 
9421  def add_to_derivative(self, a0, a1, a2):
9422  r"""add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9423  return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
9424 
9425  def set_is_optimized(self, a0, a1):
9426  r"""set_is_optimized(Copy self, FloatKey a0, bool a1)"""
9427  return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
9428 
9429  def get_is_optimized(self, a0):
9430  r"""get_is_optimized(Copy self, FloatKey a0) -> bool"""
9431  return _IMP_atom.Copy_get_is_optimized(self, a0)
9432 
9433  def get_check_level(self):
9434  r"""get_check_level(Copy self) -> IMP::CheckLevel"""
9435  return _IMP_atom.Copy_get_check_level(self)
9436 
9437  def __eq__(self, *args):
9438  r"""
9439  __eq__(Copy self, Copy o) -> bool
9440  __eq__(Copy self, Particle d) -> bool
9441  """
9442  return _IMP_atom.Copy___eq__(self, *args)
9443 
9444  def __ne__(self, *args):
9445  r"""
9446  __ne__(Copy self, Copy o) -> bool
9447  __ne__(Copy self, Particle d) -> bool
9448  """
9449  return _IMP_atom.Copy___ne__(self, *args)
9450 
9451  def __le__(self, *args):
9452  r"""
9453  __le__(Copy self, Copy o) -> bool
9454  __le__(Copy self, Particle d) -> bool
9455  """
9456  return _IMP_atom.Copy___le__(self, *args)
9457 
9458  def __lt__(self, *args):
9459  r"""
9460  __lt__(Copy self, Copy o) -> bool
9461  __lt__(Copy self, Particle d) -> bool
9462  """
9463  return _IMP_atom.Copy___lt__(self, *args)
9464 
9465  def __ge__(self, *args):
9466  r"""
9467  __ge__(Copy self, Copy o) -> bool
9468  __ge__(Copy self, Particle d) -> bool
9469  """
9470  return _IMP_atom.Copy___ge__(self, *args)
9471 
9472  def __gt__(self, *args):
9473  r"""
9474  __gt__(Copy self, Copy o) -> bool
9475  __gt__(Copy self, Particle d) -> bool
9476  """
9477  return _IMP_atom.Copy___gt__(self, *args)
9478 
9479  def __hash__(self):
9480  r"""__hash__(Copy self) -> std::size_t"""
9481  return _IMP_atom.Copy___hash__(self)
9482 
9483  def __str__(self):
9484  r"""__str__(Copy self) -> std::string"""
9485  return _IMP_atom.Copy___str__(self)
9486 
9487  def __repr__(self):
9488  r"""__repr__(Copy self) -> std::string"""
9489  return _IMP_atom.Copy___repr__(self)
9490 
9491  def _get_as_binary(self):
9492  r"""_get_as_binary(Copy self) -> PyObject *"""
9493  return _IMP_atom.Copy__get_as_binary(self)
9494 
9495  def _set_from_binary(self, p):
9496  r"""_set_from_binary(Copy self, PyObject * p)"""
9497  return _IMP_atom.Copy__set_from_binary(self, p)
9498 
9499  def __getstate__(self):
9500  p = self._get_as_binary()
9501  if len(self.__dict__) > 1:
9502  d = self.__dict__.copy()
9503  del d['this']
9504  p = (d, p)
9505  return p
9506 
9507  def __setstate__(self, p):
9508  if not hasattr(self, 'this'):
9509  self.__init__()
9510  if isinstance(p, tuple):
9511  d, p = p
9512  self.__dict__.update(d)
9513  return self._set_from_binary(p)
9514 
9515  __swig_destroy__ = _IMP_atom.delete_Copy
9516 
9517 # Register Copy in _IMP_atom:
9518 _IMP_atom.Copy_swigregister(Copy)
9519 
9520 def get_copy_index(h):
9521  r"""get_copy_index(Hierarchy h) -> int"""
9522  return _IMP_atom.get_copy_index(h)
9523 class Chain(Hierarchy):
9524  r"""Proxy of C++ IMP::atom::Chain class."""
9525 
9526  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9527 
9528  def __init__(self, *args):
9529  r"""
9530  __init__(Chain self) -> Chain
9531  __init__(Chain self, Model m, ParticleIndex id) -> Chain
9532  __init__(Chain self, _ParticleAdaptor d) -> Chain
9533  """
9534  _IMP_atom.Chain_swiginit(self, _IMP_atom.new_Chain(*args))
9535 
9536  def show(self, *args):
9537  r"""show(Chain self, _ostream out=std::cout)"""
9538  return _IMP_atom.Chain_show(self, *args)
9539 
9540  @staticmethod
9541  def setup_particle(*args):
9542  r"""
9543  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
9544  setup_particle(_ParticleAdaptor pa, std::string id) -> Chain
9545  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
9546  setup_particle(_ParticleAdaptor pa, char id) -> Chain
9547  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
9548  setup_particle(_ParticleAdaptor pa, Chain other) -> Chain
9549  """
9550  return _IMP_atom.Chain_setup_particle(*args)
9551 
9552  @staticmethod
9553  def get_is_setup(*args):
9554  r"""
9555  get_is_setup(_ParticleAdaptor p) -> bool
9556  get_is_setup(Model m, ParticleIndex pi) -> bool
9557  """
9558  return _IMP_atom.Chain_get_is_setup(*args)
9559 
9560  def get_id(self):
9561  r"""get_id(Chain self) -> std::string"""
9562  return _IMP_atom.Chain_get_id(self)
9563 
9564  def set_id(self, c):
9565  r"""set_id(Chain self, std::string c)"""
9566  return _IMP_atom.Chain_set_id(self, c)
9567 
9568  def get_label_asym_id(self):
9569  r"""get_label_asym_id(Chain self) -> std::string"""
9570  return _IMP_atom.Chain_get_label_asym_id(self)
9571 
9572  def set_label_asym_id(self, c):
9573  r"""set_label_asym_id(Chain self, std::string c)"""
9574  return _IMP_atom.Chain_set_label_asym_id(self, c)
9575 
9576  def get_sequence(self):
9577  r"""get_sequence(Chain self) -> std::string"""
9578  return _IMP_atom.Chain_get_sequence(self)
9579 
9580  def set_sequence(self, sequence):
9581  r"""set_sequence(Chain self, std::string sequence)"""
9582  return _IMP_atom.Chain_set_sequence(self, sequence)
9583 
9584  def get_sequence_offset(self):
9585  r"""get_sequence_offset(Chain self) -> int"""
9586  return _IMP_atom.Chain_get_sequence_offset(self)
9587 
9588  def set_sequence_offset(self, offset):
9589  r"""set_sequence_offset(Chain self, int offset)"""
9590  return _IMP_atom.Chain_set_sequence_offset(self, offset)
9591 
9592  def get_uniprot_accession(self):
9593  r"""get_uniprot_accession(Chain self) -> std::string"""
9594  return _IMP_atom.Chain_get_uniprot_accession(self)
9595 
9596  def set_uniprot_accession(self, accession):
9597  r"""set_uniprot_accession(Chain self, std::string accession)"""
9598  return _IMP_atom.Chain_set_uniprot_accession(self, accession)
9599 
9600  def get_chain_type(self):
9601  r"""get_chain_type(Chain self) -> ChainType"""
9602  return _IMP_atom.Chain_get_chain_type(self)
9603 
9604  def set_chain_type(self, t):
9605  r"""set_chain_type(Chain self, ChainType t)"""
9606  return _IMP_atom.Chain_set_chain_type(self, t)
9607 
9608  @staticmethod
9609  def get_id_key():
9610  r"""get_id_key() -> SparseStringKey"""
9611  return _IMP_atom.Chain_get_id_key()
9612 
9613  @staticmethod
9614  def get_label_asym_id_key():
9615  r"""get_label_asym_id_key() -> SparseStringKey"""
9616  return _IMP_atom.Chain_get_label_asym_id_key()
9617 
9618  @staticmethod
9619  def get_sequence_key():
9620  r"""get_sequence_key() -> SparseStringKey"""
9621  return _IMP_atom.Chain_get_sequence_key()
9622 
9623  @staticmethod
9624  def get_sequence_offset_key():
9625  r"""get_sequence_offset_key() -> SparseIntKey"""
9626  return _IMP_atom.Chain_get_sequence_offset_key()
9627 
9628  @staticmethod
9629  def get_uniprot_accession_key():
9630  r"""get_uniprot_accession_key() -> SparseStringKey"""
9631  return _IMP_atom.Chain_get_uniprot_accession_key()
9632 
9633  @staticmethod
9634  def get_chain_type_key():
9635  r"""get_chain_type_key() -> SparseIntKey"""
9636  return _IMP_atom.Chain_get_chain_type_key()
9637 
9638  def add_attribute(self, *args):
9639  r"""
9640  add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
9641  add_attribute(Chain self, FloatKey a0, IMP::Float a1)
9642  add_attribute(Chain self, IntKey a0, IMP::Int a1)
9643  add_attribute(Chain self, FloatsKey a0, IMP::Floats a1)
9644  add_attribute(Chain self, IntsKey a0, IMP::Ints a1)
9645  add_attribute(Chain self, StringKey a0, IMP::String a1)
9646  add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
9647  add_attribute(Chain self, ObjectKey a0, Object a1)
9648  add_attribute(Chain self, SparseFloatKey a0, IMP::Float a1)
9649  add_attribute(Chain self, SparseIntKey a0, IMP::Int a1)
9650  add_attribute(Chain self, SparseStringKey a0, IMP::String a1)
9651  add_attribute(Chain self, SparseParticleIndexKey a0, ParticleIndex a1)
9652  """
9653  return _IMP_atom.Chain_add_attribute(self, *args)
9654 
9655  def get_value(self, *args):
9656  r"""
9657  get_value(Chain self, FloatKey a0) -> IMP::Float
9658  get_value(Chain self, IntKey a0) -> IMP::Int
9659  get_value(Chain self, FloatsKey a0) -> IMP::Floats
9660  get_value(Chain self, IntsKey a0) -> IMP::Ints
9661  get_value(Chain self, StringKey a0) -> IMP::String
9662  get_value(Chain self, ParticleIndexKey a0) -> Particle
9663  get_value(Chain self, ObjectKey a0) -> Object
9664  get_value(Chain self, SparseFloatKey a0) -> IMP::Float
9665  get_value(Chain self, SparseIntKey a0) -> IMP::Int
9666  get_value(Chain self, SparseStringKey a0) -> IMP::String
9667  get_value(Chain self, SparseParticleIndexKey a0) -> ParticleIndex
9668  """
9669  return _IMP_atom.Chain_get_value(self, *args)
9670 
9671  def set_value(self, *args):
9672  r"""
9673  set_value(Chain self, FloatKey a0, IMP::Float a1)
9674  set_value(Chain self, IntKey a0, IMP::Int a1)
9675  set_value(Chain self, FloatsKey a0, IMP::Floats a1)
9676  set_value(Chain self, IntsKey a0, IMP::Ints a1)
9677  set_value(Chain self, StringKey a0, IMP::String a1)
9678  set_value(Chain self, ParticleIndexKey a0, Particle a1)
9679  set_value(Chain self, ObjectKey a0, Object a1)
9680  set_value(Chain self, SparseFloatKey a0, IMP::Float a1)
9681  set_value(Chain self, SparseIntKey a0, IMP::Int a1)
9682  set_value(Chain self, SparseStringKey a0, IMP::String a1)
9683  set_value(Chain self, SparseParticleIndexKey a0, ParticleIndex a1)
9684  """
9685  return _IMP_atom.Chain_set_value(self, *args)
9686 
9687  def remove_attribute(self, *args):
9688  r"""
9689  remove_attribute(Chain self, FloatKey a0)
9690  remove_attribute(Chain self, IntKey a0)
9691  remove_attribute(Chain self, FloatsKey a0)
9692  remove_attribute(Chain self, IntsKey a0)
9693  remove_attribute(Chain self, StringKey a0)
9694  remove_attribute(Chain self, ParticleIndexKey a0)
9695  remove_attribute(Chain self, ObjectKey a0)
9696  remove_attribute(Chain self, SparseFloatKey a0)
9697  remove_attribute(Chain self, SparseIntKey a0)
9698  remove_attribute(Chain self, SparseStringKey a0)
9699  remove_attribute(Chain self, SparseParticleIndexKey a0)
9700  """
9701  return _IMP_atom.Chain_remove_attribute(self, *args)
9702 
9703  def has_attribute(self, *args):
9704  r"""
9705  has_attribute(Chain self, FloatKey a0) -> bool
9706  has_attribute(Chain self, IntKey a0) -> bool
9707  has_attribute(Chain self, FloatsKey a0) -> bool
9708  has_attribute(Chain self, IntsKey a0) -> bool
9709  has_attribute(Chain self, StringKey a0) -> bool
9710  has_attribute(Chain self, ParticleIndexKey a0) -> bool
9711  has_attribute(Chain self, ObjectKey a0) -> bool
9712  has_attribute(Chain self, SparseFloatKey a0) -> bool
9713  has_attribute(Chain self, SparseIntKey a0) -> bool
9714  has_attribute(Chain self, SparseStringKey a0) -> bool
9715  has_attribute(Chain self, SparseParticleIndexKey a0) -> bool
9716  """
9717  return _IMP_atom.Chain_has_attribute(self, *args)
9718 
9719  def get_derivative(self, a0):
9720  r"""get_derivative(Chain self, FloatKey a0) -> double"""
9721  return _IMP_atom.Chain_get_derivative(self, a0)
9722 
9723  def get_name(self):
9724  r"""get_name(Chain self) -> std::string"""
9725  return _IMP_atom.Chain_get_name(self)
9726 
9727  def clear_caches(self):
9728  r"""clear_caches(Chain self)"""
9729  return _IMP_atom.Chain_clear_caches(self)
9730 
9731  def set_name(self, a0):
9732  r"""set_name(Chain self, std::string a0)"""
9733  return _IMP_atom.Chain_set_name(self, a0)
9734 
9735  def set_check_level(self, a0):
9736  r"""set_check_level(Chain self, IMP::CheckLevel a0)"""
9737  return _IMP_atom.Chain_set_check_level(self, a0)
9738 
9739  def add_to_derivative(self, a0, a1, a2):
9740  r"""add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9741  return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
9742 
9743  def set_is_optimized(self, a0, a1):
9744  r"""set_is_optimized(Chain self, FloatKey a0, bool a1)"""
9745  return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
9746 
9747  def get_is_optimized(self, a0):
9748  r"""get_is_optimized(Chain self, FloatKey a0) -> bool"""
9749  return _IMP_atom.Chain_get_is_optimized(self, a0)
9750 
9751  def get_check_level(self):
9752  r"""get_check_level(Chain self) -> IMP::CheckLevel"""
9753  return _IMP_atom.Chain_get_check_level(self)
9754 
9755  def __eq__(self, *args):
9756  r"""
9757  __eq__(Chain self, Chain o) -> bool
9758  __eq__(Chain self, Particle d) -> bool
9759  """
9760  return _IMP_atom.Chain___eq__(self, *args)
9761 
9762  def __ne__(self, *args):
9763  r"""
9764  __ne__(Chain self, Chain o) -> bool
9765  __ne__(Chain self, Particle d) -> bool
9766  """
9767  return _IMP_atom.Chain___ne__(self, *args)
9768 
9769  def __le__(self, *args):
9770  r"""
9771  __le__(Chain self, Chain o) -> bool
9772  __le__(Chain self, Particle d) -> bool
9773  """
9774  return _IMP_atom.Chain___le__(self, *args)
9775 
9776  def __lt__(self, *args):
9777  r"""
9778  __lt__(Chain self, Chain o) -> bool
9779  __lt__(Chain self, Particle d) -> bool
9780  """
9781  return _IMP_atom.Chain___lt__(self, *args)
9782 
9783  def __ge__(self, *args):
9784  r"""
9785  __ge__(Chain self, Chain o) -> bool
9786  __ge__(Chain self, Particle d) -> bool
9787  """
9788  return _IMP_atom.Chain___ge__(self, *args)
9789 
9790  def __gt__(self, *args):
9791  r"""
9792  __gt__(Chain self, Chain o) -> bool
9793  __gt__(Chain self, Particle d) -> bool
9794  """
9795  return _IMP_atom.Chain___gt__(self, *args)
9796 
9797  def __hash__(self):
9798  r"""__hash__(Chain self) -> std::size_t"""
9799  return _IMP_atom.Chain___hash__(self)
9800 
9801  def __str__(self):
9802  r"""__str__(Chain self) -> std::string"""
9803  return _IMP_atom.Chain___str__(self)
9804 
9805  def __repr__(self):
9806  r"""__repr__(Chain self) -> std::string"""
9807  return _IMP_atom.Chain___repr__(self)
9808 
9809  def _get_as_binary(self):
9810  r"""_get_as_binary(Chain self) -> PyObject *"""
9811  return _IMP_atom.Chain__get_as_binary(self)
9812 
9813  def _set_from_binary(self, p):
9814  r"""_set_from_binary(Chain self, PyObject * p)"""
9815  return _IMP_atom.Chain__set_from_binary(self, p)
9816 
9817  def __getstate__(self):
9818  p = self._get_as_binary()
9819  if len(self.__dict__) > 1:
9820  d = self.__dict__.copy()
9821  del d['this']
9822  p = (d, p)
9823  return p
9824 
9825  def __setstate__(self, p):
9826  if not hasattr(self, 'this'):
9827  self.__init__()
9828  if isinstance(p, tuple):
9829  d, p = p
9830  self.__dict__.update(d)
9831  return self._set_from_binary(p)
9832 
9833  __swig_destroy__ = _IMP_atom.delete_Chain
9834 
9835 # Register Chain in _IMP_atom:
9836 _IMP_atom.Chain_swigregister(Chain)
9837 UnknownChainType = cvar.UnknownChainType
9838 DPolypeptide = cvar.DPolypeptide
9839 LPolypeptide = cvar.LPolypeptide
9840 Polydeoxyribonucleotide = cvar.Polydeoxyribonucleotide
9841 Polyribonucleotide = cvar.Polyribonucleotide
9842 DPolysaccharide = cvar.DPolysaccharide
9843 LPolysaccharide = cvar.LPolysaccharide
9844 Protein = cvar.Protein
9845 DNA = cvar.DNA
9846 RNA = cvar.RNA
9847 
9848 
9849 def get_chain(h):
9850  r"""get_chain(Hierarchy h) -> Chain"""
9851  return _IMP_atom.get_chain(h)
9852 
9853 def get_chain_id(h):
9854  r"""get_chain_id(Hierarchy h) -> std::string"""
9855  return _IMP_atom.get_chain_id(h)
9856 class Selection(IMP._ParticleIndexesAdaptor):
9857  r"""Proxy of C++ IMP::atom::Selection class."""
9858 
9859  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9860  NONE = _IMP_atom.Selection_NONE
9861 
9862  C = _IMP_atom.Selection_C
9863 
9864  N = _IMP_atom.Selection_N
9865 
9866 
9867  def __init__(self, *args):
9868  r"""
9869  __init__(Selection self) -> Selection
9870  __init__(Selection self, Hierarchy h) -> Selection
9871  __init__(Selection self, Particle h) -> Selection
9872  __init__(Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
9873  __init__(Selection self, IMP::ParticlesTemp const & h) -> Selection
9874  """
9875  _IMP_atom.Selection_swiginit(self, _IMP_atom.new_Selection(*args))
9876 
9877  def create_clone(self):
9878  r"""create_clone(Selection self) -> Selection"""
9879  return _IMP_atom.Selection_create_clone(self)
9880 
9881  def get_hierarchies(self):
9882  r"""get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
9883  return _IMP_atom.Selection_get_hierarchies(self)
9884 
9885  def set_molecules(self, mols):
9886  r"""set_molecules(Selection self, IMP::Strings mols)"""
9887  return _IMP_atom.Selection_set_molecules(self, mols)
9888 
9889  def set_resolution(self, r):
9890  r"""set_resolution(Selection self, double r)"""
9891  return _IMP_atom.Selection_set_resolution(self, r)
9892 
9893  def set_representation_type(self, t):
9894  r"""set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
9895  return _IMP_atom.Selection_set_representation_type(self, t)
9896 
9897  def set_state_index(self, state):
9898  r"""set_state_index(Selection self, int state)"""
9899  return _IMP_atom.Selection_set_state_index(self, state)
9900 
9901  def set_state_indexes(self, states):
9902  r"""set_state_indexes(Selection self, IMP::Ints states)"""
9903  return _IMP_atom.Selection_set_state_indexes(self, states)
9904 
9905  def set_terminus(self, t):
9906  r"""set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
9907  return _IMP_atom.Selection_set_terminus(self, t)
9908 
9909  def set_element(self, e):
9910  r"""set_element(Selection self, IMP::atom::Element e)"""
9911  return _IMP_atom.Selection_set_element(self, e)
9912 
9913  def set_chain_ids(self, chains):
9914  r"""set_chain_ids(Selection self, IMP::Strings chains)"""
9915  return _IMP_atom.Selection_set_chain_ids(self, chains)
9916 
9917  def set_chains(self, chains):
9918  r"""set_chains(Selection self, IMP::Strings chains)"""
9919  return _IMP_atom.Selection_set_chains(self, chains)
9920 
9921  def set_residue_indexes(self, indexes):
9922  r"""set_residue_indexes(Selection self, IMP::Ints indexes)"""
9923  return _IMP_atom.Selection_set_residue_indexes(self, indexes)
9924 
9925  def set_atom_types(self, types):
9926  r"""set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
9927  return _IMP_atom.Selection_set_atom_types(self, types)
9928 
9929  def set_residue_types(self, types):
9930  r"""set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
9931  return _IMP_atom.Selection_set_residue_types(self, types)
9932 
9933  def set_domains(self, names):
9934  r"""set_domains(Selection self, IMP::Strings names)"""
9935  return _IMP_atom.Selection_set_domains(self, names)
9936 
9937  def set_molecule(self, mol):
9938  r"""set_molecule(Selection self, std::string mol)"""
9939  return _IMP_atom.Selection_set_molecule(self, mol)
9940 
9941  def set_chain_id(self, c):
9942  r"""set_chain_id(Selection self, std::string c)"""
9943  return _IMP_atom.Selection_set_chain_id(self, c)
9944 
9945  def set_chain(self, c):
9946  r"""set_chain(Selection self, std::string c)"""
9947  return _IMP_atom.Selection_set_chain(self, c)
9948 
9949  def set_residue_index(self, i):
9950  r"""set_residue_index(Selection self, int i)"""
9951  return _IMP_atom.Selection_set_residue_index(self, i)
9952 
9953  def set_atom_type(self, types):
9954  r"""set_atom_type(Selection self, AtomType types)"""
9955  return _IMP_atom.Selection_set_atom_type(self, types)
9956 
9957  def set_residue_type(self, type):
9958  r"""set_residue_type(Selection self, ResidueType type)"""
9959  return _IMP_atom.Selection_set_residue_type(self, type)
9960 
9961  def set_domain(self, name):
9962  r"""set_domain(Selection self, std::string name)"""
9963  return _IMP_atom.Selection_set_domain(self, name)
9964 
9965  def set_copy_index(self, copy):
9966  r"""set_copy_index(Selection self, unsigned int copy)"""
9967  return _IMP_atom.Selection_set_copy_index(self, copy)
9968 
9969  def set_copy_indexes(self, copies):
9970  r"""set_copy_indexes(Selection self, IMP::Ints copies)"""
9971  return _IMP_atom.Selection_set_copy_indexes(self, copies)
9972 
9973  def set_particle_type(self, t):
9974  r"""set_particle_type(Selection self, ParticleType t)"""
9975  return _IMP_atom.Selection_set_particle_type(self, t)
9976 
9977  def set_particle_types(self, t):
9978  r"""set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
9979  return _IMP_atom.Selection_set_particle_types(self, t)
9980 
9981  def set_hierarchy_types(self, types):
9982  r"""set_hierarchy_types(Selection self, IMP::Ints types)"""
9983  return _IMP_atom.Selection_set_hierarchy_types(self, types)
9984 
9985  def set_intersection(self, s):
9986  r"""set_intersection(Selection self, Selection s)"""
9987  return _IMP_atom.Selection_set_intersection(self, s)
9988 
9989  def set_union(self, s):
9990  r"""set_union(Selection self, Selection s)"""
9991  return _IMP_atom.Selection_set_union(self, s)
9992 
9993  def set_symmetric_difference(self, s):
9994  r"""set_symmetric_difference(Selection self, Selection s)"""
9995  return _IMP_atom.Selection_set_symmetric_difference(self, s)
9996 
9997  def set_difference(self, s):
9998  r"""set_difference(Selection self, Selection s)"""
9999  return _IMP_atom.Selection_set_difference(self, s)
10000 
10001  def get_selected_particles(self, with_representation=True):
10002  r"""get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp"""
10003  return _IMP_atom.Selection_get_selected_particles(self, with_representation)
10004 
10005  def get_selected_particle_indexes(self, with_representation=True):
10006  r"""get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes"""
10007  return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
10008 
10009  def show(self, *args):
10010  r"""show(Selection self, _ostream out=std::cout)"""
10011  return _IMP_atom.Selection_show(self, *args)
10012 
10013  def __str__(self):
10014  r"""__str__(Selection self) -> std::string"""
10015  return _IMP_atom.Selection___str__(self)
10016 
10017  def __repr__(self):
10018  r"""__repr__(Selection self) -> std::string"""
10019  return _IMP_atom.Selection___repr__(self)
10020 
10021  def __init__(self, hierarchy=None,
10022  hierarchies=None, **params):
10023  if hierarchy and hierarchies:
10024  raise RuntimeError("You can't pass both hierarchy and hierarchies to Selection")
10025  if hierarchy:
10026  this = _IMP_atom.new_Selection(hierarchy)
10027  try: self.this.append(this)
10028  except: self.this = this
10029  elif hierarchies:
10030  this = _IMP_atom.new_Selection(hierarchies)
10031  try: self.this.append(this)
10032  except: self.this = this
10033  else:
10034  raise ValueError("Either hierarchy or hierarchies must be provided.")
10035  for k in params.keys():
10036  eval("self.set_%s(params[k])"%k)
10037 
10038  def union(self, s):
10039  news = self.create_clone()
10040  news.union_update(s)
10041  return news
10042  def intersection(self, s):
10043  news = self.create_clone()
10044  news.intersection_update(s)
10045  return news
10046  def symmetric_difference(self, s):
10047  news = self.create_clone()
10048  news.symmetric_difference_update(s)
10049  return news
10050  def difference(self, s):
10051  news = self.create_clone()
10052  news.difference_update(s)
10053  return news
10054  def union_update(self, s):
10055  self.set_union(s)
10056  return self
10057  def intersection_update(self, s):
10058  self.set_intersection(s)
10059  return self
10060  def symmetric_difference_update(self, s):
10061  self.set_symmetric_difference(s)
10062  return self
10063  def difference_update(self, s):
10064  self.set_difference(s)
10065  return self
10066  __or__ = union
10067  __and__ = intersection
10068  __xor__ = symmetric_difference
10069  __sub__ = difference
10070  __ior__ = union_update
10071  __iand__ = intersection_update
10072  __ixor__ = symmetric_difference_update
10073  __isub__ = difference_update
10074 
10075  __swig_destroy__ = _IMP_atom.delete_Selection
10076 
10077 # Register Selection in _IMP_atom:
10078 _IMP_atom.Selection_swigregister(Selection)
10079 
10080 def create_distance_restraint(*args):
10081  r"""create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name="Distance%1%") -> Restraint"""
10082  return _IMP_atom.create_distance_restraint(*args)
10083 
10085  r"""
10086  create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name="Connectivity%1%") -> Restraint
10087  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name="Connectivity%1%") -> Restraint
10088  """
10089  return _IMP_atom.create_connectivity_restraint(*args)
10090 
10092  r"""
10093  create_internal_connectivity_restraint(Selection s, double k, std::string name="Connectivity%1%") -> Restraint
10094  create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name="Connectivity%1%") -> Restraint
10095  """
10096  return _IMP_atom.create_internal_connectivity_restraint(*args)
10097 
10098 def create_cover(*args):
10099  r"""create_cover(Selection s, std::string name=std::string()) -> XYZR"""
10100  return _IMP_atom.create_cover(*args)
10101 
10102 def get_mass(*args):
10103  r"""
10104  get_mass(ResidueType c) -> double
10105  get_mass(Selection s) -> double
10106  """
10107  return _IMP_atom.get_mass(*args)
10108 
10109 def get_volume(s):
10110  r"""get_volume(Selection s) -> double"""
10111  return _IMP_atom.get_volume(s)
10112 
10113 def get_surface_area(s):
10114  r"""get_surface_area(Selection s) -> double"""
10115  return _IMP_atom.get_surface_area(s)
10116 
10117 def get_leaves(*args):
10118  r"""
10119  get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
10120  get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
10121  get_leaves(Selection h) -> IMP::atom::Hierarchies
10122  """
10123  return _IMP_atom.get_leaves(*args)
10124 class SelectionGeometry(IMP.display.Geometry):
10125  r"""Proxy of C++ IMP::atom::SelectionGeometry class."""
10126 
10127  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10128 
10129  def __init__(self, *args):
10130  r"""__init__(SelectionGeometry self, Selection d, std::string name="Selection") -> SelectionGeometry"""
10131  _IMP_atom.SelectionGeometry_swiginit(self, _IMP_atom.new_SelectionGeometry(*args))
10132 
10133  def get_version_info(self):
10134  r"""get_version_info(SelectionGeometry self) -> VersionInfo"""
10135  return _IMP_atom.SelectionGeometry_get_version_info(self)
10136  __swig_destroy__ = _IMP_atom.delete_SelectionGeometry
10137 
10138  def __str__(self):
10139  r"""__str__(SelectionGeometry self) -> std::string"""
10140  return _IMP_atom.SelectionGeometry___str__(self)
10141 
10142  def __repr__(self):
10143  r"""__repr__(SelectionGeometry self) -> std::string"""
10144  return _IMP_atom.SelectionGeometry___repr__(self)
10145 
10146  @staticmethod
10147  def get_from(o):
10148  return _object_cast_to_SelectionGeometry(o)
10149 
10150 
10151 # Register SelectionGeometry in _IMP_atom:
10152 _IMP_atom.SelectionGeometry_swigregister(SelectionGeometry)
10153 
10154 def get_rmsd(*args):
10155  r"""
10156  get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10157  get_rmsd(Selection s0, Selection s1) -> double
10158  """
10159  return _IMP_atom.get_rmsd(*args)
10160 
10161 def get_rmsd_transforming_first(*args):
10162  r"""
10163  get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10164  get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
10165  """
10166  return _IMP_atom.get_rmsd_transforming_first(*args)
10167 
10168 def get_placement_score(source, target):
10169  r"""get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
10170  return _IMP_atom.get_placement_score(source, target)
10171 
10172 def get_component_placement_score(ref1, ref2, mdl1, mdl2):
10173  r"""get_component_placement_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> IMP::FloatPair"""
10174  return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
10175 
10176 def get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2):
10177  r"""get_pairwise_rmsd_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> double"""
10178  return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
10179 
10180 def get_radius_of_gyration(*args):
10181  r"""
10182  get_radius_of_gyration(Selection s) -> double
10183  get_radius_of_gyration(IMP::ParticlesTemp const & ps, bool weighted=True) -> double
10184  """
10185  return _IMP_atom.get_radius_of_gyration(*args)
10186 class ForceFieldParameters(IMP.Object):
10187  r"""Proxy of C++ IMP::atom::ForceFieldParameters class."""
10188 
10189  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10190 
10191  def __init__(self):
10192  r"""__init__(ForceFieldParameters self) -> ForceFieldParameters"""
10193  _IMP_atom.ForceFieldParameters_swiginit(self, _IMP_atom.new_ForceFieldParameters())
10194 
10195  def get_radius(self, atom):
10196  r"""get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10197  return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
10198 
10199  def get_epsilon(self, atom):
10200  r"""get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10201  return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
10202 
10203  def add_radii(self, *args):
10204  r"""add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key=IMP::FloatKey("radius"))"""
10205  return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
10206 
10207  def add_well_depths(self, mhd):
10208  r"""add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
10209  return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
10210 
10211  def add_bonds(self, mhd):
10212  r"""add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
10213  return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
10214  __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
10215 
10216  def __str__(self):
10217  r"""__str__(ForceFieldParameters self) -> std::string"""
10218  return _IMP_atom.ForceFieldParameters___str__(self)
10219 
10220  def __repr__(self):
10221  r"""__repr__(ForceFieldParameters self) -> std::string"""
10222  return _IMP_atom.ForceFieldParameters___repr__(self)
10223 
10224  @staticmethod
10225  def get_from(o):
10226  return _object_cast_to_ForceFieldParameters(o)
10227 
10228 
10229 # Register ForceFieldParameters in _IMP_atom:
10230 _IMP_atom.ForceFieldParameters_swigregister(ForceFieldParameters)
10231 class CHARMMAtomTopology(object):
10232  r"""Proxy of C++ IMP::atom::CHARMMAtomTopology class."""
10233 
10234  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10235 
10236  def __init__(self, *args):
10237  r"""
10238  __init__(CHARMMAtomTopology self) -> CHARMMAtomTopology
10239  __init__(CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
10240  __init__(CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
10241  """
10242  _IMP_atom.CHARMMAtomTopology_swiginit(self, _IMP_atom.new_CHARMMAtomTopology(*args))
10243 
10244  def get_name(self):
10245  r"""get_name(CHARMMAtomTopology self) -> std::string"""
10246  return _IMP_atom.CHARMMAtomTopology_get_name(self)
10247 
10248  def get_charmm_type(self):
10249  r"""get_charmm_type(CHARMMAtomTopology self) -> std::string"""
10250  return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
10251 
10252  def get_charge(self):
10253  r"""get_charge(CHARMMAtomTopology self) -> double"""
10254  return _IMP_atom.CHARMMAtomTopology_get_charge(self)
10255 
10256  def set_charmm_type(self, charmm_type):
10257  r"""set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
10258  return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
10259 
10260  def set_charge(self, charge):
10261  r"""set_charge(CHARMMAtomTopology self, double charge)"""
10262  return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
10263 
10264  def show(self, *args):
10265  r"""show(CHARMMAtomTopology self, _ostream out=std::cout)"""
10266  return _IMP_atom.CHARMMAtomTopology_show(self, *args)
10267 
10268  def __str__(self):
10269  r"""__str__(CHARMMAtomTopology self) -> std::string"""
10270  return _IMP_atom.CHARMMAtomTopology___str__(self)
10271 
10272  def __repr__(self):
10273  r"""__repr__(CHARMMAtomTopology self) -> std::string"""
10274  return _IMP_atom.CHARMMAtomTopology___repr__(self)
10275 
10276  def _get_as_binary(self):
10277  r"""_get_as_binary(CHARMMAtomTopology self) -> PyObject *"""
10278  return _IMP_atom.CHARMMAtomTopology__get_as_binary(self)
10279 
10280  def _set_from_binary(self, p):
10281  r"""_set_from_binary(CHARMMAtomTopology self, PyObject * p)"""
10282  return _IMP_atom.CHARMMAtomTopology__set_from_binary(self, p)
10283 
10284  def __getstate__(self):
10285  p = self._get_as_binary()
10286  if len(self.__dict__) > 1:
10287  d = self.__dict__.copy()
10288  del d['this']
10289  p = (d, p)
10290  return p
10291 
10292  def __setstate__(self, p):
10293  if not hasattr(self, 'this'):
10294  self.__init__()
10295  if isinstance(p, tuple):
10296  d, p = p
10297  self.__dict__.update(d)
10298  return self._set_from_binary(p)
10299 
10300  __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
10301 
10302 # Register CHARMMAtomTopology in _IMP_atom:
10303 _IMP_atom.CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
10304 class CHARMMBondEndpoint(object):
10305  r"""Proxy of C++ IMP::atom::CHARMMBondEndpoint class."""
10306 
10307  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10308 
10309  def __init__(self, atom_name, residue=None):
10310  r"""__init__(CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint"""
10311  _IMP_atom.CHARMMBondEndpoint_swiginit(self, _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue))
10312 
10313  def get_atom_name(self):
10314  r"""get_atom_name(CHARMMBondEndpoint self) -> std::string"""
10315  return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
10316 
10317  def get_atom(self, current_residue, previous_residue, next_residue, resmap):
10318  r"""get_atom(CHARMMBondEndpoint self, CHARMMResidueTopology current_residue, CHARMMResidueTopology previous_residue, CHARMMResidueTopology next_residue, std::map< IMP::atom::CHARMMResidueTopology const *,IMP::atom::Hierarchy > const & resmap) -> Atom"""
10319  return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
10320 
10321  def show(self, *args):
10322  r"""show(CHARMMBondEndpoint self, _ostream out=std::cout)"""
10323  return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
10324 
10325  def __str__(self):
10326  r"""__str__(CHARMMBondEndpoint self) -> std::string"""
10327  return _IMP_atom.CHARMMBondEndpoint___str__(self)
10328 
10329  def __repr__(self):
10330  r"""__repr__(CHARMMBondEndpoint self) -> std::string"""
10331  return _IMP_atom.CHARMMBondEndpoint___repr__(self)
10332  __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
10333 
10334 # Register CHARMMBondEndpoint in _IMP_atom:
10335 _IMP_atom.CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
10336 class CHARMMDihedral(object):
10337  r"""Proxy of C++ IMP::atom::CHARMMConnection< 4 > class."""
10338 
10339  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10340  __repr__ = _swig_repr
10341 
10342  def __init__(self, atoms):
10343  r"""__init__(CHARMMDihedral self, IMP::Strings const & atoms) -> CHARMMDihedral"""
10344  _IMP_atom.CHARMMDihedral_swiginit(self, _IMP_atom.new_CHARMMDihedral(atoms))
10345 
10346  def get_endpoint(self, i):
10347  r"""get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
10348  return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
10349 
10350  def get_contains_atom(self, name):
10351  r"""get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
10352  return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
10353 
10354  def show(self, *args):
10355  r"""show(CHARMMDihedral self, _ostream out=std::cout)"""
10356  return _IMP_atom.CHARMMDihedral_show(self, *args)
10357  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
10358 
10359 # Register CHARMMDihedral in _IMP_atom:
10360 _IMP_atom.CHARMMDihedral_swigregister(CHARMMDihedral)
10361 class CHARMMInternalCoordinate(CHARMMDihedral):
10362  r"""Proxy of C++ IMP::atom::CHARMMInternalCoordinate class."""
10363 
10364  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10365 
10366  def __init__(self, *args):
10367  r"""
10368  __init__(CHARMMInternalCoordinate self, IMP::Strings const & atoms, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10369  __init__(CHARMMInternalCoordinate self, IMP::Vector< IMP::atom::CHARMMBondEndpoint > const endpoints, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10370  """
10371  _IMP_atom.CHARMMInternalCoordinate_swiginit(self, _IMP_atom.new_CHARMMInternalCoordinate(*args))
10372 
10373  def get_first_distance(self):
10374  r"""get_first_distance(CHARMMInternalCoordinate self) -> float"""
10375  return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
10376 
10377  def get_second_distance(self):
10378  r"""get_second_distance(CHARMMInternalCoordinate self) -> float"""
10379  return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
10380 
10381  def get_first_angle(self):
10382  r"""get_first_angle(CHARMMInternalCoordinate self) -> float"""
10383  return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
10384 
10385  def get_second_angle(self):
10386  r"""get_second_angle(CHARMMInternalCoordinate self) -> float"""
10387  return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
10388 
10389  def get_dihedral(self):
10390  r"""get_dihedral(CHARMMInternalCoordinate self) -> float"""
10391  return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
10392 
10393  def get_improper(self):
10394  r"""get_improper(CHARMMInternalCoordinate self) -> bool"""
10395  return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
10396 
10397  def show(self, *args):
10398  r"""show(CHARMMInternalCoordinate self, _ostream out=std::cout)"""
10399  return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
10400 
10401  def __str__(self):
10402  r"""__str__(CHARMMInternalCoordinate self) -> std::string"""
10403  return _IMP_atom.CHARMMInternalCoordinate___str__(self)
10404 
10405  def __repr__(self):
10406  r"""__repr__(CHARMMInternalCoordinate self) -> std::string"""
10407  return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
10408  __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
10409 
10410 # Register CHARMMInternalCoordinate in _IMP_atom:
10411 _IMP_atom.CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
10412 class CHARMMResidueTopologyBase(IMP.Object):
10413  r"""Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class."""
10414 
10415  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10416 
10417  def __init__(self, *args, **kwargs):
10418  raise AttributeError("No constructor defined")
10419 
10420  def get_type(self):
10421  r"""get_type(CHARMMResidueTopologyBase self) -> std::string"""
10422  return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
10423 
10424  def get_number_of_atoms(self):
10425  r"""get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
10426  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
10427 
10428  def add_atom(self, atom):
10429  r"""add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
10430  return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
10431 
10432  def get_atom(self, *args):
10433  r"""
10434  get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
10435  get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
10436  get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
10437  """
10438  return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
10439 
10440  def get_number_of_bonds(self):
10441  r"""get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
10442  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
10443 
10444  def add_bond(self, bond):
10445  r"""add_bond(CHARMMResidueTopologyBase self, CHARMMBond bond)"""
10446  return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
10447 
10448  def get_number_of_angles(self):
10449  r"""get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
10450  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
10451 
10452  def add_angle(self, bond):
10453  r"""add_angle(CHARMMResidueTopologyBase self, CHARMMAngle bond)"""
10454  return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
10455 
10456  def get_number_of_dihedrals(self):
10457  r"""get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
10458  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
10459 
10460  def add_dihedral(self, bond):
10461  r"""add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10462  return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
10463 
10464  def get_number_of_impropers(self):
10465  r"""get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
10466  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
10467 
10468  def add_improper(self, bond):
10469  r"""add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10470  return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
10471 
10472  def get_number_of_internal_coordinates(self):
10473  r"""get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
10474  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
10475 
10476  def add_internal_coordinate(self, ic):
10477  r"""add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
10478  return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
10479 
10480  def get_internal_coordinate(self, index):
10481  r"""get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
10482  return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
10483 
10484  def get_bond(self, index):
10485  r"""get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMBond"""
10486  return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
10487 
10488  def get_angle(self, index):
10489  r"""get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMAngle"""
10490  return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
10491 
10492  def get_dihedral(self, index):
10493  r"""get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10494  return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
10495 
10496  def get_improper(self, index):
10497  r"""get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10498  return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
10499 
10500  def get_version_info(self):
10501  r"""get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
10502  return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
10503  __swig_destroy__ = _IMP_atom.delete_CHARMMResidueTopologyBase
10504 
10505  def __str__(self):
10506  r"""__str__(CHARMMResidueTopologyBase self) -> std::string"""
10507  return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
10508 
10509  def __repr__(self):
10510  r"""__repr__(CHARMMResidueTopologyBase self) -> std::string"""
10511  return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
10512 
10513  @staticmethod
10514  def get_from(o):
10515  return _object_cast_to_CHARMMResidueTopologyBase(o)
10516 
10517 
10518 # Register CHARMMResidueTopologyBase in _IMP_atom:
10519 _IMP_atom.CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
10520 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
10521  r"""Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class."""
10522 
10523  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10524 
10525  def __init__(self, *args):
10526  r"""
10527  __init__(CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
10528  __init__(CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
10529  """
10530  _IMP_atom.CHARMMIdealResidueTopology_swiginit(self, _IMP_atom.new_CHARMMIdealResidueTopology(*args))
10531 
10532  def remove_atom(self, name):
10533  r"""remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
10534  return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
10535 
10536  def set_default_first_patch(self, patch):
10537  r"""set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
10538  return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
10539 
10540  def set_default_last_patch(self, patch):
10541  r"""set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
10542  return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
10543 
10544  def get_default_first_patch(self):
10545  r"""get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
10546  return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
10547 
10548  def get_default_last_patch(self):
10549  r"""get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
10550  return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
10551  __swig_destroy__ = _IMP_atom.delete_CHARMMIdealResidueTopology
10552 
10553  def __str__(self):
10554  r"""__str__(CHARMMIdealResidueTopology self) -> std::string"""
10555  return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
10556 
10557  def __repr__(self):
10558  r"""__repr__(CHARMMIdealResidueTopology self) -> std::string"""
10559  return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
10560 
10561  @staticmethod
10562  def get_from(o):
10563  return _object_cast_to_CHARMMIdealResidueTopology(o)
10564 
10565 
10566 # Register CHARMMIdealResidueTopology in _IMP_atom:
10567 _IMP_atom.CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
10568 class CHARMMPatch(CHARMMResidueTopologyBase):
10569  r"""Proxy of C++ IMP::atom::CHARMMPatch class."""
10570 
10571  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10572 
10573  def __init__(self, type):
10574  r"""__init__(CHARMMPatch self, std::string type) -> CHARMMPatch"""
10575  _IMP_atom.CHARMMPatch_swiginit(self, _IMP_atom.new_CHARMMPatch(type))
10576 
10577  def add_removed_atom(self, name):
10578  r"""add_removed_atom(CHARMMPatch self, std::string name)"""
10579  return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
10580 
10581  def get_number_of_removed_atoms(self):
10582  r"""get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
10583  return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
10584 
10585  def get_removed_atom(self, i):
10586  r"""get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
10587  return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
10588 
10589  def apply(self, *args):
10590  r"""
10591  apply(CHARMMPatch self, CHARMMResidueTopology res)
10592  apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
10593  """
10594  return _IMP_atom.CHARMMPatch_apply(self, *args)
10595  __swig_destroy__ = _IMP_atom.delete_CHARMMPatch
10596 
10597  def __str__(self):
10598  r"""__str__(CHARMMPatch self) -> std::string"""
10599  return _IMP_atom.CHARMMPatch___str__(self)
10600 
10601  def __repr__(self):
10602  r"""__repr__(CHARMMPatch self) -> std::string"""
10603  return _IMP_atom.CHARMMPatch___repr__(self)
10604 
10605  @staticmethod
10606  def get_from(o):
10607  return _object_cast_to_CHARMMPatch(o)
10608 
10609 
10610 # Register CHARMMPatch in _IMP_atom:
10611 _IMP_atom.CHARMMPatch_swigregister(CHARMMPatch)
10612 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
10613  r"""Proxy of C++ IMP::atom::CHARMMResidueTopology class."""
10614 
10615  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10616 
10617  def __init__(self, *args):
10618  r"""
10619  __init__(CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
10620  __init__(CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
10621  """
10622  _IMP_atom.CHARMMResidueTopology_swiginit(self, _IMP_atom.new_CHARMMResidueTopology(*args))
10623 
10624  def get_patched(self):
10625  r"""get_patched(CHARMMResidueTopology self) -> bool"""
10626  return _IMP_atom.CHARMMResidueTopology_get_patched(self)
10627 
10628  def set_patched(self, patched):
10629  r"""set_patched(CHARMMResidueTopology self, bool patched)"""
10630  return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
10631  __swig_destroy__ = _IMP_atom.delete_CHARMMResidueTopology
10632 
10633  def __str__(self):
10634  r"""__str__(CHARMMResidueTopology self) -> std::string"""
10635  return _IMP_atom.CHARMMResidueTopology___str__(self)
10636 
10637  def __repr__(self):
10638  r"""__repr__(CHARMMResidueTopology self) -> std::string"""
10639  return _IMP_atom.CHARMMResidueTopology___repr__(self)
10640 
10641  @staticmethod
10642  def get_from(o):
10643  return _object_cast_to_CHARMMResidueTopology(o)
10644 
10645 
10646 # Register CHARMMResidueTopology in _IMP_atom:
10647 _IMP_atom.CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
10648 class CHARMMAtom(Atom):
10649  r"""Proxy of C++ IMP::atom::CHARMMAtom class."""
10650 
10651  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10652 
10653  def __init__(self, *args):
10654  r"""
10655  __init__(CHARMMAtom self) -> CHARMMAtom
10656  __init__(CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
10657  __init__(CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
10658  """
10659  _IMP_atom.CHARMMAtom_swiginit(self, _IMP_atom.new_CHARMMAtom(*args))
10660 
10661  def show(self, *args):
10662  r"""show(CHARMMAtom self, _ostream out=std::cout)"""
10663  return _IMP_atom.CHARMMAtom_show(self, *args)
10664 
10665  @staticmethod
10666  def setup_particle(*args):
10667  r"""
10668  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
10669  setup_particle(_ParticleAdaptor pa, IMP::String charmm_type) -> CHARMMAtom
10670  """
10671  return _IMP_atom.CHARMMAtom_setup_particle(*args)
10672 
10673  def get_charmm_type(self):
10674  r"""get_charmm_type(CHARMMAtom self) -> IMP::String"""
10675  return _IMP_atom.CHARMMAtom_get_charmm_type(self)
10676 
10677  def set_charmm_type(self, t):
10678  r"""set_charmm_type(CHARMMAtom self, IMP::String t)"""
10679  return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
10680 
10681  @staticmethod
10682  def get_is_setup(*args):
10683  r"""
10684  get_is_setup(_ParticleAdaptor p) -> bool
10685  get_is_setup(Model m, ParticleIndex pi) -> bool
10686  """
10687  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
10688 
10689  @staticmethod
10690  def get_charmm_type_key():
10691  r"""get_charmm_type_key() -> StringKey"""
10692  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
10693 
10694  def add_attribute(self, *args):
10695  r"""
10696  add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
10697  add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
10698  add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
10699  add_attribute(CHARMMAtom self, FloatsKey a0, IMP::Floats a1)
10700  add_attribute(CHARMMAtom self, IntsKey a0, IMP::Ints a1)
10701  add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
10702  add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
10703  add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
10704  add_attribute(CHARMMAtom self, SparseFloatKey a0, IMP::Float a1)
10705  add_attribute(CHARMMAtom self, SparseIntKey a0, IMP::Int a1)
10706  add_attribute(CHARMMAtom self, SparseStringKey a0, IMP::String a1)
10707  add_attribute(CHARMMAtom self, SparseParticleIndexKey a0, ParticleIndex a1)
10708  """
10709  return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
10710 
10711  def get_value(self, *args):
10712  r"""
10713  get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
10714  get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
10715  get_value(CHARMMAtom self, FloatsKey a0) -> IMP::Floats
10716  get_value(CHARMMAtom self, IntsKey a0) -> IMP::Ints
10717  get_value(CHARMMAtom self, StringKey a0) -> IMP::String
10718  get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
10719  get_value(CHARMMAtom self, ObjectKey a0) -> Object
10720  get_value(CHARMMAtom self, SparseFloatKey a0) -> IMP::Float
10721  get_value(CHARMMAtom self, SparseIntKey a0) -> IMP::Int
10722  get_value(CHARMMAtom self, SparseStringKey a0) -> IMP::String
10723  get_value(CHARMMAtom self, SparseParticleIndexKey a0) -> ParticleIndex
10724  """
10725  return _IMP_atom.CHARMMAtom_get_value(self, *args)
10726 
10727  def set_value(self, *args):
10728  r"""
10729  set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
10730  set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
10731  set_value(CHARMMAtom self, FloatsKey a0, IMP::Floats a1)
10732  set_value(CHARMMAtom self, IntsKey a0, IMP::Ints a1)
10733  set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
10734  set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
10735  set_value(CHARMMAtom self, ObjectKey a0, Object a1)
10736  set_value(CHARMMAtom self, SparseFloatKey a0, IMP::Float a1)
10737  set_value(CHARMMAtom self, SparseIntKey a0, IMP::Int a1)
10738  set_value(CHARMMAtom self, SparseStringKey a0, IMP::String a1)
10739  set_value(CHARMMAtom self, SparseParticleIndexKey a0, ParticleIndex a1)
10740  """
10741  return _IMP_atom.CHARMMAtom_set_value(self, *args)
10742 
10743  def remove_attribute(self, *args):
10744  r"""
10745  remove_attribute(CHARMMAtom self, FloatKey a0)
10746  remove_attribute(CHARMMAtom self, IntKey a0)
10747  remove_attribute(CHARMMAtom self, FloatsKey a0)
10748  remove_attribute(CHARMMAtom self, IntsKey a0)
10749  remove_attribute(CHARMMAtom self, StringKey a0)
10750  remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
10751  remove_attribute(CHARMMAtom self, ObjectKey a0)
10752  remove_attribute(CHARMMAtom self, SparseFloatKey a0)
10753  remove_attribute(CHARMMAtom self, SparseIntKey a0)
10754  remove_attribute(CHARMMAtom self, SparseStringKey a0)
10755  remove_attribute(CHARMMAtom self, SparseParticleIndexKey a0)
10756  """
10757  return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
10758 
10759  def has_attribute(self, *args):
10760  r"""
10761  has_attribute(CHARMMAtom self, FloatKey a0) -> bool
10762  has_attribute(CHARMMAtom self, IntKey a0) -> bool
10763  has_attribute(CHARMMAtom self, FloatsKey a0) -> bool
10764  has_attribute(CHARMMAtom self, IntsKey a0) -> bool
10765  has_attribute(CHARMMAtom self, StringKey a0) -> bool
10766  has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
10767  has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
10768  has_attribute(CHARMMAtom self, SparseFloatKey a0) -> bool
10769  has_attribute(CHARMMAtom self, SparseIntKey a0) -> bool
10770  has_attribute(CHARMMAtom self, SparseStringKey a0) -> bool
10771  has_attribute(CHARMMAtom self, SparseParticleIndexKey a0) -> bool
10772  """
10773  return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
10774 
10775  def get_derivative(self, a0):
10776  r"""get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
10777  return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
10778 
10779  def get_name(self):
10780  r"""get_name(CHARMMAtom self) -> std::string"""
10781  return _IMP_atom.CHARMMAtom_get_name(self)
10782 
10783  def clear_caches(self):
10784  r"""clear_caches(CHARMMAtom self)"""
10785  return _IMP_atom.CHARMMAtom_clear_caches(self)
10786 
10787  def set_name(self, a0):
10788  r"""set_name(CHARMMAtom self, std::string a0)"""
10789  return _IMP_atom.CHARMMAtom_set_name(self, a0)
10790 
10791  def set_check_level(self, a0):
10792  r"""set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
10793  return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
10794 
10795  def add_to_derivative(self, a0, a1, a2):
10796  r"""add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10797  return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
10798 
10799  def set_is_optimized(self, a0, a1):
10800  r"""set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
10801  return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
10802 
10803  def get_is_optimized(self, a0):
10804  r"""get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
10805  return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
10806 
10807  def get_check_level(self):
10808  r"""get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
10809  return _IMP_atom.CHARMMAtom_get_check_level(self)
10810 
10811  def __eq__(self, *args):
10812  r"""
10813  __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
10814  __eq__(CHARMMAtom self, Particle d) -> bool
10815  """
10816  return _IMP_atom.CHARMMAtom___eq__(self, *args)
10817 
10818  def __ne__(self, *args):
10819  r"""
10820  __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
10821  __ne__(CHARMMAtom self, Particle d) -> bool
10822  """
10823  return _IMP_atom.CHARMMAtom___ne__(self, *args)
10824 
10825  def __le__(self, *args):
10826  r"""
10827  __le__(CHARMMAtom self, CHARMMAtom o) -> bool
10828  __le__(CHARMMAtom self, Particle d) -> bool
10829  """
10830  return _IMP_atom.CHARMMAtom___le__(self, *args)
10831 
10832  def __lt__(self, *args):
10833  r"""
10834  __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
10835  __lt__(CHARMMAtom self, Particle d) -> bool
10836  """
10837  return _IMP_atom.CHARMMAtom___lt__(self, *args)
10838 
10839  def __ge__(self, *args):
10840  r"""
10841  __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
10842  __ge__(CHARMMAtom self, Particle d) -> bool
10843  """
10844  return _IMP_atom.CHARMMAtom___ge__(self, *args)
10845 
10846  def __gt__(self, *args):
10847  r"""
10848  __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
10849  __gt__(CHARMMAtom self, Particle d) -> bool
10850  """
10851  return _IMP_atom.CHARMMAtom___gt__(self, *args)
10852 
10853  def __hash__(self):
10854  r"""__hash__(CHARMMAtom self) -> std::size_t"""
10855  return _IMP_atom.CHARMMAtom___hash__(self)
10856 
10857  def __str__(self):
10858  r"""__str__(CHARMMAtom self) -> std::string"""
10859  return _IMP_atom.CHARMMAtom___str__(self)
10860 
10861  def __repr__(self):
10862  r"""__repr__(CHARMMAtom self) -> std::string"""
10863  return _IMP_atom.CHARMMAtom___repr__(self)
10864 
10865  def _get_as_binary(self):
10866  r"""_get_as_binary(CHARMMAtom self) -> PyObject *"""
10867  return _IMP_atom.CHARMMAtom__get_as_binary(self)
10868 
10869  def _set_from_binary(self, p):
10870  r"""_set_from_binary(CHARMMAtom self, PyObject * p)"""
10871  return _IMP_atom.CHARMMAtom__set_from_binary(self, p)
10872 
10873  def __getstate__(self):
10874  p = self._get_as_binary()
10875  if len(self.__dict__) > 1:
10876  d = self.__dict__.copy()
10877  del d['this']
10878  p = (d, p)
10879  return p
10880 
10881  def __setstate__(self, p):
10882  if not hasattr(self, 'this'):
10883  self.__init__()
10884  if isinstance(p, tuple):
10885  d, p = p
10886  self.__dict__.update(d)
10887  return self._set_from_binary(p)
10888 
10889  __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
10890 
10891 # Register CHARMMAtom in _IMP_atom:
10892 _IMP_atom.CHARMMAtom_swigregister(CHARMMAtom)
10893 
10894 def get_charmm_untyped_atoms(hierarchy):
10895  r"""get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
10896  return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
10897 
10898 def remove_charmm_untyped_atoms(hierarchy):
10899  r"""remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
10900  return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
10901 class CHARMMBondParameters(object):
10902  r"""Proxy of C++ IMP::atom::CHARMMBondParameters class."""
10903 
10904  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10905  force_constant = property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set, doc=r"""force_constant : double""")
10906  ideal = property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set, doc=r"""ideal : double""")
10907 
10908  def __init__(self):
10909  r"""__init__(CHARMMBondParameters self) -> CHARMMBondParameters"""
10910  _IMP_atom.CHARMMBondParameters_swiginit(self, _IMP_atom.new_CHARMMBondParameters())
10911 
10912  def show(self, *args):
10913  r"""show(CHARMMBondParameters self, _ostream out=std::cout)"""
10914  return _IMP_atom.CHARMMBondParameters_show(self, *args)
10915 
10916  def __str__(self):
10917  r"""__str__(CHARMMBondParameters self) -> std::string"""
10918  return _IMP_atom.CHARMMBondParameters___str__(self)
10919 
10920  def __repr__(self):
10921  r"""__repr__(CHARMMBondParameters self) -> std::string"""
10922  return _IMP_atom.CHARMMBondParameters___repr__(self)
10923 
10924  def _get_as_binary(self):
10925  r"""_get_as_binary(CHARMMBondParameters self) -> PyObject *"""
10926  return _IMP_atom.CHARMMBondParameters__get_as_binary(self)
10927 
10928  def _set_from_binary(self, p):
10929  r"""_set_from_binary(CHARMMBondParameters self, PyObject * p)"""
10930  return _IMP_atom.CHARMMBondParameters__set_from_binary(self, p)
10931 
10932  def __getstate__(self):
10933  p = self._get_as_binary()
10934  if len(self.__dict__) > 1:
10935  d = self.__dict__.copy()
10936  del d['this']
10937  p = (d, p)
10938  return p
10939 
10940  def __setstate__(self, p):
10941  if not hasattr(self, 'this'):
10942  self.__init__()
10943  if isinstance(p, tuple):
10944  d, p = p
10945  self.__dict__.update(d)
10946  return self._set_from_binary(p)
10947 
10948  __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
10949 
10950 # Register CHARMMBondParameters in _IMP_atom:
10951 _IMP_atom.CHARMMBondParameters_swigregister(CHARMMBondParameters)
10952 class CHARMMDihedralParameters(object):
10953  r"""Proxy of C++ IMP::atom::CHARMMDihedralParameters class."""
10954 
10955  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10956  force_constant = property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set, doc=r"""force_constant : double""")
10957  multiplicity = property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set, doc=r"""multiplicity : int""")
10958  ideal = property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set, doc=r"""ideal : double""")
10959 
10960  def __init__(self):
10961  r"""__init__(CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
10962  _IMP_atom.CHARMMDihedralParameters_swiginit(self, _IMP_atom.new_CHARMMDihedralParameters())
10963 
10964  def show(self, *args):
10965  r"""show(CHARMMDihedralParameters self, _ostream out=std::cout)"""
10966  return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
10967 
10968  def __str__(self):
10969  r"""__str__(CHARMMDihedralParameters self) -> std::string"""
10970  return _IMP_atom.CHARMMDihedralParameters___str__(self)
10971 
10972  def __repr__(self):
10973  r"""__repr__(CHARMMDihedralParameters self) -> std::string"""
10974  return _IMP_atom.CHARMMDihedralParameters___repr__(self)
10975 
10976  def _get_as_binary(self):
10977  r"""_get_as_binary(CHARMMDihedralParameters self) -> PyObject *"""
10978  return _IMP_atom.CHARMMDihedralParameters__get_as_binary(self)
10979 
10980  def _set_from_binary(self, p):
10981  r"""_set_from_binary(CHARMMDihedralParameters self, PyObject * p)"""
10982  return _IMP_atom.CHARMMDihedralParameters__set_from_binary(self, p)
10983 
10984  def __getstate__(self):
10985  p = self._get_as_binary()
10986  if len(self.__dict__) > 1:
10987  d = self.__dict__.copy()
10988  del d['this']
10989  p = (d, p)
10990  return p
10991 
10992  def __setstate__(self, p):
10993  if not hasattr(self, 'this'):
10994  self.__init__()
10995  if isinstance(p, tuple):
10996  d, p = p
10997  self.__dict__.update(d)
10998  return self._set_from_binary(p)
10999 
11000  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
11001 
11002 # Register CHARMMDihedralParameters in _IMP_atom:
11003 _IMP_atom.CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
11004 class CHARMMParameters(ForceFieldParameters):
11005  r"""Proxy of C++ IMP::atom::CHARMMParameters class."""
11006 
11007  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11008 
11009  def __init__(self, *args):
11010  r"""__init__(CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name=IMP::TextInput(), bool translate_names_to_pdb=False) -> CHARMMParameters"""
11011  _IMP_atom.CHARMMParameters_swiginit(self, _IMP_atom.new_CHARMMParameters(*args))
11012 
11013  def add_residue_topology(self, res):
11014  r"""add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
11015  return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
11016 
11017  def get_residue_topology(self, type):
11018  r"""get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
11019  return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
11020 
11021  def add_patch(self, patch):
11022  r"""add_patch(CHARMMParameters self, CHARMMPatch patch)"""
11023  return _IMP_atom.CHARMMParameters_add_patch(self, patch)
11024 
11025  def get_patch(self, name):
11026  r"""get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
11027  return _IMP_atom.CHARMMParameters_get_patch(self, name)
11028 
11029  def create_topology(self, hierarchy):
11030  r"""create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
11031  return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
11032 
11033  def get_bond_parameters(self, type1, type2):
11034  r"""get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
11035  return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
11036 
11037  def get_angle_parameters(self, type1, type2, type3):
11038  r"""get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
11039  return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
11040 
11041  def get_dihedral_parameters(self, type1, type2, type3, type4):
11042  r"""get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
11043  return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
11044 
11045  def get_improper_parameters(self, type1, type2, type3, type4):
11046  r"""get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
11047  return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
11048 
11049  def create_angles(self, bonds):
11050  r"""create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11051  return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
11052 
11053  def create_dihedrals(self, bonds):
11054  r"""create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11055  return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
11056 
11057  def get_version_info(self):
11058  r"""get_version_info(CHARMMParameters self) -> VersionInfo"""
11059  return _IMP_atom.CHARMMParameters_get_version_info(self)
11060  __swig_destroy__ = _IMP_atom.delete_CHARMMParameters
11061 
11062  def __str__(self):
11063  r"""__str__(CHARMMParameters self) -> std::string"""
11064  return _IMP_atom.CHARMMParameters___str__(self)
11065 
11066  def __repr__(self):
11067  r"""__repr__(CHARMMParameters self) -> std::string"""
11068  return _IMP_atom.CHARMMParameters___repr__(self)
11069 
11070  @staticmethod
11071  def get_from(o):
11072  return _object_cast_to_CHARMMParameters(o)
11073 
11074 
11075 # Register CHARMMParameters in _IMP_atom:
11076 _IMP_atom.CHARMMParameters_swigregister(CHARMMParameters)
11077 
11079  r"""get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
11080  return _IMP_atom.get_heavy_atom_CHARMM_parameters()
11081 
11083  r"""get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
11084  return _IMP_atom.get_all_atom_CHARMM_parameters()
11085 class CHARMMSegmentTopology(IMP.Object):
11086  r"""Proxy of C++ IMP::atom::CHARMMSegmentTopology class."""
11087 
11088  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11089  def __get_residues(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_residues, getfunc=self.get_residue, erasefunc=self.erase_residue, appendfunc=self.add_residue, extendfunc=self.add_residues, clearfunc=self.clear_residues, indexfunc=self._python_index_residue)
11090  def __set_residues(self, obj): IMP._list_util.set_varlist(self.residues, obj)
11091  def __del_residues(self): IMP._list_util.del_varlist(self.residues)
11092  residues = property(__get_residues, __set_residues, __del_residues, doc="List of ##ucnames")
11093 
11094  def remove_residue(self, d):
11095  r"""remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
11096  return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
11097 
11098  def _python_index_residue(self, d, start, stop):
11099  r"""_python_index_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d, unsigned int start, unsigned int stop) -> unsigned int"""
11100  return _IMP_atom.CHARMMSegmentTopology__python_index_residue(self, d, start, stop)
11101 
11102  def remove_residues(self, d):
11103  r"""remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
11104  return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
11105 
11106  def set_residues(self, ps):
11107  r"""set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
11108  return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
11109 
11110  def set_residues_order(self, objs):
11111  r"""set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11112  return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
11113 
11114  def add_residue(self, obj):
11115  r"""add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
11116  return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
11117 
11118  def add_residues(self, objs):
11119  r"""add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11120  return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
11121 
11122  def clear_residues(self):
11123  r"""clear_residues(CHARMMSegmentTopology self)"""
11124  return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
11125 
11126  def get_number_of_residues(self):
11127  r"""get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
11128  return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
11129 
11130  def get_has_residues(self):
11131  r"""get_has_residues(CHARMMSegmentTopology self) -> bool"""
11132  return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
11133 
11134  def get_residue(self, i):
11135  r"""get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
11136  return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
11137 
11138  def get_residues(self):
11139  r"""get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
11140  return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
11141 
11142  def erase_residue(self, i):
11143  r"""erase_residue(CHARMMSegmentTopology self, unsigned int i)"""
11144  return _IMP_atom.CHARMMSegmentTopology_erase_residue(self, i)
11145 
11146  def reserve_residues(self, sz):
11147  r"""reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
11148  return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
11149 
11150  def get_version_info(self):
11151  r"""get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
11152  return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
11153  __swig_destroy__ = _IMP_atom.delete_CHARMMSegmentTopology
11154 
11155  def __init__(self, *args):
11156  r"""__init__(CHARMMSegmentTopology self, std::string name="CHARMM segment topology %1%") -> CHARMMSegmentTopology"""
11157  _IMP_atom.CHARMMSegmentTopology_swiginit(self, _IMP_atom.new_CHARMMSegmentTopology(*args))
11158 
11159  def apply_default_patches(self, ff):
11160  r"""apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
11161  return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
11162 
11163  def __str__(self):
11164  r"""__str__(CHARMMSegmentTopology self) -> std::string"""
11165  return _IMP_atom.CHARMMSegmentTopology___str__(self)
11166 
11167  def __repr__(self):
11168  r"""__repr__(CHARMMSegmentTopology self) -> std::string"""
11169  return _IMP_atom.CHARMMSegmentTopology___repr__(self)
11170 
11171  @staticmethod
11172  def get_from(o):
11173  return _object_cast_to_CHARMMSegmentTopology(o)
11174 
11175 
11176 # Register CHARMMSegmentTopology in _IMP_atom:
11177 _IMP_atom.CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
11178 class CHARMMTopology(IMP.Object):
11179  r"""Proxy of C++ IMP::atom::CHARMMTopology class."""
11180 
11181  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11182 
11183  def __init__(self, *args):
11184  r"""__init__(CHARMMTopology self, CHARMMParameters force_field, std::string name="CHARMM topology %1%") -> CHARMMTopology"""
11185  _IMP_atom.CHARMMTopology_swiginit(self, _IMP_atom.new_CHARMMTopology(*args))
11186 
11187  def get_parameters(self):
11188  r"""get_parameters(CHARMMTopology self) -> CHARMMParameters"""
11189  return _IMP_atom.CHARMMTopology_get_parameters(self)
11190 
11191  def add_sequence(self, sequence):
11192  r"""add_sequence(CHARMMTopology self, std::string sequence)"""
11193  return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
11194 
11195  def apply_default_patches(self):
11196  r"""apply_default_patches(CHARMMTopology self)"""
11197  return _IMP_atom.CHARMMTopology_apply_default_patches(self)
11198 
11199  def create_hierarchy(self, model):
11200  r"""create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
11201  return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
11202 
11203  def add_atom_types(self, hierarchy):
11204  r"""add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
11205  return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
11206 
11207  def add_coordinates(self, hierarchy):
11208  r"""add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
11209  return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
11210 
11211  def add_missing_atoms(self, hierarchy):
11212  r"""add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
11213  return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
11214 
11215  def setup_hierarchy(self, hierarchy):
11216  r"""setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
11217  return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
11218 
11219  def add_charges(self, hierarchy):
11220  r"""add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
11221  return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
11222 
11223  def add_bonds(self, hierarchy):
11224  r"""add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11225  return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
11226 
11227  def add_dihedrals(self, hierarchy):
11228  r"""add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11229  return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
11230 
11231  def add_impropers(self, hierarchy):
11232  r"""add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11233  return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
11234  def __get_segments(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_segments, getfunc=self.get_segment, erasefunc=self.erase_segment, appendfunc=self.add_segment, extendfunc=self.add_segments, clearfunc=self.clear_segments, indexfunc=self._python_index_segment)
11235  def __set_segments(self, obj): IMP._list_util.set_varlist(self.segments, obj)
11236  def __del_segments(self): IMP._list_util.del_varlist(self.segments)
11237  segments = property(__get_segments, __set_segments, __del_segments, doc="List of ##ucnames")
11238 
11239  def remove_segment(self, d):
11240  r"""remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
11241  return _IMP_atom.CHARMMTopology_remove_segment(self, d)
11242 
11243  def _python_index_segment(self, d, start, stop):
11244  r"""_python_index_segment(CHARMMTopology self, CHARMMSegmentTopology d, unsigned int start, unsigned int stop) -> unsigned int"""
11245  return _IMP_atom.CHARMMTopology__python_index_segment(self, d, start, stop)
11246 
11247  def remove_segments(self, d):
11248  r"""remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
11249  return _IMP_atom.CHARMMTopology_remove_segments(self, d)
11250 
11251  def set_segments(self, ps):
11252  r"""set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
11253  return _IMP_atom.CHARMMTopology_set_segments(self, ps)
11254 
11255  def set_segments_order(self, objs):
11256  r"""set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11257  return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
11258 
11259  def add_segment(self, obj):
11260  r"""add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
11261  return _IMP_atom.CHARMMTopology_add_segment(self, obj)
11262 
11263  def add_segments(self, objs):
11264  r"""add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11265  return _IMP_atom.CHARMMTopology_add_segments(self, objs)
11266 
11267  def clear_segments(self):
11268  r"""clear_segments(CHARMMTopology self)"""
11269  return _IMP_atom.CHARMMTopology_clear_segments(self)
11270 
11271  def get_number_of_segments(self):
11272  r"""get_number_of_segments(CHARMMTopology self) -> unsigned int"""
11273  return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
11274 
11275  def get_has_segments(self):
11276  r"""get_has_segments(CHARMMTopology self) -> bool"""
11277  return _IMP_atom.CHARMMTopology_get_has_segments(self)
11278 
11279  def get_segment(self, i):
11280  r"""get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
11281  return _IMP_atom.CHARMMTopology_get_segment(self, i)
11282 
11283  def get_segments(self):
11284  r"""get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
11285  return _IMP_atom.CHARMMTopology_get_segments(self)
11286 
11287  def erase_segment(self, i):
11288  r"""erase_segment(CHARMMTopology self, unsigned int i)"""
11289  return _IMP_atom.CHARMMTopology_erase_segment(self, i)
11290 
11291  def reserve_segments(self, sz):
11292  r"""reserve_segments(CHARMMTopology self, unsigned int sz)"""
11293  return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
11294 
11295  def get_version_info(self):
11296  r"""get_version_info(CHARMMTopology self) -> VersionInfo"""
11297  return _IMP_atom.CHARMMTopology_get_version_info(self)
11298  __swig_destroy__ = _IMP_atom.delete_CHARMMTopology
11299 
11300  def __str__(self):
11301  r"""__str__(CHARMMTopology self) -> std::string"""
11302  return _IMP_atom.CHARMMTopology___str__(self)
11303 
11304  def __repr__(self):
11305  r"""__repr__(CHARMMTopology self) -> std::string"""
11306  return _IMP_atom.CHARMMTopology___repr__(self)
11307 
11308  @staticmethod
11309  def get_from(o):
11310  return _object_cast_to_CHARMMTopology(o)
11311 
11312 
11313 # Register CHARMMTopology in _IMP_atom:
11314 _IMP_atom.CHARMMTopology_swigregister(CHARMMTopology)
11315 class CHARMMStereochemistryRestraint(IMP.Restraint):
11316  r"""Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class."""
11317 
11318  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11319 
11320  def __init__(self, *args):
11321  r"""
11322  __init__(CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
11323  __init__(CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
11324  """
11325  _IMP_atom.CHARMMStereochemistryRestraint_swiginit(self, _IMP_atom.new_CHARMMStereochemistryRestraint(*args))
11326 
11327  def get_pair_filter(self):
11328  r"""get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11329  return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
11330 
11331  def get_full_pair_filter(self):
11332  r"""get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11333  return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
11334 
11335  def do_get_inputs(self):
11336  r"""do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
11337  return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
11338 
11339  def get_version_info(self):
11340  r"""get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
11341  return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
11342  __swig_destroy__ = _IMP_atom.delete_CHARMMStereochemistryRestraint
11343 
11344  def __str__(self):
11345  r"""__str__(CHARMMStereochemistryRestraint self) -> std::string"""
11346  return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
11347 
11348  def __repr__(self):
11349  r"""__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
11350  return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
11351 
11352  @staticmethod
11353  def get_from(o):
11354  return _object_cast_to_CHARMMStereochemistryRestraint(o)
11355 
11356 
11357 # Register CHARMMStereochemistryRestraint in _IMP_atom:
11358 _IMP_atom.CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
11359 
11360 def add_bonds(*args):
11361  r"""add_bonds(Hierarchy d, ForceFieldParameters ffp=IMP::atom::get_all_atom_CHARMM_parameters())"""
11362  return _IMP_atom.add_bonds(*args)
11363 
11364 def add_radii(*args):
11365  r"""add_radii(Hierarchy d, ForceFieldParameters ffp=IMP::atom::get_all_atom_CHARMM_parameters(), FloatKey radius_key=IMP::FloatKey("radius"))"""
11366  return _IMP_atom.add_radii(*args)
11367 ALBER = _IMP_atom.ALBER
11368 
11369 HARPAZ = _IMP_atom.HARPAZ
11370 
11371 ANDERSSON = _IMP_atom.ANDERSSON
11372 
11373 TSAI = _IMP_atom.TSAI
11374 
11375 QUILLIN = _IMP_atom.QUILLIN
11376 
11377 SQUIRE = _IMP_atom.SQUIRE
11378 
11379 
11380 def get_protein_density_from_reference(densityReference):
11381  r"""get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
11382  return _IMP_atom.get_protein_density_from_reference(densityReference)
11383 
11384 def get_volume_from_mass(*args):
11385  r"""get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref=ALBER) -> double"""
11386  return _IMP_atom.get_volume_from_mass(*args)
11387 
11388 def get_mass_from_volume(*args):
11389  r"""get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref=ALBER) -> double"""
11390  return _IMP_atom.get_mass_from_volume(*args)
11391 
11393  r"""get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
11394  return _IMP_atom.get_mass_from_number_of_residues(num_aa)
11395 
11397  r"""get_volume_from_residue_type(ResidueType rt) -> double"""
11398  return _IMP_atom.get_volume_from_residue_type(rt)
11399 
11400 def get_molarity(n, volume):
11401  r"""get_molarity(double n, double volume) -> double"""
11402  return _IMP_atom.get_molarity(n, volume)
11403 
11404 def get_kd(na, nb, nab, volume):
11405  r"""get_kd(double na, double nb, double nab, double volume) -> double"""
11406  return _IMP_atom.get_kd(na, nb, nab, volume)
11407 
11408 def get_einstein_diffusion_coefficient(r, temp=-1):
11409  r"""get_einstein_diffusion_coefficient(double r, double temp=-1) -> double"""
11410  return _IMP_atom.get_einstein_diffusion_coefficient(r, temp)
11411 
11413  r"""get_einstein_rotational_diffusion_coefficient(double r, double temp=-1) -> double"""
11414  return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r, temp)
11415 
11416 def get_diffusion_length(*args):
11417  r"""
11418  get_diffusion_length(double D, double t) -> double
11419  get_diffusion_length(double D, double force, double t, double temp=-1) -> double
11420  """
11421  return _IMP_atom.get_diffusion_length(*args)
11422 
11423 def get_diffusion_angle(D, dtfs):
11424  r"""get_diffusion_angle(double D, double dtfs) -> double"""
11425  return _IMP_atom.get_diffusion_angle(D, dtfs)
11426 
11427 def get_diffusion_coefficient(*args):
11428  r"""
11429  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double
11430  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, IMP::Floats const & dts) -> double
11431  """
11432  return _IMP_atom.get_diffusion_coefficient(*args)
11433 
11434 def get_rotational_diffusion_coefficient(orientations, dt):
11435  r"""get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & orientations, double dt) -> double"""
11436  return _IMP_atom.get_rotational_diffusion_coefficient(orientations, dt)
11437 
11438 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
11439  r"""get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
11440  return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
11441 
11442 def get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom):
11443  r"""get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
11444  return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
11445 
11446 def get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square):
11447  r"""get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
11448  return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
11449 class EzRestraint(IMP.Restraint):
11450  r"""Proxy of C++ IMP::atom::EzRestraint class."""
11451 
11452  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11453 
11454  def __init__(self, m, ps):
11455  r"""__init__(EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint"""
11456  _IMP_atom.EzRestraint_swiginit(self, _IMP_atom.new_EzRestraint(m, ps))
11457 
11458  def get_version_info(self):
11459  r"""get_version_info(EzRestraint self) -> VersionInfo"""
11460  return _IMP_atom.EzRestraint_get_version_info(self)
11461  __swig_destroy__ = _IMP_atom.delete_EzRestraint
11462 
11463  def __str__(self):
11464  r"""__str__(EzRestraint self) -> std::string"""
11465  return _IMP_atom.EzRestraint___str__(self)
11466 
11467  def __repr__(self):
11468  r"""__repr__(EzRestraint self) -> std::string"""
11469  return _IMP_atom.EzRestraint___repr__(self)
11470 
11471  @staticmethod
11472  def get_from(o):
11473  return _object_cast_to_EzRestraint(o)
11474 
11475 
11476 # Register EzRestraint in _IMP_atom:
11477 _IMP_atom.EzRestraint_swigregister(EzRestraint)
11478 
11479 def create_protein(*args):
11480  r"""
11481  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1, bool ismol=True) -> Hierarchy
11482  create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
11483  """
11484  return _IMP_atom.create_protein(*args)
11485 
11487  r"""
11488  create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
11489  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
11490  """
11491  return _IMP_atom.create_simplified_along_backbone(*args)
11492 
11493 def create_simplified_from_volume(h, resolution):
11494  r"""create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
11495  return _IMP_atom.create_simplified_from_volume(h, resolution)
11496 
11497 def create_simplified_assembly_from_volume(h, resolution):
11498  r"""create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
11499  return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
11500 
11501 def get_residue_indexes(h):
11502  r"""get_residue_indexes(Hierarchy h) -> IMP::Ints"""
11503  return _IMP_atom.get_residue_indexes(h)
11504 
11505 def get_residue_type(*args):
11506  r"""
11507  get_residue_type(char c) -> ResidueType
11508  get_residue_type(Hierarchy h) -> ResidueType
11509  """
11510  return _IMP_atom.get_residue_type(*args)
11511 
11512 def get_atom_type(h):
11513  r"""get_atom_type(Hierarchy h) -> AtomType"""
11514  return _IMP_atom.get_atom_type(h)
11515 
11516 def get_domain_name(h):
11517  r"""get_domain_name(Hierarchy h) -> std::string"""
11518  return _IMP_atom.get_domain_name(h)
11519 
11521  r"""
11522  create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
11523  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
11524  """
11525  return _IMP_atom.create_excluded_volume_restraint(*args)
11526 
11527 def setup_as_approximation(*args):
11528  r"""
11529  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
11530  setup_as_approximation(Hierarchy h, double resolution=-1)
11531  """
11532  return _IMP_atom.setup_as_approximation(*args)
11533 class _HierarchyTreeVertexIndex(object):
11534  r"""Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class."""
11535 
11536  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11537  __repr__ = _swig_repr
11538 
11539  def __init__(self):
11540  r"""__init__(_HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
11541  _IMP_atom._HierarchyTreeVertexIndex_swiginit(self, _IMP_atom.new__HierarchyTreeVertexIndex())
11542  __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
11543 
11544 # Register _HierarchyTreeVertexIndex in _IMP_atom:
11545 _IMP_atom._HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
11546 
11547 def show_as_graphviz(name, out):
11548  r"""show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
11549  return _IMP_atom.show_as_graphviz(name, out)
11550 
11551 def get_vertex_index(g):
11552  r"""get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
11553  return _IMP_atom.get_vertex_index(g)
11554 
11555 def get_hierarchy_tree(h):
11556  r"""get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
11557  return _IMP_atom.get_hierarchy_tree(h)
11558 class HierarchyGeometry(IMP.display.SingletonGeometry):
11559  r"""Proxy of C++ IMP::atom::HierarchyGeometry class."""
11560 
11561  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11562 
11563  def __init__(self, d, resolution=0):
11564  r"""__init__(HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry"""
11565  _IMP_atom.HierarchyGeometry_swiginit(self, _IMP_atom.new_HierarchyGeometry(d, resolution))
11566 
11567  def get_version_info(self):
11568  r"""get_version_info(HierarchyGeometry self) -> VersionInfo"""
11569  return _IMP_atom.HierarchyGeometry_get_version_info(self)
11570  __swig_destroy__ = _IMP_atom.delete_HierarchyGeometry
11571 
11572  def __str__(self):
11573  r"""__str__(HierarchyGeometry self) -> std::string"""
11574  return _IMP_atom.HierarchyGeometry___str__(self)
11575 
11576  def __repr__(self):
11577  r"""__repr__(HierarchyGeometry self) -> std::string"""
11578  return _IMP_atom.HierarchyGeometry___repr__(self)
11579 
11580  @staticmethod
11581  def get_from(o):
11582  return _object_cast_to_HierarchyGeometry(o)
11583 
11584 
11585 # Register HierarchyGeometry in _IMP_atom:
11586 _IMP_atom.HierarchyGeometry_swigregister(HierarchyGeometry)
11587 class HierarchiesGeometry(IMP.display.SingletonsGeometry):
11588  r"""Proxy of C++ IMP::atom::HierarchiesGeometry class."""
11589 
11590  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11591 
11592  def __init__(self, sc, resolution=-1):
11593  r"""__init__(HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry"""
11594  _IMP_atom.HierarchiesGeometry_swiginit(self, _IMP_atom.new_HierarchiesGeometry(sc, resolution))
11595 
11596  def get_version_info(self):
11597  r"""get_version_info(HierarchiesGeometry self) -> VersionInfo"""
11598  return _IMP_atom.HierarchiesGeometry_get_version_info(self)
11599  __swig_destroy__ = _IMP_atom.delete_HierarchiesGeometry
11600 
11601  def __str__(self):
11602  r"""__str__(HierarchiesGeometry self) -> std::string"""
11603  return _IMP_atom.HierarchiesGeometry___str__(self)
11604 
11605  def __repr__(self):
11606  r"""__repr__(HierarchiesGeometry self) -> std::string"""
11607  return _IMP_atom.HierarchiesGeometry___repr__(self)
11608 
11609  @staticmethod
11610  def get_from(o):
11611  return _object_cast_to_HierarchiesGeometry(o)
11612 
11613 
11614 # Register HierarchiesGeometry in _IMP_atom:
11615 _IMP_atom.HierarchiesGeometry_swigregister(HierarchiesGeometry)
11616 
11617 def transform(*args):
11618  r"""
11619  transform(Hierarchy h, Transformation3D tr)
11620  transform(Hierarchy h, Transformation3D tr)
11621  """
11622  return _IMP_atom.transform(*args)
11623 class DopePairScore(_ADopeBase):
11624  r"""Proxy of C++ IMP::atom::DopePairScore class."""
11625 
11626  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11627 
11628  def __init__(self, *args):
11629  r"""
11630  __init__(DopePairScore self, double threshold=std::numeric_limits< double >::max()) -> DopePairScore
11631  __init__(DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
11632  """
11633  _IMP_atom.DopePairScore_swiginit(self, _IMP_atom.new_DopePairScore(*args))
11634 
11635  def __str__(self):
11636  r"""__str__(DopePairScore self) -> std::string"""
11637  return _IMP_atom.DopePairScore___str__(self)
11638 
11639  def __repr__(self):
11640  r"""__repr__(DopePairScore self) -> std::string"""
11641  return _IMP_atom.DopePairScore___repr__(self)
11642 
11643  @staticmethod
11644  def get_from(o):
11645  return _object_cast_to_DopePairScore(o)
11646 
11647  __swig_destroy__ = _IMP_atom.delete_DopePairScore
11648 
11649 # Register DopePairScore in _IMP_atom:
11650 _IMP_atom.DopePairScore_swigregister(DopePairScore)
11651 
11652 def add_dope_score_data(h):
11653  r"""add_dope_score_data(Hierarchy h)"""
11654  return _IMP_atom.add_dope_score_data(h)
11655 class LoopStatisticalPairScore(_ALoopStatisticalBase):
11656  r"""Proxy of C++ IMP::atom::LoopStatisticalPairScore class."""
11657 
11658  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11659 
11660  def __init__(self, *args):
11661  r"""
11662  __init__(LoopStatisticalPairScore self, double threshold=std::numeric_limits< double >::max()) -> LoopStatisticalPairScore
11663  __init__(LoopStatisticalPairScore self, double threshold, TextInput data_file) -> LoopStatisticalPairScore
11664  """
11665  _IMP_atom.LoopStatisticalPairScore_swiginit(self, _IMP_atom.new_LoopStatisticalPairScore(*args))
11666 
11667  def __str__(self):
11668  r"""__str__(LoopStatisticalPairScore self) -> std::string"""
11669  return _IMP_atom.LoopStatisticalPairScore___str__(self)
11670 
11671  def __repr__(self):
11672  r"""__repr__(LoopStatisticalPairScore self) -> std::string"""
11673  return _IMP_atom.LoopStatisticalPairScore___repr__(self)
11674 
11675  @staticmethod
11676  def get_from(o):
11677  return _object_cast_to_LoopStatisticalPairScore(o)
11678 
11679  __swig_destroy__ = _IMP_atom.delete_LoopStatisticalPairScore
11680 
11681 # Register LoopStatisticalPairScore in _IMP_atom:
11682 _IMP_atom.LoopStatisticalPairScore_swigregister(LoopStatisticalPairScore)
11683 
11685  r"""add_loop_statistical_score_data(Hierarchy h)"""
11686  return _IMP_atom.add_loop_statistical_score_data(h)
11687 class OrientedSoapPairScore(_OrientedSoapBase):
11688  r"""Proxy of C++ IMP::atom::OrientedSoapPairScore class."""
11689 
11690  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11691 
11692  def __init__(self, library):
11693  r"""__init__(OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
11694  _IMP_atom.OrientedSoapPairScore_swiginit(self, _IMP_atom.new_OrientedSoapPairScore(library))
11695 
11696  def get_pair_filter(self):
11697  r"""get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
11698  return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
11699 
11700  def __str__(self):
11701  r"""__str__(OrientedSoapPairScore self) -> std::string"""
11702  return _IMP_atom.OrientedSoapPairScore___str__(self)
11703 
11704  def __repr__(self):
11705  r"""__repr__(OrientedSoapPairScore self) -> std::string"""
11706  return _IMP_atom.OrientedSoapPairScore___repr__(self)
11707 
11708  @staticmethod
11709  def get_from(o):
11710  return _object_cast_to_OrientedSoapPairScore(o)
11711 
11712  __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
11713 
11714 # Register OrientedSoapPairScore in _IMP_atom:
11715 _IMP_atom.OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
11716 class SameResiduePairFilter(IMP.PairPredicate):
11717  r"""Proxy of C++ IMP::atom::SameResiduePairFilter class."""
11718 
11719  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11720 
11721  def __init__(self):
11722  r"""__init__(SameResiduePairFilter self) -> SameResiduePairFilter"""
11723  _IMP_atom.SameResiduePairFilter_swiginit(self, _IMP_atom.new_SameResiduePairFilter())
11724 
11725  def do_get_inputs(self, m, pis):
11726  r"""do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11727  return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
11728 
11729  def get_value(self, *args):
11730  r"""
11731  get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
11732  get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11733  """
11734  return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
11735 
11736  def get_value_index(self, *args):
11737  r"""
11738  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
11739  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11740  """
11741  return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
11742 
11743  def get_version_info(self):
11744  r"""get_version_info(SameResiduePairFilter self) -> VersionInfo"""
11745  return _IMP_atom.SameResiduePairFilter_get_version_info(self)
11746  __swig_destroy__ = _IMP_atom.delete_SameResiduePairFilter
11747 
11748  def __str__(self):
11749  r"""__str__(SameResiduePairFilter self) -> std::string"""
11750  return _IMP_atom.SameResiduePairFilter___str__(self)
11751 
11752  def __repr__(self):
11753  r"""__repr__(SameResiduePairFilter self) -> std::string"""
11754  return _IMP_atom.SameResiduePairFilter___repr__(self)
11755 
11756  @staticmethod
11757  def get_from(o):
11758  return _object_cast_to_SameResiduePairFilter(o)
11759 
11760 
11761 # Register SameResiduePairFilter in _IMP_atom:
11762 _IMP_atom.SameResiduePairFilter_swigregister(SameResiduePairFilter)
11763 class RemoveRigidMotionOptimizerState(IMP.OptimizerState):
11764  r"""Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class."""
11765 
11766  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11767 
11768  def __init__(self, m, pis):
11769  r"""__init__(RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
11770  _IMP_atom.RemoveRigidMotionOptimizerState_swiginit(self, _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis))
11771 
11772  def set_particles(self, pis):
11773  r"""set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
11774  return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
11775 
11776  def remove_rigid_motion(self):
11777  r"""remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
11778  return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
11779 
11780  def get_version_info(self):
11781  r"""get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
11782  return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
11783  __swig_destroy__ = _IMP_atom.delete_RemoveRigidMotionOptimizerState
11784 
11785  def __str__(self):
11786  r"""__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
11787  return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
11788 
11789  def __repr__(self):
11790  r"""__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
11791  return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
11792 
11793  @staticmethod
11794  def get_from(o):
11795  return _object_cast_to_RemoveRigidMotionOptimizerState(o)
11796 
11797 
11798 # Register RemoveRigidMotionOptimizerState in _IMP_atom:
11799 _IMP_atom.RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
11800 class BerendsenThermostatOptimizerState(IMP.OptimizerState):
11801  r"""Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class."""
11802 
11803  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11804 
11805  def __init__(self, pis, temperature, tau):
11806  r"""__init__(BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
11807  _IMP_atom.BerendsenThermostatOptimizerState_swiginit(self, _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau))
11808 
11809  def set_particles(self, pis):
11810  r"""set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
11811  return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
11812 
11813  def get_temperature(self):
11814  r"""get_temperature(BerendsenThermostatOptimizerState self) -> double"""
11815  return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
11816 
11817  def get_tau(self):
11818  r"""get_tau(BerendsenThermostatOptimizerState self) -> double"""
11819  return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
11820 
11821  def set_temperature(self, temperature):
11822  r"""set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
11823  return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
11824 
11825  def set_tau(self, tau):
11826  r"""set_tau(BerendsenThermostatOptimizerState self, double tau)"""
11827  return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
11828 
11829  def rescale_velocities(self):
11830  r"""rescale_velocities(BerendsenThermostatOptimizerState self)"""
11831  return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
11832 
11833  def get_version_info(self):
11834  r"""get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
11835  return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
11836  __swig_destroy__ = _IMP_atom.delete_BerendsenThermostatOptimizerState
11837 
11838  def __str__(self):
11839  r"""__str__(BerendsenThermostatOptimizerState self) -> std::string"""
11840  return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
11841 
11842  def __repr__(self):
11843  r"""__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
11844  return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
11845 
11846  @staticmethod
11847  def get_from(o):
11848  return _object_cast_to_BerendsenThermostatOptimizerState(o)
11849 
11850 
11851 # Register BerendsenThermostatOptimizerState in _IMP_atom:
11852 _IMP_atom.BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
11853 class LangevinThermostatOptimizerState(IMP.OptimizerState):
11854  r"""Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class."""
11855 
11856  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11857 
11858  def __init__(self, m, pis, temperature, gamma):
11859  r"""__init__(LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
11860  _IMP_atom.LangevinThermostatOptimizerState_swiginit(self, _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma))
11861 
11862  def set_particles(self, pis):
11863  r"""set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
11864  return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
11865 
11866  def get_temperature(self):
11867  r"""get_temperature(LangevinThermostatOptimizerState self) -> double"""
11868  return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
11869 
11870  def get_gamma(self):
11871  r"""get_gamma(LangevinThermostatOptimizerState self) -> double"""
11872  return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
11873 
11874  def set_temperature(self, temperature):
11875  r"""set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
11876  return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
11877 
11878  def set_gamma(self, gamma):
11879  r"""set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
11880  return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
11881 
11882  def rescale_velocities(self):
11883  r"""rescale_velocities(LangevinThermostatOptimizerState self)"""
11884  return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
11885 
11886  def get_version_info(self):
11887  r"""get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
11888  return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
11889  __swig_destroy__ = _IMP_atom.delete_LangevinThermostatOptimizerState
11890 
11891  def __str__(self):
11892  r"""__str__(LangevinThermostatOptimizerState self) -> std::string"""
11893  return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
11894 
11895  def __repr__(self):
11896  r"""__repr__(LangevinThermostatOptimizerState self) -> std::string"""
11897  return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
11898 
11899  @staticmethod
11900  def get_from(o):
11901  return _object_cast_to_LangevinThermostatOptimizerState(o)
11902 
11903 
11904 # Register LangevinThermostatOptimizerState in _IMP_atom:
11905 _IMP_atom.LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
11906 class PDBRecord(IMP._Value):
11907  r"""Proxy of C++ IMP::atom::PDBRecord class."""
11908 
11909  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11910 
11911  def __init__(self):
11912  r"""__init__(PDBRecord self) -> PDBRecord"""
11913  _IMP_atom.PDBRecord_swiginit(self, _IMP_atom.new_PDBRecord())
11914 
11915  def get_alt_loc_indicator(self):
11916  r"""get_alt_loc_indicator(PDBRecord self) -> std::string"""
11917  return _IMP_atom.PDBRecord_get_alt_loc_indicator(self)
11918 
11919  def get_is_atom(self):
11920  r"""get_is_atom(PDBRecord self) -> bool"""
11921  return _IMP_atom.PDBRecord_get_is_atom(self)
11922 
11923  def get_trimmed_atom_name(self):
11924  r"""get_trimmed_atom_name(PDBRecord self) -> std::string"""
11925  return _IMP_atom.PDBRecord_get_trimmed_atom_name(self)
11926 
11927  def get_padded_atom_name(self):
11928  r"""get_padded_atom_name(PDBRecord self) -> std::string"""
11929  return _IMP_atom.PDBRecord_get_padded_atom_name(self)
11930 
11931  def get_residue_name(self):
11932  r"""get_residue_name(PDBRecord self) -> std::string"""
11933  return _IMP_atom.PDBRecord_get_residue_name(self)
11934 
11935  def get_chain_id(self):
11936  r"""get_chain_id(PDBRecord self) -> std::string"""
11937  return _IMP_atom.PDBRecord_get_chain_id(self)
11938 
11939  def get_element(self):
11940  r"""get_element(PDBRecord self) -> std::string"""
11941  return _IMP_atom.PDBRecord_get_element(self)
11942 
11943  def show(self, *args):
11944  r"""show(PDBRecord self, _ostream out=std::cout)"""
11945  return _IMP_atom.PDBRecord_show(self, *args)
11946 
11947  def __str__(self):
11948  r"""__str__(PDBRecord self) -> std::string"""
11949  return _IMP_atom.PDBRecord___str__(self)
11950 
11951  def __repr__(self):
11952  r"""__repr__(PDBRecord self) -> std::string"""
11953  return _IMP_atom.PDBRecord___repr__(self)
11954  __swig_destroy__ = _IMP_atom.delete_PDBRecord
11955 
11956 # Register PDBRecord in _IMP_atom:
11957 _IMP_atom.PDBRecord_swigregister(PDBRecord)
11958 class PDBSelector(IMP.Object):
11959  r"""Proxy of C++ IMP::atom::PDBSelector class."""
11960 
11961  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11962 
11963  def __init__(self, name):
11964  r"""__init__(PDBSelector self, std::string name) -> PDBSelector"""
11965  if self.__class__ == PDBSelector:
11966  _self = None
11967  else:
11968  _self = self
11969  _IMP_atom.PDBSelector_swiginit(self, _IMP_atom.new_PDBSelector(_self, name))
11970 
11971  if self.__class__ != PDBSelector:
11972  _director_objects.register(self)
11973 
11974 
11975 
11976 
11977  def get_is_selected(self, record):
11978  r"""get_is_selected(PDBSelector self, PDBRecord record) -> bool"""
11979  return _IMP_atom.PDBSelector_get_is_selected(self, record)
11980  __swig_destroy__ = _IMP_atom.delete_PDBSelector
11981 
11982  def __str__(self):
11983  r"""__str__(PDBSelector self) -> std::string"""
11984  return _IMP_atom.PDBSelector___str__(self)
11985 
11986  def __repr__(self):
11987  r"""__repr__(PDBSelector self) -> std::string"""
11988  return _IMP_atom.PDBSelector___repr__(self)
11989 
11990  @staticmethod
11991  def get_from(o):
11992  return _object_cast_to_PDBSelector(o)
11993 
11994 
11995  def get_type_name(self):
11996  return self.__class__.__name__
11997  def do_show(self, out):
11998  pass
11999  def get_version_info(self):
12000  if"IMP::atom" == "IMP":
12001  return VersionInfo(self.__module__,
12002  __import__(self.__module__).get_module_version())
12003  else:
12004  return IMP.VersionInfo(self.__module__,
12005  __import__(self.__module__).get_module_version())
12006  @staticmethod
12007  def get_from(o):
12008  return _object_cast_to_PDBSelector(o)
12009 
12010 
12011  def __and__(self, s):
12012  return AndPDBSelector(self, s)
12013  def __or__(self, s):
12014  return OrPDBSelector(self, s)
12015  def __xor__(self, s):
12016  return XorPDBSelector(self, s)
12017  def __invert__(self):
12018  return NotPDBSelector(self)
12019  def __sub__(self, s):
12020  return AndPDBSelector(self, NotPDBSelector(s))
12021 
12022  def __disown__(self):
12023  self.this.disown()
12024  _IMP_atom.disown_PDBSelector(self)
12025  return weakref.proxy(self)
12026 
12027  def do_destroy(self):
12028  r"""do_destroy(PDBSelector self)"""
12029  return _IMP_atom.PDBSelector_do_destroy(self)
12030 
12031 # Register PDBSelector in _IMP_atom:
12032 _IMP_atom.PDBSelector_swigregister(PDBSelector)
12033 class NonAlternativePDBSelector(PDBSelector):
12034  r"""Proxy of C++ IMP::atom::NonAlternativePDBSelector class."""
12035 
12036  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12037 
12038  def __init__(self, *args):
12039  r"""__init__(NonAlternativePDBSelector self, std::string name="NonAlternativePDBSelector%1%") -> NonAlternativePDBSelector"""
12040  _IMP_atom.NonAlternativePDBSelector_swiginit(self, _IMP_atom.new_NonAlternativePDBSelector(*args))
12041 
12042  def get_version_info(self):
12043  r"""get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
12044  return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
12045  __swig_destroy__ = _IMP_atom.delete_NonAlternativePDBSelector
12046 
12047  def __str__(self):
12048  r"""__str__(NonAlternativePDBSelector self) -> std::string"""
12049  return _IMP_atom.NonAlternativePDBSelector___str__(self)
12050 
12051  def __repr__(self):
12052  r"""__repr__(NonAlternativePDBSelector self) -> std::string"""
12053  return _IMP_atom.NonAlternativePDBSelector___repr__(self)
12054 
12055  @staticmethod
12056  def get_from(o):
12057  return _object_cast_to_NonAlternativePDBSelector(o)
12058 
12059 
12060 # Register NonAlternativePDBSelector in _IMP_atom:
12061 _IMP_atom.NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
12062 class ATOMPDBSelector(NonAlternativePDBSelector):
12063  r"""Proxy of C++ IMP::atom::ATOMPDBSelector class."""
12064 
12065  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12066 
12067  def __init__(self, *args):
12068  r"""__init__(ATOMPDBSelector self, std::string name="ATOMPDBSelector%1%") -> ATOMPDBSelector"""
12069  _IMP_atom.ATOMPDBSelector_swiginit(self, _IMP_atom.new_ATOMPDBSelector(*args))
12070  __swig_destroy__ = _IMP_atom.delete_ATOMPDBSelector
12071 
12072  def __str__(self):
12073  r"""__str__(ATOMPDBSelector self) -> std::string"""
12074  return _IMP_atom.ATOMPDBSelector___str__(self)
12075 
12076  def __repr__(self):
12077  r"""__repr__(ATOMPDBSelector self) -> std::string"""
12078  return _IMP_atom.ATOMPDBSelector___repr__(self)
12079 
12080  @staticmethod
12081  def get_from(o):
12082  return _object_cast_to_ATOMPDBSelector(o)
12083 
12084 
12085 # Register ATOMPDBSelector in _IMP_atom:
12086 _IMP_atom.ATOMPDBSelector_swigregister(ATOMPDBSelector)
12087 class CAlphaPDBSelector(NonAlternativePDBSelector):
12088  r"""Proxy of C++ IMP::atom::CAlphaPDBSelector class."""
12089 
12090  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12091 
12092  def __init__(self, *args):
12093  r"""__init__(CAlphaPDBSelector self, std::string name="CAlphaPDBSelector%1%") -> CAlphaPDBSelector"""
12094  _IMP_atom.CAlphaPDBSelector_swiginit(self, _IMP_atom.new_CAlphaPDBSelector(*args))
12095  __swig_destroy__ = _IMP_atom.delete_CAlphaPDBSelector
12096 
12097  def __str__(self):
12098  r"""__str__(CAlphaPDBSelector self) -> std::string"""
12099  return _IMP_atom.CAlphaPDBSelector___str__(self)
12100 
12101  def __repr__(self):
12102  r"""__repr__(CAlphaPDBSelector self) -> std::string"""
12103  return _IMP_atom.CAlphaPDBSelector___repr__(self)
12104 
12105  @staticmethod
12106  def get_from(o):
12107  return _object_cast_to_CAlphaPDBSelector(o)
12108 
12109 
12110 # Register CAlphaPDBSelector in _IMP_atom:
12111 _IMP_atom.CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
12112 class CBetaPDBSelector(NonAlternativePDBSelector):
12113  r"""Proxy of C++ IMP::atom::CBetaPDBSelector class."""
12114 
12115  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12116 
12117  def __init__(self, *args):
12118  r"""__init__(CBetaPDBSelector self, std::string name="CBetaPDBSelector%1%") -> CBetaPDBSelector"""
12119  _IMP_atom.CBetaPDBSelector_swiginit(self, _IMP_atom.new_CBetaPDBSelector(*args))
12120  __swig_destroy__ = _IMP_atom.delete_CBetaPDBSelector
12121 
12122  def __str__(self):
12123  r"""__str__(CBetaPDBSelector self) -> std::string"""
12124  return _IMP_atom.CBetaPDBSelector___str__(self)
12125 
12126  def __repr__(self):
12127  r"""__repr__(CBetaPDBSelector self) -> std::string"""
12128  return _IMP_atom.CBetaPDBSelector___repr__(self)
12129 
12130  @staticmethod
12131  def get_from(o):
12132  return _object_cast_to_CBetaPDBSelector(o)
12133 
12134 
12135 # Register CBetaPDBSelector in _IMP_atom:
12136 _IMP_atom.CBetaPDBSelector_swigregister(CBetaPDBSelector)
12137 class AtomTypePDBSelector(PDBSelector):
12138  r"""Proxy of C++ IMP::atom::AtomTypePDBSelector class."""
12139 
12140  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12141 
12142  def __init__(self, *args):
12143  r"""__init__(AtomTypePDBSelector self, IMP::Strings atom_types, std::string name="AtomTypePDBSelector%1%") -> AtomTypePDBSelector"""
12144  _IMP_atom.AtomTypePDBSelector_swiginit(self, _IMP_atom.new_AtomTypePDBSelector(*args))
12145 
12146  def get_version_info(self):
12147  r"""get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
12148  return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
12149  __swig_destroy__ = _IMP_atom.delete_AtomTypePDBSelector
12150 
12151  def __str__(self):
12152  r"""__str__(AtomTypePDBSelector self) -> std::string"""
12153  return _IMP_atom.AtomTypePDBSelector___str__(self)
12154 
12155  def __repr__(self):
12156  r"""__repr__(AtomTypePDBSelector self) -> std::string"""
12157  return _IMP_atom.AtomTypePDBSelector___repr__(self)
12158 
12159  @staticmethod
12160  def get_from(o):
12161  return _object_cast_to_AtomTypePDBSelector(o)
12162 
12163 
12164 # Register AtomTypePDBSelector in _IMP_atom:
12165 _IMP_atom.AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
12166 class ResidueTypePDBSelector(PDBSelector):
12167  r"""Proxy of C++ IMP::atom::ResidueTypePDBSelector class."""
12168 
12169  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12170 
12171  def __init__(self, *args):
12172  r"""__init__(ResidueTypePDBSelector self, IMP::Strings residue_types, std::string name="ResidueTypePDBSelector%1%") -> ResidueTypePDBSelector"""
12173  _IMP_atom.ResidueTypePDBSelector_swiginit(self, _IMP_atom.new_ResidueTypePDBSelector(*args))
12174 
12175  def get_version_info(self):
12176  r"""get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
12177  return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
12178  __swig_destroy__ = _IMP_atom.delete_ResidueTypePDBSelector
12179 
12180  def __str__(self):
12181  r"""__str__(ResidueTypePDBSelector self) -> std::string"""
12182  return _IMP_atom.ResidueTypePDBSelector___str__(self)
12183 
12184  def __repr__(self):
12185  r"""__repr__(ResidueTypePDBSelector self) -> std::string"""
12186  return _IMP_atom.ResidueTypePDBSelector___repr__(self)
12187 
12188  @staticmethod
12189  def get_from(o):
12190  return _object_cast_to_ResidueTypePDBSelector(o)
12191 
12192 
12193 # Register ResidueTypePDBSelector in _IMP_atom:
12194 _IMP_atom.ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
12195 class CPDBSelector(NonAlternativePDBSelector):
12196  r"""Proxy of C++ IMP::atom::CPDBSelector class."""
12197 
12198  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12199 
12200  def __init__(self, *args):
12201  r"""__init__(CPDBSelector self, std::string name="CPDBSelector%1%") -> CPDBSelector"""
12202  _IMP_atom.CPDBSelector_swiginit(self, _IMP_atom.new_CPDBSelector(*args))
12203  __swig_destroy__ = _IMP_atom.delete_CPDBSelector
12204 
12205  def __str__(self):
12206  r"""__str__(CPDBSelector self) -> std::string"""
12207  return _IMP_atom.CPDBSelector___str__(self)
12208 
12209  def __repr__(self):
12210  r"""__repr__(CPDBSelector self) -> std::string"""
12211  return _IMP_atom.CPDBSelector___repr__(self)
12212 
12213  @staticmethod
12214  def get_from(o):
12215  return _object_cast_to_CPDBSelector(o)
12216 
12217 
12218 # Register CPDBSelector in _IMP_atom:
12219 _IMP_atom.CPDBSelector_swigregister(CPDBSelector)
12220 class NPDBSelector(NonAlternativePDBSelector):
12221  r"""Proxy of C++ IMP::atom::NPDBSelector class."""
12222 
12223  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12224 
12225  def __init__(self, *args):
12226  r"""__init__(NPDBSelector self, std::string name="NPDBSelector%1%") -> NPDBSelector"""
12227  _IMP_atom.NPDBSelector_swiginit(self, _IMP_atom.new_NPDBSelector(*args))
12228  __swig_destroy__ = _IMP_atom.delete_NPDBSelector
12229 
12230  def __str__(self):
12231  r"""__str__(NPDBSelector self) -> std::string"""
12232  return _IMP_atom.NPDBSelector___str__(self)
12233 
12234  def __repr__(self):
12235  r"""__repr__(NPDBSelector self) -> std::string"""
12236  return _IMP_atom.NPDBSelector___repr__(self)
12237 
12238  @staticmethod
12239  def get_from(o):
12240  return _object_cast_to_NPDBSelector(o)
12241 
12242 
12243 # Register NPDBSelector in _IMP_atom:
12244 _IMP_atom.NPDBSelector_swigregister(NPDBSelector)
12245 class AllPDBSelector(PDBSelector):
12246  r"""Proxy of C++ IMP::atom::AllPDBSelector class."""
12247 
12248  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12249 
12250  def __init__(self, *args):
12251  r"""__init__(AllPDBSelector self, std::string name="AllPDBSelector%1%") -> AllPDBSelector"""
12252  _IMP_atom.AllPDBSelector_swiginit(self, _IMP_atom.new_AllPDBSelector(*args))
12253 
12254  def get_version_info(self):
12255  r"""get_version_info(AllPDBSelector self) -> VersionInfo"""
12256  return _IMP_atom.AllPDBSelector_get_version_info(self)
12257  __swig_destroy__ = _IMP_atom.delete_AllPDBSelector
12258 
12259  def __str__(self):
12260  r"""__str__(AllPDBSelector self) -> std::string"""
12261  return _IMP_atom.AllPDBSelector___str__(self)
12262 
12263  def __repr__(self):
12264  r"""__repr__(AllPDBSelector self) -> std::string"""
12265  return _IMP_atom.AllPDBSelector___repr__(self)
12266 
12267  @staticmethod
12268  def get_from(o):
12269  return _object_cast_to_AllPDBSelector(o)
12270 
12271 
12272 # Register AllPDBSelector in _IMP_atom:
12273 _IMP_atom.AllPDBSelector_swigregister(AllPDBSelector)
12274 class ChainPDBSelector(NonAlternativePDBSelector):
12275  r"""Proxy of C++ IMP::atom::ChainPDBSelector class."""
12276 
12277  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12278  __swig_destroy__ = _IMP_atom.delete_ChainPDBSelector
12279 
12280  def __init__(self, *args):
12281  r"""__init__(ChainPDBSelector self, IMP::Strings chains, std::string name="ChainPDBSelector%1%") -> ChainPDBSelector"""
12282  _IMP_atom.ChainPDBSelector_swiginit(self, _IMP_atom.new_ChainPDBSelector(*args))
12283 
12284  def __str__(self):
12285  r"""__str__(ChainPDBSelector self) -> std::string"""
12286  return _IMP_atom.ChainPDBSelector___str__(self)
12287 
12288  def __repr__(self):
12289  r"""__repr__(ChainPDBSelector self) -> std::string"""
12290  return _IMP_atom.ChainPDBSelector___repr__(self)
12291 
12292  @staticmethod
12293  def get_from(o):
12294  return _object_cast_to_ChainPDBSelector(o)
12295 
12296 
12297 # Register ChainPDBSelector in _IMP_atom:
12298 _IMP_atom.ChainPDBSelector_swigregister(ChainPDBSelector)
12299 class WaterPDBSelector(NonAlternativePDBSelector):
12300  r"""Proxy of C++ IMP::atom::WaterPDBSelector class."""
12301 
12302  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12303 
12304  def __init__(self, *args):
12305  r"""__init__(WaterPDBSelector self, std::string name="WaterPDBSelector%1%") -> WaterPDBSelector"""
12306  _IMP_atom.WaterPDBSelector_swiginit(self, _IMP_atom.new_WaterPDBSelector(*args))
12307  __swig_destroy__ = _IMP_atom.delete_WaterPDBSelector
12308 
12309  def __str__(self):
12310  r"""__str__(WaterPDBSelector self) -> std::string"""
12311  return _IMP_atom.WaterPDBSelector___str__(self)
12312 
12313  def __repr__(self):
12314  r"""__repr__(WaterPDBSelector self) -> std::string"""
12315  return _IMP_atom.WaterPDBSelector___repr__(self)
12316 
12317  @staticmethod
12318  def get_from(o):
12319  return _object_cast_to_WaterPDBSelector(o)
12320 
12321 
12322 # Register WaterPDBSelector in _IMP_atom:
12323 _IMP_atom.WaterPDBSelector_swigregister(WaterPDBSelector)
12324 class HydrogenPDBSelector(NonAlternativePDBSelector):
12325  r"""Proxy of C++ IMP::atom::HydrogenPDBSelector class."""
12326 
12327  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12328 
12329  def __init__(self, *args):
12330  r"""__init__(HydrogenPDBSelector self, std::string name="HydrogenPDBSelector%1%") -> HydrogenPDBSelector"""
12331  _IMP_atom.HydrogenPDBSelector_swiginit(self, _IMP_atom.new_HydrogenPDBSelector(*args))
12332  __swig_destroy__ = _IMP_atom.delete_HydrogenPDBSelector
12333 
12334  def __str__(self):
12335  r"""__str__(HydrogenPDBSelector self) -> std::string"""
12336  return _IMP_atom.HydrogenPDBSelector___str__(self)
12337 
12338  def __repr__(self):
12339  r"""__repr__(HydrogenPDBSelector self) -> std::string"""
12340  return _IMP_atom.HydrogenPDBSelector___repr__(self)
12341 
12342  @staticmethod
12343  def get_from(o):
12344  return _object_cast_to_HydrogenPDBSelector(o)
12345 
12346 
12347 # Register HydrogenPDBSelector in _IMP_atom:
12348 _IMP_atom.HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
12349 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
12350  r"""Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class."""
12351 
12352  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12353  __swig_destroy__ = _IMP_atom.delete_NonWaterNonHydrogenPDBSelector
12354 
12355  def __init__(self, *args):
12356  r"""
12357  __init__(NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
12358  __init__(NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
12359  """
12360  _IMP_atom.NonWaterNonHydrogenPDBSelector_swiginit(self, _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args))
12361 
12362  def __str__(self):
12363  r"""__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
12364  return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
12365 
12366  def __repr__(self):
12367  r"""__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
12368  return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
12369 
12370  @staticmethod
12371  def get_from(o):
12372  return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
12373 
12374 
12375 # Register NonWaterNonHydrogenPDBSelector in _IMP_atom:
12376 _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
12377 class NonHydrogenPDBSelector(NonAlternativePDBSelector):
12378  r"""Proxy of C++ IMP::atom::NonHydrogenPDBSelector class."""
12379 
12380  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12381  __swig_destroy__ = _IMP_atom.delete_NonHydrogenPDBSelector
12382 
12383  def __init__(self, *args):
12384  r"""
12385  __init__(NonHydrogenPDBSelector self, std::string name) -> NonHydrogenPDBSelector
12386  __init__(NonHydrogenPDBSelector self) -> NonHydrogenPDBSelector
12387  """
12388  _IMP_atom.NonHydrogenPDBSelector_swiginit(self, _IMP_atom.new_NonHydrogenPDBSelector(*args))
12389 
12390  def __str__(self):
12391  r"""__str__(NonHydrogenPDBSelector self) -> std::string"""
12392  return _IMP_atom.NonHydrogenPDBSelector___str__(self)
12393 
12394  def __repr__(self):
12395  r"""__repr__(NonHydrogenPDBSelector self) -> std::string"""
12396  return _IMP_atom.NonHydrogenPDBSelector___repr__(self)
12397 
12398  @staticmethod
12399  def get_from(o):
12400  return _object_cast_to_NonHydrogenPDBSelector(o)
12401 
12402 
12403 # Register NonHydrogenPDBSelector in _IMP_atom:
12404 _IMP_atom.NonHydrogenPDBSelector_swigregister(NonHydrogenPDBSelector)
12405 class NonWaterPDBSelector(NonAlternativePDBSelector):
12406  r"""Proxy of C++ IMP::atom::NonWaterPDBSelector class."""
12407 
12408  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12409  __swig_destroy__ = _IMP_atom.delete_NonWaterPDBSelector
12410 
12411  def __init__(self, *args):
12412  r"""
12413  __init__(NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
12414  __init__(NonWaterPDBSelector self) -> NonWaterPDBSelector
12415  """
12416  _IMP_atom.NonWaterPDBSelector_swiginit(self, _IMP_atom.new_NonWaterPDBSelector(*args))
12417 
12418  def __str__(self):
12419  r"""__str__(NonWaterPDBSelector self) -> std::string"""
12420  return _IMP_atom.NonWaterPDBSelector___str__(self)
12421 
12422  def __repr__(self):
12423  r"""__repr__(NonWaterPDBSelector self) -> std::string"""
12424  return _IMP_atom.NonWaterPDBSelector___repr__(self)
12425 
12426  @staticmethod
12427  def get_from(o):
12428  return _object_cast_to_NonWaterPDBSelector(o)
12429 
12430 
12431 # Register NonWaterPDBSelector in _IMP_atom:
12432 _IMP_atom.NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
12433 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
12434  r"""Proxy of C++ IMP::atom::BackbonePDBSelector class."""
12435 
12436  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12437 
12438  def __init__(self, *args):
12439  r"""__init__(BackbonePDBSelector self, std::string name="BackbonePDBSelector%1%") -> BackbonePDBSelector"""
12440  _IMP_atom.BackbonePDBSelector_swiginit(self, _IMP_atom.new_BackbonePDBSelector(*args))
12441  __swig_destroy__ = _IMP_atom.delete_BackbonePDBSelector
12442 
12443  def __str__(self):
12444  r"""__str__(BackbonePDBSelector self) -> std::string"""
12445  return _IMP_atom.BackbonePDBSelector___str__(self)
12446 
12447  def __repr__(self):
12448  r"""__repr__(BackbonePDBSelector self) -> std::string"""
12449  return _IMP_atom.BackbonePDBSelector___repr__(self)
12450 
12451  @staticmethod
12452  def get_from(o):
12453  return _object_cast_to_BackbonePDBSelector(o)
12454 
12455 
12456 # Register BackbonePDBSelector in _IMP_atom:
12457 _IMP_atom.BackbonePDBSelector_swigregister(BackbonePDBSelector)
12458 class PPDBSelector(NonAlternativePDBSelector):
12459  r"""Proxy of C++ IMP::atom::PPDBSelector class."""
12460 
12461  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12462 
12463  def __init__(self, *args):
12464  r"""__init__(PPDBSelector self, std::string name="PPDBSelector%1%") -> PPDBSelector"""
12465  _IMP_atom.PPDBSelector_swiginit(self, _IMP_atom.new_PPDBSelector(*args))
12466  __swig_destroy__ = _IMP_atom.delete_PPDBSelector
12467 
12468  def __str__(self):
12469  r"""__str__(PPDBSelector self) -> std::string"""
12470  return _IMP_atom.PPDBSelector___str__(self)
12471 
12472  def __repr__(self):
12473  r"""__repr__(PPDBSelector self) -> std::string"""
12474  return _IMP_atom.PPDBSelector___repr__(self)
12475 
12476  @staticmethod
12477  def get_from(o):
12478  return _object_cast_to_PPDBSelector(o)
12479 
12480 
12481 # Register PPDBSelector in _IMP_atom:
12482 _IMP_atom.PPDBSelector_swigregister(PPDBSelector)
12483 class AndPDBSelector(PDBSelector):
12484  r"""Proxy of C++ IMP::atom::AndPDBSelector class."""
12485 
12486  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12487 
12488  def get_version_info(self):
12489  r"""get_version_info(AndPDBSelector self) -> VersionInfo"""
12490  return _IMP_atom.AndPDBSelector_get_version_info(self)
12491  __swig_destroy__ = _IMP_atom.delete_AndPDBSelector
12492 
12493  def __init__(self, a, b):
12494  r"""__init__(AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
12495  _IMP_atom.AndPDBSelector_swiginit(self, _IMP_atom.new_AndPDBSelector(a, b))
12496 
12497  def __str__(self):
12498  r"""__str__(AndPDBSelector self) -> std::string"""
12499  return _IMP_atom.AndPDBSelector___str__(self)
12500 
12501  def __repr__(self):
12502  r"""__repr__(AndPDBSelector self) -> std::string"""
12503  return _IMP_atom.AndPDBSelector___repr__(self)
12504 
12505  @staticmethod
12506  def get_from(o):
12507  return _object_cast_to_AndPDBSelector(o)
12508 
12509 
12510 # Register AndPDBSelector in _IMP_atom:
12511 _IMP_atom.AndPDBSelector_swigregister(AndPDBSelector)
12512 class OrPDBSelector(PDBSelector):
12513  r"""Proxy of C++ IMP::atom::OrPDBSelector class."""
12514 
12515  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12516 
12517  def get_version_info(self):
12518  r"""get_version_info(OrPDBSelector self) -> VersionInfo"""
12519  return _IMP_atom.OrPDBSelector_get_version_info(self)
12520  __swig_destroy__ = _IMP_atom.delete_OrPDBSelector
12521 
12522  def __init__(self, a, b):
12523  r"""__init__(OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
12524  _IMP_atom.OrPDBSelector_swiginit(self, _IMP_atom.new_OrPDBSelector(a, b))
12525 
12526  def __str__(self):
12527  r"""__str__(OrPDBSelector self) -> std::string"""
12528  return _IMP_atom.OrPDBSelector___str__(self)
12529 
12530  def __repr__(self):
12531  r"""__repr__(OrPDBSelector self) -> std::string"""
12532  return _IMP_atom.OrPDBSelector___repr__(self)
12533 
12534  @staticmethod
12535  def get_from(o):
12536  return _object_cast_to_OrPDBSelector(o)
12537 
12538 
12539 # Register OrPDBSelector in _IMP_atom:
12540 _IMP_atom.OrPDBSelector_swigregister(OrPDBSelector)
12541 class XorPDBSelector(PDBSelector):
12542  r"""Proxy of C++ IMP::atom::XorPDBSelector class."""
12543 
12544  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12545 
12546  def get_version_info(self):
12547  r"""get_version_info(XorPDBSelector self) -> VersionInfo"""
12548  return _IMP_atom.XorPDBSelector_get_version_info(self)
12549  __swig_destroy__ = _IMP_atom.delete_XorPDBSelector
12550 
12551  def __init__(self, a, b):
12552  r"""__init__(XorPDBSelector self, PDBSelector a, PDBSelector b) -> XorPDBSelector"""
12553  _IMP_atom.XorPDBSelector_swiginit(self, _IMP_atom.new_XorPDBSelector(a, b))
12554 
12555  def __str__(self):
12556  r"""__str__(XorPDBSelector self) -> std::string"""
12557  return _IMP_atom.XorPDBSelector___str__(self)
12558 
12559  def __repr__(self):
12560  r"""__repr__(XorPDBSelector self) -> std::string"""
12561  return _IMP_atom.XorPDBSelector___repr__(self)
12562 
12563  @staticmethod
12564  def get_from(o):
12565  return _object_cast_to_XorPDBSelector(o)
12566 
12567 
12568 # Register XorPDBSelector in _IMP_atom:
12569 _IMP_atom.XorPDBSelector_swigregister(XorPDBSelector)
12570 class NotPDBSelector(PDBSelector):
12571  r"""Proxy of C++ IMP::atom::NotPDBSelector class."""
12572 
12573  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12574 
12575  def get_version_info(self):
12576  r"""get_version_info(NotPDBSelector self) -> VersionInfo"""
12577  return _IMP_atom.NotPDBSelector_get_version_info(self)
12578  __swig_destroy__ = _IMP_atom.delete_NotPDBSelector
12579 
12580  def __init__(self, a):
12581  r"""__init__(NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
12582  _IMP_atom.NotPDBSelector_swiginit(self, _IMP_atom.new_NotPDBSelector(a))
12583 
12584  def __str__(self):
12585  r"""__str__(NotPDBSelector self) -> std::string"""
12586  return _IMP_atom.NotPDBSelector___str__(self)
12587 
12588  def __repr__(self):
12589  r"""__repr__(NotPDBSelector self) -> std::string"""
12590  return _IMP_atom.NotPDBSelector___repr__(self)
12591 
12592  @staticmethod
12593  def get_from(o):
12594  return _object_cast_to_NotPDBSelector(o)
12595 
12596 
12597 # Register NotPDBSelector in _IMP_atom:
12598 _IMP_atom.NotPDBSelector_swigregister(NotPDBSelector)
12599 
12600 def get_default_pdb_selector():
12601  r"""get_default_pdb_selector() -> PDBSelector"""
12602  return _IMP_atom.get_default_pdb_selector()
12603 
12604 def read_pdb(*args):
12605  r"""
12606  read_pdb(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool select_first_model=True, bool no_radii=False) -> Hierarchy
12607  read_pdb(TextInput input, int model, Hierarchy h)
12608  """
12609  return _IMP_atom.read_pdb(*args)
12610 
12611 def read_multimodel_pdb(*args):
12612  r"""read_multimodel_pdb(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool noradii=False) -> IMP::atom::Hierarchies"""
12613  return _IMP_atom.read_multimodel_pdb(*args)
12614 
12615 def write_pdb(mhd, out, model=1):
12616  r"""write_pdb(Selection mhd, TextOutput out, unsigned int model=1)"""
12617  return _IMP_atom.write_pdb(mhd, out, model)
12618 
12619 def write_pdb_of_c_alphas(mhd, out, model=1):
12620  r"""write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)"""
12621  return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
12622 
12623 def write_multimodel_pdb(mhd, out):
12624  r"""write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
12625  return _IMP_atom.write_multimodel_pdb(mhd, out)
12626 
12627 def get_pdb_string(*args):
12628  r"""get_pdb_string(Vector3D v, int index=-1, AtomType at=AT_CA, ResidueType rt=ALA, char chain=' ', int res_index=1, char res_icode=' ', double occupancy=1.00, double tempFactor=0.00, IMP::atom::Element e=C) -> std::string"""
12629  return _IMP_atom.get_pdb_string(*args)
12630 
12631 def get_pdb_conect_record_string(arg1, arg2):
12632  r"""get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
12633  return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
12634 class WritePDBOptimizerState(IMP.OptimizerState):
12635  r"""Proxy of C++ IMP::atom::WritePDBOptimizerState class."""
12636 
12637  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12638 
12639  def __init__(self, *args):
12640  r"""
12641  __init__(WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
12642  __init__(WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
12643  __init__(WritePDBOptimizerState self) -> WritePDBOptimizerState
12644  """
12645  _IMP_atom.WritePDBOptimizerState_swiginit(self, _IMP_atom.new_WritePDBOptimizerState(*args))
12646 
12647  def get_version_info(self):
12648  r"""get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
12649  return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
12650  __swig_destroy__ = _IMP_atom.delete_WritePDBOptimizerState
12651 
12652  def __str__(self):
12653  r"""__str__(WritePDBOptimizerState self) -> std::string"""
12654  return _IMP_atom.WritePDBOptimizerState___str__(self)
12655 
12656  def __repr__(self):
12657  r"""__repr__(WritePDBOptimizerState self) -> std::string"""
12658  return _IMP_atom.WritePDBOptimizerState___repr__(self)
12659 
12660  @staticmethod
12661  def get_from(o):
12662  return _object_cast_to_WritePDBOptimizerState(o)
12663 
12664 
12665  def _get_as_binary(self):
12666  r"""_get_as_binary(WritePDBOptimizerState self) -> PyObject *"""
12667  return _IMP_atom.WritePDBOptimizerState__get_as_binary(self)
12668 
12669  def _set_from_binary(self, p):
12670  r"""_set_from_binary(WritePDBOptimizerState self, PyObject * p)"""
12671  return _IMP_atom.WritePDBOptimizerState__set_from_binary(self, p)
12672 
12673  def __getstate__(self):
12674  p = self._get_as_binary()
12675  if len(self.__dict__) > 1:
12676  d = self.__dict__.copy()
12677  del d['this']
12678  p = (d, p)
12679  return p
12680 
12681  def __setstate__(self, p):
12682  if not hasattr(self, 'this'):
12683  self.__init__()
12684  if isinstance(p, tuple):
12685  d, p = p
12686  self.__dict__.update(d)
12687  return self._set_from_binary(p)
12688 
12689 
12690 # Register WritePDBOptimizerState in _IMP_atom:
12691 _IMP_atom.WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
12692 
12693 def read_multimodel_mmcif(*args):
12694  r"""read_multimodel_mmcif(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool noradii=False) -> IMP::atom::Hierarchies"""
12695  return _IMP_atom.read_multimodel_mmcif(*args)
12696 
12697 def read_mmcif(*args):
12698  r"""read_mmcif(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool select_first_model=True, bool noradii=False) -> Hierarchy"""
12699  return _IMP_atom.read_mmcif(*args)
12700 
12701 def read_pdb_or_mmcif(*args):
12702  r"""read_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool select_first_model=True, bool noradii=False) -> Hierarchy"""
12703  return _IMP_atom.read_pdb_or_mmcif(*args)
12704 
12705 def read_multimodel_pdb_or_mmcif(*args):
12706  r"""read_multimodel_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector=IMP::atom::get_default_pdb_selector(), bool noradii=False) -> IMP::atom::Hierarchies"""
12707  return _IMP_atom.read_multimodel_pdb_or_mmcif(*args)
12708 
12709 def get_kt(T):
12710  r"""get_kt(double T) -> double"""
12711  return _IMP_atom.get_kt(T)
12712 class CAAngleRestraint(IMP.Restraint):
12713  r"""Proxy of C++ IMP::atom::CAAngleRestraint class."""
12714 
12715  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12716 
12717  def __init__(self, m, p1, p2, p3, phi0, score):
12718  r"""__init__(CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
12719  _IMP_atom.CAAngleRestraint_swiginit(self, _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score))
12720 
12721  def do_get_inputs(self):
12722  r"""do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
12723  return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
12724 
12725  def get_version_info(self):
12726  r"""get_version_info(CAAngleRestraint self) -> VersionInfo"""
12727  return _IMP_atom.CAAngleRestraint_get_version_info(self)
12728  __swig_destroy__ = _IMP_atom.delete_CAAngleRestraint
12729 
12730  def __str__(self):
12731  r"""__str__(CAAngleRestraint self) -> std::string"""
12732  return _IMP_atom.CAAngleRestraint___str__(self)
12733 
12734  def __repr__(self):
12735  r"""__repr__(CAAngleRestraint self) -> std::string"""
12736  return _IMP_atom.CAAngleRestraint___repr__(self)
12737 
12738  @staticmethod
12739  def get_from(o):
12740  return _object_cast_to_CAAngleRestraint(o)
12741 
12742 
12743 # Register CAAngleRestraint in _IMP_atom:
12744 _IMP_atom.CAAngleRestraint_swigregister(CAAngleRestraint)
12745 class CADihedralRestraint(IMP.Restraint):
12746  r"""Proxy of C++ IMP::atom::CADihedralRestraint class."""
12747 
12748  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12749 
12750  def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
12751  r"""__init__(CADihedralRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4, _ParticleIndexAdaptor p5, IMP::Floats phi0, IMP::Floats phi1, IMP::Floats score) -> CADihedralRestraint"""
12752  _IMP_atom.CADihedralRestraint_swiginit(self, _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score))
12753 
12754  def do_get_inputs(self):
12755  r"""do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
12756  return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
12757 
12758  def get_version_info(self):
12759  r"""get_version_info(CADihedralRestraint self) -> VersionInfo"""
12760  return _IMP_atom.CADihedralRestraint_get_version_info(self)
12761  __swig_destroy__ = _IMP_atom.delete_CADihedralRestraint
12762 
12763  def __str__(self):
12764  r"""__str__(CADihedralRestraint self) -> std::string"""
12765  return _IMP_atom.CADihedralRestraint___str__(self)
12766 
12767  def __repr__(self):
12768  r"""__repr__(CADihedralRestraint self) -> std::string"""
12769  return _IMP_atom.CADihedralRestraint___repr__(self)
12770 
12771  @staticmethod
12772  def get_from(o):
12773  return _object_cast_to_CADihedralRestraint(o)
12774 
12775 
12776 # Register CADihedralRestraint in _IMP_atom:
12777 _IMP_atom.CADihedralRestraint_swigregister(CADihedralRestraint)
12778 class StructureSource(IMP.Decorator):
12779  r"""Proxy of C++ IMP::atom::StructureSource class."""
12780 
12781  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12782 
12783  def get_source_id(self):
12784  r"""get_source_id(StructureSource self) -> std::string"""
12785  return _IMP_atom.StructureSource_get_source_id(self)
12786 
12787  def get_source_chain_id(self):
12788  r"""get_source_chain_id(StructureSource self) -> std::string"""
12789  return _IMP_atom.StructureSource_get_source_chain_id(self)
12790 
12791  def set_source_id(self, source_id):
12792  r"""set_source_id(StructureSource self, std::string source_id)"""
12793  return _IMP_atom.StructureSource_set_source_id(self, source_id)
12794 
12795  def set_source_chain_id(self, source_chain_id):
12796  r"""set_source_chain_id(StructureSource self, std::string source_chain_id)"""
12797  return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
12798 
12799  def __init__(self, *args):
12800  r"""
12801  __init__(StructureSource self) -> StructureSource
12802  __init__(StructureSource self, Model m, ParticleIndex id) -> StructureSource
12803  __init__(StructureSource self, _ParticleAdaptor d) -> StructureSource
12804  """
12805  _IMP_atom.StructureSource_swiginit(self, _IMP_atom.new_StructureSource(*args))
12806 
12807  @staticmethod
12808  def get_is_setup(*args):
12809  r"""
12810  get_is_setup(Model m, ParticleIndex pi) -> bool
12811  get_is_setup(_ParticleAdaptor p) -> bool
12812  """
12813  return _IMP_atom.StructureSource_get_is_setup(*args)
12814 
12815  def show(self, *args):
12816  r"""show(StructureSource self, _ostream out=std::cout)"""
12817  return _IMP_atom.StructureSource_show(self, *args)
12818 
12819  @staticmethod
12820  def setup_particle(*args):
12821  r"""
12822  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
12823  setup_particle(_ParticleAdaptor pa, std::string source_id, std::string source_chain_id) -> StructureSource
12824  """
12825  return _IMP_atom.StructureSource_setup_particle(*args)
12826 
12827  def add_attribute(self, *args):
12828  r"""
12829  add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
12830  add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
12831  add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
12832  add_attribute(StructureSource self, FloatsKey a0, IMP::Floats a1)
12833  add_attribute(StructureSource self, IntsKey a0, IMP::Ints a1)
12834  add_attribute(StructureSource self, StringKey a0, IMP::String a1)
12835  add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
12836  add_attribute(StructureSource self, ObjectKey a0, Object a1)
12837  add_attribute(StructureSource self, SparseFloatKey a0, IMP::Float a1)
12838  add_attribute(StructureSource self, SparseIntKey a0, IMP::Int a1)
12839  add_attribute(StructureSource self, SparseStringKey a0, IMP::String a1)
12840  add_attribute(StructureSource self, SparseParticleIndexKey a0, ParticleIndex a1)
12841  """
12842  return _IMP_atom.StructureSource_add_attribute(self, *args)
12843 
12844  def get_value(self, *args):
12845  r"""
12846  get_value(StructureSource self, FloatKey a0) -> IMP::Float
12847  get_value(StructureSource self, IntKey a0) -> IMP::Int
12848  get_value(StructureSource self, FloatsKey a0) -> IMP::Floats
12849  get_value(StructureSource self, IntsKey a0) -> IMP::Ints
12850  get_value(StructureSource self, StringKey a0) -> IMP::String
12851  get_value(StructureSource self, ParticleIndexKey a0) -> Particle
12852  get_value(StructureSource self, ObjectKey a0) -> Object
12853  get_value(StructureSource self, SparseFloatKey a0) -> IMP::Float
12854  get_value(StructureSource self, SparseIntKey a0) -> IMP::Int
12855  get_value(StructureSource self, SparseStringKey a0) -> IMP::String
12856  get_value(StructureSource self, SparseParticleIndexKey a0) -> ParticleIndex
12857  """
12858  return _IMP_atom.StructureSource_get_value(self, *args)
12859 
12860  def set_value(self, *args):
12861  r"""
12862  set_value(StructureSource self, FloatKey a0, IMP::Float a1)
12863  set_value(StructureSource self, IntKey a0, IMP::Int a1)
12864  set_value(StructureSource self, FloatsKey a0, IMP::Floats a1)
12865  set_value(StructureSource self, IntsKey a0, IMP::Ints a1)
12866  set_value(StructureSource self, StringKey a0, IMP::String a1)
12867  set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
12868  set_value(StructureSource self, ObjectKey a0, Object a1)
12869  set_value(StructureSource self, SparseFloatKey a0, IMP::Float a1)
12870  set_value(StructureSource self, SparseIntKey a0, IMP::Int a1)
12871  set_value(StructureSource self, SparseStringKey a0, IMP::String a1)
12872  set_value(StructureSource self, SparseParticleIndexKey a0, ParticleIndex a1)
12873  """
12874  return _IMP_atom.StructureSource_set_value(self, *args)
12875 
12876  def remove_attribute(self, *args):
12877  r"""
12878  remove_attribute(StructureSource self, FloatKey a0)
12879  remove_attribute(StructureSource self, IntKey a0)
12880  remove_attribute(StructureSource self, FloatsKey a0)
12881  remove_attribute(StructureSource self, IntsKey a0)
12882  remove_attribute(StructureSource self, StringKey a0)
12883  remove_attribute(StructureSource self, ParticleIndexKey a0)
12884  remove_attribute(StructureSource self, ObjectKey a0)
12885  remove_attribute(StructureSource self, SparseFloatKey a0)
12886  remove_attribute(StructureSource self, SparseIntKey a0)
12887  remove_attribute(StructureSource self, SparseStringKey a0)
12888  remove_attribute(StructureSource self, SparseParticleIndexKey a0)
12889  """
12890  return _IMP_atom.StructureSource_remove_attribute(self, *args)
12891 
12892  def has_attribute(self, *args):
12893  r"""
12894  has_attribute(StructureSource self, FloatKey a0) -> bool
12895  has_attribute(StructureSource self, IntKey a0) -> bool
12896  has_attribute(StructureSource self, FloatsKey a0) -> bool
12897  has_attribute(StructureSource self, IntsKey a0) -> bool
12898  has_attribute(StructureSource self, StringKey a0) -> bool
12899  has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
12900  has_attribute(StructureSource self, ObjectKey a0) -> bool
12901  has_attribute(StructureSource self, SparseFloatKey a0) -> bool
12902  has_attribute(StructureSource self, SparseIntKey a0) -> bool
12903  has_attribute(StructureSource self, SparseStringKey a0) -> bool
12904  has_attribute(StructureSource self, SparseParticleIndexKey a0) -> bool
12905  """
12906  return _IMP_atom.StructureSource_has_attribute(self, *args)
12907 
12908  def get_derivative(self, a0):
12909  r"""get_derivative(StructureSource self, FloatKey a0) -> double"""
12910  return _IMP_atom.StructureSource_get_derivative(self, a0)
12911 
12912  def get_name(self):
12913  r"""get_name(StructureSource self) -> std::string"""
12914  return _IMP_atom.StructureSource_get_name(self)
12915 
12916  def clear_caches(self):
12917  r"""clear_caches(StructureSource self)"""
12918  return _IMP_atom.StructureSource_clear_caches(self)
12919 
12920  def set_name(self, a0):
12921  r"""set_name(StructureSource self, std::string a0)"""
12922  return _IMP_atom.StructureSource_set_name(self, a0)
12923 
12924  def set_check_level(self, a0):
12925  r"""set_check_level(StructureSource self, IMP::CheckLevel a0)"""
12926  return _IMP_atom.StructureSource_set_check_level(self, a0)
12927 
12928  def add_to_derivative(self, a0, a1, a2):
12929  r"""add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
12930  return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
12931 
12932  def set_is_optimized(self, a0, a1):
12933  r"""set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
12934  return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
12935 
12936  def get_is_optimized(self, a0):
12937  r"""get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
12938  return _IMP_atom.StructureSource_get_is_optimized(self, a0)
12939 
12940  def get_check_level(self):
12941  r"""get_check_level(StructureSource self) -> IMP::CheckLevel"""
12942  return _IMP_atom.StructureSource_get_check_level(self)
12943 
12944  def __eq__(self, *args):
12945  r"""
12946  __eq__(StructureSource self, StructureSource o) -> bool
12947  __eq__(StructureSource self, Particle d) -> bool
12948  """
12949  return _IMP_atom.StructureSource___eq__(self, *args)
12950 
12951  def __ne__(self, *args):
12952  r"""
12953  __ne__(StructureSource self, StructureSource o) -> bool
12954  __ne__(StructureSource self, Particle d) -> bool
12955  """
12956  return _IMP_atom.StructureSource___ne__(self, *args)
12957 
12958  def __le__(self, *args):
12959  r"""
12960  __le__(StructureSource self, StructureSource o) -> bool
12961  __le__(StructureSource self, Particle d) -> bool
12962  """
12963  return _IMP_atom.StructureSource___le__(self, *args)
12964 
12965  def __lt__(self, *args):
12966  r"""
12967  __lt__(StructureSource self, StructureSource o) -> bool
12968  __lt__(StructureSource self, Particle d) -> bool
12969  """
12970  return _IMP_atom.StructureSource___lt__(self, *args)
12971 
12972  def __ge__(self, *args):
12973  r"""
12974  __ge__(StructureSource self, StructureSource o) -> bool
12975  __ge__(StructureSource self, Particle d) -> bool
12976  """
12977  return _IMP_atom.StructureSource___ge__(self, *args)
12978 
12979  def __gt__(self, *args):
12980  r"""
12981  __gt__(StructureSource self, StructureSource o) -> bool
12982  __gt__(StructureSource self, Particle d) -> bool
12983  """
12984  return _IMP_atom.StructureSource___gt__(self, *args)
12985 
12986  def __hash__(self):
12987  r"""__hash__(StructureSource self) -> std::size_t"""
12988  return _IMP_atom.StructureSource___hash__(self)
12989 
12990  def __str__(self):
12991  r"""__str__(StructureSource self) -> std::string"""
12992  return _IMP_atom.StructureSource___str__(self)
12993 
12994  def __repr__(self):
12995  r"""__repr__(StructureSource self) -> std::string"""
12996  return _IMP_atom.StructureSource___repr__(self)
12997 
12998  def _get_as_binary(self):
12999  r"""_get_as_binary(StructureSource self) -> PyObject *"""
13000  return _IMP_atom.StructureSource__get_as_binary(self)
13001 
13002  def _set_from_binary(self, p):
13003  r"""_set_from_binary(StructureSource self, PyObject * p)"""
13004  return _IMP_atom.StructureSource__set_from_binary(self, p)
13005 
13006  def __getstate__(self):
13007  p = self._get_as_binary()
13008  if len(self.__dict__) > 1:
13009  d = self.__dict__.copy()
13010  del d['this']
13011  p = (d, p)
13012  return p
13013 
13014  def __setstate__(self, p):
13015  if not hasattr(self, 'this'):
13016  self.__init__()
13017  if isinstance(p, tuple):
13018  d, p = p
13019  self.__dict__.update(d)
13020  return self._set_from_binary(p)
13021 
13022  __swig_destroy__ = _IMP_atom.delete_StructureSource
13023 
13024 # Register StructureSource in _IMP_atom:
13025 _IMP_atom.StructureSource_swigregister(StructureSource)
13026 
13027 def __lshift__(*args):
13028  r"""
13029  __lshift__(_ostream out, Bonded n) -> _ostream
13030  __lshift__(_ostream out, Bond n) -> _ostream
13031  __lshift__(_ostream out, Hierarchy n) -> _ostream
13032  __lshift__(_ostream out, Angle n) -> _ostream
13033  __lshift__(_ostream out, Dihedral n) -> _ostream
13034  __lshift__(_ostream out, CenterOfMass n) -> _ostream
13035  __lshift__(_ostream out, Diffusion n) -> _ostream
13036  __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
13037  __lshift__(_ostream out, TAMDParticle n) -> _ostream
13038  __lshift__(_ostream out, Charged n) -> _ostream
13039  __lshift__(_ostream out, Domain n) -> _ostream
13040  __lshift__(_ostream out, LennardJones n) -> _ostream
13041  __lshift__(_ostream out, Fragment n) -> _ostream
13042  __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
13043  __lshift__(_ostream out, Atom n) -> _ostream
13044  __lshift__(_ostream out, Residue n) -> _ostream
13045  __lshift__(_ostream out, Representation n) -> _ostream
13046  __lshift__(_ostream out, State n) -> _ostream
13047  __lshift__(_ostream out, Molecule n) -> _ostream
13048  __lshift__(_ostream out, Copy n) -> _ostream
13049  __lshift__(_ostream out, Chain n) -> _ostream
13050  __lshift__(_ostream out, StructureSource n) -> _ostream
13051  """
13052  return _IMP_atom.__lshift__(*args)
13053 class HelixRestraint(IMP.Restraint):
13054  r"""Proxy of C++ IMP::atom::HelixRestraint class."""
13055 
13056  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13057 
13058  def __init__(self, rs, ideal=True):
13059  r"""__init__(HelixRestraint self, IMP::atom::Residues rs, bool ideal=True) -> HelixRestraint"""
13060  _IMP_atom.HelixRestraint_swiginit(self, _IMP_atom.new_HelixRestraint(rs, ideal))
13061 
13062  def get_number_of_bonds(self):
13063  r"""get_number_of_bonds(HelixRestraint self) -> int"""
13064  return _IMP_atom.HelixRestraint_get_number_of_bonds(self)
13065 
13066  def get_number_of_dihedrals(self):
13067  r"""get_number_of_dihedrals(HelixRestraint self) -> int"""
13068  return _IMP_atom.HelixRestraint_get_number_of_dihedrals(self)
13069 
13070  def do_get_inputs(self):
13071  r"""do_get_inputs(HelixRestraint self) -> IMP::ModelObjectsTemp"""
13072  return _IMP_atom.HelixRestraint_do_get_inputs(self)
13073 
13074  def get_version_info(self):
13075  r"""get_version_info(HelixRestraint self) -> VersionInfo"""
13076  return _IMP_atom.HelixRestraint_get_version_info(self)
13077  __swig_destroy__ = _IMP_atom.delete_HelixRestraint
13078 
13079  def __str__(self):
13080  r"""__str__(HelixRestraint self) -> std::string"""
13081  return _IMP_atom.HelixRestraint___str__(self)
13082 
13083  def __repr__(self):
13084  r"""__repr__(HelixRestraint self) -> std::string"""
13085  return _IMP_atom.HelixRestraint___repr__(self)
13086 
13087  @staticmethod
13088  def get_from(o):
13089  return _object_cast_to_HelixRestraint(o)
13090 
13091 
13092 # Register HelixRestraint in _IMP_atom:
13093 _IMP_atom.HelixRestraint_swigregister(HelixRestraint)
13094 
13096  r"""get_transformation_aligning_first_to_second(Selection s1, Selection s2) -> Transformation3D"""
13097  return _IMP_atom.get_transformation_aligning_first_to_second(s1, s2)
13098 
13099 def show_molecular_hierarchy(*args):
13100  r"""show_molecular_hierarchy(Hierarchy h, _ostream out=std::cout) -> _ostream"""
13101  return _IMP_atom.show_molecular_hierarchy(*args)
13102 class CHARMMBond(object):
13103  r"""Proxy of C++ IMP::atom::CHARMMConnection< 2 > class."""
13104 
13105  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13106  __repr__ = _swig_repr
13107 
13108  def __init__(self, atoms):
13109  r"""__init__(CHARMMBond self, IMP::Strings const & atoms) -> CHARMMBond"""
13110  _IMP_atom.CHARMMBond_swiginit(self, _IMP_atom.new_CHARMMBond(atoms))
13111 
13112  def get_endpoint(self, i):
13113  r"""get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
13114  return _IMP_atom.CHARMMBond_get_endpoint(self, i)
13115 
13116  def get_contains_atom(self, name):
13117  r"""get_contains_atom(CHARMMBond self, std::string name) -> bool"""
13118  return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
13119 
13120  def show(self, *args):
13121  r"""show(CHARMMBond self, _ostream out=std::cout)"""
13122  return _IMP_atom.CHARMMBond_show(self, *args)
13123  __swig_destroy__ = _IMP_atom.delete_CHARMMBond
13124 
13125 # Register CHARMMBond in _IMP_atom:
13126 _IMP_atom.CHARMMBond_swigregister(CHARMMBond)
13127 class CHARMMAngle(object):
13128  r"""Proxy of C++ IMP::atom::CHARMMConnection< 3 > class."""
13129 
13130  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13131  __repr__ = _swig_repr
13132 
13133  def __init__(self, atoms):
13134  r"""__init__(CHARMMAngle self, IMP::Strings const & atoms) -> CHARMMAngle"""
13135  _IMP_atom.CHARMMAngle_swiginit(self, _IMP_atom.new_CHARMMAngle(atoms))
13136 
13137  def get_endpoint(self, i):
13138  r"""get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
13139  return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
13140 
13141  def get_contains_atom(self, name):
13142  r"""get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
13143  return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
13144 
13145  def show(self, *args):
13146  r"""show(CHARMMAngle self, _ostream out=std::cout)"""
13147  return _IMP_atom.CHARMMAngle_show(self, *args)
13148  __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
13149 
13150 # Register CHARMMAngle in _IMP_atom:
13151 _IMP_atom.CHARMMAngle_swigregister(CHARMMAngle)
13152 
13153 def _get_native_overlap_cpp(m1, m2, threshold):
13154  r"""_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m2, double threshold) -> double"""
13155  return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
13156 
13157 def _get_drmsd_cpp(m0, m1):
13158  r"""_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m1) -> double"""
13159  return _IMP_atom._get_drmsd_cpp(m0, m1)
13160 
13161 def _get_drmsd_Q_cpp(m0, m1, threshold):
13162  r"""_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m1, double threshold) -> double"""
13163  return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
13164 
13165 def _get_drms_cpp(m1, m2):
13166  r"""_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m2) -> double"""
13167  return _IMP_atom._get_drms_cpp(m1, m2)
13168 
13169 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
13170  r"""_get_rigid_bodies_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > > const & m2, IMP::IntRanges const & ranges) -> double"""
13171  return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
13172 
13173 def get_native_overlap(a, b, d):
13174  va= [IMP.algebra.get_vector(x) for x in a]
13175  vb= [IMP.algebra.get_vector(x) for x in b]
13176  return _get_native_overlap_cpp(va, vb, d)
13177 
13178 def get_drmsd(a, b):
13179  va= [IMP.algebra.get_vector(x) for x in a]
13180  vb= [IMP.algebra.get_vector(x) for x in b]
13181  return _get_drmsd_cpp(va, vb)
13182 
13183 def get_drms(a, b):
13184  va= [IMP.algebra.get_vector(x) for x in a]
13185  vb= [IMP.algebra.get_vector(x) for x in b]
13186  return _get_drms_cpp(va, vb)
13187 
13188 def get_drmsd_Q(a, b, t):
13189  va= [IMP.algebra.get_vector(x) for x in a]
13190  vb= [IMP.algebra.get_vector(x) for x in b]
13191  return _get_drmsd_Q_cpp(va, vb, t)
13192 
13193 def get_rigid_bodies_drms(a, b, ranges):
13194  va= [IMP.algebra.get_vector(x) for x in a]
13195  vb= [IMP.algebra.get_vector(x) for x in b]
13196 #rs = [IMP.IntRange(r[0],r[1]) for r in ranges]
13197  return _get_rigid_bodies_drms_cpp(va, vb, ranges)
13198 
13199 
13200 
13201 def get_module_version():
13202  r"""get_module_version() -> std::string const"""
13203  return _IMP_atom.get_module_version()
13204 
13205 def get_example_path(fname):
13206  r"""get_example_path(std::string fname) -> std::string"""
13207  return _IMP_atom.get_example_path(fname)
13208 
13209 def get_data_path(fname):
13210  r"""get_data_path(std::string fname) -> std::string"""
13211  return _IMP_atom.get_data_path(fname)
13212 
13213 from . import _version_check
13214 _version_check.check_version(get_module_version())
13215 __version__ = get_module_version()
13216 
13217 
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
AtomType add_atom_type(std::string name, Element e)
Create a new AtomType.
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
double get_volume_from_residue_type(ResidueType rt)
Return an estimate for the volume of a given residue.
Hierarchy read_pdb_or_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB or mmCIF file.
Definition: mmcif.h:40
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:44
A shared container for Pairs.
Definition: PairContainer.h:39
CHARMMParameters * get_heavy_atom_CHARMM_parameters()
double get_einstein_rotational_diffusion_coefficient(double r, double temp=-1)
Hierarchy read_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the mmCIF file.
Float get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2)
Compares the secondary structure probabilities of two residues.
double get_rigid_bodies_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::IntRanges &ranges)
DRMS between two sets of rigid bodies.
Chain get_chain(Hierarchy h)
Get the containing chain or Chain() if there is none.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:80
Vector< AtomTypes > get_chi_dihedral_atom_types(ResidueType rt)
setup
Definition: setup.py:1
Atoms get_phi_dihedral_atoms(Residue rd)
Return the atoms comprising the phi dihedral.
void show_molecular_hierarchy(Hierarchy h)
Print out the molecular hierarchy.
double get_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
void remove_charmm_untyped_atoms(Hierarchy hierarchy)
Remove any atom from the Hierarchy that does not have a CHARMM type.
double get_protein_density_from_reference(ProteinDensityReference densityReference)
void show_with_representations(Hierarchy h, std::ostream &out=std::cout)
Traverse through the tree and show atom info, including representations.
Hierarchy create_simplified_from_volume(Hierarchy h, double resolution)
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
double get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square)
Convert spring constant from kcal/mol/A^2 to femtonewton/A.
double get_native_overlap(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, double threshold)
Computes the native overlap between two sets of 3D points.
Various classes to hold sets of particles.
The base class for geometry.
IMP::core::RigidBody create_compatible_rigid_body(Hierarchy h, Hierarchy reference)
Rigidify a molecule or collection of molecules.
Hierarchy create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=false)
double get_drmsd(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1)
Calculate distance the root mean square deviation between two sets of 3D points.
Definition: atom/distance.h:49
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:281
double get_mass(ResidueType c)
Get the mass from the residue type.
void add_radii(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters(), FloatKey radius_key=FloatKey("radius"))
Add vdW radius from given force field.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
double get_mass_from_number_of_residues(unsigned int num_aa)
Estimate the mass of a protein from the number of amino acids.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
Atoms get_omega_dihedral_atoms(Residue rd)
Return the atoms comprising the omega dihedral.
ParticleIndexQuads get_chi_dihedral_particle_indexes(Residue rd)
void write_pdb(const Selection &mhd, TextOutput out, unsigned int model=1)
void setup_as_approximation(Particle *h, const ParticlesTemp &other)
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
double get_mass_from_volume(double v, ProteinDensityReference ref=ALBER)
Estimate the mass of a protein from its volume.
void destroy_bond(Bond b)
Destroy the bond connecting two particles.
HierarchyTree get_hierarchy_tree(Hierarchy h)
Get a graph for the passed Hierarchy.
void add_particle(RMF::FileHandle fh, Particle *hs)
Atoms get_charmm_untyped_atoms(Hierarchy hierarchy)
Get all atoms in the Hierarchy that do not have CHARMM types.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
char get_one_letter_code(ResidueType c)
Get the 1-letter amino acid code from the residue type.
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Composable functors to implement scores via compile-time composition.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
Restraint * create_excluded_volume_restraint(const Hierarchies &hs, double resolution=-1)
Bond create_custom_bond(Bonded a, Bonded b, Float length, Float stiffness=-1)
Connect the two wrapped particles by a custom bond.
void write_pdb_of_c_alphas(const Selection &mhd, TextOutput out, unsigned int model=1)
Write a hierarchy to a PDB as C_alpha atoms.
Hierarchies read_multimodel_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the mmCIF file.
double get_kd(double na, double nb, double nab, double volume)
Definition: estimates.h:101
double get_diffusion_angle(double D, double dtfs)
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
bool get_atom_type_exists(std::string name)
Return true if that atom type already exists.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:170
FloatPair get_component_placement_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the difference between two placements of the same set of points.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
core::XYZR create_cover(const Selection &s, std::string name=std::string())
double get_volume_from_mass(double m, ProteinDensityReference ref=ALBER)
Estimate the volume of a protein from its mass.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:111
Hierarchy create_protein(Model *m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1)
Create a coarse grained molecule.
Atoms get_psi_dihedral_atoms(Residue rd)
Return the atoms comprising the psi dihedral.
Abstract class for scoring object(s) of type ParticleIndex.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Bond create_bond(Bonded a, Bonded b, Int t)
Connect the two wrapped particles by a bond.
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &orientations, double dt)
Base class for all optimizers.
Definition: Optimizer.h:48
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Hierarchy get_previous_residue(Residue rd)
Return the residue from the same chain with one lower index.
SecondaryStructureResidue setup_coarse_secondary_structure_residue(const Particles &ssr_ps, Model *mdl, bool winner_takes_all_per_res=false)
Coarsen some SecondaryStructureResidues.
double get_molarity(double n, double volume)
Definition: estimates.h:92
boost::graph HierarchyTree
A graph for representing a Hierarchy so you can view it nicely.
Hierarchy read_mol2(TextInput mol2_file, Model *model, Mol2Selector *mol2sel=nullptr)
Create a hierarchy from a Mol2 file.
Version and module information for Objects.
Definition: VersionInfo.h:29
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
void add_loop_statistical_score_data(atom::Hierarchy h)
Restraint * create_internal_connectivity_restraint(const Selection &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selection.
void write_mol2(Hierarchy rhd, TextOutput file_name)
Write a ligand hierarchy as a mol2 file.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
int get_state_index(Hierarchy h)
Walk up the hierarchy to find the current state.
SecondaryStructureResidues setup_coarse_secondary_structure_residues(const Particles &ssr_ps, Model *mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=false)
void add_protein_ligand_score_data(Hierarchy h)
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:119
std::string get_molecule_name(Hierarchy h)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Vector< Atoms > get_chi_dihedral_atoms(Residue rd)
Hierarchies read_multimodel_pdb_or_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the PDB or mmCIF file.
Definition: mmcif.h:60
double get_pairwise_rmsd_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the RMSD between two placements of the same set of points.
double get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom)
Convert force from kcal/mol/A to femtonewtons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Hierarchies read_multimodel_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Residue get_residue(Atom d, bool nothrow=false)
Return the Residue containing this atom.
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract class to implement hierarchical methods.
Definition: Refiner.h:34
void add_dope_score_data(atom::Hierarchy h)
Bond get_bond(Bonded a, Bonded b)
Get the bond between two particles.
std::string show_graphviz(Graph g)
Restraint * create_distance_restraint(const Selection &n0, const Selection &n1, double x0, double k, std::string name="Distance%1%")
Representation get_representation(Hierarchy h, bool nothrow=false)
Return the Representation object containing this hierarchy.
FloatPair get_placement_score(const core::XYZs &source, const core::XYZs &target)
Measure the difference between two placements of the same set of points.
void write_multimodel_pdb(const Hierarchies &mhd, TextOutput out)
int get_copy_index(Hierarchy h)
Walk up the hierarchy to find the current copy index.
A decorator for helping deal with a generalized hierarchy.
double get_maximum_time_step_estimate(BrownianDynamics *bd)
double get_diffusion_coefficient(const algebra::Vector3Ds &displacements, double dt)
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
Hierarchy create_simplified_assembly_from_volume(Hierarchy h, double resolution)
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
CHARMMParameters * get_all_atom_CHARMM_parameters()
Hierarchies get_leaves(const Selection &h)
double get_einstein_diffusion_coefficient(double r, double temp=-1)
double get_drmsd_Q(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1, double threshold)
Definition: atom/distance.h:85
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Applies a PairScore to each Pair in a list.
Hierarchy get_next_residue(Residue rd)
Return the residue from the same chain with one higher index.
Restraint * create_connectivity_restraint(const Selections &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selections.
void add_bonds(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters())
Add bonds using definitions from given force field parameters.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:72
double get_diffusion_length(double D, double t)
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:56
A decorator for a particle with x,y,z coordinates and a radius.
Definition: XYZR.h:27