IMP logo
IMP Reference Guide  2.17.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_SYSTEM_swigconstant(_IMP_npc)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
345 
346 _IMP_npc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_npc)
347 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
348 
349 _IMP_npc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_npc)
350 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
351 import IMP.cgal
352 
353 _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_npc)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
355 
356 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
358 
359 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
361 
362 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
364 
365 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
367 
368 _IMP_npc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_npc)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
370 
371 _IMP_npc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_npc)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
373 
374 _IMP_npc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_npc)
375 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
376 
377 _IMP_npc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_npc)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
379 import IMP.algebra
380 
381 _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_npc)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
383 
384 _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
386 
387 _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
389 
390 _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
392 
393 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
395 
396 _IMP_npc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_npc)
397 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
398 
399 _IMP_npc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_npc)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
401 
402 _IMP_npc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_npc)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
404 import IMP.display
405 
406 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_npc)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
408 
409 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
411 
412 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
414 
415 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
417 
418 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
420 
421 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_npc)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
423 
424 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_npc)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
426 
427 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_npc)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
429 
430 _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_npc)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
432 import IMP.score_functor
433 
434 _IMP_npc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_npc)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
436 
437 _IMP_npc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
439 
440 _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
442 
443 _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
445 
446 _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
448 
449 _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
451 
452 _IMP_npc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_npc)
453 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
454 
455 _IMP_npc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_npc)
456 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
457 
458 _IMP_npc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_npc)
459 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
460 
461 _IMP_npc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_npc)
462 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
463 import IMP.core
464 
465 _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA_swigconstant(_IMP_npc)
466 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
467 
468 _IMP_npc.IMP_NPC_HAS_IMP_CGAL_swigconstant(_IMP_npc)
469 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
470 
471 _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY_swigconstant(_IMP_npc)
472 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
473 
474 _IMP_npc.IMP_NPC_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
475 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
476 
477 _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_npc)
478 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
479 
480 _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
481 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
482 
483 _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
484 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
485 
486 _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
487 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
488 
489 _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
490 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
491 
492 _IMP_npc.IMP_NPC_HAS_CGAL_swigconstant(_IMP_npc)
493 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
494 
495 _IMP_npc.IMP_NPC_HAS_HDF5_swigconstant(_IMP_npc)
496 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
497 
498 _IMP_npc.IMP_NPC_HAS_NUMPY_swigconstant(_IMP_npc)
499 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
500 
501 _IMP_npc.IMP_NPC_HAS_PYTHON_IHM_swigconstant(_IMP_npc)
502 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
503 
504 _IMP_npc.IMPNPC_SHOW_WARNINGS_swigconstant(_IMP_npc)
505 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
506 
507 _object_types.append("ZAxialPositionLowerRestraint")
508 
509 
510 def _object_cast_to_ZAxialPositionLowerRestraint(o):
511  """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
512  return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
513 
514 _object_types.append("ZAxialPositionUpperRestraint")
515 
516 
517 def _object_cast_to_ZAxialPositionUpperRestraint(o):
518  """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
519  return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
520 
521 _object_types.append("XYRadialPositionLowerRestraint")
522 
523 
524 def _object_cast_to_XYRadialPositionLowerRestraint(o):
525  """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
526  return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
527 
528 _object_types.append("XYRadialPositionUpperRestraint")
529 
530 
531 def _object_cast_to_XYRadialPositionUpperRestraint(o):
532  """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
533  return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
534 
535 _object_types.append("ProteinContactRestraint")
536 
537 
538 def _object_cast_to_ProteinContactRestraint(o):
539  """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
540  return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
541 
542 _object_types.append("ProteinChainRestraint")
543 
544 
545 def _object_cast_to_ProteinChainRestraint(o):
546  """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
547  return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
548 
549 _object_types.append("MembraneSurfaceLocationRestraint")
550 
551 
552 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
553  """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
554  return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
555 
556 _object_types.append("PoreSideVolumeLocationRestraint")
557 
558 
559 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
560  """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
561  return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
562 
563 _object_types.append("PerinuclearVolumeLocationRestraint")
564 
565 
566 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
567  """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
568  return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
569 
570 _object_types.append("AssemblySymmetryByDistanceRestraint")
571 
572 
573 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
574  """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
575  return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
576 
577 _object_types.append("AssemblySymmetryByDihedralRestraint")
578 
579 
580 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
581  """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
582  return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
583 
584 _object_types.append("ProteinProximityRestraint")
585 
586 
587 def _object_cast_to_ProteinProximityRestraint(o):
588  """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
589  return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
590 
591 _object_types.append("CompositeRestraint")
592 
593 
594 def _object_cast_to_CompositeRestraint(o):
595  """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
596  return _IMP_npc._object_cast_to_CompositeRestraint(o)
597 
598 _object_types.append("MinimumSphereDistancePairScore")
599 
600 
601 def _object_cast_to_MinimumSphereDistancePairScore(o):
602  """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
603  return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
604 
605 _object_types.append("MembraneExclusionRestraint")
606 
607 
608 def _object_cast_to_MembraneExclusionRestraint(o):
609  """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
610  return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
611 
612 _object_types.append("MembraneSurfaceLocationConditionalRestraint")
613 
614 
615 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
616  """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
617  return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
618 
619 _object_types.append("XYRadialPositionRestraint")
620 
621 
622 def _object_cast_to_XYRadialPositionRestraint(o):
623  """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
624  return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
625 
626 _object_types.append("YAxialPositionLowerRestraint")
627 
628 
629 def _object_cast_to_YAxialPositionLowerRestraint(o):
630  """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
631  return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
632 
633 _object_types.append("YAxialPositionRestraint")
634 
635 
636 def _object_cast_to_YAxialPositionRestraint(o):
637  """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
638  return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
639 
640 _object_types.append("YAxialPositionUpperRestraint")
641 
642 
643 def _object_cast_to_YAxialPositionUpperRestraint(o):
644  """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
645  return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
646 
647 _object_types.append("ZAxialPositionRestraint")
648 
649 
650 def _object_cast_to_ZAxialPositionRestraint(o):
651  """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
652  return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
653 class ZAxialPositionRestraint(IMP.Restraint):
654  """Proxy of C++ IMP::npc::ZAxialPositionRestraint class"""
655  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
656 
657  def __init__(self, *args):
658  """
659  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
660  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
661  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
662  __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
663  """
664  this = _IMP_npc.new_ZAxialPositionRestraint(*args)
665  try:
666  self.this.append(this)
667  except:
668  self.this = this
669 
670  def add_particle(self, p):
671  """add_particle(ZAxialPositionRestraint self, Particle p)"""
672  return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
673 
674 
675  def add_particles(self, ps):
676  """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
677  return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
678 
679 
680  def set_particles(self, ps):
681  """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
682  return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
683 
684 
685  def do_get_inputs(self):
686  """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
687  return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
688 
689 
690  def get_version_info(self):
691  """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
692  return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
693 
694 
695  def __str__(self):
696  """__str__(ZAxialPositionRestraint self) -> std::string"""
697  return _IMP_npc.ZAxialPositionRestraint___str__(self)
698 
699 
700  def __repr__(self):
701  """__repr__(ZAxialPositionRestraint self) -> std::string"""
702  return _IMP_npc.ZAxialPositionRestraint___repr__(self)
703 
704 
705  @staticmethod
706  def get_from(o):
707  return _object_cast_to_ZAxialPositionRestraint(o)
708 
709 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
710 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
711 
712 class ZAxialPositionLowerRestraint(IMP.Restraint):
713  """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class"""
714  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
715 
716  def __init__(self, *args):
717  """
718  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
719  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
720  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
721  __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
722  """
723  this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
724  try:
725  self.this.append(this)
726  except:
727  self.this = this
728 
729  def add_particle(self, p):
730  """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
731  return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
732 
733 
734  def add_particles(self, ps):
735  """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
736  return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
737 
738 
739  def set_particles(self, ps):
740  """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
741  return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
742 
743 
744  def do_get_inputs(self):
745  """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
746  return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
747 
748 
749  def get_version_info(self):
750  """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
751  return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
752 
753 
754  def __str__(self):
755  """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
756  return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
757 
758 
759  def __repr__(self):
760  """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
761  return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
762 
763 
764  @staticmethod
765  def get_from(o):
766  return _object_cast_to_ZAxialPositionLowerRestraint(o)
767 
768 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
769 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
770 
771 class ZAxialPositionUpperRestraint(IMP.Restraint):
772  """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class"""
773  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
774 
775  def __init__(self, *args):
776  """
777  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
778  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
779  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
780  __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
781  """
782  this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
783  try:
784  self.this.append(this)
785  except:
786  self.this = this
787 
788  def add_particle(self, p):
789  """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
790  return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
791 
792 
793  def add_particles(self, ps):
794  """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
795  return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
796 
797 
798  def set_particles(self, ps):
799  """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
800  return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
801 
802 
803  def do_get_inputs(self):
804  """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
805  return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
806 
807 
808  def get_version_info(self):
809  """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
810  return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
811 
812 
813  def __str__(self):
814  """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
815  return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
816 
817 
818  def __repr__(self):
819  """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
820  return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
821 
822 
823  @staticmethod
824  def get_from(o):
825  return _object_cast_to_ZAxialPositionUpperRestraint(o)
826 
827 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
828 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
829 
830 class YAxialPositionRestraint(IMP.Restraint):
831  """Proxy of C++ IMP::npc::YAxialPositionRestraint class"""
832  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
833 
834  def __init__(self, *args):
835  """
836  __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
837  __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
838  __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
839  __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
840  """
841  this = _IMP_npc.new_YAxialPositionRestraint(*args)
842  try:
843  self.this.append(this)
844  except:
845  self.this = this
846 
847  def add_particle(self, p):
848  """add_particle(YAxialPositionRestraint self, Particle p)"""
849  return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
850 
851 
852  def add_particles(self, ps):
853  """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
854  return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
855 
856 
857  def set_particles(self, ps):
858  """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
859  return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
860 
861 
862  def do_get_inputs(self):
863  """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
864  return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
865 
866 
867  def get_version_info(self):
868  """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
869  return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
870 
871 
872  def __str__(self):
873  """__str__(YAxialPositionRestraint self) -> std::string"""
874  return _IMP_npc.YAxialPositionRestraint___str__(self)
875 
876 
877  def __repr__(self):
878  """__repr__(YAxialPositionRestraint self) -> std::string"""
879  return _IMP_npc.YAxialPositionRestraint___repr__(self)
880 
881 
882  @staticmethod
883  def get_from(o):
884  return _object_cast_to_YAxialPositionRestraint(o)
885 
886 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
887 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
888 
889 class YAxialPositionLowerRestraint(IMP.Restraint):
890  """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class"""
891  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
892 
893  def __init__(self, *args):
894  """
895  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
896  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
897  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
898  __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
899  """
900  this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
901  try:
902  self.this.append(this)
903  except:
904  self.this = this
905 
906  def add_particle(self, p):
907  """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
908  return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
909 
910 
911  def add_particles(self, ps):
912  """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
913  return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
914 
915 
916  def set_particles(self, ps):
917  """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
918  return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
919 
920 
921  def do_get_inputs(self):
922  """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
923  return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
924 
925 
926  def get_version_info(self):
927  """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
928  return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
929 
930 
931  def __str__(self):
932  """__str__(YAxialPositionLowerRestraint self) -> std::string"""
933  return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
934 
935 
936  def __repr__(self):
937  """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
938  return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
939 
940 
941  @staticmethod
942  def get_from(o):
943  return _object_cast_to_YAxialPositionLowerRestraint(o)
944 
945 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
946 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
947 
948 class YAxialPositionUpperRestraint(IMP.Restraint):
949  """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class"""
950  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
951 
952  def __init__(self, *args):
953  """
954  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
955  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
956  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
957  __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
958  """
959  this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
960  try:
961  self.this.append(this)
962  except:
963  self.this = this
964 
965  def add_particle(self, p):
966  """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
967  return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
968 
969 
970  def add_particles(self, ps):
971  """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
972  return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
973 
974 
975  def set_particles(self, ps):
976  """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
977  return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
978 
979 
980  def do_get_inputs(self):
981  """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
982  return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
983 
984 
985  def get_version_info(self):
986  """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
987  return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
988 
989 
990  def __str__(self):
991  """__str__(YAxialPositionUpperRestraint self) -> std::string"""
992  return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
993 
994 
995  def __repr__(self):
996  """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
997  return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
998 
999 
1000  @staticmethod
1001  def get_from(o):
1002  return _object_cast_to_YAxialPositionUpperRestraint(o)
1003 
1004 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
1005 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1006 
1007 class XYRadialPositionRestraint(IMP.Restraint):
1008  """Proxy of C++ IMP::npc::XYRadialPositionRestraint class"""
1009  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1010 
1011  def __init__(self, *args):
1012  """
1013  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1014  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1015  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1016  __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1017  """
1018  this = _IMP_npc.new_XYRadialPositionRestraint(*args)
1019  try:
1020  self.this.append(this)
1021  except:
1022  self.this = this
1023 
1024  def add_particle(self, p):
1025  """add_particle(XYRadialPositionRestraint self, Particle p)"""
1026  return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1027 
1028 
1029  def add_particles(self, ps):
1030  """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1031  return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1032 
1033 
1034  def set_particles(self, ps):
1035  """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1036  return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1037 
1038 
1039  def do_get_inputs(self):
1040  """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1041  return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1042 
1043 
1044  def get_version_info(self):
1045  """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1046  return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1047 
1048 
1049  def __str__(self):
1050  """__str__(XYRadialPositionRestraint self) -> std::string"""
1051  return _IMP_npc.XYRadialPositionRestraint___str__(self)
1052 
1053 
1054  def __repr__(self):
1055  """__repr__(XYRadialPositionRestraint self) -> std::string"""
1056  return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1057 
1058 
1059  @staticmethod
1060  def get_from(o):
1061  return _object_cast_to_XYRadialPositionRestraint(o)
1062 
1063 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
1064 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1065 
1066 class XYRadialPositionLowerRestraint(IMP.Restraint):
1067  """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class"""
1068  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1069 
1070  def __init__(self, *args):
1071  """
1072  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1073  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1074  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1075  __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1076  """
1077  this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
1078  try:
1079  self.this.append(this)
1080  except:
1081  self.this = this
1082 
1083  def add_particle(self, p):
1084  """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1085  return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1086 
1087 
1088  def add_particles(self, ps):
1089  """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1090  return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1091 
1092 
1093  def set_particles(self, ps):
1094  """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1095  return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1096 
1097 
1098  def do_get_inputs(self):
1099  """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1100  return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1101 
1102 
1103  def get_version_info(self):
1104  """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1105  return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1106 
1107 
1108  def __str__(self):
1109  """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1110  return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1111 
1112 
1113  def __repr__(self):
1114  """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1115  return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1116 
1117 
1118  @staticmethod
1119  def get_from(o):
1120  return _object_cast_to_XYRadialPositionLowerRestraint(o)
1121 
1122 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
1123 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1124 
1125 class XYRadialPositionUpperRestraint(IMP.Restraint):
1126  """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class"""
1127  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1128 
1129  def __init__(self, *args):
1130  """
1131  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1132  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1133  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1134  __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1135  """
1136  this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
1137  try:
1138  self.this.append(this)
1139  except:
1140  self.this = this
1141 
1142  def add_particle(self, p):
1143  """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1144  return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1145 
1146 
1147  def add_particles(self, ps):
1148  """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1149  return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1150 
1151 
1152  def set_particles(self, ps):
1153  """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1154  return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1155 
1156 
1157  def do_get_inputs(self):
1158  """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1159  return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1160 
1161 
1162  def get_version_info(self):
1163  """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1164  return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1165 
1166 
1167  def __str__(self):
1168  """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1169  return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1170 
1171 
1172  def __repr__(self):
1173  """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1174  return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1175 
1176 
1177  @staticmethod
1178  def get_from(o):
1179  return _object_cast_to_XYRadialPositionUpperRestraint(o)
1180 
1181 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1182 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1183 
1184 class ProteinContactRestraint(IMP.Restraint):
1185  """Proxy of C++ IMP::npc::ProteinContactRestraint class"""
1186  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1187 
1188  def __init__(self, *args):
1189  """
1190  __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1191  __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1192  __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1193  __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1194  """
1195  this = _IMP_npc.new_ProteinContactRestraint(*args)
1196  try:
1197  self.this.append(this)
1198  except:
1199  self.this = this
1200 
1201  def add_particle(self, p):
1202  """add_particle(ProteinContactRestraint self, Particle p)"""
1203  return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1204 
1205 
1206  def add_particles(self, ps):
1207  """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1208  return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1209 
1210 
1211  def set_particles(self, ps):
1212  """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1213  return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1214 
1215 
1216  def do_get_inputs(self):
1217  """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1218  return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1219 
1220 
1221  def get_version_info(self):
1222  """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1223  return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1224 
1225 
1226  def __str__(self):
1227  """__str__(ProteinContactRestraint self) -> std::string"""
1228  return _IMP_npc.ProteinContactRestraint___str__(self)
1229 
1230 
1231  def __repr__(self):
1232  """__repr__(ProteinContactRestraint self) -> std::string"""
1233  return _IMP_npc.ProteinContactRestraint___repr__(self)
1234 
1235 
1236  @staticmethod
1237  def get_from(o):
1238  return _object_cast_to_ProteinContactRestraint(o)
1239 
1240 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1241 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1242 
1243 class ProteinChainRestraint(IMP.Restraint):
1244  """Proxy of C++ IMP::npc::ProteinChainRestraint class"""
1245  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1246 
1247  def __init__(self, *args):
1248  """
1249  __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1250  __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1251  __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1252  __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1253  """
1254  this = _IMP_npc.new_ProteinChainRestraint(*args)
1255  try:
1256  self.this.append(this)
1257  except:
1258  self.this = this
1259 
1260  def add_particle(self, p):
1261  """add_particle(ProteinChainRestraint self, Particle p)"""
1262  return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1263 
1264 
1265  def add_particles(self, ps):
1266  """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1267  return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1268 
1269 
1270  def set_particles(self, ps):
1271  """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1272  return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1273 
1274 
1275  def do_get_inputs(self):
1276  """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1277  return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1278 
1279 
1280  def get_version_info(self):
1281  """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1282  return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1283 
1284 
1285  def __str__(self):
1286  """__str__(ProteinChainRestraint self) -> std::string"""
1287  return _IMP_npc.ProteinChainRestraint___str__(self)
1288 
1289 
1290  def __repr__(self):
1291  """__repr__(ProteinChainRestraint self) -> std::string"""
1292  return _IMP_npc.ProteinChainRestraint___repr__(self)
1293 
1294 
1295  @staticmethod
1296  def get_from(o):
1297  return _object_cast_to_ProteinChainRestraint(o)
1298 
1299 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1300 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1301 
1302 class MembraneSurfaceLocationRestraint(IMP.Restraint):
1303  """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class"""
1304  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1305 
1306  def __init__(self, *args):
1307  """
1308  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1309  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1310  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1311  __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1312  """
1313  this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1314  try:
1315  self.this.append(this)
1316  except:
1317  self.this = this
1318 
1319  def add_particle(self, p):
1320  """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1321  return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1322 
1323 
1324  def add_particles(self, ps):
1325  """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1326  return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1327 
1328 
1329  def set_particles(self, ps):
1330  """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1331  return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1332 
1333 
1334  def do_get_inputs(self):
1335  """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1336  return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1337 
1338 
1339  def get_version_info(self):
1340  """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1341  return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1342 
1343 
1344  def __str__(self):
1345  """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1346  return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1347 
1348 
1349  def __repr__(self):
1350  """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1351  return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1352 
1353 
1354  @staticmethod
1355  def get_from(o):
1356  return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1357 
1358 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1359 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1360 
1361 class MembraneSurfaceLocationConditionalRestraint(IMP.Restraint):
1362  """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class"""
1363  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1364 
1365  def __init__(self, *args):
1366  """
1367  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1368  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1369  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1370  __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1371  """
1372  this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1373  try:
1374  self.this.append(this)
1375  except:
1376  self.this = this
1377 
1378  def add_particle1(self, p):
1379  """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1380  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1381 
1382 
1383  def add_particle2(self, p):
1384  """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1385  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1386 
1387 
1388  def add_particles1(self, ps):
1389  """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1390  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1391 
1392 
1393  def add_particles2(self, ps):
1394  """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1395  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1396 
1397 
1398  def set_particles1(self, ps):
1399  """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1400  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1401 
1402 
1403  def set_particles2(self, ps):
1404  """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1405  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1406 
1407 
1408  def do_get_inputs(self):
1409  """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1410  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1411 
1412 
1413  def get_version_info(self):
1414  """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1415  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1416 
1417 
1418  def __str__(self):
1419  """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1420  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1421 
1422 
1423  def __repr__(self):
1424  """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1425  return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1426 
1427 
1428  @staticmethod
1429  def get_from(o):
1430  return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1431 
1432 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1433 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1434 
1435 class MembraneExclusionRestraint(IMP.Restraint):
1436  """Proxy of C++ IMP::npc::MembraneExclusionRestraint class"""
1437  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1438 
1439  def __init__(self, *args):
1440  """
1441  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1442  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1443  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1444  __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1445  """
1446  this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1447  try:
1448  self.this.append(this)
1449  except:
1450  self.this = this
1451 
1452  def add_particle(self, p):
1453  """add_particle(MembraneExclusionRestraint self, Particle p)"""
1454  return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1455 
1456 
1457  def add_particles(self, ps):
1458  """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1459  return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1460 
1461 
1462  def set_particles(self, ps):
1463  """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1464  return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1465 
1466 
1467  def do_get_inputs(self):
1468  """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1469  return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1470 
1471 
1472  def get_version_info(self):
1473  """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1474  return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1475 
1476 
1477  def __str__(self):
1478  """__str__(MembraneExclusionRestraint self) -> std::string"""
1479  return _IMP_npc.MembraneExclusionRestraint___str__(self)
1480 
1481 
1482  def __repr__(self):
1483  """__repr__(MembraneExclusionRestraint self) -> std::string"""
1484  return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1485 
1486 
1487  @staticmethod
1488  def get_from(o):
1489  return _object_cast_to_MembraneExclusionRestraint(o)
1490 
1491 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1492 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1493 
1494 class PoreSideVolumeLocationRestraint(IMP.Restraint):
1495  """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class"""
1496  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1497 
1498  def __init__(self, *args):
1499  """
1500  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1501  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1502  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1503  __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1504  """
1505  this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1506  try:
1507  self.this.append(this)
1508  except:
1509  self.this = this
1510 
1511  def add_particle(self, p):
1512  """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1513  return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1514 
1515 
1516  def add_particles(self, ps):
1517  """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1518  return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1519 
1520 
1521  def set_particles(self, ps):
1522  """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1523  return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1524 
1525 
1526  def do_get_inputs(self):
1527  """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1528  return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1529 
1530 
1531  def get_version_info(self):
1532  """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1533  return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1534 
1535 
1536  def __str__(self):
1537  """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1538  return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1539 
1540 
1541  def __repr__(self):
1542  """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1543  return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1544 
1545 
1546  @staticmethod
1547  def get_from(o):
1548  return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1549 
1550 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1551 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1552 
1553 class PerinuclearVolumeLocationRestraint(IMP.Restraint):
1554  """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class"""
1555  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1556 
1557  def __init__(self, *args):
1558  """
1559  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1560  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1561  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1562  __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1563  """
1564  this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1565  try:
1566  self.this.append(this)
1567  except:
1568  self.this = this
1569 
1570  def add_particle(self, p):
1571  """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1572  return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1573 
1574 
1575  def add_particles(self, ps):
1576  """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1577  return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1578 
1579 
1580  def set_particles(self, ps):
1581  """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1582  return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1583 
1584 
1585  def do_get_inputs(self):
1586  """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1587  return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1588 
1589 
1590  def get_version_info(self):
1591  """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1592  return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1593 
1594 
1595  def __str__(self):
1596  """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1597  return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1598 
1599 
1600  def __repr__(self):
1601  """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1602  return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1603 
1604 
1605  @staticmethod
1606  def get_from(o):
1607  return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1608 
1609 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1610 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1611 
1612 class AssemblySymmetryByDistanceRestraint(IMP.Restraint):
1613  """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class"""
1614  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1615 
1616  def __init__(self, *args):
1617  """
1618  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1619  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1620  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1621  __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1622  """
1623  this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1624  try:
1625  self.this.append(this)
1626  except:
1627  self.this = this
1628 
1629  def add_particle(self, p):
1630  """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1631  return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1632 
1633 
1634  def add_particles(self, ps):
1635  """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1636  return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1637 
1638 
1639  def set_particles(self, ps):
1640  """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1641  return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1642 
1643 
1644  def do_get_inputs(self):
1645  """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1646  return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1647 
1648 
1649  def get_version_info(self):
1650  """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1651  return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1652 
1653 
1654  def __str__(self):
1655  """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1656  return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1657 
1658 
1659  def __repr__(self):
1660  """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1661  return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1662 
1663 
1664  @staticmethod
1665  def get_from(o):
1666  return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1667 
1668 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1669 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1670 
1671 class AssemblySymmetryByDihedralRestraint(IMP.Restraint):
1672  """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class"""
1673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1674 
1675  def __init__(self, *args):
1676  """
1677  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1678  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1679  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1680  __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1681  """
1682  this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1683  try:
1684  self.this.append(this)
1685  except:
1686  self.this = this
1687 
1688  def add_particle(self, p):
1689  """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1690  return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1691 
1692 
1693  def add_particles(self, ps):
1694  """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1695  return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1696 
1697 
1698  def set_particles(self, ps):
1699  """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1700  return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1701 
1702 
1703  def do_get_inputs(self):
1704  """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1705  return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1706 
1707 
1708  def get_version_info(self):
1709  """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1710  return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1711 
1712 
1713  def __str__(self):
1714  """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1715  return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1716 
1717 
1718  def __repr__(self):
1719  """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1720  return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1721 
1722 
1723  @staticmethod
1724  def get_from(o):
1725  return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1726 
1727 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1728 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1729 
1730 class ProteinProximityRestraint(IMP.Restraint):
1731  """Proxy of C++ IMP::npc::ProteinProximityRestraint class"""
1732  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1733 
1734  def __init__(self, *args):
1735  """
1736  __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1737  __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1738  __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1739  __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1740  """
1741  this = _IMP_npc.new_ProteinProximityRestraint(*args)
1742  try:
1743  self.this.append(this)
1744  except:
1745  self.this = this
1746 
1747  def add_particle(self, p):
1748  """add_particle(ProteinProximityRestraint self, Particle p)"""
1749  return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1750 
1751 
1752  def add_particles(self, ps):
1753  """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1754  return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1755 
1756 
1757  def set_particles(self, ps):
1758  """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1759  return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1760 
1761 
1762  def do_get_inputs(self):
1763  """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1764  return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1765 
1766 
1767  def get_version_info(self):
1768  """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1769  return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1770 
1771 
1772  def __str__(self):
1773  """__str__(ProteinProximityRestraint self) -> std::string"""
1774  return _IMP_npc.ProteinProximityRestraint___str__(self)
1775 
1776 
1777  def __repr__(self):
1778  """__repr__(ProteinProximityRestraint self) -> std::string"""
1779  return _IMP_npc.ProteinProximityRestraint___repr__(self)
1780 
1781 
1782  @staticmethod
1783  def get_from(o):
1784  return _object_cast_to_ProteinProximityRestraint(o)
1785 
1786 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1787 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1788 
1789 class CompositeRestraint(IMP.Restraint):
1790  """Proxy of C++ IMP::npc::CompositeRestraint class"""
1791  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1792 
1793  def __init__(self, m, ps):
1794  """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1795  this = _IMP_npc.new_CompositeRestraint(m, ps)
1796  try:
1797  self.this.append(this)
1798  except:
1799  self.this = this
1800 
1801  def add_type(self, ps):
1802  """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1803  return _IMP_npc.CompositeRestraint_add_type(self, ps)
1804 
1805 
1806  def get_connected_pairs(self):
1807  """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1808  return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1809 
1810 
1811  def do_get_inputs(self):
1812  """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1813  return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1814 
1815 
1816  def get_version_info(self):
1817  """get_version_info(CompositeRestraint self) -> VersionInfo"""
1818  return _IMP_npc.CompositeRestraint_get_version_info(self)
1819 
1820 
1821  def __str__(self):
1822  """__str__(CompositeRestraint self) -> std::string"""
1823  return _IMP_npc.CompositeRestraint___str__(self)
1824 
1825 
1826  def __repr__(self):
1827  """__repr__(CompositeRestraint self) -> std::string"""
1828  return _IMP_npc.CompositeRestraint___repr__(self)
1829 
1830 
1831  @staticmethod
1832  def get_from(o):
1833  return _object_cast_to_CompositeRestraint(o)
1834 
1835 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1836 CompositeRestraint_swigregister(CompositeRestraint)
1837 
1838 class MinimumSphereDistancePairScore(IMP.PairScore):
1839  """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class"""
1840  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1841 
1842  def __init__(self, f, transforms):
1843  """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1844  this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1845  try:
1846  self.this.append(this)
1847  except:
1848  self.this = this
1849 
1850  def do_get_inputs(self, m, pis):
1851  """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1852  return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1853 
1854 
1855  def get_version_info(self):
1856  """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1857  return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1858 
1859 
1860  def __str__(self):
1861  """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1862  return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1863 
1864 
1865  def __repr__(self):
1866  """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1867  return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1868 
1869 
1870  @staticmethod
1871  def get_from(o):
1872  return _object_cast_to_MinimumSphereDistancePairScore(o)
1873 
1874 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1875 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1876 
1877 
1878 def get_module_version():
1879  """get_module_version() -> std::string const"""
1880  return _IMP_npc.get_module_version()
1881 
1882 def get_example_path(fname):
1883  """get_example_path(std::string fname) -> std::string"""
1884  return _IMP_npc.get_example_path(fname)
1885 
1886 def get_data_path(fname):
1887  """get_data_path(std::string fname) -> std::string"""
1888  return _IMP_npc.get_data_path(fname)
1889 
1890 from . import _version_check
1891 _version_check.check_version(get_module_version())
1892 __version__ = get_module_version()
1893 
1894 
1895 
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