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