IMP logo
IMP Reference Guide  2.18.0
The Integrative Modeling Platform
npc/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
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-2022 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 
16 
17 from sys import version_info
18 if version_info >= (2, 6, 0):
19  def swig_import_helper():
20  from os.path import dirname
21  import imp
22  fp = None
23  try:
24  fp, pathname, description = imp.find_module('_IMP_npc', [dirname(__file__)])
25  except ImportError:
26  import _IMP_npc
27  return _IMP_npc
28  if fp is not None:
29  try:
30  _mod = imp.load_module('_IMP_npc', fp, pathname, description)
31  finally:
32  fp.close()
33  return _mod
34  _IMP_npc = swig_import_helper()
35  del swig_import_helper
36 else:
37  import _IMP_npc
38 del version_info
39 try:
40  _swig_property = property
41 except NameError:
42  pass # Python < 2.2 doesn't have 'property'.
43 
44 
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46  if (name == "thisown"):
47  return self.this.own(value)
48  if (name == "this"):
49  if type(value).__name__ == 'SwigPyObject':
50  self.__dict__[name] = value
51  return
52  method = class_type.__swig_setmethods__.get(name, None)
53  if method:
54  return method(self, value)
55  if (not static):
56  object.__setattr__(self, name, value)
57  else:
58  raise AttributeError("You cannot add attributes to %s" % self)
59 
60 
61 def _swig_setattr(self, class_type, name, value):
62  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 
64 
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66  if (name == "thisown"):
67  return self.this.own()
68  method = class_type.__swig_getmethods__.get(name, None)
69  if method:
70  return method(self)
71  if (not static):
72  return object.__getattr__(self, name)
73  else:
74  raise AttributeError(name)
75 
76 def _swig_getattr(self, class_type, name):
77  return _swig_getattr_nondynamic(self, class_type, name, 0)
78 
79 
80 def _swig_repr(self):
81  try:
82  strthis = "proxy of " + self.this.__repr__()
83  except:
84  strthis = ""
85  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
86 
87 try:
88  _object = object
89  _newclass = 1
90 except AttributeError:
91  class _object:
92  pass
93  _newclass = 0
94 
95 
96 
97 def _swig_setattr_nondynamic_method(set):
98  def set_attr(self, name, value):
99  if (name == "thisown"):
100  return self.this.own(value)
101  if hasattr(self, name) or (name == "this"):
102  set(self, name, value)
103  else:
104  raise AttributeError("You cannot add attributes to %s" % self)
105  return set_attr
106 
107 
108 try:
109  import weakref
110  weakref_proxy = weakref.proxy
111 except:
112  weakref_proxy = lambda x: x
113 
114 
115 class IMP_NPC_SwigPyIterator(object):
116  """Proxy of C++ swig::IMP_NPC_SwigPyIterator class"""
117  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
118 
119  def __init__(self, *args, **kwargs):
120  raise AttributeError("No constructor defined - class is abstract")
121  __repr__ = _swig_repr
122  __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
123  __del__ = lambda self: None
124 
125  def value(self):
126  """value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
127  return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
128 
129 
130  def incr(self, n=1):
131  """
132  incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
133  incr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
134  """
135  return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
136 
137 
138  def decr(self, n=1):
139  """
140  decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
141  decr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
142  """
143  return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
144 
145 
146  def distance(self, x):
147  """distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
148  return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
149 
150 
151  def equal(self, x):
152  """equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
153  return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
154 
155 
156  def copy(self):
157  """copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
158  return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
159 
160 
161  def next(self):
162  """next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
163  return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
164 
165 
166  def __next__(self):
167  """__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
168  return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
169 
170 
171  def previous(self):
172  """previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
173  return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
174 
175 
176  def advance(self, n):
177  """advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
178  return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
179 
180 
181  def __eq__(self, x):
182  """__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
183  return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
184 
185 
186  def __ne__(self, x):
187  """__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
188  return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
189 
190 
191  def __iadd__(self, n):
192  """__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
193  return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
194 
195 
196  def __isub__(self, n):
197  """__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
198  return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
199 
200 
201  def __add__(self, n):
202  """__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
203  return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
204 
205 
206  def __sub__(self, *args):
207  """
208  __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
209  __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
210  """
211  return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
212 
213  def __iter__(self):
214  return self
215 IMP_NPC_SwigPyIterator_swigregister = _IMP_npc.IMP_NPC_SwigPyIterator_swigregister
216 IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
217 
218 
219 _value_types=[]
220 _object_types=[]
221 _raii_types=[]
222 _plural_types=[]
223 
224 
225 _IMP_npc.IMP_DEBUG_swigconstant(_IMP_npc)
226 IMP_DEBUG = _IMP_npc.IMP_DEBUG
227 
228 _IMP_npc.IMP_RELEASE_swigconstant(_IMP_npc)
229 IMP_RELEASE = _IMP_npc.IMP_RELEASE
230 
231 _IMP_npc.IMP_SILENT_swigconstant(_IMP_npc)
232 IMP_SILENT = _IMP_npc.IMP_SILENT
233 
234 _IMP_npc.IMP_PROGRESS_swigconstant(_IMP_npc)
235 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
236 
237 _IMP_npc.IMP_TERSE_swigconstant(_IMP_npc)
238 IMP_TERSE = _IMP_npc.IMP_TERSE
239 
240 _IMP_npc.IMP_VERBOSE_swigconstant(_IMP_npc)
241 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
242 
243 _IMP_npc.IMP_MEMORY_swigconstant(_IMP_npc)
244 IMP_MEMORY = _IMP_npc.IMP_MEMORY
245 
246 _IMP_npc.IMP_NONE_swigconstant(_IMP_npc)
247 IMP_NONE = _IMP_npc.IMP_NONE
248 
249 _IMP_npc.IMP_USAGE_swigconstant(_IMP_npc)
250 IMP_USAGE = _IMP_npc.IMP_USAGE
251 
252 _IMP_npc.IMP_INTERNAL_swigconstant(_IMP_npc)
253 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
254 
255 _IMP_npc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_npc)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
257 
258 _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_npc)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_npc)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE
263 
264 _IMP_npc.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_npc)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_npc.IMP_COMPILER_HAS_THREE_WAY
266 
267 _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
269 
270 _IMP_npc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_npc)
271 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
272 
273 _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_npc)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
275 
276 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_npc)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
278 
279 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_npc)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
281 
282 _IMP_npc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_npc)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
284 
285 import sys
286 class _DirectorObjects(object):
287  """@internal Simple class to keep references to director objects
288  to prevent premature deletion."""
289  def __init__(self):
290  self._objects = []
291  def register(self, obj):
292  """Take a reference to a director object; will only work for
293  refcounted C++ classes"""
294  if hasattr(obj, 'get_ref_count'):
295  self._objects.append(obj)
296  def cleanup(self):
297  """Only drop our reference and allow cleanup by Python if no other
298  Python references exist (we hold 3 references: one in self._objects,
299  one in x, and one in the argument list for getrefcount) *and* no
300  other C++ references exist (the Python object always holds one)"""
301  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
302  or x.get_ref_count() > 1]
303 # Do in two steps so the references are kept until the end of the
304 # function (deleting references may trigger a fresh call to this method)
305  self._objects = objs
306  def get_object_count(self):
307  """Get number of director objects (useful for testing only)"""
308  return len(self._objects)
309 _director_objects = _DirectorObjects()
310 
311 class _ostream(object):
312  """Proxy of C++ std::ostream class"""
313  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
314 
315  def __init__(self, *args, **kwargs):
316  raise AttributeError("No constructor defined")
317  __repr__ = _swig_repr
318 
319  def write(self, osa_buf):
320  """write(_ostream self, char const * osa_buf)"""
321  return _IMP_npc._ostream_write(self, osa_buf)
322 
323 _ostream_swigregister = _IMP_npc._ostream_swigregister
324 _ostream_swigregister(_ostream)
325 
326 
327 _IMP_npc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_npc)
328 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
329 
330 _IMP_npc.IMP_C_OPEN_BINARY_swigconstant(_IMP_npc)
331 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
332 import IMP
333 
334 _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
336 
337 _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
339 
340 _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
342 
343 _IMP_npc.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_CGAL_HAS_BOOST_SERIALIZATION
345 
346 _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
348 
349 _IMP_npc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_npc)
350 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
351 
352 _IMP_npc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_npc)
353 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
354 import IMP.cgal
355 
356 _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_npc)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
358 
359 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
361 
362 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
364 
365 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
367 
368 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
370 
371 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
373 
374 _IMP_npc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_npc)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
376 
377 _IMP_npc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_npc)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
379 
380 _IMP_npc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_npc)
381 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
382 
383 _IMP_npc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_npc)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
385 import IMP.algebra
386 
387 _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_npc)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
389 
390 _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
392 
393 _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
395 
396 _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
398 
399 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
401 
402 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
404 
405 _IMP_npc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_npc)
406 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
407 
408 _IMP_npc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_npc)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
410 
411 _IMP_npc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_npc)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
413 import IMP.display
414 
415 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_npc)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
417 
418 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
420 
421 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
423 
424 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
426 
427 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
429 
430 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
432 
433 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_npc)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
435 
436 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_npc)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
438 
439 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_npc)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
441 
442 _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_npc)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
444 import IMP.score_functor
445 
446 _IMP_npc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_npc)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
448 
449 _IMP_npc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
451 
452 _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
454 
455 _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
457 
458 _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
460 
461 _IMP_npc.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_CORE_HAS_BOOST_SERIALIZATION
463 
464 _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
466 
467 _IMP_npc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_npc)
468 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
469 
470 _IMP_npc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_npc)
471 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
472 
473 _IMP_npc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_npc)
474 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
475 
476 _IMP_npc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_npc)
477 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
478 import IMP.core
479 
480 _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA_swigconstant(_IMP_npc)
481 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
482 
483 _IMP_npc.IMP_NPC_HAS_IMP_CGAL_swigconstant(_IMP_npc)
484 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
485 
486 _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY_swigconstant(_IMP_npc)
487 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
488 
489 _IMP_npc.IMP_NPC_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
490 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
491 
492 _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_npc)
493 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
494 
495 _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
496 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
497 
498 _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
499 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
500 
501 _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
502 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
503 
504 _IMP_npc.IMP_NPC_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
505 IMP_NPC_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_NPC_HAS_BOOST_SERIALIZATION
506 
507 _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
508 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
509 
510 _IMP_npc.IMP_NPC_HAS_CGAL_swigconstant(_IMP_npc)
511 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
512 
513 _IMP_npc.IMP_NPC_HAS_HDF5_swigconstant(_IMP_npc)
514 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
515 
516 _IMP_npc.IMP_NPC_HAS_NUMPY_swigconstant(_IMP_npc)
517 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
518 
519 _IMP_npc.IMP_NPC_HAS_PYTHON_IHM_swigconstant(_IMP_npc)
520 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
521 
522 _IMP_npc.IMPNPC_SHOW_WARNINGS_swigconstant(_IMP_npc)
523 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
524 
525 _object_types.append("ZAxialPositionLowerRestraint")
526 
527 
528 def _object_cast_to_ZAxialPositionLowerRestraint(o):
529  """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
530  return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
531 
532 _object_types.append("ZAxialPositionUpperRestraint")
533 
534 
535 def _object_cast_to_ZAxialPositionUpperRestraint(o):
536  """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
537  return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
538 
539 _object_types.append("XYRadialPositionLowerRestraint")
540 
541 
542 def _object_cast_to_XYRadialPositionLowerRestraint(o):
543  """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
544  return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
545 
546 _object_types.append("XYRadialPositionUpperRestraint")
547 
548 
549 def _object_cast_to_XYRadialPositionUpperRestraint(o):
550  """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
551  return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
552 
553 _object_types.append("ProteinContactRestraint")
554 
555 
556 def _object_cast_to_ProteinContactRestraint(o):
557  """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
558  return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
559 
560 _object_types.append("ProteinChainRestraint")
561 
562 
563 def _object_cast_to_ProteinChainRestraint(o):
564  """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
565  return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
566 
567 _object_types.append("MembraneSurfaceLocationRestraint")
568 
569 
570 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
571  """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
572  return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
573 
574 _object_types.append("PoreSideVolumeLocationRestraint")
575 
576 
577 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
578  """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
579  return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
580 
581 _object_types.append("PerinuclearVolumeLocationRestraint")
582 
583 
584 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
585  """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
586  return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
587 
588 _object_types.append("AssemblySymmetryByDistanceRestraint")
589 
590 
591 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
592  """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
593  return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
594 
595 _object_types.append("AssemblySymmetryByDihedralRestraint")
596 
597 
598 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
599  """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
600  return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
601 
602 _object_types.append("ProteinProximityRestraint")
603 
604 
605 def _object_cast_to_ProteinProximityRestraint(o):
606  """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
607  return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
608 
609 _object_types.append("CompositeRestraint")
610 
611 
612 def _object_cast_to_CompositeRestraint(o):
613  """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
614  return _IMP_npc._object_cast_to_CompositeRestraint(o)
615 
616 _object_types.append("MinimumSphereDistancePairScore")
617 
618 
619 def _object_cast_to_MinimumSphereDistancePairScore(o):
620  """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
621  return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
622 
623 _object_types.append("MembraneExclusionRestraint")
624 
625 
626 def _object_cast_to_MembraneExclusionRestraint(o):
627  """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
628  return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
629 
630 _object_types.append("MembraneSurfaceLocationConditionalRestraint")
631 
632 
633 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
634  """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
635  return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
636 
637 _object_types.append("XYRadialPositionRestraint")
638 
639 
640 def _object_cast_to_XYRadialPositionRestraint(o):
641  """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
642  return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
643 
644 _object_types.append("YAxialPositionLowerRestraint")
645 
646 
647 def _object_cast_to_YAxialPositionLowerRestraint(o):
648  """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
649  return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
650 
651 _object_types.append("YAxialPositionRestraint")
652 
653 
654 def _object_cast_to_YAxialPositionRestraint(o):
655  """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
656  return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
657 
658 _object_types.append("YAxialPositionUpperRestraint")
659 
660 
661 def _object_cast_to_YAxialPositionUpperRestraint(o):
662  """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
663  return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
664 
665 _object_types.append("ZAxialPositionRestraint")
666 
667 
668 def _object_cast_to_ZAxialPositionRestraint(o):
669  """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
670  return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
671 class ZAxialPositionRestraint(IMP.Restraint):
672  """Proxy of C++ IMP::npc::ZAxialPositionRestraint class"""
673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
674 
675  def __init__(self, *args):
676  """
677  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
678  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
679  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
680  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
681  """
682  this = _IMP_npc.new_ZAxialPositionRestraint(*args)
683  try:
684  self.this.append(this)
685  except:
686  self.this = this
687 
688  def add_particle(self, p):
689  """add_particle(ZAxialPositionRestraint self, Particle p)"""
690  return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
691 
692 
693  def add_particles(self, ps):
694  """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
695  return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
696 
697 
698  def set_particles(self, ps):
699  """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
700  return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
701 
702 
703  def do_get_inputs(self):
704  """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
705  return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
706 
707 
708  def get_version_info(self):
709  """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
710  return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
711 
712 
713  def __str__(self):
714  """__str__(ZAxialPositionRestraint self) -> std::string"""
715  return _IMP_npc.ZAxialPositionRestraint___str__(self)
716 
717 
718  def __repr__(self):
719  """__repr__(ZAxialPositionRestraint self) -> std::string"""
720  return _IMP_npc.ZAxialPositionRestraint___repr__(self)
721 
722 
723  @staticmethod
724  def get_from(o):
725  return _object_cast_to_ZAxialPositionRestraint(o)
726 
727 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
728 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
729 
730 class ZAxialPositionLowerRestraint(IMP.Restraint):
731  """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class"""
732  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
733 
734  def __init__(self, *args):
735  """
736  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
737  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
738  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
739  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
740  """
741  this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
742  try:
743  self.this.append(this)
744  except:
745  self.this = this
746 
747  def add_particle(self, p):
748  """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
749  return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
750 
751 
752  def add_particles(self, ps):
753  """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
754  return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
755 
756 
757  def set_particles(self, ps):
758  """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
759  return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
760 
761 
762  def do_get_inputs(self):
763  """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
764  return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
765 
766 
767  def get_version_info(self):
768  """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
769  return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
770 
771 
772  def __str__(self):
773  """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
774  return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
775 
776 
777  def __repr__(self):
778  """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
779  return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
780 
781 
782  @staticmethod
783  def get_from(o):
784  return _object_cast_to_ZAxialPositionLowerRestraint(o)
785 
786 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
787 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
788 
789 class ZAxialPositionUpperRestraint(IMP.Restraint):
790  """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class"""
791  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
792 
793  def __init__(self, *args):
794  """
795  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
796  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
797  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
798  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
799  """
800  this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
801  try:
802  self.this.append(this)
803  except:
804  self.this = this
805 
806  def add_particle(self, p):
807  """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
808  return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
809 
810 
811  def add_particles(self, ps):
812  """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
813  return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
814 
815 
816  def set_particles(self, ps):
817  """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
818  return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
819 
820 
821  def do_get_inputs(self):
822  """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
823  return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
824 
825 
826  def get_version_info(self):
827  """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
828  return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
829 
830 
831  def __str__(self):
832  """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
833  return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
834 
835 
836  def __repr__(self):
837  """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
838  return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
839 
840 
841  @staticmethod
842  def get_from(o):
843  return _object_cast_to_ZAxialPositionUpperRestraint(o)
844 
845 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
846 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
847 
848 class YAxialPositionRestraint(IMP.Restraint):
849  """Proxy of C++ IMP::npc::YAxialPositionRestraint class"""
850  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
851 
852  def __init__(self, *args):
853  """
854  __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
855  __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
856  __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
857  __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
858  """
859  this = _IMP_npc.new_YAxialPositionRestraint(*args)
860  try:
861  self.this.append(this)
862  except:
863  self.this = this
864 
865  def add_particle(self, p):
866  """add_particle(YAxialPositionRestraint self, Particle p)"""
867  return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
868 
869 
870  def add_particles(self, ps):
871  """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
872  return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
873 
874 
875  def set_particles(self, ps):
876  """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
877  return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
878 
879 
880  def do_get_inputs(self):
881  """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
882  return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
883 
884 
885  def get_version_info(self):
886  """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
887  return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
888 
889 
890  def __str__(self):
891  """__str__(YAxialPositionRestraint self) -> std::string"""
892  return _IMP_npc.YAxialPositionRestraint___str__(self)
893 
894 
895  def __repr__(self):
896  """__repr__(YAxialPositionRestraint self) -> std::string"""
897  return _IMP_npc.YAxialPositionRestraint___repr__(self)
898 
899 
900  @staticmethod
901  def get_from(o):
902  return _object_cast_to_YAxialPositionRestraint(o)
903 
904 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
905 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
906 
907 class YAxialPositionLowerRestraint(IMP.Restraint):
908  """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class"""
909  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
910 
911  def __init__(self, *args):
912  """
913  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
914  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
915  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
916  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
917  """
918  this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
919  try:
920  self.this.append(this)
921  except:
922  self.this = this
923 
924  def add_particle(self, p):
925  """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
926  return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
927 
928 
929  def add_particles(self, ps):
930  """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
931  return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
932 
933 
934  def set_particles(self, ps):
935  """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
936  return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
937 
938 
939  def do_get_inputs(self):
940  """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
941  return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
942 
943 
944  def get_version_info(self):
945  """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
946  return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
947 
948 
949  def __str__(self):
950  """__str__(YAxialPositionLowerRestraint self) -> std::string"""
951  return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
952 
953 
954  def __repr__(self):
955  """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
956  return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
957 
958 
959  @staticmethod
960  def get_from(o):
961  return _object_cast_to_YAxialPositionLowerRestraint(o)
962 
963 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
964 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
965 
966 class YAxialPositionUpperRestraint(IMP.Restraint):
967  """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class"""
968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
969 
970  def __init__(self, *args):
971  """
972  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
973  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
974  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
975  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
976  """
977  this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
978  try:
979  self.this.append(this)
980  except:
981  self.this = this
982 
983  def add_particle(self, p):
984  """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
985  return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
986 
987 
988  def add_particles(self, ps):
989  """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
990  return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
991 
992 
993  def set_particles(self, ps):
994  """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
995  return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
996 
997 
998  def do_get_inputs(self):
999  """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1000  return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
1001 
1002 
1003  def get_version_info(self):
1004  """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
1005  return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
1006 
1007 
1008  def __str__(self):
1009  """__str__(YAxialPositionUpperRestraint self) -> std::string"""
1010  return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
1011 
1012 
1013  def __repr__(self):
1014  """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
1015  return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
1016 
1017 
1018  @staticmethod
1019  def get_from(o):
1020  return _object_cast_to_YAxialPositionUpperRestraint(o)
1021 
1022 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
1023 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1024 
1025 class XYRadialPositionRestraint(IMP.Restraint):
1026  """Proxy of C++ IMP::npc::XYRadialPositionRestraint class"""
1027  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1028 
1029  def __init__(self, *args):
1030  """
1031  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1032  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1033  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1034  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1035  """
1036  this = _IMP_npc.new_XYRadialPositionRestraint(*args)
1037  try:
1038  self.this.append(this)
1039  except:
1040  self.this = this
1041 
1042  def add_particle(self, p):
1043  """add_particle(XYRadialPositionRestraint self, Particle p)"""
1044  return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1045 
1046 
1047  def add_particles(self, ps):
1048  """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1049  return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1050 
1051 
1052  def set_particles(self, ps):
1053  """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1054  return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1055 
1056 
1057  def do_get_inputs(self):
1058  """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1059  return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1060 
1061 
1062  def get_version_info(self):
1063  """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1064  return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1065 
1066 
1067  def __str__(self):
1068  """__str__(XYRadialPositionRestraint self) -> std::string"""
1069  return _IMP_npc.XYRadialPositionRestraint___str__(self)
1070 
1071 
1072  def __repr__(self):
1073  """__repr__(XYRadialPositionRestraint self) -> std::string"""
1074  return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1075 
1076 
1077  @staticmethod
1078  def get_from(o):
1079  return _object_cast_to_XYRadialPositionRestraint(o)
1080 
1081 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
1082 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1083 
1084 class XYRadialPositionLowerRestraint(IMP.Restraint):
1085  """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class"""
1086  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1087 
1088  def __init__(self, *args):
1089  """
1090  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1091  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1092  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1093  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1094  """
1095  this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
1096  try:
1097  self.this.append(this)
1098  except:
1099  self.this = this
1100 
1101  def add_particle(self, p):
1102  """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1103  return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1104 
1105 
1106  def add_particles(self, ps):
1107  """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1108  return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1109 
1110 
1111  def set_particles(self, ps):
1112  """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1113  return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1114 
1115 
1116  def do_get_inputs(self):
1117  """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1118  return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1119 
1120 
1121  def get_version_info(self):
1122  """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1123  return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1124 
1125 
1126  def __str__(self):
1127  """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1128  return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1129 
1130 
1131  def __repr__(self):
1132  """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1133  return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1134 
1135 
1136  @staticmethod
1137  def get_from(o):
1138  return _object_cast_to_XYRadialPositionLowerRestraint(o)
1139 
1140 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
1141 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1142 
1143 class XYRadialPositionUpperRestraint(IMP.Restraint):
1144  """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class"""
1145  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1146 
1147  def __init__(self, *args):
1148  """
1149  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1150  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1151  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1152  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1153  """
1154  this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
1155  try:
1156  self.this.append(this)
1157  except:
1158  self.this = this
1159 
1160  def add_particle(self, p):
1161  """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1162  return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1163 
1164 
1165  def add_particles(self, ps):
1166  """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1167  return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1168 
1169 
1170  def set_particles(self, ps):
1171  """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1172  return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1173 
1174 
1175  def do_get_inputs(self):
1176  """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1177  return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1178 
1179 
1180  def get_version_info(self):
1181  """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1182  return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1183 
1184 
1185  def __str__(self):
1186  """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1187  return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1188 
1189 
1190  def __repr__(self):
1191  """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1192  return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1193 
1194 
1195  @staticmethod
1196  def get_from(o):
1197  return _object_cast_to_XYRadialPositionUpperRestraint(o)
1198 
1199 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1200 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1201 
1202 class ProteinContactRestraint(IMP.Restraint):
1203  """Proxy of C++ IMP::npc::ProteinContactRestraint class"""
1204  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1205 
1206  def __init__(self, *args):
1207  """
1208  __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1209  __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1210  __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1211  __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1212  """
1213  this = _IMP_npc.new_ProteinContactRestraint(*args)
1214  try:
1215  self.this.append(this)
1216  except:
1217  self.this = this
1218 
1219  def add_particle(self, p):
1220  """add_particle(ProteinContactRestraint self, Particle p)"""
1221  return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1222 
1223 
1224  def add_particles(self, ps):
1225  """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1226  return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1227 
1228 
1229  def set_particles(self, ps):
1230  """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1231  return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1232 
1233 
1234  def do_get_inputs(self):
1235  """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1236  return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1237 
1238 
1239  def get_version_info(self):
1240  """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1241  return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1242 
1243 
1244  def __str__(self):
1245  """__str__(ProteinContactRestraint self) -> std::string"""
1246  return _IMP_npc.ProteinContactRestraint___str__(self)
1247 
1248 
1249  def __repr__(self):
1250  """__repr__(ProteinContactRestraint self) -> std::string"""
1251  return _IMP_npc.ProteinContactRestraint___repr__(self)
1252 
1253 
1254  @staticmethod
1255  def get_from(o):
1256  return _object_cast_to_ProteinContactRestraint(o)
1257 
1258 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1259 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1260 
1261 class ProteinChainRestraint(IMP.Restraint):
1262  """Proxy of C++ IMP::npc::ProteinChainRestraint class"""
1263  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1264 
1265  def __init__(self, *args):
1266  """
1267  __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1268  __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1269  __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1270  __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1271  """
1272  this = _IMP_npc.new_ProteinChainRestraint(*args)
1273  try:
1274  self.this.append(this)
1275  except:
1276  self.this = this
1277 
1278  def add_particle(self, p):
1279  """add_particle(ProteinChainRestraint self, Particle p)"""
1280  return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1281 
1282 
1283  def add_particles(self, ps):
1284  """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1285  return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1286 
1287 
1288  def set_particles(self, ps):
1289  """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1290  return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1291 
1292 
1293  def do_get_inputs(self):
1294  """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1295  return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1296 
1297 
1298  def get_version_info(self):
1299  """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1300  return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1301 
1302 
1303  def __str__(self):
1304  """__str__(ProteinChainRestraint self) -> std::string"""
1305  return _IMP_npc.ProteinChainRestraint___str__(self)
1306 
1307 
1308  def __repr__(self):
1309  """__repr__(ProteinChainRestraint self) -> std::string"""
1310  return _IMP_npc.ProteinChainRestraint___repr__(self)
1311 
1312 
1313  @staticmethod
1314  def get_from(o):
1315  return _object_cast_to_ProteinChainRestraint(o)
1316 
1317 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1318 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1319 
1320 class MembraneSurfaceLocationRestraint(IMP.Restraint):
1321  """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class"""
1322  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1323 
1324  def __init__(self, *args):
1325  """
1326  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1327  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1328  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1329  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1330  """
1331  this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1332  try:
1333  self.this.append(this)
1334  except:
1335  self.this = this
1336 
1337  def add_particle(self, p):
1338  """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1339  return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1340 
1341 
1342  def add_particles(self, ps):
1343  """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1344  return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1345 
1346 
1347  def set_particles(self, ps):
1348  """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1349  return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1350 
1351 
1352  def do_get_inputs(self):
1353  """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1354  return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1355 
1356 
1357  def get_version_info(self):
1358  """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1359  return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1360 
1361 
1362  def __str__(self):
1363  """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1364  return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1365 
1366 
1367  def __repr__(self):
1368  """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1369  return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1370 
1371 
1372  @staticmethod
1373  def get_from(o):
1374  return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1375 
1376 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1377 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1378 
1379 class MembraneSurfaceLocationConditionalRestraint(IMP.Restraint):
1380  """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class"""
1381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1382 
1383  def __init__(self, *args):
1384  """
1385  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1386  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1387  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1388  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1389  """
1390  this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1391  try:
1392  self.this.append(this)
1393  except:
1394  self.this = this
1395 
1396  def add_particle1(self, p):
1397  """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1398  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1399 
1400 
1401  def add_particle2(self, p):
1402  """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1403  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1404 
1405 
1406  def add_particles1(self, ps):
1407  """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1408  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1409 
1410 
1411  def add_particles2(self, ps):
1412  """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1413  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1414 
1415 
1416  def set_particles1(self, ps):
1417  """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1418  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1419 
1420 
1421  def set_particles2(self, ps):
1422  """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1423  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1424 
1425 
1426  def do_get_inputs(self):
1427  """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1428  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1429 
1430 
1431  def get_version_info(self):
1432  """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1433  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1434 
1435 
1436  def __str__(self):
1437  """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1438  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1439 
1440 
1441  def __repr__(self):
1442  """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1443  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1444 
1445 
1446  @staticmethod
1447  def get_from(o):
1448  return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1449 
1450 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1451 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1452 
1453 class MembraneExclusionRestraint(IMP.Restraint):
1454  """Proxy of C++ IMP::npc::MembraneExclusionRestraint class"""
1455  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1456 
1457  def __init__(self, *args):
1458  """
1459  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1460  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1461  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1462  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1463  """
1464  this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1465  try:
1466  self.this.append(this)
1467  except:
1468  self.this = this
1469 
1470  def add_particle(self, p):
1471  """add_particle(MembraneExclusionRestraint self, Particle p)"""
1472  return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1473 
1474 
1475  def add_particles(self, ps):
1476  """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1477  return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1478 
1479 
1480  def set_particles(self, ps):
1481  """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1482  return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1483 
1484 
1485  def do_get_inputs(self):
1486  """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1487  return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1488 
1489 
1490  def get_version_info(self):
1491  """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1492  return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1493 
1494 
1495  def __str__(self):
1496  """__str__(MembraneExclusionRestraint self) -> std::string"""
1497  return _IMP_npc.MembraneExclusionRestraint___str__(self)
1498 
1499 
1500  def __repr__(self):
1501  """__repr__(MembraneExclusionRestraint self) -> std::string"""
1502  return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1503 
1504 
1505  @staticmethod
1506  def get_from(o):
1507  return _object_cast_to_MembraneExclusionRestraint(o)
1508 
1509 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1510 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1511 
1512 class PoreSideVolumeLocationRestraint(IMP.Restraint):
1513  """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class"""
1514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1515 
1516  def __init__(self, *args):
1517  """
1518  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1519  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1520  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1521  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1522  """
1523  this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1524  try:
1525  self.this.append(this)
1526  except:
1527  self.this = this
1528 
1529  def add_particle(self, p):
1530  """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1531  return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1532 
1533 
1534  def add_particles(self, ps):
1535  """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1536  return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1537 
1538 
1539  def set_particles(self, ps):
1540  """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1541  return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1542 
1543 
1544  def do_get_inputs(self):
1545  """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1546  return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1547 
1548 
1549  def get_version_info(self):
1550  """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1551  return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1552 
1553 
1554  def __str__(self):
1555  """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1556  return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1557 
1558 
1559  def __repr__(self):
1560  """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1561  return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1562 
1563 
1564  @staticmethod
1565  def get_from(o):
1566  return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1567 
1568 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1569 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1570 
1571 class PerinuclearVolumeLocationRestraint(IMP.Restraint):
1572  """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class"""
1573  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1574 
1575  def __init__(self, *args):
1576  """
1577  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1578  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1579  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1580  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1581  """
1582  this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1583  try:
1584  self.this.append(this)
1585  except:
1586  self.this = this
1587 
1588  def add_particle(self, p):
1589  """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1590  return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1591 
1592 
1593  def add_particles(self, ps):
1594  """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1595  return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1596 
1597 
1598  def set_particles(self, ps):
1599  """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1600  return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1601 
1602 
1603  def do_get_inputs(self):
1604  """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1605  return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1606 
1607 
1608  def get_version_info(self):
1609  """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1610  return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1611 
1612 
1613  def __str__(self):
1614  """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1615  return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1616 
1617 
1618  def __repr__(self):
1619  """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1620  return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1621 
1622 
1623  @staticmethod
1624  def get_from(o):
1625  return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1626 
1627 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1628 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1629 
1630 class AssemblySymmetryByDistanceRestraint(IMP.Restraint):
1631  """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class"""
1632  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1633 
1634  def __init__(self, *args):
1635  """
1636  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1637  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1638  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1639  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1640  """
1641  this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1642  try:
1643  self.this.append(this)
1644  except:
1645  self.this = this
1646 
1647  def add_particle(self, p):
1648  """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1649  return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1650 
1651 
1652  def add_particles(self, ps):
1653  """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1654  return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1655 
1656 
1657  def set_particles(self, ps):
1658  """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1659  return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1660 
1661 
1662  def do_get_inputs(self):
1663  """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1664  return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1665 
1666 
1667  def get_version_info(self):
1668  """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1669  return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1670 
1671 
1672  def __str__(self):
1673  """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1674  return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1675 
1676 
1677  def __repr__(self):
1678  """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1679  return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1680 
1681 
1682  @staticmethod
1683  def get_from(o):
1684  return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1685 
1686 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1687 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1688 
1689 class AssemblySymmetryByDihedralRestraint(IMP.Restraint):
1690  """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class"""
1691  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1692 
1693  def __init__(self, *args):
1694  """
1695  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1696  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1697  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1698  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1699  """
1700  this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1701  try:
1702  self.this.append(this)
1703  except:
1704  self.this = this
1705 
1706  def add_particle(self, p):
1707  """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1708  return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1709 
1710 
1711  def add_particles(self, ps):
1712  """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1713  return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1714 
1715 
1716  def set_particles(self, ps):
1717  """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1718  return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1719 
1720 
1721  def do_get_inputs(self):
1722  """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1723  return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1724 
1725 
1726  def get_version_info(self):
1727  """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1728  return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1729 
1730 
1731  def __str__(self):
1732  """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1733  return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1734 
1735 
1736  def __repr__(self):
1737  """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1738  return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1739 
1740 
1741  @staticmethod
1742  def get_from(o):
1743  return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1744 
1745 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1746 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1747 
1748 class ProteinProximityRestraint(IMP.Restraint):
1749  """Proxy of C++ IMP::npc::ProteinProximityRestraint class"""
1750  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1751 
1752  def __init__(self, *args):
1753  """
1754  __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1755  __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1756  __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1757  __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1758  """
1759  this = _IMP_npc.new_ProteinProximityRestraint(*args)
1760  try:
1761  self.this.append(this)
1762  except:
1763  self.this = this
1764 
1765  def add_particle(self, p):
1766  """add_particle(ProteinProximityRestraint self, Particle p)"""
1767  return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1768 
1769 
1770  def add_particles(self, ps):
1771  """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1772  return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1773 
1774 
1775  def set_particles(self, ps):
1776  """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1777  return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1778 
1779 
1780  def do_get_inputs(self):
1781  """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1782  return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1783 
1784 
1785  def get_version_info(self):
1786  """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1787  return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1788 
1789 
1790  def __str__(self):
1791  """__str__(ProteinProximityRestraint self) -> std::string"""
1792  return _IMP_npc.ProteinProximityRestraint___str__(self)
1793 
1794 
1795  def __repr__(self):
1796  """__repr__(ProteinProximityRestraint self) -> std::string"""
1797  return _IMP_npc.ProteinProximityRestraint___repr__(self)
1798 
1799 
1800  @staticmethod
1801  def get_from(o):
1802  return _object_cast_to_ProteinProximityRestraint(o)
1803 
1804 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1805 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1806 
1807 class CompositeRestraint(IMP.Restraint):
1808  """Proxy of C++ IMP::npc::CompositeRestraint class"""
1809  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1810 
1811  def __init__(self, m, ps):
1812  """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1813  this = _IMP_npc.new_CompositeRestraint(m, ps)
1814  try:
1815  self.this.append(this)
1816  except:
1817  self.this = this
1818 
1819  def add_type(self, ps):
1820  """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1821  return _IMP_npc.CompositeRestraint_add_type(self, ps)
1822 
1823 
1824  def get_connected_pairs(self):
1825  """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1826  return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1827 
1828 
1829  def do_get_inputs(self):
1830  """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1831  return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1832 
1833 
1834  def get_version_info(self):
1835  """get_version_info(CompositeRestraint self) -> VersionInfo"""
1836  return _IMP_npc.CompositeRestraint_get_version_info(self)
1837 
1838 
1839  def __str__(self):
1840  """__str__(CompositeRestraint self) -> std::string"""
1841  return _IMP_npc.CompositeRestraint___str__(self)
1842 
1843 
1844  def __repr__(self):
1845  """__repr__(CompositeRestraint self) -> std::string"""
1846  return _IMP_npc.CompositeRestraint___repr__(self)
1847 
1848 
1849  @staticmethod
1850  def get_from(o):
1851  return _object_cast_to_CompositeRestraint(o)
1852 
1853 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1854 CompositeRestraint_swigregister(CompositeRestraint)
1855 
1856 class MinimumSphereDistancePairScore(IMP.PairScore):
1857  """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class"""
1858  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1859 
1860  def __init__(self, f, transforms):
1861  """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1862  this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1863  try:
1864  self.this.append(this)
1865  except:
1866  self.this = this
1867 
1868  def do_get_inputs(self, m, pis):
1869  """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1870  return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1871 
1872 
1873  def get_version_info(self):
1874  """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1875  return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1876 
1877 
1878  def __str__(self):
1879  """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1880  return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1881 
1882 
1883  def __repr__(self):
1884  """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1885  return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1886 
1887 
1888  @staticmethod
1889  def get_from(o):
1890  return _object_cast_to_MinimumSphereDistancePairScore(o)
1891 
1892 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1893 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1894 
1895 
1896 def get_module_version():
1897  """get_module_version() -> std::string const"""
1898  return _IMP_npc.get_module_version()
1899 
1900 def get_example_path(fname):
1901  """get_example_path(std::string fname) -> std::string"""
1902  return _IMP_npc.get_example_path(fname)
1903 
1904 def get_data_path(fname):
1905  """get_data_path(std::string fname) -> std::string"""
1906  return _IMP_npc.get_data_path(fname)
1907 
1908 from . import _version_check
1909 _version_check.check_version(get_module_version())
1910 __version__ = get_module_version()
1911 
1912 
1913 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:42
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Make CGAL functionality available to IMP.
std::string get_module_version()
Return the version of this module, as a string.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_particle(RMF::FileHandle fh, Particle *hs)
Composable functors to implement scores via compile-time composition.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Output IMP model data in various file formats.
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:53