10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_npctransport')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_npctransport')
25 _IMP_npctransport = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_npctransport', [dirname(__file__)])
35 import _IMP_npctransport
36 return _IMP_npctransport
39 _mod = imp.load_module(
'_IMP_npctransport', fp, pathname, description)
43 _IMP_npctransport = swig_import_helper()
44 del swig_import_helper
46 import _IMP_npctransport
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_NPCTRANSPORT_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_NPCTRANSPORT_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_npctransport.delete_IMP_NPCTRANSPORT_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
126 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_value(self)
131 incr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator
132 incr(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator
134 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_incr(self, n)
139 decr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator
140 decr(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator
142 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_distance(self, x)
151 """equal(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
152 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_equal(self, x)
156 """copy(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator"""
157 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_copy(self)
161 """next(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
162 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_next(self)
166 """__next__(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
167 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___next__(self)
171 """previous(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
172 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
177 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
182 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
187 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
192 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
197 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
202 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator
208 __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___sub__(self, *args)
214 IMP_NPCTRANSPORT_SwigPyIterator_swigregister = _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_swigregister
215 IMP_NPCTRANSPORT_SwigPyIterator_swigregister(IMP_NPCTRANSPORT_SwigPyIterator)
223 IMP_DEBUG = _IMP_npctransport.IMP_DEBUG
224 IMP_RELEASE = _IMP_npctransport.IMP_RELEASE
225 IMP_SILENT = _IMP_npctransport.IMP_SILENT
226 IMP_PROGRESS = _IMP_npctransport.IMP_PROGRESS
227 IMP_TERSE = _IMP_npctransport.IMP_TERSE
228 IMP_VERBOSE = _IMP_npctransport.IMP_VERBOSE
229 IMP_MEMORY = _IMP_npctransport.IMP_MEMORY
230 IMP_NONE = _IMP_npctransport.IMP_NONE
231 IMP_USAGE = _IMP_npctransport.IMP_USAGE
232 IMP_INTERNAL = _IMP_npctransport.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_npctransport.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_npctransport.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npctransport.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_npctransport.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_npctransport.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npctransport.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_npctransport.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_npctransport._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_npctransport._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_npctransport.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_npctransport.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_npctransport.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_npctransport.IMP_C_OPEN_BINARY
291 IMP_BENCHMARK_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_FILESYSTEM
292 IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS
293 IMP_BENCHMARK_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_RANDOM
294 IMP_BENCHMARK_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_SYSTEM
295 IMP_BENCHMARK_HAS_NUMPY = _IMP_npctransport.IMP_BENCHMARK_HAS_NUMPY
296 IMPBENCHMARK_SHOW_WARNINGS = _IMP_npctransport.IMPBENCHMARK_SHOW_WARNINGS
298 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_FILESYSTEM
299 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
300 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_RANDOM
301 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_SYSTEM
302 IMP_CGAL_HAS_NUMPY = _IMP_npctransport.IMP_CGAL_HAS_NUMPY
303 IMPCGAL_SHOW_WARNINGS = _IMP_npctransport.IMPCGAL_SHOW_WARNINGS
305 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_IMP_CGAL
306 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
307 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_RANDOM
309 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_SYSTEM
310 IMP_ALGEBRA_HAS_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_CGAL
311 IMP_ALGEBRA_HAS_NUMPY = _IMP_npctransport.IMP_ALGEBRA_HAS_NUMPY
312 IMP_ALGEBRA_HAS_ANN = _IMP_npctransport.IMP_ALGEBRA_HAS_ANN
313 IMPALGEBRA_SHOW_WARNINGS = _IMP_npctransport.IMPALGEBRA_SHOW_WARNINGS
315 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_IMP_CGAL
316 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
317 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
318 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_RANDOM
319 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_SYSTEM
320 IMP_DISPLAY_HAS_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_CGAL
321 IMP_DISPLAY_HAS_NUMPY = _IMP_npctransport.IMP_DISPLAY_HAS_NUMPY
322 IMPDISPLAY_SHOW_WARNINGS = _IMP_npctransport.IMPDISPLAY_SHOW_WARNINGS
324 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
325 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
326 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
327 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
329 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_CGAL
330 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_HDF5
331 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_NUMPY
332 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npctransport.IMPSCOREFUNCTOR_SHOW_WARNINGS
334 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_IMP_CGAL
335 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
336 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
337 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_RANDOM
338 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_SYSTEM
339 IMP_STATISTICS_HAS_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_CGAL
340 IMP_STATISTICS_HAS_NUMPY = _IMP_npctransport.IMP_STATISTICS_HAS_NUMPY
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_npctransport.IMPSTATISTICS_SHOW_WARNINGS
343 IMP_CORE_HAS_IMP_CGAL = _IMP_npctransport.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_npctransport.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_npctransport.IMP_CORE_HAS_HDF5
351 IMP_CORE_HAS_NUMPY = _IMP_npctransport.IMP_CORE_HAS_NUMPY
352 IMPCORE_SHOW_WARNINGS = _IMP_npctransport.IMPCORE_SHOW_WARNINGS
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_npctransport.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_NUMPY = _IMP_npctransport.IMP_CONTAINER_HAS_NUMPY
366 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_npctransport.IMP_CONTAINER_HAS_PYTHON_IHM
367 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
368 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_ROBIN_MAP
369 IMPCONTAINER_SHOW_WARNINGS = _IMP_npctransport.IMPCONTAINER_SHOW_WARNINGS
371 IMP_ATOM_HAS_IMP_CGAL = _IMP_npctransport.IMP_ATOM_HAS_IMP_CGAL
372 IMP_ATOM_HAS_IMP_KERNEL = _IMP_npctransport.IMP_ATOM_HAS_IMP_KERNEL
373 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
374 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ATOM_HAS_BOOST_RANDOM
376 IMP_ATOM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ATOM_HAS_BOOST_REGEX
377 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ATOM_HAS_BOOST_SYSTEM
378 IMP_ATOM_HAS_CGAL = _IMP_npctransport.IMP_ATOM_HAS_CGAL
379 IMP_ATOM_HAS_HDF5 = _IMP_npctransport.IMP_ATOM_HAS_HDF5
380 IMP_ATOM_HAS_NUMPY = _IMP_npctransport.IMP_ATOM_HAS_NUMPY
381 IMP_ATOM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ATOM_HAS_PYTHON_IHM
382 IMPATOM_SHOW_WARNINGS = _IMP_npctransport.IMPATOM_SHOW_WARNINGS
383 IMP_ATOM_TYPE_INDEX = _IMP_npctransport.IMP_ATOM_TYPE_INDEX
384 IMP_RESIDUE_TYPE_INDEX = _IMP_npctransport.IMP_RESIDUE_TYPE_INDEX
385 IMP_HIERARCHY_TYPE_INDEX = _IMP_npctransport.IMP_HIERARCHY_TYPE_INDEX
386 IMP_CHAIN_TYPE_INDEX = _IMP_npctransport.IMP_CHAIN_TYPE_INDEX
388 IMP_EM_HAS_IMP_CGAL = _IMP_npctransport.IMP_EM_HAS_IMP_CGAL
389 IMP_EM_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_EM_HAS_IMP_CONTAINER
390 IMP_EM_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_EM_HAS_IMP_DISPLAY
391 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_EM_HAS_BOOST_FILESYSTEM
393 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
394 IMP_EM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_EM_HAS_BOOST_RANDOM
395 IMP_EM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_EM_HAS_BOOST_REGEX
396 IMP_EM_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_EM_HAS_BOOST_SYSTEM
397 IMP_EM_HAS_CGAL = _IMP_npctransport.IMP_EM_HAS_CGAL
398 IMP_EM_HAS_HDF5 = _IMP_npctransport.IMP_EM_HAS_HDF5
399 IMP_EM_HAS_NUMPY = _IMP_npctransport.IMP_EM_HAS_NUMPY
400 IMP_EM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_EM_HAS_PYTHON_IHM
401 IMPEM_SHOW_WARNINGS = _IMP_npctransport.IMPEM_SHOW_WARNINGS
403 IMP_SAXS_HAS_IMP_CGAL = _IMP_npctransport.IMP_SAXS_HAS_IMP_CGAL
404 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_SAXS_HAS_IMP_CONTAINER
405 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_SAXS_HAS_IMP_DISPLAY
406 IMP_SAXS_HAS_IMP_KERNEL = _IMP_npctransport.IMP_SAXS_HAS_IMP_KERNEL
407 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
408 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_FILESYSTEM
409 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
410 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_RANDOM
411 IMP_SAXS_HAS_BOOST_REGEX = _IMP_npctransport.IMP_SAXS_HAS_BOOST_REGEX
412 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_SYSTEM
413 IMP_SAXS_HAS_CGAL = _IMP_npctransport.IMP_SAXS_HAS_CGAL
414 IMP_SAXS_HAS_HDF5 = _IMP_npctransport.IMP_SAXS_HAS_HDF5
415 IMP_SAXS_HAS_NUMPY = _IMP_npctransport.IMP_SAXS_HAS_NUMPY
416 IMP_SAXS_HAS_PYTHON_IHM = _IMP_npctransport.IMP_SAXS_HAS_PYTHON_IHM
417 IMPSAXS_SHOW_WARNINGS = _IMP_npctransport.IMPSAXS_SHOW_WARNINGS
419 IMP_ISD_HAS_IMP_CGAL = _IMP_npctransport.IMP_ISD_HAS_IMP_CGAL
420 IMP_ISD_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_ISD_HAS_IMP_DISPLAY
421 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
422 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ISD_HAS_BOOST_FILESYSTEM
423 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
424 IMP_ISD_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ISD_HAS_BOOST_RANDOM
425 IMP_ISD_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ISD_HAS_BOOST_REGEX
426 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ISD_HAS_BOOST_SYSTEM
427 IMP_ISD_HAS_CGAL = _IMP_npctransport.IMP_ISD_HAS_CGAL
428 IMP_ISD_HAS_HDF5 = _IMP_npctransport.IMP_ISD_HAS_HDF5
429 IMP_ISD_HAS_NUMPY = _IMP_npctransport.IMP_ISD_HAS_NUMPY
430 IMP_ISD_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ISD_HAS_PYTHON_IHM
431 IMPISD_SHOW_WARNINGS = _IMP_npctransport.IMPISD_SHOW_WARNINGS
433 IMP_RMF_HAS_IMP_CGAL = _IMP_npctransport.IMP_RMF_HAS_IMP_CGAL
434 IMP_RMF_HAS_IMP_EM = _IMP_npctransport.IMP_RMF_HAS_IMP_EM
435 IMP_RMF_HAS_IMP_SAXS = _IMP_npctransport.IMP_RMF_HAS_IMP_SAXS
436 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
437 IMP_RMF_HAS_IMP_STATISTICS = _IMP_npctransport.IMP_RMF_HAS_IMP_STATISTICS
438 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_RMF_HAS_BOOST_FILESYSTEM
439 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
440 IMP_RMF_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_RMF_HAS_BOOST_RANDOM
441 IMP_RMF_HAS_BOOST_REGEX = _IMP_npctransport.IMP_RMF_HAS_BOOST_REGEX
442 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_RMF_HAS_BOOST_SYSTEM
443 IMP_RMF_HAS_CGAL = _IMP_npctransport.IMP_RMF_HAS_CGAL
444 IMP_RMF_HAS_HDF5 = _IMP_npctransport.IMP_RMF_HAS_HDF5
445 IMP_RMF_HAS_NUMPY = _IMP_npctransport.IMP_RMF_HAS_NUMPY
446 IMP_RMF_HAS_PYTHON_IHM = _IMP_npctransport.IMP_RMF_HAS_PYTHON_IHM
447 IMPRMF_SHOW_WARNINGS = _IMP_npctransport.IMPRMF_SHOW_WARNINGS
450 IMP_NPCTRANSPORT_HAS_IMP_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_CGAL
451 IMP_NPCTRANSPORT_HAS_IMP_EM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_EM
452 IMP_NPCTRANSPORT_HAS_IMP_ISD = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_ISD
453 IMP_NPCTRANSPORT_HAS_IMP_SAXS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_SAXS
454 IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM
455 IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS
456 IMP_NPCTRANSPORT_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_RANDOM
457 IMP_NPCTRANSPORT_HAS_BOOST_REGEX = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_REGEX
458 IMP_NPCTRANSPORT_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_SYSTEM
459 IMP_NPCTRANSPORT_HAS_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_CGAL
460 IMP_NPCTRANSPORT_HAS_HDF5 = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_HDF5
461 IMP_NPCTRANSPORT_HAS_NUMPY = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_NUMPY
462 IMP_NPCTRANSPORT_HAS_PYTHON_IHM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_PYTHON_IHM
463 IMPNPCTRANSPORT_SHOW_WARNINGS = _IMP_npctransport.IMPNPCTRANSPORT_SHOW_WARNINGS
465 _object_types.append(
"SitesPairScore")
468 def _object_cast_to_SitesPairScore(o):
469 """_object_cast_to_SitesPairScore(Object o) -> SitesPairScore"""
470 return _IMP_npctransport._object_cast_to_SitesPairScore(o)
472 _object_types.append(
"Scoring")
475 def _object_cast_to_Scoring(o):
476 """_object_cast_to_Scoring(Object o) -> Scoring"""
477 return _IMP_npctransport._object_cast_to_Scoring(o)
479 _object_types.append(
"BrownianDynamicsTAMDWithSlabSupport")
482 def _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o):
483 """_object_cast_to_BrownianDynamicsTAMDWithSlabSupport(Object o) -> BrownianDynamicsTAMDWithSlabSupport"""
484 return _IMP_npctransport._object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
486 _object_types.append(
"Statistics")
489 def _object_cast_to_Statistics(o):
490 """_object_cast_to_Statistics(Object o) -> Statistics"""
491 return _IMP_npctransport._object_cast_to_Statistics(o)
493 _object_types.append(
"SimulationData")
496 def _object_cast_to_SimulationData(o):
497 """_object_cast_to_SimulationData(Object o) -> SimulationData"""
498 return _IMP_npctransport._object_cast_to_SimulationData(o)
500 _object_types.append(
"SitesGeometry")
503 def _object_cast_to_SitesGeometry(o):
504 """_object_cast_to_SitesGeometry(Object o) -> SitesGeometry"""
505 return _IMP_npctransport._object_cast_to_SitesGeometry(o)
507 _object_types.append(
"TypedSitesGeometry")
510 def _object_cast_to_TypedSitesGeometry(o):
511 """_object_cast_to_TypedSitesGeometry(Object o) -> TypedSitesGeometry"""
512 return _IMP_npctransport._object_cast_to_TypedSitesGeometry(o)
514 _object_types.append(
"SlabWithCylindricalPorePairScore")
517 def _object_cast_to_SlabWithCylindricalPorePairScore(o):
518 """_object_cast_to_SlabWithCylindricalPorePairScore(Object o) -> SlabWithCylindricalPorePairScore"""
519 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPorePairScore(o)
521 _object_types.append(
"SlabWithToroidalPorePairScore")
524 def _object_cast_to_SlabWithToroidalPorePairScore(o):
525 """_object_cast_to_SlabWithToroidalPorePairScore(Object o) -> SlabWithToroidalPorePairScore"""
526 return _IMP_npctransport._object_cast_to_SlabWithToroidalPorePairScore(o)
528 _object_types.append(
"PoreRadiusSingletonScore")
531 def _object_cast_to_PoreRadiusSingletonScore(o):
532 """_object_cast_to_PoreRadiusSingletonScore(Object o) -> PoreRadiusSingletonScore"""
533 return _IMP_npctransport._object_cast_to_PoreRadiusSingletonScore(o)
535 _object_types.append(
"ExcludeZRangeSingletonScore")
538 def _object_cast_to_ExcludeZRangeSingletonScore(o):
539 """_object_cast_to_ExcludeZRangeSingletonScore(Object o) -> ExcludeZRangeSingletonScore"""
540 return _IMP_npctransport._object_cast_to_ExcludeZRangeSingletonScore(o)
542 _object_types.append(
"ZBiasSingletonScore")
545 def _object_cast_to_ZBiasSingletonScore(o):
546 """_object_cast_to_ZBiasSingletonScore(Object o) -> ZBiasSingletonScore"""
547 return _IMP_npctransport._object_cast_to_ZBiasSingletonScore(o)
549 _object_types.append(
"SlabWithCylindricalPoreWireGeometry")
552 def _object_cast_to_SlabWithCylindricalPoreWireGeometry(o):
553 """_object_cast_to_SlabWithCylindricalPoreWireGeometry(Object o) -> SlabWithCylindricalPoreWireGeometry"""
554 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
556 _object_types.append(
"SlabWithCylindricalPoreSurfaceGeometry")
559 def _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o):
560 """_object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(Object o) -> SlabWithCylindricalPoreSurfaceGeometry"""
561 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
563 _object_types.append(
"SlabWithToroidalPoreWireGeometry")
566 def _object_cast_to_SlabWithToroidalPoreWireGeometry(o):
567 """_object_cast_to_SlabWithToroidalPoreWireGeometry(Object o) -> SlabWithToroidalPoreWireGeometry"""
568 return _IMP_npctransport._object_cast_to_SlabWithToroidalPoreWireGeometry(o)
570 _object_types.append(
"LinearSoftSpherePairScore")
573 def _object_cast_to_LinearSoftSpherePairScore(o):
574 """_object_cast_to_LinearSoftSpherePairScore(Object o) -> LinearSoftSpherePairScore"""
575 return _IMP_npctransport._object_cast_to_LinearSoftSpherePairScore(o)
577 _object_types.append(
"FunctorLinearSoftSpherePairScore")
580 def _object_cast_to_FunctorLinearSoftSpherePairScore(o):
581 """_object_cast_to_FunctorLinearSoftSpherePairScore(Object o) -> FunctorLinearSoftSpherePairScore"""
582 return _IMP_npctransport._object_cast_to_FunctorLinearSoftSpherePairScore(o)
584 _object_types.append(
"LinearInteractionPairScore")
587 def _object_cast_to_LinearInteractionPairScore(o):
588 """_object_cast_to_LinearInteractionPairScore(Object o) -> LinearInteractionPairScore"""
589 return _IMP_npctransport._object_cast_to_LinearInteractionPairScore(o)
591 _object_types.append(
"FunctorLinearInteractionPairScore")
594 def _object_cast_to_FunctorLinearInteractionPairScore(o):
595 """_object_cast_to_FunctorLinearInteractionPairScore(Object o) -> FunctorLinearInteractionPairScore"""
596 return _IMP_npctransport._object_cast_to_FunctorLinearInteractionPairScore(o)
598 _object_types.append(
"LinearWellPairScore")
601 def _object_cast_to_LinearWellPairScore(o):
602 """_object_cast_to_LinearWellPairScore(Object o) -> LinearWellPairScore"""
603 return _IMP_npctransport._object_cast_to_LinearWellPairScore(o)
605 _object_types.append(
"HarmonicSpringSingletonScore")
608 def _object_cast_to_HarmonicSpringSingletonScore(o):
609 """_object_cast_to_HarmonicSpringSingletonScore(Object o) -> HarmonicSpringSingletonScore"""
610 return _IMP_npctransport._object_cast_to_HarmonicSpringSingletonScore(o)
612 _object_types.append(
"HierarchyWithSitesSaveLink")
615 def _object_cast_to_HierarchyWithSitesSaveLink(o):
616 """_object_cast_to_HierarchyWithSitesSaveLink(Object o) -> HierarchyWithSitesSaveLink"""
617 return _IMP_npctransport._object_cast_to_HierarchyWithSitesSaveLink(o)
619 _object_types.append(
"HierarchyWithSitesLoadLink")
622 def _object_cast_to_HierarchyWithSitesLoadLink(o):
623 """_object_cast_to_HierarchyWithSitesLoadLink(Object o) -> HierarchyWithSitesLoadLink"""
624 return _IMP_npctransport._object_cast_to_HierarchyWithSitesLoadLink(o)
626 _object_types.append(
"ChainStatisticsOptimizerState")
629 def _object_cast_to_ChainStatisticsOptimizerState(o):
630 """_object_cast_to_ChainStatisticsOptimizerState(Object o) -> ChainStatisticsOptimizerState"""
631 return _IMP_npctransport._object_cast_to_ChainStatisticsOptimizerState(o)
633 _object_types.append(
"BodyStatisticsOptimizerState")
636 def _object_cast_to_BodyStatisticsOptimizerState(o):
637 """_object_cast_to_BodyStatisticsOptimizerState(Object o) -> BodyStatisticsOptimizerState"""
638 return _IMP_npctransport._object_cast_to_BodyStatisticsOptimizerState(o)
640 _object_types.append(
"BipartitePairsStatisticsOptimizerState")
643 def _object_cast_to_BipartitePairsStatisticsOptimizerState(o):
644 """_object_cast_to_BipartitePairsStatisticsOptimizerState(Object o) -> BipartitePairsStatisticsOptimizerState"""
645 return _IMP_npctransport._object_cast_to_BipartitePairsStatisticsOptimizerState(o)
647 _object_types.append(
"ParticleTransportStatisticsOptimizerState")
650 def _object_cast_to_ParticleTransportStatisticsOptimizerState(o):
651 """_object_cast_to_ParticleTransportStatisticsOptimizerState(Object o) -> ParticleTransportStatisticsOptimizerState"""
652 return _IMP_npctransport._object_cast_to_ParticleTransportStatisticsOptimizerState(o)
654 _object_types.append(
"FGChain")
657 def _object_cast_to_FGChain(o):
658 """_object_cast_to_FGChain(Object o) -> FGChain"""
659 return _IMP_npctransport._object_cast_to_FGChain(o)
661 _object_types.append(
"ParticleFactory")
664 def _object_cast_to_ParticleFactory(o):
665 """_object_cast_to_ParticleFactory(Object o) -> ParticleFactory"""
666 return _IMP_npctransport._object_cast_to_ParticleFactory(o)
669 _plural_types.append(
"Avro2PBReaders")
670 _value_types.append(
"Avro2PBReader")
673 SitesPairScoreParametersList=list
674 _plural_types.append(
"SitesPairScoreParametersList")
675 _value_types.append(
"SitesPairScoreParameters")
678 def Transportings(l=[]):
679 return [Transporting(x)
for x
in l]
680 _plural_types.append(
"Transportings")
683 _value_types.append(
"Transporting")
686 def SlabWithPores(l=[]):
687 return [SlabWithPore(x)
for x
in l]
688 _plural_types.append(
"SlabWithPores")
691 _value_types.append(
"SlabWithPore")
694 def SlabWithCylindricalPores(l=[]):
695 return [SlabWithCylindricalPore(x)
for x
in l]
696 _plural_types.append(
"SlabWithCylindricalPores")
699 _value_types.append(
"SlabWithCylindricalPore")
702 def RelaxingSprings(l=[]):
703 return [RelaxingSpring(x)
for x
in l]
704 _plural_types.append(
"RelaxingSprings")
707 _value_types.append(
"RelaxingSpring")
710 def SlabWithToroidalPores(l=[]):
711 return [SlabWithToroidalPore(x)
for x
in l]
712 _plural_types.append(
"SlabWithToroidalPores")
715 _value_types.append(
"SlabWithToroidalPore")
717 class _DoubleParameter(object):
718 """Proxy of C++ IMP::npctransport::Parameter<(double)> class."""
720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
721 __repr__ = _swig_repr
725 __init__(IMP::npctransport::Parameter<(double)> self) -> _DoubleParameter
726 __init__(IMP::npctransport::Parameter<(double)> self, double t) -> _DoubleParameter
728 this = _IMP_npctransport.new__DoubleParameter(*args)
730 self.this.append(this)
731 except __builtin__.Exception:
735 """get_value(_DoubleParameter self) -> double"""
736 return _IMP_npctransport._DoubleParameter_get_value(self)
740 """is_init(_DoubleParameter self) -> bool"""
741 return _IMP_npctransport._DoubleParameter_is_init(self)
743 __swig_destroy__ = _IMP_npctransport.delete__DoubleParameter
744 __del__ =
lambda self:
None
745 _DoubleParameter_swigregister = _IMP_npctransport._DoubleParameter_swigregister
746 _DoubleParameter_swigregister(_DoubleParameter)
748 class _IntParameter(object):
749 """Proxy of C++ IMP::npctransport::Parameter<(int)> class."""
751 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
752 __repr__ = _swig_repr
756 __init__(IMP::npctransport::Parameter<(int)> self) -> _IntParameter
757 __init__(IMP::npctransport::Parameter<(int)> self, int t) -> _IntParameter
759 this = _IMP_npctransport.new__IntParameter(*args)
761 self.this.append(this)
762 except __builtin__.Exception:
766 """get_value(_IntParameter self) -> int"""
767 return _IMP_npctransport._IntParameter_get_value(self)
771 """is_init(_IntParameter self) -> bool"""
772 return _IMP_npctransport._IntParameter_is_init(self)
774 __swig_destroy__ = _IMP_npctransport.delete__IntParameter
775 __del__ =
lambda self:
None
776 _IntParameter_swigregister = _IMP_npctransport._IntParameter_swigregister
777 _IntParameter_swigregister(_IntParameter)
779 class _BoolParameter(object):
780 """Proxy of C++ IMP::npctransport::Parameter<(bool)> class."""
782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
783 __repr__ = _swig_repr
787 __init__(IMP::npctransport::Parameter<(bool)> self) -> _BoolParameter
788 __init__(IMP::npctransport::Parameter<(bool)> self, bool t) -> _BoolParameter
790 this = _IMP_npctransport.new__BoolParameter(*args)
792 self.this.append(this)
793 except __builtin__.Exception:
797 """get_value(_BoolParameter self) -> bool"""
798 return _IMP_npctransport._BoolParameter_get_value(self)
802 """is_init(_BoolParameter self) -> bool"""
803 return _IMP_npctransport._BoolParameter_is_init(self)
805 __swig_destroy__ = _IMP_npctransport.delete__BoolParameter
806 __del__ =
lambda self:
None
807 _BoolParameter_swigregister = _IMP_npctransport._BoolParameter_swigregister
808 _BoolParameter_swigregister(_BoolParameter)
812 """make_ordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
813 return _IMP_npctransport.make_ordered_interaction_type(t0, t1)
816 """make_unordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
817 return _IMP_npctransport.make_unordered_interaction_type(t0, t1)
821 make_unordered_particle_index_pair(ParticleIndex pi0, ParticleIndex pi1) -> IMP::ParticleIndexPair
822 make_unordered_particle_index_pair(IMP::ParticleIndexPair pip) -> IMP::ParticleIndexPair
824 return _IMP_npctransport.make_unordered_particle_index_pair(*args)
826 """Proxy of C++ IMP::npctransport::LinearSoftSpherePairScore class."""
828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
832 __init__(IMP::npctransport::LinearSoftSpherePairScore self, double k, std::string name) -> LinearSoftSpherePairScore
833 __init__(IMP::npctransport::LinearSoftSpherePairScore self, double k) -> LinearSoftSpherePairScore
835 this = _IMP_npctransport.new_LinearSoftSpherePairScore(*args)
837 self.this.append(this)
838 except __builtin__.Exception:
841 def do_get_inputs(self, m, pis):
842 """do_get_inputs(LinearSoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
843 return _IMP_npctransport.LinearSoftSpherePairScore_do_get_inputs(self, m, pis)
847 """get_k(LinearSoftSpherePairScore self) -> double"""
848 return _IMP_npctransport.LinearSoftSpherePairScore_get_k(self)
851 def get_version_info(self):
852 """get_version_info(LinearSoftSpherePairScore self) -> VersionInfo"""
853 return _IMP_npctransport.LinearSoftSpherePairScore_get_version_info(self)
857 """__str__(LinearSoftSpherePairScore self) -> std::string"""
858 return _IMP_npctransport.LinearSoftSpherePairScore___str__(self)
862 """__repr__(LinearSoftSpherePairScore self) -> std::string"""
863 return _IMP_npctransport.LinearSoftSpherePairScore___repr__(self)
868 return _object_cast_to_LinearSoftSpherePairScore(o)
870 LinearSoftSpherePairScore_swigregister = _IMP_npctransport.LinearSoftSpherePairScore_swigregister
871 LinearSoftSpherePairScore_swigregister(LinearSoftSpherePairScore)
874 """Proxy of C++ IMP::npctransport::LinearInteractionPairScore class."""
876 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
880 __init__(IMP::npctransport::LinearInteractionPairScore self, double k_rep, double range_attr, double k_attr, std::string name) -> LinearInteractionPairScore
881 __init__(IMP::npctransport::LinearInteractionPairScore self, double k_rep, double range_attr, double k_attr) -> LinearInteractionPairScore
883 this = _IMP_npctransport.new_LinearInteractionPairScore(*args)
885 self.this.append(this)
886 except __builtin__.Exception:
889 def evaluate_if_good_index(self, *args):
891 evaluate_if_good_index(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPair const & p, DerivativeAccumulator da, double max) -> double
892 evaluate_if_good_index(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound) -> double
894 return _IMP_npctransport.LinearInteractionPairScore_evaluate_if_good_index(self, *args)
897 def do_get_inputs(self, m, pis):
898 """do_get_inputs(LinearInteractionPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
899 return _IMP_npctransport.LinearInteractionPairScore_do_get_inputs(self, m, pis)
902 def get_range_attraction(self):
903 """get_range_attraction(LinearInteractionPairScore self) -> double"""
904 return _IMP_npctransport.LinearInteractionPairScore_get_range_attraction(self)
907 def get_k_attraction(self):
908 """get_k_attraction(LinearInteractionPairScore self) -> double"""
909 return _IMP_npctransport.LinearInteractionPairScore_get_k_attraction(self)
912 def set_k_attraction(self, k_attr):
913 """set_k_attraction(LinearInteractionPairScore self, double k_attr)"""
914 return _IMP_npctransport.LinearInteractionPairScore_set_k_attraction(self, k_attr)
917 def get_k_repulsion(self):
918 """get_k_repulsion(LinearInteractionPairScore self) -> double"""
919 return _IMP_npctransport.LinearInteractionPairScore_get_k_repulsion(self)
922 def set_k_repulsion(self, k_rep):
923 """set_k_repulsion(LinearInteractionPairScore self, double k_rep)"""
924 return _IMP_npctransport.LinearInteractionPairScore_set_k_repulsion(self, k_rep)
927 def get_version_info(self):
928 """get_version_info(LinearInteractionPairScore self) -> VersionInfo"""
929 return _IMP_npctransport.LinearInteractionPairScore_get_version_info(self)
933 """__str__(LinearInteractionPairScore self) -> std::string"""
934 return _IMP_npctransport.LinearInteractionPairScore___str__(self)
938 """__repr__(LinearInteractionPairScore self) -> std::string"""
939 return _IMP_npctransport.LinearInteractionPairScore___repr__(self)
944 return _object_cast_to_LinearInteractionPairScore(o)
946 LinearInteractionPairScore_swigregister = _IMP_npctransport.LinearInteractionPairScore_swigregister
947 LinearInteractionPairScore_swigregister(LinearInteractionPairScore)
950 """Proxy of C++ IMP::npctransport::LinearWellPairScore class."""
952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
956 __init__(IMP::npctransport::LinearWellPairScore self, double rest_length_factor, double k, std::string name) -> LinearWellPairScore
957 __init__(IMP::npctransport::LinearWellPairScore self, double rest_length_factor, double k) -> LinearWellPairScore
959 this = _IMP_npctransport.new_LinearWellPairScore(*args)
961 self.this.append(this)
962 except __builtin__.Exception:
965 def set_rest_length_factor(self, rest_length_factor):
966 """set_rest_length_factor(LinearWellPairScore self, double rest_length_factor)"""
967 return _IMP_npctransport.LinearWellPairScore_set_rest_length_factor(self, rest_length_factor)
970 def get_rest_length_factor(self):
971 """get_rest_length_factor(LinearWellPairScore self) -> double"""
972 return _IMP_npctransport.LinearWellPairScore_get_rest_length_factor(self)
976 """set_k(LinearWellPairScore self, double k)"""
977 return _IMP_npctransport.LinearWellPairScore_set_k(self, k)
981 """get_k(LinearWellPairScore self) -> double"""
982 return _IMP_npctransport.LinearWellPairScore_get_k(self)
985 def do_get_inputs(self, m, pis):
986 """do_get_inputs(LinearWellPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
987 return _IMP_npctransport.LinearWellPairScore_do_get_inputs(self, m, pis)
990 def get_version_info(self):
991 """get_version_info(LinearWellPairScore self) -> VersionInfo"""
992 return _IMP_npctransport.LinearWellPairScore_get_version_info(self)
996 """__str__(LinearWellPairScore self) -> std::string"""
997 return _IMP_npctransport.LinearWellPairScore___str__(self)
1001 """__repr__(LinearWellPairScore self) -> std::string"""
1002 return _IMP_npctransport.LinearWellPairScore___repr__(self)
1007 return _object_cast_to_LinearWellPairScore(o)
1009 LinearWellPairScore_swigregister = _IMP_npctransport.LinearWellPairScore_swigregister
1010 LinearWellPairScore_swigregister(LinearWellPairScore)
1013 """Proxy of C++ IMP::npctransport::RelaxingSpring class."""
1015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1019 __init__(IMP::npctransport::RelaxingSpring self) -> RelaxingSpring
1020 __init__(IMP::npctransport::RelaxingSpring self, Model m, ParticleIndex id) -> RelaxingSpring
1021 __init__(IMP::npctransport::RelaxingSpring self, _ParticleAdaptor d) -> RelaxingSpring
1023 this = _IMP_npctransport.new_RelaxingSpring(*args)
1025 self.this.append(this)
1026 except __builtin__.Exception:
1029 def show(self, *args):
1031 show(RelaxingSpring self, _ostream out)
1032 show(RelaxingSpring self)
1034 return _IMP_npctransport.RelaxingSpring_show(self, *args)
1037 def setup_particle(*args):
1039 setup_particle(Model m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1040 setup_particle(_ParticleAdaptor decorator, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1042 return _IMP_npctransport.RelaxingSpring_setup_particle(*args)
1044 setup_particle = staticmethod(setup_particle)
1046 def get_is_setup(*args):
1048 get_is_setup(_ParticleAdaptor p) -> bool
1049 get_is_setup(Model m, ParticleIndex pi) -> bool
1051 return _IMP_npctransport.RelaxingSpring_get_is_setup(*args)
1053 get_is_setup = staticmethod(get_is_setup)
1055 def get_bonded_particle_0_key():
1056 """get_bonded_particle_0_key() -> ParticleIndexKey"""
1057 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0_key()
1059 get_bonded_particle_0_key = staticmethod(get_bonded_particle_0_key)
1061 def get_bonded_particle_1_key():
1062 """get_bonded_particle_1_key() -> ParticleIndexKey"""
1063 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1_key()
1065 get_bonded_particle_1_key = staticmethod(get_bonded_particle_1_key)
1067 def get_equilibrium_rest_length_factor_key():
1068 """get_equilibrium_rest_length_factor_key() -> FloatKey"""
1069 return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor_key()
1071 get_equilibrium_rest_length_factor_key = staticmethod(get_equilibrium_rest_length_factor_key)
1073 def get_rest_length_key():
1074 """get_rest_length_key() -> FloatKey"""
1075 return _IMP_npctransport.RelaxingSpring_get_rest_length_key()
1077 get_rest_length_key = staticmethod(get_rest_length_key)
1079 def get_rest_length_diffusion_coefficient_key():
1080 """get_rest_length_diffusion_coefficient_key() -> FloatKey"""
1081 return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient_key()
1083 get_rest_length_diffusion_coefficient_key = staticmethod(get_rest_length_diffusion_coefficient_key)
1085 def get_bonded_particle_0(self):
1086 """get_bonded_particle_0(RelaxingSpring self) -> Particle"""
1087 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0(self)
1090 def get_bonded_particle_1(self):
1091 """get_bonded_particle_1(RelaxingSpring self) -> Particle"""
1092 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1(self)
1095 def get_bonded_particle_index_0(self):
1096 """get_bonded_particle_index_0(RelaxingSpring self) -> ParticleIndex"""
1097 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_0(self)
1100 def get_bonded_particle_index_1(self):
1101 """get_bonded_particle_index_1(RelaxingSpring self) -> ParticleIndex"""
1102 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_1(self)
1105 def get_equilibrium_rest_length_factor(self):
1106 """get_equilibrium_rest_length_factor(RelaxingSpring self) -> IMP::Float"""
1107 return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor(self)
1110 def set_equilibrium_rest_length_factor(self, t):
1111 """set_equilibrium_rest_length_factor(RelaxingSpring self, IMP::Float t)"""
1112 return _IMP_npctransport.RelaxingSpring_set_equilibrium_rest_length_factor(self, t)
1115 def get_rest_length(self):
1116 """get_rest_length(RelaxingSpring self) -> IMP::Float"""
1117 return _IMP_npctransport.RelaxingSpring_get_rest_length(self)
1120 def set_rest_length(self, t):
1121 """set_rest_length(RelaxingSpring self, IMP::Float t)"""
1122 return _IMP_npctransport.RelaxingSpring_set_rest_length(self, t)
1125 def get_rest_length_diffusion_coefficient(self):
1126 """get_rest_length_diffusion_coefficient(RelaxingSpring self) -> IMP::Float"""
1127 return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient(self)
1130 def set_rest_length_diffusion_coefficient(self, t):
1131 """set_rest_length_diffusion_coefficient(RelaxingSpring self, IMP::Float t)"""
1132 return _IMP_npctransport.RelaxingSpring_set_rest_length_diffusion_coefficient(self, t)
1135 def add_to_rest_length_derivative(self, d, da):
1136 """add_to_rest_length_derivative(RelaxingSpring self, double d, DerivativeAccumulator da)"""
1137 return _IMP_npctransport.RelaxingSpring_add_to_rest_length_derivative(self, d, da)
1140 def get_rest_length_derivative(self):
1141 """get_rest_length_derivative(RelaxingSpring self) -> double"""
1142 return _IMP_npctransport.RelaxingSpring_get_rest_length_derivative(self)
1145 def add_attribute(self, *args):
1147 add_attribute(RelaxingSpring self, FloatKey k, IMP::Float v, bool opt)
1148 add_attribute(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1149 add_attribute(RelaxingSpring self, IntKey a0, IMP::Int a1)
1150 add_attribute(RelaxingSpring self, StringKey a0, IMP::String a1)
1151 add_attribute(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1152 add_attribute(RelaxingSpring self, ObjectKey a0, Object a1)
1154 return _IMP_npctransport.RelaxingSpring_add_attribute(self, *args)
1157 def get_value(self, *args):
1159 get_value(RelaxingSpring self, FloatKey a0) -> IMP::Float
1160 get_value(RelaxingSpring self, IntKey a0) -> IMP::Int
1161 get_value(RelaxingSpring self, StringKey a0) -> IMP::String
1162 get_value(RelaxingSpring self, ParticleIndexKey a0) -> Particle
1163 get_value(RelaxingSpring self, ObjectKey a0) -> Object
1165 return _IMP_npctransport.RelaxingSpring_get_value(self, *args)
1168 def set_value(self, *args):
1170 set_value(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1171 set_value(RelaxingSpring self, IntKey a0, IMP::Int a1)
1172 set_value(RelaxingSpring self, StringKey a0, IMP::String a1)
1173 set_value(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1174 set_value(RelaxingSpring self, ObjectKey a0, Object a1)
1176 return _IMP_npctransport.RelaxingSpring_set_value(self, *args)
1179 def remove_attribute(self, *args):
1181 remove_attribute(RelaxingSpring self, FloatKey a0)
1182 remove_attribute(RelaxingSpring self, IntKey a0)
1183 remove_attribute(RelaxingSpring self, StringKey a0)
1184 remove_attribute(RelaxingSpring self, ParticleIndexKey a0)
1185 remove_attribute(RelaxingSpring self, ObjectKey a0)
1187 return _IMP_npctransport.RelaxingSpring_remove_attribute(self, *args)
1190 def has_attribute(self, *args):
1192 has_attribute(RelaxingSpring self, FloatKey a0) -> bool
1193 has_attribute(RelaxingSpring self, IntKey a0) -> bool
1194 has_attribute(RelaxingSpring self, StringKey a0) -> bool
1195 has_attribute(RelaxingSpring self, ParticleIndexKey a0) -> bool
1196 has_attribute(RelaxingSpring self, ObjectKey a0) -> bool
1198 return _IMP_npctransport.RelaxingSpring_has_attribute(self, *args)
1201 def get_derivative(self, a0):
1202 """get_derivative(RelaxingSpring self, FloatKey a0) -> double"""
1203 return _IMP_npctransport.RelaxingSpring_get_derivative(self, a0)
1207 """get_name(RelaxingSpring self) -> std::string"""
1208 return _IMP_npctransport.RelaxingSpring_get_name(self)
1211 def clear_caches(self):
1212 """clear_caches(RelaxingSpring self)"""
1213 return _IMP_npctransport.RelaxingSpring_clear_caches(self)
1216 def set_name(self, a0):
1217 """set_name(RelaxingSpring self, std::string a0)"""
1218 return _IMP_npctransport.RelaxingSpring_set_name(self, a0)
1222 """set_check_level(RelaxingSpring self, IMP::CheckLevel a0)"""
1223 return _IMP_npctransport.RelaxingSpring_set_check_level(self, a0)
1226 def add_to_derivative(self, a0, a1, a2):
1227 """add_to_derivative(RelaxingSpring self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1228 return _IMP_npctransport.RelaxingSpring_add_to_derivative(self, a0, a1, a2)
1231 def set_is_optimized(self, a0, a1):
1232 """set_is_optimized(RelaxingSpring self, FloatKey a0, bool a1)"""
1233 return _IMP_npctransport.RelaxingSpring_set_is_optimized(self, a0, a1)
1236 def get_is_optimized(self, a0):
1237 """get_is_optimized(RelaxingSpring self, FloatKey a0) -> bool"""
1238 return _IMP_npctransport.RelaxingSpring_get_is_optimized(self, a0)
1242 """get_check_level(RelaxingSpring self) -> IMP::CheckLevel"""
1243 return _IMP_npctransport.RelaxingSpring_get_check_level(self)
1246 def __eq__(self, *args):
1248 __eq__(RelaxingSpring self, RelaxingSpring o) -> bool
1249 __eq__(RelaxingSpring self, Particle d) -> bool
1251 return _IMP_npctransport.RelaxingSpring___eq__(self, *args)
1254 def __ne__(self, *args):
1256 __ne__(RelaxingSpring self, RelaxingSpring o) -> bool
1257 __ne__(RelaxingSpring self, Particle d) -> bool
1259 return _IMP_npctransport.RelaxingSpring___ne__(self, *args)
1262 def __le__(self, *args):
1264 __le__(RelaxingSpring self, RelaxingSpring o) -> bool
1265 __le__(RelaxingSpring self, Particle d) -> bool
1267 return _IMP_npctransport.RelaxingSpring___le__(self, *args)
1270 def __lt__(self, *args):
1272 __lt__(RelaxingSpring self, RelaxingSpring o) -> bool
1273 __lt__(RelaxingSpring self, Particle d) -> bool
1275 return _IMP_npctransport.RelaxingSpring___lt__(self, *args)
1278 def __ge__(self, *args):
1280 __ge__(RelaxingSpring self, RelaxingSpring o) -> bool
1281 __ge__(RelaxingSpring self, Particle d) -> bool
1283 return _IMP_npctransport.RelaxingSpring___ge__(self, *args)
1286 def __gt__(self, *args):
1288 __gt__(RelaxingSpring self, RelaxingSpring o) -> bool
1289 __gt__(RelaxingSpring self, Particle d) -> bool
1291 return _IMP_npctransport.RelaxingSpring___gt__(self, *args)
1295 """__hash__(RelaxingSpring self) -> std::size_t"""
1296 return _IMP_npctransport.RelaxingSpring___hash__(self)
1300 """__str__(RelaxingSpring self) -> std::string"""
1301 return _IMP_npctransport.RelaxingSpring___str__(self)
1305 """__repr__(RelaxingSpring self) -> std::string"""
1306 return _IMP_npctransport.RelaxingSpring___repr__(self)
1308 __swig_destroy__ = _IMP_npctransport.delete_RelaxingSpring
1309 __del__ =
lambda self:
None
1310 RelaxingSpring_swigregister = _IMP_npctransport.RelaxingSpring_swigregister
1311 RelaxingSpring_swigregister(RelaxingSpring)
1313 def RelaxingSpring_setup_particle(*args):
1315 setup_particle(Model m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1316 RelaxingSpring_setup_particle(_ParticleAdaptor decorator, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1318 return _IMP_npctransport.RelaxingSpring_setup_particle(*args)
1320 def RelaxingSpring_get_is_setup(*args):
1322 get_is_setup(_ParticleAdaptor p) -> bool
1323 RelaxingSpring_get_is_setup(Model m, ParticleIndex pi) -> bool
1325 return _IMP_npctransport.RelaxingSpring_get_is_setup(*args)
1327 def RelaxingSpring_get_bonded_particle_0_key():
1328 """RelaxingSpring_get_bonded_particle_0_key() -> ParticleIndexKey"""
1329 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0_key()
1331 def RelaxingSpring_get_bonded_particle_1_key():
1332 """RelaxingSpring_get_bonded_particle_1_key() -> ParticleIndexKey"""
1333 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1_key()
1335 def RelaxingSpring_get_equilibrium_rest_length_factor_key():
1336 """RelaxingSpring_get_equilibrium_rest_length_factor_key() -> FloatKey"""
1337 return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor_key()
1339 def RelaxingSpring_get_rest_length_key():
1340 """RelaxingSpring_get_rest_length_key() -> FloatKey"""
1341 return _IMP_npctransport.RelaxingSpring_get_rest_length_key()
1343 def RelaxingSpring_get_rest_length_diffusion_coefficient_key():
1344 """RelaxingSpring_get_rest_length_diffusion_coefficient_key() -> FloatKey"""
1345 return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient_key()
1348 """Proxy of C++ IMP::npctransport::HarmonicSpringSingletonScore class."""
1350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1354 __init__(IMP::npctransport::HarmonicSpringSingletonScore self, double k1, double k2, std::string name) -> HarmonicSpringSingletonScore
1355 __init__(IMP::npctransport::HarmonicSpringSingletonScore self, double k1, double k2) -> HarmonicSpringSingletonScore
1357 this = _IMP_npctransport.new_HarmonicSpringSingletonScore(*args)
1359 self.this.append(this)
1360 except __builtin__.Exception:
1363 def set_k1(self, k1):
1364 """set_k1(HarmonicSpringSingletonScore self, double k1)"""
1365 return _IMP_npctransport.HarmonicSpringSingletonScore_set_k1(self, k1)
1369 """get_k1(HarmonicSpringSingletonScore self) -> double"""
1370 return _IMP_npctransport.HarmonicSpringSingletonScore_get_k1(self)
1373 def set_k2(self, k2):
1374 """set_k2(HarmonicSpringSingletonScore self, double k2)"""
1375 return _IMP_npctransport.HarmonicSpringSingletonScore_set_k2(self, k2)
1379 """get_k2(HarmonicSpringSingletonScore self) -> double"""
1380 return _IMP_npctransport.HarmonicSpringSingletonScore_get_k2(self)
1383 def do_get_inputs(self, m, pis):
1384 """do_get_inputs(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1385 return _IMP_npctransport.HarmonicSpringSingletonScore_do_get_inputs(self, m, pis)
1388 def get_version_info(self):
1389 """get_version_info(HarmonicSpringSingletonScore self) -> VersionInfo"""
1390 return _IMP_npctransport.HarmonicSpringSingletonScore_get_version_info(self)
1394 """__str__(HarmonicSpringSingletonScore self) -> std::string"""
1395 return _IMP_npctransport.HarmonicSpringSingletonScore___str__(self)
1399 """__repr__(HarmonicSpringSingletonScore self) -> std::string"""
1400 return _IMP_npctransport.HarmonicSpringSingletonScore___repr__(self)
1405 return _object_cast_to_HarmonicSpringSingletonScore(o)
1407 HarmonicSpringSingletonScore_swigregister = _IMP_npctransport.HarmonicSpringSingletonScore_swigregister
1408 HarmonicSpringSingletonScore_swigregister(HarmonicSpringSingletonScore)
1410 class LinearInteraction(object):
1411 """Proxy of C++ IMP::npctransport::LinearInteraction class."""
1413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1414 __repr__ = _swig_repr
1416 def __init__(self, krep, attr_range, kattr):
1417 """__init__(IMP::npctransport::LinearInteraction self, double krep, double attr_range, double kattr) -> LinearInteraction"""
1418 this = _IMP_npctransport.new_LinearInteraction(krep, attr_range, kattr)
1420 self.this.append(this)
1421 except __builtin__.Exception:
1424 def show(self, *args):
1426 show(LinearInteraction self, _ostream out)
1427 show(LinearInteraction self)
1429 return _IMP_npctransport.LinearInteraction_show(self, *args)
1431 __swig_destroy__ = _IMP_npctransport.delete_LinearInteraction
1432 __del__ =
lambda self:
None
1433 LinearInteraction_swigregister = _IMP_npctransport.LinearInteraction_swigregister
1434 LinearInteraction_swigregister(LinearInteraction)
1437 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> class."""
1439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1440 __repr__ = _swig_repr
1444 __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > >::DistanceScore const & t0, std::string name) -> _DistancePairScoreForLinearSoftSphere
1445 __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > >::DistanceScore const & t0) -> _DistancePairScoreForLinearSoftSphere
1447 this = _IMP_npctransport.new__DistancePairScoreForLinearSoftSphere(*args)
1449 self.this.append(this)
1450 except __builtin__.Exception:
1453 def do_get_inputs(self, m, pis):
1454 """do_get_inputs(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1455 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_do_get_inputs(self, m, pis)
1458 def get_score_functor(self):
1459 """get_score_functor(_DistancePairScoreForLinearSoftSphere self) -> IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > &"""
1460 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_score_functor(self)
1463 def get_version_info(self):
1464 """get_version_info(_DistancePairScoreForLinearSoftSphere self) -> VersionInfo"""
1465 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_version_info(self)
1467 _DistancePairScoreForLinearSoftSphere_swigregister = _IMP_npctransport._DistancePairScoreForLinearSoftSphere_swigregister
1468 _DistancePairScoreForLinearSoftSphere_swigregister(_DistancePairScoreForLinearSoftSphere)
1470 class _DistancePairScoreForLinearInteraction(
IMP.PairScore):
1471 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> class."""
1473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1474 __repr__ = _swig_repr
1478 __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > >::DistanceScore const & t0, std::string name) -> _DistancePairScoreForLinearInteraction
1479 __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > >::DistanceScore const & t0) -> _DistancePairScoreForLinearInteraction
1481 this = _IMP_npctransport.new__DistancePairScoreForLinearInteraction(*args)
1483 self.this.append(this)
1484 except __builtin__.Exception:
1487 def do_get_inputs(self, m, pis):
1488 """do_get_inputs(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1489 return _IMP_npctransport._DistancePairScoreForLinearInteraction_do_get_inputs(self, m, pis)
1492 def get_score_functor(self):
1493 """get_score_functor(_DistancePairScoreForLinearInteraction self) -> IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > &"""
1494 return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_score_functor(self)
1497 def get_version_info(self):
1498 """get_version_info(_DistancePairScoreForLinearInteraction self) -> VersionInfo"""
1499 return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_version_info(self)
1501 _DistancePairScoreForLinearInteraction_swigregister = _IMP_npctransport._DistancePairScoreForLinearInteraction_swigregister
1502 _DistancePairScoreForLinearInteraction_swigregister(_DistancePairScoreForLinearInteraction)
1504 class FunctorLinearSoftSpherePairScore(_DistancePairScoreForLinearSoftSphere):
1505 """Proxy of C++ IMP::npctransport::FunctorLinearSoftSpherePairScore class."""
1507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1511 __init__(IMP::npctransport::FunctorLinearSoftSpherePairScore self, double k, std::string name) -> FunctorLinearSoftSpherePairScore
1512 __init__(IMP::npctransport::FunctorLinearSoftSpherePairScore self, double k) -> FunctorLinearSoftSpherePairScore
1514 this = _IMP_npctransport.new_FunctorLinearSoftSpherePairScore(*args)
1516 self.this.append(this)
1517 except __builtin__.Exception:
1521 """__str__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1522 return _IMP_npctransport.FunctorLinearSoftSpherePairScore___str__(self)
1526 """__repr__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1527 return _IMP_npctransport.FunctorLinearSoftSpherePairScore___repr__(self)
1532 return _object_cast_to_FunctorLinearSoftSpherePairScore(o)
1534 FunctorLinearSoftSpherePairScore_swigregister = _IMP_npctransport.FunctorLinearSoftSpherePairScore_swigregister
1535 FunctorLinearSoftSpherePairScore_swigregister(FunctorLinearSoftSpherePairScore)
1537 class FunctorLinearInteractionPairScore(_DistancePairScoreForLinearInteraction):
1538 """Proxy of C++ IMP::npctransport::FunctorLinearInteractionPairScore class."""
1540 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1544 __init__(IMP::npctransport::FunctorLinearInteractionPairScore self, double krep, double attr_range, double kattr, std::string name) -> FunctorLinearInteractionPairScore
1545 __init__(IMP::npctransport::FunctorLinearInteractionPairScore self, double krep, double attr_range, double kattr) -> FunctorLinearInteractionPairScore
1547 this = _IMP_npctransport.new_FunctorLinearInteractionPairScore(*args)
1549 self.this.append(this)
1550 except __builtin__.Exception:
1554 """__str__(FunctorLinearInteractionPairScore self) -> std::string"""
1555 return _IMP_npctransport.FunctorLinearInteractionPairScore___str__(self)
1559 """__repr__(FunctorLinearInteractionPairScore self) -> std::string"""
1560 return _IMP_npctransport.FunctorLinearInteractionPairScore___repr__(self)
1565 return _object_cast_to_FunctorLinearInteractionPairScore(o)
1567 FunctorLinearInteractionPairScore_swigregister = _IMP_npctransport.FunctorLinearInteractionPairScore_swigregister
1568 FunctorLinearInteractionPairScore_swigregister(FunctorLinearInteractionPairScore)
1571 """Proxy of C++ IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport class."""
1573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1577 __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMDWithSlabSupport
1578 __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m, std::string name) -> BrownianDynamicsTAMDWithSlabSupport
1579 __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m) -> BrownianDynamicsTAMDWithSlabSupport
1581 this = _IMP_npctransport.new_BrownianDynamicsTAMDWithSlabSupport(*args)
1583 self.this.append(this)
1584 except __builtin__.Exception:
1588 """__str__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1589 return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___str__(self)
1593 """__repr__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1594 return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___repr__(self)
1599 return _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
1601 __swig_destroy__ = _IMP_npctransport.delete_BrownianDynamicsTAMDWithSlabSupport
1602 __del__ =
lambda self:
None
1603 BrownianDynamicsTAMDWithSlabSupport_swigregister = _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport_swigregister
1604 BrownianDynamicsTAMDWithSlabSupport_swigregister(BrownianDynamicsTAMDWithSlabSupport)
1606 class SitesPairScoreParameters(object):
1607 """Proxy of C++ IMP::npctransport::SitesPairScoreParameters class."""
1609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1610 r = _swig_property(_IMP_npctransport.SitesPairScoreParameters_r_get, _IMP_npctransport.SitesPairScoreParameters_r_set)
1611 k = _swig_property(_IMP_npctransport.SitesPairScoreParameters_k_get, _IMP_npctransport.SitesPairScoreParameters_k_set)
1612 r2 = _swig_property(_IMP_npctransport.SitesPairScoreParameters_r2_get, _IMP_npctransport.SitesPairScoreParameters_r2_set)
1613 kr = _swig_property(_IMP_npctransport.SitesPairScoreParameters_kr_get, _IMP_npctransport.SitesPairScoreParameters_kr_set)
1614 kr2 = _swig_property(_IMP_npctransport.SitesPairScoreParameters_kr2_get, _IMP_npctransport.SitesPairScoreParameters_kr2_set)
1615 cosSigma1_max = _swig_property(_IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_set)
1616 cosSigma2_max = _swig_property(_IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_set)
1617 is_orientational = _swig_property(_IMP_npctransport.SitesPairScoreParameters_is_orientational_get, _IMP_npctransport.SitesPairScoreParameters_is_orientational_set)
1619 def __init__(self, range, k_coefficient, sigma1_max_deg=0.0, sigma2_max_deg=0.0):
1621 __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient, double sigma1_max_deg=0.0, double sigma2_max_deg=0.0) -> SitesPairScoreParameters
1622 __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient, double sigma1_max_deg=0.0) -> SitesPairScoreParameters
1623 __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient) -> SitesPairScoreParameters
1625 this = _IMP_npctransport.new_SitesPairScoreParameters(range, k_coefficient, sigma1_max_deg, sigma2_max_deg)
1627 self.this.append(this)
1628 except __builtin__.Exception:
1631 def set_range(self, r):
1632 """set_range(SitesPairScoreParameters self, double r)"""
1633 return _IMP_npctransport.SitesPairScoreParameters_set_range(self, r)
1636 def set_force_coefficient(self, k):
1637 """set_force_coefficient(SitesPairScoreParameters self, double k)"""
1638 return _IMP_npctransport.SitesPairScoreParameters_set_force_coefficient(self, k)
1641 def set_sigma1_max(self, sigma1_max_deg):
1642 """set_sigma1_max(SitesPairScoreParameters self, double sigma1_max_deg)"""
1643 return _IMP_npctransport.SitesPairScoreParameters_set_sigma1_max(self, sigma1_max_deg)
1646 def set_sigma2_max(self, sigma2_max_deg):
1647 """set_sigma2_max(SitesPairScoreParameters self, double sigma2_max_deg)"""
1648 return _IMP_npctransport.SitesPairScoreParameters_set_sigma2_max(self, sigma2_max_deg)
1651 def update_is_orientational(self):
1652 """update_is_orientational(SitesPairScoreParameters self)"""
1653 return _IMP_npctransport.SitesPairScoreParameters_update_is_orientational(self)
1656 def show(self, *args):
1658 show(SitesPairScoreParameters self, _ostream out)
1659 show(SitesPairScoreParameters self)
1661 return _IMP_npctransport.SitesPairScoreParameters_show(self, *args)
1665 """__str__(SitesPairScoreParameters self) -> std::string"""
1666 return _IMP_npctransport.SitesPairScoreParameters___str__(self)
1670 """__repr__(SitesPairScoreParameters self) -> std::string"""
1671 return _IMP_npctransport.SitesPairScoreParameters___repr__(self)
1673 __swig_destroy__ = _IMP_npctransport.delete_SitesPairScoreParameters
1674 __del__ =
lambda self:
None
1675 SitesPairScoreParameters_swigregister = _IMP_npctransport.SitesPairScoreParameters_swigregister
1676 SitesPairScoreParameters_swigregister(SitesPairScoreParameters)
1679 """Proxy of C++ IMP::npctransport::SitesGeometry class."""
1681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1684 """__init__(IMP::npctransport::SitesGeometry self, Particle p, IMP::algebra::Sphere3Ds sites) -> SitesGeometry"""
1685 this = _IMP_npctransport.new_SitesGeometry(p, sites)
1687 self.this.append(this)
1688 except __builtin__.Exception:
1692 """__str__(SitesGeometry self) -> std::string"""
1693 return _IMP_npctransport.SitesGeometry___str__(self)
1697 """__repr__(SitesGeometry self) -> std::string"""
1698 return _IMP_npctransport.SitesGeometry___repr__(self)
1703 return _object_cast_to_SitesGeometry(o)
1705 SitesGeometry_swigregister = _IMP_npctransport.SitesGeometry_swigregister
1706 SitesGeometry_swigregister(SitesGeometry)
1709 """Proxy of C++ IMP::npctransport::TypedSitesGeometry class."""
1711 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1714 """__init__(IMP::npctransport::TypedSitesGeometry self, _SingletonContainerAdaptor sc) -> TypedSitesGeometry"""
1715 this = _IMP_npctransport.new_TypedSitesGeometry(sc)
1717 self.this.append(this)
1718 except __builtin__.Exception:
1721 def set_sites(self, t, s):
1722 """set_sites(TypedSitesGeometry self, ParticleType t, IMP::algebra::Sphere3Ds s)"""
1723 return _IMP_npctransport.TypedSitesGeometry_set_sites(self, t, s)
1726 def get_version_info(self):
1727 """get_version_info(TypedSitesGeometry self) -> VersionInfo"""
1728 return _IMP_npctransport.TypedSitesGeometry_get_version_info(self)
1732 """__str__(TypedSitesGeometry self) -> std::string"""
1733 return _IMP_npctransport.TypedSitesGeometry___str__(self)
1737 """__repr__(TypedSitesGeometry self) -> std::string"""
1738 return _IMP_npctransport.TypedSitesGeometry___repr__(self)
1743 return _object_cast_to_TypedSitesGeometry(o)
1745 TypedSitesGeometry_swigregister = _IMP_npctransport.TypedSitesGeometry_swigregister
1746 TypedSitesGeometry_swigregister(TypedSitesGeometry)
1748 class SitesPairScore(LinearInteractionPairScore):
1749 """Proxy of C++ IMP::npctransport::SitesPairScore class."""
1751 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1753 def __init__(self, range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1):
1754 """__init__(IMP::npctransport::SitesPairScore self, double range, double k, double sigma0_deg, double sigma1_deg, double range_nonspec_attraction, double k_nonspec_attraction, double k_nonspec_repulsion, IMP::algebra::Sphere3Ds const & sites0, IMP::algebra::Sphere3Ds const & sites1) -> SitesPairScore"""
1755 this = _IMP_npctransport.new_SitesPairScore(range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1)
1757 self.this.append(this)
1758 except __builtin__.Exception:
1761 def get_sites_range(self):
1762 """get_sites_range(SitesPairScore self) -> double"""
1763 return _IMP_npctransport.SitesPairScore_get_sites_range(self)
1766 def get_sites_k(self):
1767 """get_sites_k(SitesPairScore self) -> double"""
1768 return _IMP_npctransport.SitesPairScore_get_sites_k(self)
1771 def get_parameters(self):
1772 """get_parameters(SitesPairScore self) -> SitesPairScoreParameters"""
1773 return _IMP_npctransport.SitesPairScore_get_parameters(self)
1776 def set_sites(self, sites0, sites1):
1777 """set_sites(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0, IMP::algebra::Sphere3Ds const & sites1)"""
1778 return _IMP_npctransport.SitesPairScore_set_sites(self, sites0, sites1)
1781 def set_sites0(self, sites0):
1782 """set_sites0(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0)"""
1783 return _IMP_npctransport.SitesPairScore_set_sites0(self, sites0)
1786 def set_sites1(self, sites1):
1787 """set_sites1(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites1)"""
1788 return _IMP_npctransport.SitesPairScore_set_sites1(self, sites1)
1792 """__str__(SitesPairScore self) -> std::string"""
1793 return _IMP_npctransport.SitesPairScore___str__(self)
1797 """__repr__(SitesPairScore self) -> std::string"""
1798 return _IMP_npctransport.SitesPairScore___repr__(self)
1803 return _object_cast_to_SitesPairScore(o)
1805 SitesPairScore_swigregister = _IMP_npctransport.SitesPairScore_swigregister
1806 SitesPairScore_swigregister(SitesPairScore)
1809 """Proxy of C++ IMP::npctransport::FGChain class."""
1811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1815 __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0, double rest_length_factor=1.0, std::string name) -> FGChain
1816 __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0, double rest_length_factor=1.0) -> FGChain
1817 __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0) -> FGChain
1818 __init__(IMP::npctransport::FGChain self, Particle root) -> FGChain
1820 this = _IMP_npctransport.new_FGChain(*args)
1822 self.this.append(this)
1823 except __builtin__.Exception:
1827 """get_root(FGChain self) -> Hierarchy"""
1828 return _IMP_npctransport.FGChain_get_root(self)
1831 def get_beads(self):
1832 """get_beads(FGChain self) -> IMP::ParticlesTemp"""
1833 return _IMP_npctransport.FGChain_get_beads(self)
1836 def get_bead(self, i):
1837 """get_bead(FGChain self, unsigned int i) -> Particle"""
1838 return _IMP_npctransport.FGChain_get_bead(self, i)
1841 def get_bead_index(self, i):
1842 """get_bead_index(FGChain self, unsigned int i) -> ParticleIndex"""
1843 return _IMP_npctransport.FGChain_get_bead_index(self, i)
1846 def get_number_of_beads(self):
1847 """get_number_of_beads(FGChain self) -> unsigned int"""
1848 return _IMP_npctransport.FGChain_get_number_of_beads(self)
1851 def get_chain_restraints(self, scoring_manager):
1852 """get_chain_restraints(FGChain self, Scoring scoring_manager) -> IMP::Restraints"""
1853 return _IMP_npctransport.FGChain_get_chain_restraints(self, scoring_manager)
1856 def set_rest_length_factor(self, rlf):
1857 """set_rest_length_factor(FGChain self, double rlf)"""
1858 return _IMP_npctransport.FGChain_set_rest_length_factor(self, rlf)
1861 def set_backbone_k(self, k):
1862 """set_backbone_k(FGChain self, double k)"""
1863 return _IMP_npctransport.FGChain_set_backbone_k(self, k)
1866 def get_rest_length_factor(self):
1867 """get_rest_length_factor(FGChain self) -> double"""
1868 return _IMP_npctransport.FGChain_get_rest_length_factor(self)
1871 def get_backbone_k(self):
1872 """get_backbone_k(FGChain self) -> double"""
1873 return _IMP_npctransport.FGChain_get_backbone_k(self)
1876 def get_version_info(self):
1877 """get_version_info(FGChain self) -> VersionInfo"""
1878 return _IMP_npctransport.FGChain_get_version_info(self)
1882 """__str__(FGChain self) -> std::string"""
1883 return _IMP_npctransport.FGChain___str__(self)
1887 """__repr__(FGChain self) -> std::string"""
1888 return _IMP_npctransport.FGChain___repr__(self)
1893 return _object_cast_to_FGChain(o)
1895 FGChain_swigregister = _IMP_npctransport.FGChain_swigregister
1896 FGChain_swigregister(FGChain)
1900 """create_fg_chain(SimulationData sd, Hierarchy parent, ::npctransport_proto::Assignment_FGAssignment const & fg_data, Color c) -> FGChain"""
1901 return _IMP_npctransport.create_fg_chain(sd, parent, fg_data, c)
1905 get_fg_chain(Hierarchy root) -> FGChain
1906 get_fg_chain(Particle p_root) -> FGChain
1908 return _IMP_npctransport.get_fg_chain(*args)
1910 """Proxy of C++ IMP::npctransport::Scoring class."""
1912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1914 def __init__(self, owner_sd, data):
1915 """__init__(IMP::npctransport::Scoring self, SimulationData owner_sd, ::npctransport_proto::Assignment const & data) -> Scoring"""
1916 this = _IMP_npctransport.new_Scoring(owner_sd, data)
1918 self.this.append(this)
1919 except __builtin__.Exception:
1922 def get_scoring_function(self, force_update=False):
1924 get_scoring_function(Scoring self, bool force_update=False) -> ScoringFunction
1925 get_scoring_function(Scoring self) -> ScoringFunction
1927 return _IMP_npctransport.Scoring_get_scoring_function(self, force_update)
1930 def get_scoring_function_restraints(self, force_update=False):
1932 get_scoring_function_restraints(Scoring self, bool force_update=False) -> IMP::Restraints
1933 get_scoring_function_restraints(Scoring self) -> IMP::Restraints
1935 return _IMP_npctransport.Scoring_get_scoring_function_restraints(self, force_update)
1938 def get_custom_scoring_function(self, *args):
1940 get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, _SingletonContainerAdaptor non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads, bool is_attr_interactions_on=True) -> ScoringFunction
1941 get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, _SingletonContainerAdaptor non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> ScoringFunction
1942 get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads, bool is_attr_interactions_on=True) -> ScoringFunction
1943 get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> ScoringFunction
1945 return _IMP_npctransport.Scoring_get_custom_scoring_function(self, *args)
1948 def get_close_beads_container(self, update=False):
1950 get_close_beads_container(Scoring self, bool update=False) -> PairContainer
1951 get_close_beads_container(Scoring self) -> PairContainer
1953 return _IMP_npctransport.Scoring_get_close_beads_container(self, update)
1956 def get_predicates_pair_restraint(self, update=False):
1958 get_predicates_pair_restraint(Scoring self, bool update=False) -> PredicatePairsRestraint
1959 get_predicates_pair_restraint(Scoring self) -> PredicatePairsRestraint
1961 return _IMP_npctransport.Scoring_get_predicates_pair_restraint(self, update)
1964 def get_bounding_volume_restraint(self, update=False):
1966 get_bounding_volume_restraint(Scoring self, bool update=False) -> Restraint
1967 get_bounding_volume_restraint(Scoring self) -> Restraint
1969 return _IMP_npctransport.Scoring_get_bounding_volume_restraint(self, update)
1972 def get_slab_restraint(self, update=False):
1974 get_slab_restraint(Scoring self, bool update=False) -> Restraint
1975 get_slab_restraint(Scoring self) -> Restraint
1977 return _IMP_npctransport.Scoring_get_slab_restraint(self, update)
1980 def add_interaction(self, idata):
1981 """add_interaction(Scoring self, ::npctransport_proto::Assignment_InteractionAssignment const & idata)"""
1982 return _IMP_npctransport.Scoring_add_interaction(self, idata)
1985 def create_close_beads_container(self, *args):
1987 create_close_beads_container(Scoring self, _SingletonContainerAdaptor non_optimiziable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1988 create_close_beads_container(Scoring self, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1990 return _IMP_npctransport.Scoring_create_close_beads_container(self, *args)
1993 def create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on=True):
1995 create_predicates_pair_restraint(Scoring self, PairContainer bead_pairs, bool is_attr_interactions_on=True) -> PredicatePairsRestraint
1996 create_predicates_pair_restraint(Scoring self, PairContainer bead_pairs) -> PredicatePairsRestraint
1998 return _IMP_npctransport.Scoring_create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on)
2001 def create_bounding_volume_restraint(self, beads):
2002 """create_bounding_volume_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
2003 return _IMP_npctransport.Scoring_create_bounding_volume_restraint(self, beads)
2006 def create_slab_restraint(self, beads):
2007 """create_slab_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
2008 return _IMP_npctransport.Scoring_create_slab_restraint(self, beads)
2011 def get_model(self):
2012 """get_model(Scoring self) -> Model"""
2013 return _IMP_npctransport.Scoring_get_model(self)
2017 """get_sd(Scoring self) -> SimulationData"""
2018 return _IMP_npctransport.Scoring_get_sd(self)
2021 def get_has_bounding_box(self):
2022 """get_has_bounding_box(Scoring self) -> bool"""
2023 return _IMP_npctransport.Scoring_get_has_bounding_box(self)
2026 def get_has_bounding_sphere(self):
2027 """get_has_bounding_sphere(Scoring self) -> bool"""
2028 return _IMP_npctransport.Scoring_get_has_bounding_sphere(self)
2031 def get_has_bounding_volume(self):
2032 """get_has_bounding_volume(Scoring self) -> bool"""
2033 return _IMP_npctransport.Scoring_get_has_bounding_volume(self)
2036 def get_default_backbone_k(self):
2037 """get_default_backbone_k(Scoring self) -> double"""
2038 return _IMP_npctransport.Scoring_get_default_backbone_k(self)
2041 def get_is_backbone_harmonic(self):
2042 """get_is_backbone_harmonic(Scoring self) -> bool"""
2043 return _IMP_npctransport.Scoring_get_is_backbone_harmonic(self)
2046 def get_excluded_volume_k(self):
2047 """get_excluded_volume_k(Scoring self) -> double"""
2048 return _IMP_npctransport.Scoring_get_excluded_volume_k(self)
2051 def get_interaction_k(self):
2052 """get_interaction_k(Scoring self) -> double"""
2053 return _IMP_npctransport.Scoring_get_interaction_k(self)
2056 def get_predicate_pair_score(self, *args):
2058 get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
2059 get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
2061 return _IMP_npctransport.Scoring_get_predicate_pair_score(self, *args)
2064 def get_interaction_range_for(self, t1, t2, site_specific=True, non_specific=False):
2066 get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2, bool site_specific=True, bool non_specific=False) -> double
2067 get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2, bool site_specific=True) -> double
2068 get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2) -> double
2070 return _IMP_npctransport.Scoring_get_interaction_range_for(self, t1, t2, site_specific, non_specific)
2073 def get_ordered_type_pair_predicate(self):
2074 """get_ordered_type_pair_predicate(Scoring self) -> OrderedTypePairPredicate"""
2075 return _IMP_npctransport.Scoring_get_ordered_type_pair_predicate(self)
2078 def add_chain_restraints(self, chain):
2079 """add_chain_restraints(Scoring self, FGChain chain)"""
2080 return _IMP_npctransport.Scoring_add_chain_restraints(self, chain)
2083 def get_chain_restraints_on(self, beads):
2084 """get_chain_restraints_on(Scoring self, _SingletonContainerAdaptor beads) -> IMP::Restraints"""
2085 return _IMP_npctransport.Scoring_get_chain_restraints_on(self, beads)
2088 def get_all_chain_restraints(self):
2089 """get_all_chain_restraints(Scoring self) -> IMP::Restraints"""
2090 return _IMP_npctransport.Scoring_get_all_chain_restraints(self)
2093 def remove_particle_type(self, pt):
2094 """remove_particle_type(Scoring self, ParticleType pt)"""
2095 return _IMP_npctransport.Scoring_remove_particle_type(self, pt)
2098 def add_z_bias_restraint(self, *args):
2100 add_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k)
2101 add_z_bias_restraint(Scoring self, Particle p, double k)
2103 return _IMP_npctransport.Scoring_add_z_bias_restraint(self, *args)
2106 def get_z_bias_restraints(self):
2107 """get_z_bias_restraints(Scoring self) -> IMP::Restraints"""
2108 return _IMP_npctransport.Scoring_get_z_bias_restraints(self)
2111 def create_z_bias_restraint(self, ps, k):
2112 """create_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k) -> Restraint"""
2113 return _IMP_npctransport.Scoring_create_z_bias_restraint(self, ps, k)
2116 def add_custom_restraint(self, r):
2117 """add_custom_restraint(Scoring self, Restraint r)"""
2118 return _IMP_npctransport.Scoring_add_custom_restraint(self, r)
2121 def add_custom_restraints(self, R):
2122 """add_custom_restraints(Scoring self, IMP::Restraints R)"""
2123 return _IMP_npctransport.Scoring_add_custom_restraints(self, R)
2126 def clear_custom_restraints(self):
2127 """clear_custom_restraints(Scoring self)"""
2128 return _IMP_npctransport.Scoring_clear_custom_restraints(self)
2131 def get_custom_restraints(self):
2132 """get_custom_restraints(Scoring self) -> IMP::Restraints"""
2133 return _IMP_npctransport.Scoring_get_custom_restraints(self)
2136 def add_restrained_anchor_bead(self, p):
2137 """add_restrained_anchor_bead(Scoring self, Particle p)"""
2138 return _IMP_npctransport.Scoring_add_restrained_anchor_bead(self, p)
2141 def get_pore_radius_restraint(self):
2142 """get_pore_radius_restraint(Scoring self) -> Restraint"""
2143 return _IMP_npctransport.Scoring_get_pore_radius_restraint(self)
2146 def get_range(self):
2147 """get_range(Scoring self) -> double"""
2148 return _IMP_npctransport.Scoring_get_range(self)
2151 def set_interaction_range_factor(self, type, value):
2152 """set_interaction_range_factor(Scoring self, ParticleType type, double value)"""
2153 return _IMP_npctransport.Scoring_set_interaction_range_factor(self, type, value)
2156 def set_interaction_k_factor(self, type, value):
2157 """set_interaction_k_factor(Scoring self, ParticleType type, double value)"""
2158 return _IMP_npctransport.Scoring_set_interaction_k_factor(self, type, value)
2161 def get_version_info(self):
2162 """get_version_info(Scoring self) -> VersionInfo"""
2163 return _IMP_npctransport.Scoring_get_version_info(self)
2167 """__str__(Scoring self) -> std::string"""
2168 return _IMP_npctransport.Scoring___str__(self)
2172 """__repr__(Scoring self) -> std::string"""
2173 return _IMP_npctransport.Scoring___repr__(self)
2178 return _object_cast_to_Scoring(o)
2180 Scoring_swigregister = _IMP_npctransport.Scoring_swigregister
2181 Scoring_swigregister(Scoring)
2183 class timer(object):
2184 """Proxy of C++ boost::timer class."""
2186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2187 __repr__ = _swig_repr
2190 """__init__(boost::timer self) -> timer"""
2191 this = _IMP_npctransport.new_timer()
2193 self.this.append(this)
2194 except __builtin__.Exception:
2196 __swig_destroy__ = _IMP_npctransport.delete_timer
2197 __del__ =
lambda self:
None
2198 timer_swigregister = _IMP_npctransport.timer_swigregister
2199 timer_swigregister(timer)
2202 """Proxy of C++ IMP::npctransport::Statistics class."""
2204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2206 def remove_particle_type(self, pt):
2207 """remove_particle_type(Statistics self, ParticleType pt)"""
2208 return _IMP_npctransport.Statistics_remove_particle_type(self, pt)
2211 def __init__(self, sd, statistics_interval_frames, output_file_name):
2212 """__init__(IMP::npctransport::Statistics self, SimulationData sd, unsigned int statistics_interval_frames, std::string output_file_name) -> Statistics"""
2213 this = _IMP_npctransport.new_Statistics(sd, statistics_interval_frames, output_file_name)
2215 self.this.append(this)
2216 except __builtin__.Exception:
2219 def add_fg_chain_stats(self, fg_chain):
2220 """add_fg_chain_stats(Statistics self, FGChain fg_chain)"""
2221 return _IMP_npctransport.Statistics_add_fg_chain_stats(self, fg_chain)
2224 def add_floater_stats(self, p):
2225 """add_floater_stats(Statistics self, Particle p)"""
2226 return _IMP_npctransport.Statistics_add_floater_stats(self, p)
2229 def add_interaction_stats(self, type0, type1):
2230 """add_interaction_stats(Statistics self, ParticleType type0, ParticleType type1)"""
2231 return _IMP_npctransport.Statistics_add_interaction_stats(self, type0, type1)
2234 def add_optimizer_states(self, o=None):
2236 add_optimizer_states(Statistics self, Optimizer o=None) -> IMP::OptimizerStates
2237 add_optimizer_states(Statistics self) -> IMP::OptimizerStates
2239 return _IMP_npctransport.Statistics_add_optimizer_states(self, o)
2242 def update_particle_type_zr_distribution_map(self, p):
2243 """update_particle_type_zr_distribution_map(Statistics self, Particle p)"""
2244 return _IMP_npctransport.Statistics_update_particle_type_zr_distribution_map(self, p)
2247 def update_particle_type_xyz_distribution_map(self, p):
2248 """update_particle_type_xyz_distribution_map(Statistics self, Particle p)"""
2249 return _IMP_npctransport.Statistics_update_particle_type_xyz_distribution_map(self, p)
2252 def update(self, timer, nf_new=1):
2254 update(Statistics self, timer timer, unsigned int nf_new=1)
2255 update(Statistics self, timer timer)
2257 return _IMP_npctransport.Statistics_update(self, timer, nf_new)
2260 def reset_statistics_optimizer_states(self):
2261 """reset_statistics_optimizer_states(Statistics self)"""
2262 return _IMP_npctransport.Statistics_reset_statistics_optimizer_states(self)
2265 def set_interrupted(self, tf):
2266 """set_interrupted(Statistics self, bool tf)"""
2267 return _IMP_npctransport.Statistics_set_interrupted(self, tf)
2270 def get_model(self):
2271 """get_model(Statistics self) -> Model"""
2272 return _IMP_npctransport.Statistics_get_model(self)
2276 """get_sd(Statistics self) -> SimulationData"""
2277 return _IMP_npctransport.Statistics_get_sd(self)
2280 def get_is_activated(self):
2281 """get_is_activated(Statistics self) -> bool"""
2282 return _IMP_npctransport.Statistics_get_is_activated(self)
2285 def get_output_file_name(self):
2286 """get_output_file_name(Statistics self) -> std::string"""
2287 return _IMP_npctransport.Statistics_get_output_file_name(self)
2290 def get_version_info(self):
2291 """get_version_info(Statistics self) -> VersionInfo"""
2292 return _IMP_npctransport.Statistics_get_version_info(self)
2296 """__str__(Statistics self) -> std::string"""
2297 return _IMP_npctransport.Statistics___str__(self)
2301 """__repr__(Statistics self) -> std::string"""
2302 return _IMP_npctransport.Statistics___repr__(self)
2307 return _object_cast_to_Statistics(o)
2309 Statistics_swigregister = _IMP_npctransport.Statistics_swigregister
2310 Statistics_swigregister(Statistics)
2313 def create_boost_timer():
2314 """create_boost_timer() -> timer"""
2315 return _IMP_npctransport.create_boost_timer()
2316 IMPNPCTRANSPORT_VERSION = _IMP_npctransport.IMPNPCTRANSPORT_VERSION
2318 """Proxy of C++ IMP::npctransport::SimulationData class."""
2320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2322 def get_output_npctransport_version(self):
2323 """get_output_npctransport_version(SimulationData self) -> double"""
2324 return _IMP_npctransport.SimulationData_get_output_npctransport_version(self)
2327 def get_range(self):
2328 """get_range(SimulationData self) -> double"""
2329 return _IMP_npctransport.SimulationData_get_range(self)
2332 def get_output_statistics_interval_frames(self):
2333 """get_output_statistics_interval_frames(SimulationData self) -> int"""
2334 return _IMP_npctransport.SimulationData_get_output_statistics_interval_frames(self)
2337 def get_is_exclude_floaters_from_slab_initially(self):
2338 """get_is_exclude_floaters_from_slab_initially(SimulationData self) -> bool"""
2339 return _IMP_npctransport.SimulationData_get_is_exclude_floaters_from_slab_initially(self)
2342 def get_are_floaters_on_one_slab_side(self):
2343 """get_are_floaters_on_one_slab_side(SimulationData self) -> bool"""
2344 return _IMP_npctransport.SimulationData_get_are_floaters_on_one_slab_side(self)
2347 def get_is_xyz_hist_stats(self):
2348 """get_is_xyz_hist_stats(SimulationData self) -> bool"""
2349 return _IMP_npctransport.SimulationData_get_is_xyz_hist_stats(self)
2352 def get_angular_d_factor(self):
2353 """get_angular_d_factor(SimulationData self) -> double"""
2354 return _IMP_npctransport.SimulationData_get_angular_d_factor(self)
2359 __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick, std::string rmf_file_name, std::string new_output_file) -> SimulationData
2360 __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick, std::string rmf_file_name) -> SimulationData
2361 __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick) -> SimulationData
2363 this = _IMP_npctransport.new_SimulationData(*args)
2365 self.this.append(this)
2366 except __builtin__.Exception:
2369 def get_model(self):
2370 """get_model(SimulationData self) -> Model"""
2371 return _IMP_npctransport.SimulationData_get_model(self)
2374 def get_scoring(self):
2375 """get_scoring(SimulationData self) -> Scoring"""
2376 return _IMP_npctransport.SimulationData_get_scoring(self)
2379 def get_statistics(self):
2380 """get_statistics(SimulationData self) -> Statistics"""
2381 return _IMP_npctransport.SimulationData_get_statistics(self)
2384 def get_bd(self, recreate=False):
2386 get_bd(SimulationData self, bool recreate=False) -> BrownianDynamics
2387 get_bd(SimulationData self) -> BrownianDynamics
2389 return _IMP_npctransport.SimulationData_get_bd(self, recreate)
2392 def activate_statistics(self):
2393 """activate_statistics(SimulationData self)"""
2394 return _IMP_npctransport.SimulationData_activate_statistics(self)
2397 def get_statistics_fraction(self):
2398 """get_statistics_fraction(SimulationData self) -> double"""
2399 return _IMP_npctransport.SimulationData_get_statistics_fraction(self)
2402 def get_is_fg_bead(self, *args):
2404 get_is_fg_bead(SimulationData self, ParticleIndex pi) -> bool
2405 get_is_fg_bead(SimulationData self, ParticleType pt) -> bool
2407 return _IMP_npctransport.SimulationData_get_is_fg_bead(self, *args)
2410 def get_is_fg_chain(self, *args):
2412 get_is_fg_chain(SimulationData self, ParticleIndex pi) -> bool
2413 get_is_fg_chain(SimulationData self, ParticleType pt) -> bool
2415 return _IMP_npctransport.SimulationData_get_is_fg_chain(self, *args)
2418 def get_fg_bead_types(self):
2419 """get_fg_bead_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2420 return _IMP_npctransport.SimulationData_get_fg_bead_types(self)
2423 def get_fg_chain_types(self):
2424 """get_fg_chain_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2425 return _IMP_npctransport.SimulationData_get_fg_chain_types(self)
2428 def get_floater_types(self):
2429 """get_floater_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2430 return _IMP_npctransport.SimulationData_get_floater_types(self)
2433 def get_obstacle_types(self):
2434 """get_obstacle_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2435 return _IMP_npctransport.SimulationData_get_obstacle_types(self)
2438 def get_fg_chain_roots(self):
2439 """get_fg_chain_roots(SimulationData self) -> IMP::atom::Hierarchies"""
2440 return _IMP_npctransport.SimulationData_get_fg_chain_roots(self)
2443 def get_fg_chains(self):
2444 """get_fg_chains(SimulationData self) -> IMP::atom::Hierarchies"""
2445 return _IMP_npctransport.SimulationData_get_fg_chains(self)
2448 def get_obstacle_particles(self):
2449 """get_obstacle_particles(SimulationData self) -> IMP::ParticlesTemp"""
2450 return _IMP_npctransport.SimulationData_get_obstacle_particles(self)
2453 def get_beads(self):
2454 """get_beads(SimulationData self) -> IMP::ParticlesTemp"""
2455 return _IMP_npctransport.SimulationData_get_beads(self)
2458 def get_optimizable_beads(self):
2459 """get_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2460 return _IMP_npctransport.SimulationData_get_optimizable_beads(self)
2463 def get_non_optimizable_beads(self):
2464 """get_non_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2465 return _IMP_npctransport.SimulationData_get_non_optimizable_beads(self)
2468 def get_is_backbone_harmonic(self):
2469 """get_is_backbone_harmonic(SimulationData self) -> bool"""
2470 return _IMP_npctransport.SimulationData_get_is_backbone_harmonic(self)
2473 def get_backbone_tau_ns(self):
2474 """get_backbone_tau_ns(SimulationData self) -> double"""
2475 return _IMP_npctransport.SimulationData_get_backbone_tau_ns(self)
2478 def get_temperature_k(self):
2479 """get_temperature_k(SimulationData self) -> double"""
2480 return _IMP_npctransport.SimulationData_get_temperature_k(self)
2483 def get_initial_simulation_time_ns(self):
2484 """get_initial_simulation_time_ns(SimulationData self) -> double"""
2485 return _IMP_npctransport.SimulationData_get_initial_simulation_time_ns(self)
2488 def get_site_centers(self, t0):
2489 """get_site_centers(SimulationData self, ParticleType t0) -> IMP::algebra::Vector3Ds"""
2490 return _IMP_npctransport.SimulationData_get_site_centers(self, t0)
2493 def get_sites(self, t0):
2494 """get_sites(SimulationData self, ParticleType t0) -> IMP::algebra::Sphere3Ds"""
2495 return _IMP_npctransport.SimulationData_get_sites(self, t0)
2498 def set_sites(self, *args):
2500 set_sites(SimulationData self, ParticleType t0, int n, double r, double sr)
2501 set_sites(SimulationData self, ParticleType t0, IMP::algebra::Sphere3Ds const & sites)
2503 return _IMP_npctransport.SimulationData_set_sites(self, *args)
2506 def get_site_display_radius(self, arg2):
2507 """get_site_display_radius(SimulationData self, ParticleType arg2) -> double"""
2508 return _IMP_npctransport.SimulationData_get_site_display_radius(self, arg2)
2511 def get_maximum_number_of_minutes(self):
2512 """get_maximum_number_of_minutes(SimulationData self) -> double"""
2513 return _IMP_npctransport.SimulationData_get_maximum_number_of_minutes(self)
2516 def remove_particle_type(self, pt):
2517 """remove_particle_type(SimulationData self, ParticleType pt)"""
2518 return _IMP_npctransport.SimulationData_remove_particle_type(self, pt)
2521 def remove_fgs_with_prefix(self, s_fg_type):
2522 """remove_fgs_with_prefix(SimulationData self, std::string s_fg_type)"""
2523 return _IMP_npctransport.SimulationData_remove_fgs_with_prefix(self, s_fg_type)
2526 def get_bounding_box(self):
2527 """get_bounding_box(SimulationData self) -> BoundingBox3D"""
2528 return _IMP_npctransport.SimulationData_get_bounding_box(self)
2531 def get_bounding_sphere(self):
2532 """get_bounding_sphere(SimulationData self) -> Sphere3D"""
2533 return _IMP_npctransport.SimulationData_get_bounding_sphere(self)
2536 def get_bounding_box_size(self):
2537 """get_bounding_box_size(SimulationData self) -> double"""
2538 return _IMP_npctransport.SimulationData_get_bounding_box_size(self)
2541 def set_bounding_box_size(self, box_size):
2542 """set_bounding_box_size(SimulationData self, double box_size)"""
2543 return _IMP_npctransport.SimulationData_set_bounding_box_size(self, box_size)
2546 def get_bounding_sphere_radius(self):
2547 """get_bounding_sphere_radius(SimulationData self) -> double"""
2548 return _IMP_npctransport.SimulationData_get_bounding_sphere_radius(self)
2551 def set_bounding_sphere_radius(self, sphere_radius):
2552 """set_bounding_sphere_radius(SimulationData self, double sphere_radius)"""
2553 return _IMP_npctransport.SimulationData_set_bounding_sphere_radius(self, sphere_radius)
2556 def get_bounding_volume(self):
2557 """get_bounding_volume(SimulationData self) -> double"""
2558 return _IMP_npctransport.SimulationData_get_bounding_volume(self)
2561 def set_bounding_volume(self, volume_A3):
2562 """set_bounding_volume(SimulationData self, double volume_A3)"""
2563 return _IMP_npctransport.SimulationData_set_bounding_volume(self, volume_A3)
2566 def get_has_slab(self):
2567 """get_has_slab(SimulationData self) -> bool"""
2568 return _IMP_npctransport.SimulationData_get_has_slab(self)
2571 def get_is_slab_with_cylindrical_pore(self):
2572 """get_is_slab_with_cylindrical_pore(SimulationData self) -> bool"""
2573 return _IMP_npctransport.SimulationData_get_is_slab_with_cylindrical_pore(self)
2576 def get_is_slab_with_toroidal_pore(self):
2577 """get_is_slab_with_toroidal_pore(SimulationData self) -> bool"""
2578 return _IMP_npctransport.SimulationData_get_is_slab_with_toroidal_pore(self)
2581 def get_slab_particle(self):
2582 """get_slab_particle(SimulationData self) -> Particle"""
2583 return _IMP_npctransport.SimulationData_get_slab_particle(self)
2586 def get_cylinder(self):
2587 """get_cylinder(SimulationData self) -> Cylinder3D"""
2588 return _IMP_npctransport.SimulationData_get_cylinder(self)
2591 def get_has_bounding_box(self):
2592 """get_has_bounding_box(SimulationData self) -> bool"""
2593 return _IMP_npctransport.SimulationData_get_has_bounding_box(self)
2596 def get_has_bounding_sphere(self):
2597 """get_has_bounding_sphere(SimulationData self) -> bool"""
2598 return _IMP_npctransport.SimulationData_get_has_bounding_sphere(self)
2601 def get_has_bounding_volume(self):
2602 """get_has_bounding_volume(SimulationData self) -> bool"""
2603 return _IMP_npctransport.SimulationData_get_has_bounding_volume(self)
2606 def initialize_positions_from_rmf(self, fh, frame_number=-1):
2608 initialize_positions_from_rmf(SimulationData self, FileConstHandle fh, int frame_number=-1)
2609 initialize_positions_from_rmf(SimulationData self, FileConstHandle fh)
2611 return _IMP_npctransport.SimulationData_initialize_positions_from_rmf(self, fh, frame_number)
2614 def link_rmf_file_handle(self, fh, is_restraints=True):
2616 link_rmf_file_handle(SimulationData self, FileHandle fh, bool is_restraints=True)
2617 link_rmf_file_handle(SimulationData self, FileHandle fh)
2619 return _IMP_npctransport.SimulationData_link_rmf_file_handle(self, fh, is_restraints)
2622 def get_rmf_sos_writer(self):
2623 """get_rmf_sos_writer(SimulationData self) -> SaveOptimizerState"""
2624 return _IMP_npctransport.SimulationData_get_rmf_sos_writer(self)
2627 def reset_rmf(self):
2628 """reset_rmf(SimulationData self)"""
2629 return _IMP_npctransport.SimulationData_reset_rmf(self)
2632 def switch_suspend_rmf(self, suspend):
2633 """switch_suspend_rmf(SimulationData self, bool suspend)"""
2634 return _IMP_npctransport.SimulationData_switch_suspend_rmf(self, suspend)
2637 def write_geometry(self, out):
2638 """write_geometry(SimulationData self, std::string out)"""
2639 return _IMP_npctransport.SimulationData_write_geometry(self, out)
2642 def dump_geometry(self):
2643 """dump_geometry(SimulationData self)"""
2644 return _IMP_npctransport.SimulationData_dump_geometry(self)
2647 def get_root_of_type(self, type):
2648 """get_root_of_type(SimulationData self, ParticleType type) -> Hierarchy"""
2649 return _IMP_npctransport.SimulationData_get_root_of_type(self, type)
2653 """get_number_of_frames(SimulationData self) -> unsigned int"""
2654 return _IMP_npctransport.SimulationData_get_number_of_frames(self)
2657 def get_number_of_trials(self):
2658 """get_number_of_trials(SimulationData self) -> unsigned int"""
2659 return _IMP_npctransport.SimulationData_get_number_of_trials(self)
2663 """get_root(SimulationData self) -> Hierarchy"""
2664 return _IMP_npctransport.SimulationData_get_root(self)
2667 def get_slab_thickness(self):
2668 """get_slab_thickness(SimulationData self) -> double"""
2669 return _IMP_npctransport.SimulationData_get_slab_thickness(self)
2672 def get_tunnel_radius(self):
2673 """get_tunnel_radius(SimulationData self) -> double"""
2674 return _IMP_npctransport.SimulationData_get_tunnel_radius(self)
2677 def get_pore_radius(self):
2678 """get_pore_radius(SimulationData self) -> double"""
2679 return _IMP_npctransport.SimulationData_get_pore_radius(self)
2682 def get_tunnel_radius_k(self):
2683 """get_tunnel_radius_k(SimulationData self) -> double"""
2684 return _IMP_npctransport.SimulationData_get_tunnel_radius_k(self)
2687 def get_pore_radius_k(self):
2688 """get_pore_radius_k(SimulationData self) -> double"""
2689 return _IMP_npctransport.SimulationData_get_pore_radius_k(self)
2692 def get_is_pore_radius_dynamic(self):
2693 """get_is_pore_radius_dynamic(SimulationData self) -> bool"""
2694 return _IMP_npctransport.SimulationData_get_is_pore_radius_dynamic(self)
2697 def get_pore_anchored_beads_k(self):
2698 """get_pore_anchored_beads_k(SimulationData self) -> double"""
2699 return _IMP_npctransport.SimulationData_get_pore_anchored_beads_k(self)
2702 def get_static_geometry(self):
2703 """get_static_geometry(SimulationData self) -> Geometry"""
2704 return _IMP_npctransport.SimulationData_get_static_geometry(self)
2707 def get_rmf_dump_interval_frames(self):
2708 """get_rmf_dump_interval_frames(SimulationData self) -> int"""
2709 return _IMP_npctransport.SimulationData_get_rmf_dump_interval_frames(self)
2712 def get_rmf_file_name(self):
2713 """get_rmf_file_name(SimulationData self) -> std::string"""
2714 return _IMP_npctransport.SimulationData_get_rmf_file_name(self)
2717 def set_rmf_file(self, new_name, is_save_restraints_to_rmf=True, is_force_restart=False):
2719 set_rmf_file(SimulationData self, std::string const & new_name, bool is_save_restraints_to_rmf=True, bool is_force_restart=False)
2720 set_rmf_file(SimulationData self, std::string const & new_name, bool is_save_restraints_to_rmf=True)
2721 set_rmf_file(SimulationData self, std::string const & new_name)
2723 return _IMP_npctransport.SimulationData_set_rmf_file(self, new_name, is_save_restraints_to_rmf, is_force_restart)
2726 def get_version_info(self):
2727 """get_version_info(SimulationData self) -> VersionInfo"""
2728 return _IMP_npctransport.SimulationData_get_version_info(self)
2732 """__str__(SimulationData self) -> std::string"""
2733 return _IMP_npctransport.SimulationData___str__(self)
2737 """__repr__(SimulationData self) -> std::string"""
2738 return _IMP_npctransport.SimulationData___repr__(self)
2743 return _object_cast_to_SimulationData(o)
2745 SimulationData_swigregister = _IMP_npctransport.SimulationData_swigregister
2746 SimulationData_swigregister(SimulationData)
2749 def get_simulation_data_key():
2750 """get_simulation_data_key() -> IMP::WeakObjectKey"""
2751 return _IMP_npctransport.get_simulation_data_key()
2753 def write_geometry(kaps, kap_sites, chains, chain_sites, rs, out):
2754 """write_geometry(IMP::ParticlesTemp const & kaps, IMP::algebra::Sphere3Ds const & kap_sites, IMP::ParticlesTemp const & chains, IMP::algebra::Sphere3Ds const & chain_sites, IMP::RestraintsTemp const & rs, Writer out)"""
2755 return _IMP_npctransport.write_geometry(kaps, kap_sites, chains, chain_sites, rs, out)
2757 """Proxy of C++ IMP::npctransport::ParticleFactory class."""
2759 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2760 sd_ = _swig_property(_IMP_npctransport.ParticleFactory_sd__get, _IMP_npctransport.ParticleFactory_sd__set)
2761 radius_ = _swig_property(_IMP_npctransport.ParticleFactory_radius__get, _IMP_npctransport.ParticleFactory_radius__set)
2762 D_factor_ = _swig_property(_IMP_npctransport.ParticleFactory_D_factor__get, _IMP_npctransport.ParticleFactory_D_factor__set)
2763 angular_D_factor_ = _swig_property(_IMP_npctransport.ParticleFactory_angular_D_factor__get, _IMP_npctransport.ParticleFactory_angular_D_factor__set)
2764 color_ = _swig_property(_IMP_npctransport.ParticleFactory_color__get, _IMP_npctransport.ParticleFactory_color__set)
2765 type_ = _swig_property(_IMP_npctransport.ParticleFactory_type__get, _IMP_npctransport.ParticleFactory_type__set)
2769 __init__(IMP::npctransport::ParticleFactory self, SimulationData sd, double radius, double D_factor, double angular_D_factor, Color color, ParticleType type, std::string name) -> ParticleFactory
2770 __init__(IMP::npctransport::ParticleFactory self, SimulationData sd, double radius, double D_factor, double angular_D_factor, Color color, ParticleType type) -> ParticleFactory
2772 this = _IMP_npctransport.new_ParticleFactory(*args)
2774 self.this.append(this)
2775 except __builtin__.Exception:
2778 def create(self, *args):
2780 create(ParticleFactory self, std::string name) -> Particle
2781 create(ParticleFactory self) -> Particle
2783 return _IMP_npctransport.ParticleFactory_create(self, *args)
2786 def get_model(self):
2787 """get_model(ParticleFactory self) -> Model"""
2788 return _IMP_npctransport.ParticleFactory_get_model(self)
2791 def get_simulation_data(self):
2792 """get_simulation_data(ParticleFactory self) -> SimulationData"""
2793 return _IMP_npctransport.ParticleFactory_get_simulation_data(self)
2796 def get_radius(self):
2797 """get_radius(ParticleFactory self) -> double"""
2798 return _IMP_npctransport.ParticleFactory_get_radius(self)
2801 def get_version_info(self):
2802 """get_version_info(ParticleFactory self) -> VersionInfo"""
2803 return _IMP_npctransport.ParticleFactory_get_version_info(self)
2807 """__str__(ParticleFactory self) -> std::string"""
2808 return _IMP_npctransport.ParticleFactory___str__(self)
2812 """__repr__(ParticleFactory self) -> std::string"""
2813 return _IMP_npctransport.ParticleFactory___repr__(self)
2818 return _object_cast_to_ParticleFactory(o)
2820 ParticleFactory_swigregister = _IMP_npctransport.ParticleFactory_swigregister
2821 ParticleFactory_swigregister(ParticleFactory)
2824 """Proxy of C++ IMP::npctransport::HierarchyWithSitesLoadLink class."""
2826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2829 """__init__(IMP::npctransport::HierarchyWithSitesLoadLink self, FileConstHandle fh) -> HierarchyWithSitesLoadLink"""
2830 this = _IMP_npctransport.new_HierarchyWithSitesLoadLink(fh)
2832 self.this.append(this)
2833 except __builtin__.Exception:
2837 """get_name() -> char const *"""
2838 return _IMP_npctransport.HierarchyWithSitesLoadLink_get_name()
2840 get_name = staticmethod(get_name)
2843 """__str__(HierarchyWithSitesLoadLink self) -> std::string"""
2844 return _IMP_npctransport.HierarchyWithSitesLoadLink___str__(self)
2848 """__repr__(HierarchyWithSitesLoadLink self) -> std::string"""
2849 return _IMP_npctransport.HierarchyWithSitesLoadLink___repr__(self)
2854 return _object_cast_to_HierarchyWithSitesLoadLink(o)
2856 __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesLoadLink
2857 __del__ =
lambda self:
None
2858 HierarchyWithSitesLoadLink_swigregister = _IMP_npctransport.HierarchyWithSitesLoadLink_swigregister
2859 HierarchyWithSitesLoadLink_swigregister(HierarchyWithSitesLoadLink)
2861 def HierarchyWithSitesLoadLink_get_name():
2862 """HierarchyWithSitesLoadLink_get_name() -> char const *"""
2863 return _IMP_npctransport.HierarchyWithSitesLoadLink_get_name()
2866 """Proxy of C++ IMP::npctransport::HierarchyWithSitesSaveLink class."""
2868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2871 """__init__(IMP::npctransport::HierarchyWithSitesSaveLink self, FileHandle fh) -> HierarchyWithSitesSaveLink"""
2872 this = _IMP_npctransport.new_HierarchyWithSitesSaveLink(fh)
2874 self.this.append(this)
2875 except __builtin__.Exception:
2879 """get_name() -> char const *"""
2880 return _IMP_npctransport.HierarchyWithSitesSaveLink_get_name()
2882 get_name = staticmethod(get_name)
2885 """__str__(HierarchyWithSitesSaveLink self) -> std::string"""
2886 return _IMP_npctransport.HierarchyWithSitesSaveLink___str__(self)
2890 """__repr__(HierarchyWithSitesSaveLink self) -> std::string"""
2891 return _IMP_npctransport.HierarchyWithSitesSaveLink___repr__(self)
2896 return _object_cast_to_HierarchyWithSitesSaveLink(o)
2898 __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesSaveLink
2899 __del__ =
lambda self:
None
2900 HierarchyWithSitesSaveLink_swigregister = _IMP_npctransport.HierarchyWithSitesSaveLink_swigregister
2901 HierarchyWithSitesSaveLink_swigregister(HierarchyWithSitesSaveLink)
2903 def HierarchyWithSitesSaveLink_get_name():
2904 """HierarchyWithSitesSaveLink_get_name() -> char const *"""
2905 return _IMP_npctransport.HierarchyWithSitesSaveLink_get_name()
2910 add_test_sites(FileHandle fh, ParticleType t, double display_radius, IMP::algebra::Vector3Ds sites)
2911 add_test_sites(FileHandle fh, ParticleType t, IMP::algebra::Sphere3Ds sites)
2913 return _IMP_npctransport.add_test_sites(*args)
2917 add_hierarchies_with_sites(FileHandle fh, IMP::atom::Hierarchies const & hs)
2918 add_hierarchies_with_sites(NodeHandle fh, IMP::atom::Hierarchies const & hs)
2920 return _IMP_npctransport.add_hierarchies_with_sites(*args)
2923 """add_hierarchy_with_sites(FileHandle fh, Hierarchy hs)"""
2924 return _IMP_npctransport.add_hierarchy_with_sites(fh, hs)
2927 """create_hierarchies_with_sites(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
2928 return _IMP_npctransport.create_hierarchies_with_sites(fh, m)
2931 """link_hierarchies_with_sites(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
2932 return _IMP_npctransport.link_hierarchies_with_sites(fh, hs)
2934 """Proxy of C++ IMP::npctransport::Transporting class."""
2936 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2940 __init__(IMP::npctransport::Transporting self) -> Transporting
2941 __init__(IMP::npctransport::Transporting self, Model m, ParticleIndex id) -> Transporting
2942 __init__(IMP::npctransport::Transporting self, _ParticleAdaptor d) -> Transporting
2944 this = _IMP_npctransport.new_Transporting(*args)
2946 self.this.append(this)
2947 except __builtin__.Exception:
2950 def show(self, *args):
2952 show(Transporting self, _ostream out)
2953 show(Transporting self)
2955 return _IMP_npctransport.Transporting_show(self, *args)
2958 def setup_particle(*args):
2960 setup_particle(Model m, ParticleIndex pi, bool is_last_entry_from_top=False) -> Transporting
2961 setup_particle(Model m, ParticleIndex pi) -> Transporting
2962 setup_particle(_ParticleAdaptor decorator, bool is_last_entry_from_top=False) -> Transporting
2963 setup_particle(_ParticleAdaptor decorator) -> Transporting
2965 return _IMP_npctransport.Transporting_setup_particle(*args)
2967 setup_particle = staticmethod(setup_particle)
2969 def get_is_setup(*args):
2971 get_is_setup(_ParticleAdaptor p) -> bool
2972 get_is_setup(Model m, ParticleIndex pi) -> bool
2974 return _IMP_npctransport.Transporting_get_is_setup(*args)
2976 get_is_setup = staticmethod(get_is_setup)
2978 def set_is_last_entry_from_top(self, is_last_entry_from_top):
2979 """set_is_last_entry_from_top(Transporting self, bool is_last_entry_from_top)"""
2980 return _IMP_npctransport.Transporting_set_is_last_entry_from_top(self, is_last_entry_from_top)
2983 def get_is_last_entry_from_top(self):
2984 """get_is_last_entry_from_top(Transporting self) -> bool"""
2985 return _IMP_npctransport.Transporting_get_is_last_entry_from_top(self)
2988 def get_is_last_entry_from_top_key():
2989 """get_is_last_entry_from_top_key() -> IntKey"""
2990 return _IMP_npctransport.Transporting_get_is_last_entry_from_top_key()
2992 get_is_last_entry_from_top_key = staticmethod(get_is_last_entry_from_top_key)
2994 def set_last_tracked_z(self, last_tracked_z):
2995 """set_last_tracked_z(Transporting self, double last_tracked_z)"""
2996 return _IMP_npctransport.Transporting_set_last_tracked_z(self, last_tracked_z)
2999 def get_last_tracked_z(self):
3000 """get_last_tracked_z(Transporting self) -> double"""
3001 return _IMP_npctransport.Transporting_get_last_tracked_z(self)
3004 def get_last_tracked_z_key():
3005 """get_last_tracked_z_key() -> FloatKey"""
3006 return _IMP_npctransport.Transporting_get_last_tracked_z_key()
3008 get_last_tracked_z_key = staticmethod(get_last_tracked_z_key)
3010 def set_n_entries_bottom(self, n):
3011 """set_n_entries_bottom(Transporting self, int n)"""
3012 return _IMP_npctransport.Transporting_set_n_entries_bottom(self, n)
3015 def get_n_entries_bottom(self):
3016 """get_n_entries_bottom(Transporting self) -> int"""
3017 return _IMP_npctransport.Transporting_get_n_entries_bottom(self)
3020 def get_n_entries_bottom_key():
3021 """get_n_entries_bottom_key() -> IntKey"""
3022 return _IMP_npctransport.Transporting_get_n_entries_bottom_key()
3024 get_n_entries_bottom_key = staticmethod(get_n_entries_bottom_key)
3026 def set_n_entries_top(self, n):
3027 """set_n_entries_top(Transporting self, int n)"""
3028 return _IMP_npctransport.Transporting_set_n_entries_top(self, n)
3031 def get_n_entries_top(self):
3032 """get_n_entries_top(Transporting self) -> int"""
3033 return _IMP_npctransport.Transporting_get_n_entries_top(self)
3036 def get_n_entries_top_key():
3037 """get_n_entries_top_key() -> IntKey"""
3038 return _IMP_npctransport.Transporting_get_n_entries_top_key()
3040 get_n_entries_top_key = staticmethod(get_n_entries_top_key)
3042 def add_attribute(self, *args):
3044 add_attribute(Transporting self, FloatKey k, IMP::Float v, bool opt)
3045 add_attribute(Transporting self, FloatKey a0, IMP::Float a1)
3046 add_attribute(Transporting self, IntKey a0, IMP::Int a1)
3047 add_attribute(Transporting self, StringKey a0, IMP::String a1)
3048 add_attribute(Transporting self, ParticleIndexKey a0, Particle a1)
3049 add_attribute(Transporting self, ObjectKey a0, Object a1)
3051 return _IMP_npctransport.Transporting_add_attribute(self, *args)
3054 def get_value(self, *args):
3056 get_value(Transporting self, FloatKey a0) -> IMP::Float
3057 get_value(Transporting self, IntKey a0) -> IMP::Int
3058 get_value(Transporting self, StringKey a0) -> IMP::String
3059 get_value(Transporting self, ParticleIndexKey a0) -> Particle
3060 get_value(Transporting self, ObjectKey a0) -> Object
3062 return _IMP_npctransport.Transporting_get_value(self, *args)
3065 def set_value(self, *args):
3067 set_value(Transporting self, FloatKey a0, IMP::Float a1)
3068 set_value(Transporting self, IntKey a0, IMP::Int a1)
3069 set_value(Transporting self, StringKey a0, IMP::String a1)
3070 set_value(Transporting self, ParticleIndexKey a0, Particle a1)
3071 set_value(Transporting self, ObjectKey a0, Object a1)
3073 return _IMP_npctransport.Transporting_set_value(self, *args)
3076 def remove_attribute(self, *args):
3078 remove_attribute(Transporting self, FloatKey a0)
3079 remove_attribute(Transporting self, IntKey a0)
3080 remove_attribute(Transporting self, StringKey a0)
3081 remove_attribute(Transporting self, ParticleIndexKey a0)
3082 remove_attribute(Transporting self, ObjectKey a0)
3084 return _IMP_npctransport.Transporting_remove_attribute(self, *args)
3087 def has_attribute(self, *args):
3089 has_attribute(Transporting self, FloatKey a0) -> bool
3090 has_attribute(Transporting self, IntKey a0) -> bool
3091 has_attribute(Transporting self, StringKey a0) -> bool
3092 has_attribute(Transporting self, ParticleIndexKey a0) -> bool
3093 has_attribute(Transporting self, ObjectKey a0) -> bool
3095 return _IMP_npctransport.Transporting_has_attribute(self, *args)
3098 def get_derivative(self, a0):
3099 """get_derivative(Transporting self, FloatKey a0) -> double"""
3100 return _IMP_npctransport.Transporting_get_derivative(self, a0)
3104 """get_name(Transporting self) -> std::string"""
3105 return _IMP_npctransport.Transporting_get_name(self)
3108 def clear_caches(self):
3109 """clear_caches(Transporting self)"""
3110 return _IMP_npctransport.Transporting_clear_caches(self)
3113 def set_name(self, a0):
3114 """set_name(Transporting self, std::string a0)"""
3115 return _IMP_npctransport.Transporting_set_name(self, a0)
3119 """set_check_level(Transporting self, IMP::CheckLevel a0)"""
3120 return _IMP_npctransport.Transporting_set_check_level(self, a0)
3123 def add_to_derivative(self, a0, a1, a2):
3124 """add_to_derivative(Transporting self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3125 return _IMP_npctransport.Transporting_add_to_derivative(self, a0, a1, a2)
3128 def set_is_optimized(self, a0, a1):
3129 """set_is_optimized(Transporting self, FloatKey a0, bool a1)"""
3130 return _IMP_npctransport.Transporting_set_is_optimized(self, a0, a1)
3133 def get_is_optimized(self, a0):
3134 """get_is_optimized(Transporting self, FloatKey a0) -> bool"""
3135 return _IMP_npctransport.Transporting_get_is_optimized(self, a0)
3139 """get_check_level(Transporting self) -> IMP::CheckLevel"""
3140 return _IMP_npctransport.Transporting_get_check_level(self)
3143 def __eq__(self, *args):
3145 __eq__(Transporting self, Transporting o) -> bool
3146 __eq__(Transporting self, Particle d) -> bool
3148 return _IMP_npctransport.Transporting___eq__(self, *args)
3151 def __ne__(self, *args):
3153 __ne__(Transporting self, Transporting o) -> bool
3154 __ne__(Transporting self, Particle d) -> bool
3156 return _IMP_npctransport.Transporting___ne__(self, *args)
3159 def __le__(self, *args):
3161 __le__(Transporting self, Transporting o) -> bool
3162 __le__(Transporting self, Particle d) -> bool
3164 return _IMP_npctransport.Transporting___le__(self, *args)
3167 def __lt__(self, *args):
3169 __lt__(Transporting self, Transporting o) -> bool
3170 __lt__(Transporting self, Particle d) -> bool
3172 return _IMP_npctransport.Transporting___lt__(self, *args)
3175 def __ge__(self, *args):
3177 __ge__(Transporting self, Transporting o) -> bool
3178 __ge__(Transporting self, Particle d) -> bool
3180 return _IMP_npctransport.Transporting___ge__(self, *args)
3183 def __gt__(self, *args):
3185 __gt__(Transporting self, Transporting o) -> bool
3186 __gt__(Transporting self, Particle d) -> bool
3188 return _IMP_npctransport.Transporting___gt__(self, *args)
3192 """__hash__(Transporting self) -> std::size_t"""
3193 return _IMP_npctransport.Transporting___hash__(self)
3197 """__str__(Transporting self) -> std::string"""
3198 return _IMP_npctransport.Transporting___str__(self)
3202 """__repr__(Transporting self) -> std::string"""
3203 return _IMP_npctransport.Transporting___repr__(self)
3205 __swig_destroy__ = _IMP_npctransport.delete_Transporting
3206 __del__ =
lambda self:
None
3207 Transporting_swigregister = _IMP_npctransport.Transporting_swigregister
3208 Transporting_swigregister(Transporting)
3210 def Transporting_setup_particle(*args):
3212 setup_particle(Model m, ParticleIndex pi, bool is_last_entry_from_top=False) -> Transporting
3213 setup_particle(Model m, ParticleIndex pi) -> Transporting
3214 setup_particle(_ParticleAdaptor decorator, bool is_last_entry_from_top=False) -> Transporting
3215 Transporting_setup_particle(_ParticleAdaptor decorator) -> Transporting
3217 return _IMP_npctransport.Transporting_setup_particle(*args)
3219 def Transporting_get_is_setup(*args):
3221 get_is_setup(_ParticleAdaptor p) -> bool
3222 Transporting_get_is_setup(Model m, ParticleIndex pi) -> bool
3224 return _IMP_npctransport.Transporting_get_is_setup(*args)
3226 def Transporting_get_is_last_entry_from_top_key():
3227 """Transporting_get_is_last_entry_from_top_key() -> IntKey"""
3228 return _IMP_npctransport.Transporting_get_is_last_entry_from_top_key()
3230 def Transporting_get_last_tracked_z_key():
3231 """Transporting_get_last_tracked_z_key() -> FloatKey"""
3232 return _IMP_npctransport.Transporting_get_last_tracked_z_key()
3234 def Transporting_get_n_entries_bottom_key():
3235 """Transporting_get_n_entries_bottom_key() -> IntKey"""
3236 return _IMP_npctransport.Transporting_get_n_entries_bottom_key()
3238 def Transporting_get_n_entries_top_key():
3239 """Transporting_get_n_entries_top_key() -> IntKey"""
3240 return _IMP_npctransport.Transporting_get_n_entries_top_key()
3243 def show_ranges(fname):
3244 """show_ranges(std::string fname)"""
3245 return _IMP_npctransport.show_ranges(fname)
3247 def assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed):
3248 """assign_ranges(std::string input_config_fname, std::string output_assignment_fname, unsigned int work_unit, bool show_steps, boost::uint64_t random_seed) -> int"""
3249 return _IMP_npctransport.assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed)
3251 def get_number_of_work_units(configuration_file):
3252 """get_number_of_work_units(std::string configuration_file) -> int"""
3253 return _IMP_npctransport.get_number_of_work_units(configuration_file)
3255 """Proxy of C++ IMP::npctransport::SlabWithPore class."""
3257 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3261 __init__(IMP::npctransport::SlabWithPore self) -> SlabWithPore
3262 __init__(IMP::npctransport::SlabWithPore self, Model m, ParticleIndex id) -> SlabWithPore
3263 __init__(IMP::npctransport::SlabWithPore self, _ParticleAdaptor d) -> SlabWithPore
3265 this = _IMP_npctransport.new_SlabWithPore(*args)
3267 self.this.append(this)
3268 except __builtin__.Exception:
3271 def show(self, *args):
3273 show(SlabWithPore self, _ostream out)
3274 show(SlabWithPore self)
3276 return _IMP_npctransport.SlabWithPore_show(self, *args)
3279 def setup_particle(*args):
3281 setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
3282 setup_particle(_ParticleAdaptor decorator, double thickness, double pore_radius) -> SlabWithPore
3284 return _IMP_npctransport.SlabWithPore_setup_particle(*args)
3286 setup_particle = staticmethod(setup_particle)
3288 def get_is_setup(*args):
3290 get_is_setup(_ParticleAdaptor p) -> bool
3291 get_is_setup(Model m, ParticleIndex pi) -> bool
3293 return _IMP_npctransport.SlabWithPore_get_is_setup(*args)
3295 get_is_setup = staticmethod(get_is_setup)
3297 def set_thickness(self, thickness):
3298 """set_thickness(SlabWithPore self, double thickness)"""
3299 return _IMP_npctransport.SlabWithPore_set_thickness(self, thickness)
3302 def get_thickness(self):
3303 """get_thickness(SlabWithPore self) -> IMP::Float"""
3304 return _IMP_npctransport.SlabWithPore_get_thickness(self)
3307 def get_pore_radius(self):
3308 """get_pore_radius(SlabWithPore self) -> IMP::Float"""
3309 return _IMP_npctransport.SlabWithPore_get_pore_radius(self)
3312 def set_pore_radius(self, r):
3313 """set_pore_radius(SlabWithPore self, double r)"""
3314 return _IMP_npctransport.SlabWithPore_set_pore_radius(self, r)
3317 def add_to_pore_radius_derivative(self, v, d):
3318 """add_to_pore_radius_derivative(SlabWithPore self, double v, DerivativeAccumulator d)"""
3319 return _IMP_npctransport.SlabWithPore_add_to_pore_radius_derivative(self, v, d)
3322 def get_pore_radius_is_optimized(self):
3323 """get_pore_radius_is_optimized(SlabWithPore self) -> bool"""
3324 return _IMP_npctransport.SlabWithPore_get_pore_radius_is_optimized(self)
3327 def set_pore_radius_is_optimized(self, tf):
3328 """set_pore_radius_is_optimized(SlabWithPore self, bool tf)"""
3329 return _IMP_npctransport.SlabWithPore_set_pore_radius_is_optimized(self, tf)
3332 def get_thickness_key():
3333 """get_thickness_key() -> FloatKey"""
3334 return _IMP_npctransport.SlabWithPore_get_thickness_key()
3336 get_thickness_key = staticmethod(get_thickness_key)
3338 def get_pore_radius_key():
3339 """get_pore_radius_key() -> FloatKey"""
3340 return _IMP_npctransport.SlabWithPore_get_pore_radius_key()
3342 get_pore_radius_key = staticmethod(get_pore_radius_key)
3344 def add_attribute(self, *args):
3346 add_attribute(SlabWithPore self, FloatKey k, IMP::Float v, bool opt)
3347 add_attribute(SlabWithPore self, FloatKey a0, IMP::Float a1)
3348 add_attribute(SlabWithPore self, IntKey a0, IMP::Int a1)
3349 add_attribute(SlabWithPore self, StringKey a0, IMP::String a1)
3350 add_attribute(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3351 add_attribute(SlabWithPore self, ObjectKey a0, Object a1)
3353 return _IMP_npctransport.SlabWithPore_add_attribute(self, *args)
3356 def get_value(self, *args):
3358 get_value(SlabWithPore self, FloatKey a0) -> IMP::Float
3359 get_value(SlabWithPore self, IntKey a0) -> IMP::Int
3360 get_value(SlabWithPore self, StringKey a0) -> IMP::String
3361 get_value(SlabWithPore self, ParticleIndexKey a0) -> Particle
3362 get_value(SlabWithPore self, ObjectKey a0) -> Object
3364 return _IMP_npctransport.SlabWithPore_get_value(self, *args)
3367 def set_value(self, *args):
3369 set_value(SlabWithPore self, FloatKey a0, IMP::Float a1)
3370 set_value(SlabWithPore self, IntKey a0, IMP::Int a1)
3371 set_value(SlabWithPore self, StringKey a0, IMP::String a1)
3372 set_value(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3373 set_value(SlabWithPore self, ObjectKey a0, Object a1)
3375 return _IMP_npctransport.SlabWithPore_set_value(self, *args)
3378 def remove_attribute(self, *args):
3380 remove_attribute(SlabWithPore self, FloatKey a0)
3381 remove_attribute(SlabWithPore self, IntKey a0)
3382 remove_attribute(SlabWithPore self, StringKey a0)
3383 remove_attribute(SlabWithPore self, ParticleIndexKey a0)
3384 remove_attribute(SlabWithPore self, ObjectKey a0)
3386 return _IMP_npctransport.SlabWithPore_remove_attribute(self, *args)
3389 def has_attribute(self, *args):
3391 has_attribute(SlabWithPore self, FloatKey a0) -> bool
3392 has_attribute(SlabWithPore self, IntKey a0) -> bool
3393 has_attribute(SlabWithPore self, StringKey a0) -> bool
3394 has_attribute(SlabWithPore self, ParticleIndexKey a0) -> bool
3395 has_attribute(SlabWithPore self, ObjectKey a0) -> bool
3397 return _IMP_npctransport.SlabWithPore_has_attribute(self, *args)
3400 def get_derivative(self, a0):
3401 """get_derivative(SlabWithPore self, FloatKey a0) -> double"""
3402 return _IMP_npctransport.SlabWithPore_get_derivative(self, a0)
3406 """get_name(SlabWithPore self) -> std::string"""
3407 return _IMP_npctransport.SlabWithPore_get_name(self)
3410 def clear_caches(self):
3411 """clear_caches(SlabWithPore self)"""
3412 return _IMP_npctransport.SlabWithPore_clear_caches(self)
3415 def set_name(self, a0):
3416 """set_name(SlabWithPore self, std::string a0)"""
3417 return _IMP_npctransport.SlabWithPore_set_name(self, a0)
3421 """set_check_level(SlabWithPore self, IMP::CheckLevel a0)"""
3422 return _IMP_npctransport.SlabWithPore_set_check_level(self, a0)
3425 def add_to_derivative(self, a0, a1, a2):
3426 """add_to_derivative(SlabWithPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3427 return _IMP_npctransport.SlabWithPore_add_to_derivative(self, a0, a1, a2)
3430 def set_is_optimized(self, a0, a1):
3431 """set_is_optimized(SlabWithPore self, FloatKey a0, bool a1)"""
3432 return _IMP_npctransport.SlabWithPore_set_is_optimized(self, a0, a1)
3435 def get_is_optimized(self, a0):
3436 """get_is_optimized(SlabWithPore self, FloatKey a0) -> bool"""
3437 return _IMP_npctransport.SlabWithPore_get_is_optimized(self, a0)
3441 """get_check_level(SlabWithPore self) -> IMP::CheckLevel"""
3442 return _IMP_npctransport.SlabWithPore_get_check_level(self)
3445 def __eq__(self, *args):
3447 __eq__(SlabWithPore self, SlabWithPore o) -> bool
3448 __eq__(SlabWithPore self, Particle d) -> bool
3450 return _IMP_npctransport.SlabWithPore___eq__(self, *args)
3453 def __ne__(self, *args):
3455 __ne__(SlabWithPore self, SlabWithPore o) -> bool
3456 __ne__(SlabWithPore self, Particle d) -> bool
3458 return _IMP_npctransport.SlabWithPore___ne__(self, *args)
3461 def __le__(self, *args):
3463 __le__(SlabWithPore self, SlabWithPore o) -> bool
3464 __le__(SlabWithPore self, Particle d) -> bool
3466 return _IMP_npctransport.SlabWithPore___le__(self, *args)
3469 def __lt__(self, *args):
3471 __lt__(SlabWithPore self, SlabWithPore o) -> bool
3472 __lt__(SlabWithPore self, Particle d) -> bool
3474 return _IMP_npctransport.SlabWithPore___lt__(self, *args)
3477 def __ge__(self, *args):
3479 __ge__(SlabWithPore self, SlabWithPore o) -> bool
3480 __ge__(SlabWithPore self, Particle d) -> bool
3482 return _IMP_npctransport.SlabWithPore___ge__(self, *args)
3485 def __gt__(self, *args):
3487 __gt__(SlabWithPore self, SlabWithPore o) -> bool
3488 __gt__(SlabWithPore self, Particle d) -> bool
3490 return _IMP_npctransport.SlabWithPore___gt__(self, *args)
3494 """__hash__(SlabWithPore self) -> std::size_t"""
3495 return _IMP_npctransport.SlabWithPore___hash__(self)
3499 """__str__(SlabWithPore self) -> std::string"""
3500 return _IMP_npctransport.SlabWithPore___str__(self)
3504 """__repr__(SlabWithPore self) -> std::string"""
3505 return _IMP_npctransport.SlabWithPore___repr__(self)
3507 __swig_destroy__ = _IMP_npctransport.delete_SlabWithPore
3508 __del__ =
lambda self:
None
3509 SlabWithPore_swigregister = _IMP_npctransport.SlabWithPore_swigregister
3510 SlabWithPore_swigregister(SlabWithPore)
3512 def SlabWithPore_setup_particle(*args):
3514 setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
3515 SlabWithPore_setup_particle(_ParticleAdaptor decorator, double thickness, double pore_radius) -> SlabWithPore
3517 return _IMP_npctransport.SlabWithPore_setup_particle(*args)
3519 def SlabWithPore_get_is_setup(*args):
3521 get_is_setup(_ParticleAdaptor p) -> bool
3522 SlabWithPore_get_is_setup(Model m, ParticleIndex pi) -> bool
3524 return _IMP_npctransport.SlabWithPore_get_is_setup(*args)
3526 def SlabWithPore_get_thickness_key():
3527 """SlabWithPore_get_thickness_key() -> FloatKey"""
3528 return _IMP_npctransport.SlabWithPore_get_thickness_key()
3530 def SlabWithPore_get_pore_radius_key():
3531 """SlabWithPore_get_pore_radius_key() -> FloatKey"""
3532 return _IMP_npctransport.SlabWithPore_get_pore_radius_key()
3534 class SlabWithCylindricalPore(SlabWithPore):
3535 """Proxy of C++ IMP::npctransport::SlabWithCylindricalPore class."""
3537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3541 __init__(IMP::npctransport::SlabWithCylindricalPore self) -> SlabWithCylindricalPore
3542 __init__(IMP::npctransport::SlabWithCylindricalPore self, Model m, ParticleIndex id) -> SlabWithCylindricalPore
3543 __init__(IMP::npctransport::SlabWithCylindricalPore self, _ParticleAdaptor d) -> SlabWithCylindricalPore
3545 this = _IMP_npctransport.new_SlabWithCylindricalPore(*args)
3547 self.this.append(this)
3548 except __builtin__.Exception:
3551 def show(self, *args):
3553 show(SlabWithCylindricalPore self, _ostream out)
3554 show(SlabWithCylindricalPore self)
3556 return _IMP_npctransport.SlabWithCylindricalPore_show(self, *args)
3559 def setup_particle(*args):
3561 setup_particle(Model m, ParticleIndex pi, double thickness, double radius) -> SlabWithCylindricalPore
3562 setup_particle(_ParticleAdaptor decorator, double thickness, double radius) -> SlabWithCylindricalPore
3564 return _IMP_npctransport.SlabWithCylindricalPore_setup_particle(*args)
3566 setup_particle = staticmethod(setup_particle)
3568 def get_is_setup(*args):
3570 get_is_setup(_ParticleAdaptor p) -> bool
3571 get_is_setup(Model m, ParticleIndex pi) -> bool
3573 return _IMP_npctransport.SlabWithCylindricalPore_get_is_setup(*args)
3575 get_is_setup = staticmethod(get_is_setup)
3577 def get_cylindrical_pore_key():
3578 """get_cylindrical_pore_key() -> IntKey"""
3579 return _IMP_npctransport.SlabWithCylindricalPore_get_cylindrical_pore_key()
3581 get_cylindrical_pore_key = staticmethod(get_cylindrical_pore_key)
3583 def add_attribute(self, *args):
3585 add_attribute(SlabWithCylindricalPore self, FloatKey k, IMP::Float v, bool opt)
3586 add_attribute(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3587 add_attribute(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3588 add_attribute(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3589 add_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3590 add_attribute(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3592 return _IMP_npctransport.SlabWithCylindricalPore_add_attribute(self, *args)
3595 def get_value(self, *args):
3597 get_value(SlabWithCylindricalPore self, FloatKey a0) -> IMP::Float
3598 get_value(SlabWithCylindricalPore self, IntKey a0) -> IMP::Int
3599 get_value(SlabWithCylindricalPore self, StringKey a0) -> IMP::String
3600 get_value(SlabWithCylindricalPore self, ParticleIndexKey a0) -> Particle
3601 get_value(SlabWithCylindricalPore self, ObjectKey a0) -> Object
3603 return _IMP_npctransport.SlabWithCylindricalPore_get_value(self, *args)
3606 def set_value(self, *args):
3608 set_value(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3609 set_value(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3610 set_value(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3611 set_value(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3612 set_value(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3614 return _IMP_npctransport.SlabWithCylindricalPore_set_value(self, *args)
3617 def remove_attribute(self, *args):
3619 remove_attribute(SlabWithCylindricalPore self, FloatKey a0)
3620 remove_attribute(SlabWithCylindricalPore self, IntKey a0)
3621 remove_attribute(SlabWithCylindricalPore self, StringKey a0)
3622 remove_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0)
3623 remove_attribute(SlabWithCylindricalPore self, ObjectKey a0)
3625 return _IMP_npctransport.SlabWithCylindricalPore_remove_attribute(self, *args)
3628 def has_attribute(self, *args):
3630 has_attribute(SlabWithCylindricalPore self, FloatKey a0) -> bool
3631 has_attribute(SlabWithCylindricalPore self, IntKey a0) -> bool
3632 has_attribute(SlabWithCylindricalPore self, StringKey a0) -> bool
3633 has_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0) -> bool
3634 has_attribute(SlabWithCylindricalPore self, ObjectKey a0) -> bool
3636 return _IMP_npctransport.SlabWithCylindricalPore_has_attribute(self, *args)
3639 def get_derivative(self, a0):
3640 """get_derivative(SlabWithCylindricalPore self, FloatKey a0) -> double"""
3641 return _IMP_npctransport.SlabWithCylindricalPore_get_derivative(self, a0)
3645 """get_name(SlabWithCylindricalPore self) -> std::string"""
3646 return _IMP_npctransport.SlabWithCylindricalPore_get_name(self)
3649 def clear_caches(self):
3650 """clear_caches(SlabWithCylindricalPore self)"""
3651 return _IMP_npctransport.SlabWithCylindricalPore_clear_caches(self)
3654 def set_name(self, a0):
3655 """set_name(SlabWithCylindricalPore self, std::string a0)"""
3656 return _IMP_npctransport.SlabWithCylindricalPore_set_name(self, a0)
3660 """set_check_level(SlabWithCylindricalPore self, IMP::CheckLevel a0)"""
3661 return _IMP_npctransport.SlabWithCylindricalPore_set_check_level(self, a0)
3664 def add_to_derivative(self, a0, a1, a2):
3665 """add_to_derivative(SlabWithCylindricalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3666 return _IMP_npctransport.SlabWithCylindricalPore_add_to_derivative(self, a0, a1, a2)
3669 def set_is_optimized(self, a0, a1):
3670 """set_is_optimized(SlabWithCylindricalPore self, FloatKey a0, bool a1)"""
3671 return _IMP_npctransport.SlabWithCylindricalPore_set_is_optimized(self, a0, a1)
3674 def get_is_optimized(self, a0):
3675 """get_is_optimized(SlabWithCylindricalPore self, FloatKey a0) -> bool"""
3676 return _IMP_npctransport.SlabWithCylindricalPore_get_is_optimized(self, a0)
3680 """get_check_level(SlabWithCylindricalPore self) -> IMP::CheckLevel"""
3681 return _IMP_npctransport.SlabWithCylindricalPore_get_check_level(self)
3684 def __eq__(self, *args):
3686 __eq__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3687 __eq__(SlabWithCylindricalPore self, Particle d) -> bool
3689 return _IMP_npctransport.SlabWithCylindricalPore___eq__(self, *args)
3692 def __ne__(self, *args):
3694 __ne__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3695 __ne__(SlabWithCylindricalPore self, Particle d) -> bool
3697 return _IMP_npctransport.SlabWithCylindricalPore___ne__(self, *args)
3700 def __le__(self, *args):
3702 __le__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3703 __le__(SlabWithCylindricalPore self, Particle d) -> bool
3705 return _IMP_npctransport.SlabWithCylindricalPore___le__(self, *args)
3708 def __lt__(self, *args):
3710 __lt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3711 __lt__(SlabWithCylindricalPore self, Particle d) -> bool
3713 return _IMP_npctransport.SlabWithCylindricalPore___lt__(self, *args)
3716 def __ge__(self, *args):
3718 __ge__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3719 __ge__(SlabWithCylindricalPore self, Particle d) -> bool
3721 return _IMP_npctransport.SlabWithCylindricalPore___ge__(self, *args)
3724 def __gt__(self, *args):
3726 __gt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3727 __gt__(SlabWithCylindricalPore self, Particle d) -> bool
3729 return _IMP_npctransport.SlabWithCylindricalPore___gt__(self, *args)
3733 """__hash__(SlabWithCylindricalPore self) -> std::size_t"""
3734 return _IMP_npctransport.SlabWithCylindricalPore___hash__(self)
3738 """__str__(SlabWithCylindricalPore self) -> std::string"""
3739 return _IMP_npctransport.SlabWithCylindricalPore___str__(self)
3743 """__repr__(SlabWithCylindricalPore self) -> std::string"""
3744 return _IMP_npctransport.SlabWithCylindricalPore___repr__(self)
3746 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPore
3747 __del__ =
lambda self:
None
3748 SlabWithCylindricalPore_swigregister = _IMP_npctransport.SlabWithCylindricalPore_swigregister
3749 SlabWithCylindricalPore_swigregister(SlabWithCylindricalPore)
3751 def SlabWithCylindricalPore_setup_particle(*args):
3753 setup_particle(Model m, ParticleIndex pi, double thickness, double radius) -> SlabWithCylindricalPore
3754 SlabWithCylindricalPore_setup_particle(_ParticleAdaptor decorator, double thickness, double radius) -> SlabWithCylindricalPore
3756 return _IMP_npctransport.SlabWithCylindricalPore_setup_particle(*args)
3758 def SlabWithCylindricalPore_get_is_setup(*args):
3760 get_is_setup(_ParticleAdaptor p) -> bool
3761 SlabWithCylindricalPore_get_is_setup(Model m, ParticleIndex pi) -> bool
3763 return _IMP_npctransport.SlabWithCylindricalPore_get_is_setup(*args)
3765 def SlabWithCylindricalPore_get_cylindrical_pore_key():
3766 """SlabWithCylindricalPore_get_cylindrical_pore_key() -> IntKey"""
3767 return _IMP_npctransport.SlabWithCylindricalPore_get_cylindrical_pore_key()
3769 class SlabWithToroidalPore(SlabWithPore):
3770 """Proxy of C++ IMP::npctransport::SlabWithToroidalPore class."""
3772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3776 __init__(IMP::npctransport::SlabWithToroidalPore self) -> SlabWithToroidalPore
3777 __init__(IMP::npctransport::SlabWithToroidalPore self, Model m, ParticleIndex id) -> SlabWithToroidalPore
3778 __init__(IMP::npctransport::SlabWithToroidalPore self, _ParticleAdaptor d) -> SlabWithToroidalPore
3780 this = _IMP_npctransport.new_SlabWithToroidalPore(*args)
3782 self.this.append(this)
3783 except __builtin__.Exception:
3786 def show(self, *args):
3788 show(SlabWithToroidalPore self, _ostream out)
3789 show(SlabWithToroidalPore self)
3791 return _IMP_npctransport.SlabWithToroidalPore_show(self, *args)
3794 def setup_particle(*args):
3796 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
3797 setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius) -> SlabWithToroidalPore
3798 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3799 setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3801 return _IMP_npctransport.SlabWithToroidalPore_setup_particle(*args)
3803 setup_particle = staticmethod(setup_particle)
3805 def get_is_setup(*args):
3807 get_is_setup(_ParticleAdaptor p) -> bool
3808 get_is_setup(Model m, ParticleIndex pi) -> bool
3810 return _IMP_npctransport.SlabWithToroidalPore_get_is_setup(*args)
3812 get_is_setup = staticmethod(get_is_setup)
3814 def set_minor_radius_h2v_aspect_ratio(self, aspect_ratio):
3815 """set_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self, double aspect_ratio)"""
3816 return _IMP_npctransport.SlabWithToroidalPore_set_minor_radius_h2v_aspect_ratio(self, aspect_ratio)
3819 def get_minor_radius_h2v_aspect_ratio(self):
3820 """get_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self) -> double"""
3821 return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio(self)
3824 def get_vertical_minor_radius(self):
3825 """get_vertical_minor_radius(SlabWithToroidalPore self) -> double"""
3826 return _IMP_npctransport.SlabWithToroidalPore_get_vertical_minor_radius(self)
3829 def set_vertical_minor_radius(self, rv):
3830 """set_vertical_minor_radius(SlabWithToroidalPore self, double rv)"""
3831 return _IMP_npctransport.SlabWithToroidalPore_set_vertical_minor_radius(self, rv)
3834 def get_horizontal_minor_radius(self):
3835 """get_horizontal_minor_radius(SlabWithToroidalPore self) -> double"""
3836 return _IMP_npctransport.SlabWithToroidalPore_get_horizontal_minor_radius(self)
3839 def set_horizontal_minor_radius(self, rh):
3840 """set_horizontal_minor_radius(SlabWithToroidalPore self, double rh)"""
3841 return _IMP_npctransport.SlabWithToroidalPore_set_horizontal_minor_radius(self, rh)
3844 def get_minor_radius_h2v_aspect_ratio_key():
3845 """get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
3846 return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
3848 get_minor_radius_h2v_aspect_ratio_key = staticmethod(get_minor_radius_h2v_aspect_ratio_key)
3850 def get_toroidal_pore_key():
3851 """get_toroidal_pore_key() -> IntKey"""
3852 return _IMP_npctransport.SlabWithToroidalPore_get_toroidal_pore_key()
3854 get_toroidal_pore_key = staticmethod(get_toroidal_pore_key)
3856 def add_attribute(self, *args):
3858 add_attribute(SlabWithToroidalPore self, FloatKey k, IMP::Float v, bool opt)
3859 add_attribute(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3860 add_attribute(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3861 add_attribute(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3862 add_attribute(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3863 add_attribute(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3865 return _IMP_npctransport.SlabWithToroidalPore_add_attribute(self, *args)
3868 def get_value(self, *args):
3870 get_value(SlabWithToroidalPore self, FloatKey a0) -> IMP::Float
3871 get_value(SlabWithToroidalPore self, IntKey a0) -> IMP::Int
3872 get_value(SlabWithToroidalPore self, StringKey a0) -> IMP::String
3873 get_value(SlabWithToroidalPore self, ParticleIndexKey a0) -> Particle
3874 get_value(SlabWithToroidalPore self, ObjectKey a0) -> Object
3876 return _IMP_npctransport.SlabWithToroidalPore_get_value(self, *args)
3879 def set_value(self, *args):
3881 set_value(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3882 set_value(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3883 set_value(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3884 set_value(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3885 set_value(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3887 return _IMP_npctransport.SlabWithToroidalPore_set_value(self, *args)
3890 def remove_attribute(self, *args):
3892 remove_attribute(SlabWithToroidalPore self, FloatKey a0)
3893 remove_attribute(SlabWithToroidalPore self, IntKey a0)
3894 remove_attribute(SlabWithToroidalPore self, StringKey a0)
3895 remove_attribute(SlabWithToroidalPore self, ParticleIndexKey a0)
3896 remove_attribute(SlabWithToroidalPore self, ObjectKey a0)
3898 return _IMP_npctransport.SlabWithToroidalPore_remove_attribute(self, *args)
3901 def has_attribute(self, *args):
3903 has_attribute(SlabWithToroidalPore self, FloatKey a0) -> bool
3904 has_attribute(SlabWithToroidalPore self, IntKey a0) -> bool
3905 has_attribute(SlabWithToroidalPore self, StringKey a0) -> bool
3906 has_attribute(SlabWithToroidalPore self, ParticleIndexKey a0) -> bool
3907 has_attribute(SlabWithToroidalPore self, ObjectKey a0) -> bool
3909 return _IMP_npctransport.SlabWithToroidalPore_has_attribute(self, *args)
3912 def get_derivative(self, a0):
3913 """get_derivative(SlabWithToroidalPore self, FloatKey a0) -> double"""
3914 return _IMP_npctransport.SlabWithToroidalPore_get_derivative(self, a0)
3918 """get_name(SlabWithToroidalPore self) -> std::string"""
3919 return _IMP_npctransport.SlabWithToroidalPore_get_name(self)
3922 def clear_caches(self):
3923 """clear_caches(SlabWithToroidalPore self)"""
3924 return _IMP_npctransport.SlabWithToroidalPore_clear_caches(self)
3927 def set_name(self, a0):
3928 """set_name(SlabWithToroidalPore self, std::string a0)"""
3929 return _IMP_npctransport.SlabWithToroidalPore_set_name(self, a0)
3933 """set_check_level(SlabWithToroidalPore self, IMP::CheckLevel a0)"""
3934 return _IMP_npctransport.SlabWithToroidalPore_set_check_level(self, a0)
3937 def add_to_derivative(self, a0, a1, a2):
3938 """add_to_derivative(SlabWithToroidalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3939 return _IMP_npctransport.SlabWithToroidalPore_add_to_derivative(self, a0, a1, a2)
3942 def set_is_optimized(self, a0, a1):
3943 """set_is_optimized(SlabWithToroidalPore self, FloatKey a0, bool a1)"""
3944 return _IMP_npctransport.SlabWithToroidalPore_set_is_optimized(self, a0, a1)
3947 def get_is_optimized(self, a0):
3948 """get_is_optimized(SlabWithToroidalPore self, FloatKey a0) -> bool"""
3949 return _IMP_npctransport.SlabWithToroidalPore_get_is_optimized(self, a0)
3953 """get_check_level(SlabWithToroidalPore self) -> IMP::CheckLevel"""
3954 return _IMP_npctransport.SlabWithToroidalPore_get_check_level(self)
3957 def __eq__(self, *args):
3959 __eq__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3960 __eq__(SlabWithToroidalPore self, Particle d) -> bool
3962 return _IMP_npctransport.SlabWithToroidalPore___eq__(self, *args)
3965 def __ne__(self, *args):
3967 __ne__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3968 __ne__(SlabWithToroidalPore self, Particle d) -> bool
3970 return _IMP_npctransport.SlabWithToroidalPore___ne__(self, *args)
3973 def __le__(self, *args):
3975 __le__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3976 __le__(SlabWithToroidalPore self, Particle d) -> bool
3978 return _IMP_npctransport.SlabWithToroidalPore___le__(self, *args)
3981 def __lt__(self, *args):
3983 __lt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3984 __lt__(SlabWithToroidalPore self, Particle d) -> bool
3986 return _IMP_npctransport.SlabWithToroidalPore___lt__(self, *args)
3989 def __ge__(self, *args):
3991 __ge__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3992 __ge__(SlabWithToroidalPore self, Particle d) -> bool
3994 return _IMP_npctransport.SlabWithToroidalPore___ge__(self, *args)
3997 def __gt__(self, *args):
3999 __gt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
4000 __gt__(SlabWithToroidalPore self, Particle d) -> bool
4002 return _IMP_npctransport.SlabWithToroidalPore___gt__(self, *args)
4006 """__hash__(SlabWithToroidalPore self) -> std::size_t"""
4007 return _IMP_npctransport.SlabWithToroidalPore___hash__(self)
4011 """__str__(SlabWithToroidalPore self) -> std::string"""
4012 return _IMP_npctransport.SlabWithToroidalPore___str__(self)
4016 """__repr__(SlabWithToroidalPore self) -> std::string"""
4017 return _IMP_npctransport.SlabWithToroidalPore___repr__(self)
4019 __swig_destroy__ = _IMP_npctransport.delete_SlabWithToroidalPore
4020 __del__ =
lambda self:
None
4021 SlabWithToroidalPore_swigregister = _IMP_npctransport.SlabWithToroidalPore_swigregister
4022 SlabWithToroidalPore_swigregister(SlabWithToroidalPore)
4024 def SlabWithToroidalPore_setup_particle(*args):
4026 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
4027 setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius) -> SlabWithToroidalPore
4028 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
4029 SlabWithToroidalPore_setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
4031 return _IMP_npctransport.SlabWithToroidalPore_setup_particle(*args)
4033 def SlabWithToroidalPore_get_is_setup(*args):
4035 get_is_setup(_ParticleAdaptor p) -> bool
4036 SlabWithToroidalPore_get_is_setup(Model m, ParticleIndex pi) -> bool
4038 return _IMP_npctransport.SlabWithToroidalPore_get_is_setup(*args)
4040 def SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key():
4041 """SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
4042 return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
4044 def SlabWithToroidalPore_get_toroidal_pore_key():
4045 """SlabWithToroidalPore_get_toroidal_pore_key() -> IntKey"""
4046 return _IMP_npctransport.SlabWithToroidalPore_get_toroidal_pore_key()
4049 def __lshift__(*args):
4051 __lshift__(_ostream out, RelaxingSpring n) -> _ostream
4052 __lshift__(_ostream out, Transporting n) -> _ostream
4053 __lshift__(_ostream out, SlabWithPore n) -> _ostream
4054 __lshift__(_ostream out, SlabWithCylindricalPore n) -> _ostream
4055 __lshift__(_ostream out, SlabWithToroidalPore n) -> _ostream
4057 return _IMP_npctransport.__lshift__(*args)
4059 """Proxy of C++ IMP::npctransport::SlabWithCylindricalPorePairScore class."""
4061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4064 """__init__(IMP::npctransport::SlabWithCylindricalPorePairScore self, double k) -> SlabWithCylindricalPorePairScore"""
4065 this = _IMP_npctransport.new_SlabWithCylindricalPorePairScore(k)
4067 self.this.append(this)
4068 except __builtin__.Exception:
4071 def get_displacement_direction(self, slab, v):
4072 """get_displacement_direction(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> Vector3D"""
4073 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_direction(self, slab, v)
4076 def get_displacement_magnitude(self, slab, v):
4077 """get_displacement_magnitude(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> double"""
4078 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_magnitude(self, slab, v)
4081 def do_get_inputs(self, m, pis):
4082 """do_get_inputs(SlabWithCylindricalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4083 return _IMP_npctransport.SlabWithCylindricalPorePairScore_do_get_inputs(self, m, pis)
4086 def get_version_info(self):
4087 """get_version_info(SlabWithCylindricalPorePairScore self) -> VersionInfo"""
4088 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_version_info(self)
4092 """__str__(SlabWithCylindricalPorePairScore self) -> std::string"""
4093 return _IMP_npctransport.SlabWithCylindricalPorePairScore___str__(self)
4097 """__repr__(SlabWithCylindricalPorePairScore self) -> std::string"""
4098 return _IMP_npctransport.SlabWithCylindricalPorePairScore___repr__(self)
4103 return _object_cast_to_SlabWithCylindricalPorePairScore(o)
4105 SlabWithCylindricalPorePairScore_swigregister = _IMP_npctransport.SlabWithCylindricalPorePairScore_swigregister
4106 SlabWithCylindricalPorePairScore_swigregister(SlabWithCylindricalPorePairScore)
4109 """Proxy of C++ IMP::npctransport::SlabWithToroidalPorePairScore class."""
4111 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4114 """__init__(IMP::npctransport::SlabWithToroidalPorePairScore self, double k) -> SlabWithToroidalPorePairScore"""
4115 this = _IMP_npctransport.new_SlabWithToroidalPorePairScore(k)
4117 self.this.append(this)
4118 except __builtin__.Exception:
4121 def do_get_inputs(self, m, pis):
4122 """do_get_inputs(SlabWithToroidalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4123 return _IMP_npctransport.SlabWithToroidalPorePairScore_do_get_inputs(self, m, pis)
4126 def get_version_info(self):
4127 """get_version_info(SlabWithToroidalPorePairScore self) -> VersionInfo"""
4128 return _IMP_npctransport.SlabWithToroidalPorePairScore_get_version_info(self)
4132 """__str__(SlabWithToroidalPorePairScore self) -> std::string"""
4133 return _IMP_npctransport.SlabWithToroidalPorePairScore___str__(self)
4137 """__repr__(SlabWithToroidalPorePairScore self) -> std::string"""
4138 return _IMP_npctransport.SlabWithToroidalPorePairScore___repr__(self)
4143 return _object_cast_to_SlabWithToroidalPorePairScore(o)
4145 SlabWithToroidalPorePairScore_swigregister = _IMP_npctransport.SlabWithToroidalPorePairScore_swigregister
4146 SlabWithToroidalPorePairScore_swigregister(SlabWithToroidalPorePairScore)
4149 """Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreWireGeometry class."""
4151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4153 def __init__(self, height, radius, length):
4154 """__init__(IMP::npctransport::SlabWithCylindricalPoreWireGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreWireGeometry"""
4155 this = _IMP_npctransport.new_SlabWithCylindricalPoreWireGeometry(height, radius, length)
4157 self.this.append(this)
4158 except __builtin__.Exception:
4161 def get_version_info(self):
4162 """get_version_info(SlabWithCylindricalPoreWireGeometry self) -> VersionInfo"""
4163 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_get_version_info(self)
4167 """__str__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
4168 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___str__(self)
4172 """__repr__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
4173 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___repr__(self)
4178 return _object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
4180 SlabWithCylindricalPoreWireGeometry_swigregister = _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_swigregister
4181 SlabWithCylindricalPoreWireGeometry_swigregister(SlabWithCylindricalPoreWireGeometry)
4184 """Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreSurfaceGeometry class."""
4186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4188 def __init__(self, height, radius, length):
4189 """__init__(IMP::npctransport::SlabWithCylindricalPoreSurfaceGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreSurfaceGeometry"""
4190 this = _IMP_npctransport.new_SlabWithCylindricalPoreSurfaceGeometry(height, radius, length)
4192 self.this.append(this)
4193 except __builtin__.Exception:
4197 """__str__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
4198 return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___str__(self)
4202 """__repr__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
4203 return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___repr__(self)
4208 return _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
4210 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPoreSurfaceGeometry
4211 __del__ =
lambda self:
None
4212 SlabWithCylindricalPoreSurfaceGeometry_swigregister = _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry_swigregister
4213 SlabWithCylindricalPoreSurfaceGeometry_swigregister(SlabWithCylindricalPoreSurfaceGeometry)
4216 """Proxy of C++ IMP::npctransport::SlabWithToroidalPoreWireGeometry class."""
4218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4222 __init__(IMP::npctransport::SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double horizontal_semiaxis, double slab_length) -> SlabWithToroidalPoreWireGeometry
4223 __init__(IMP::npctransport::SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double slab_length) -> SlabWithToroidalPoreWireGeometry
4225 this = _IMP_npctransport.new_SlabWithToroidalPoreWireGeometry(*args)
4227 self.this.append(this)
4228 except __builtin__.Exception:
4231 def get_version_info(self):
4232 """get_version_info(SlabWithToroidalPoreWireGeometry self) -> VersionInfo"""
4233 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry_get_version_info(self)
4237 """__str__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
4238 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___str__(self)
4242 """__repr__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
4243 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___repr__(self)
4248 return _object_cast_to_SlabWithToroidalPoreWireGeometry(o)
4250 SlabWithToroidalPoreWireGeometry_swigregister = _IMP_npctransport.SlabWithToroidalPoreWireGeometry_swigregister
4251 SlabWithToroidalPoreWireGeometry_swigregister(SlabWithToroidalPoreWireGeometry)
4254 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(IMP::core::Harmonic)> class."""
4256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4257 __repr__ = _swig_repr
4260 """__init__(IMP::core::GenericAttributeSingletonScore<(IMP::core::Harmonic)> self, Harmonic f, FloatKey k) -> _GenericAttributeSingletonScoreForPoreRadus"""
4261 this = _IMP_npctransport.new__GenericAttributeSingletonScoreForPoreRadus(f, k)
4263 self.this.append(this)
4264 except __builtin__.Exception:
4267 def do_get_inputs(self, m, pis):
4268 """do_get_inputs(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4269 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_do_get_inputs(self, m, pis)
4272 def get_unary_function(self):
4273 """get_unary_function(_GenericAttributeSingletonScoreForPoreRadus self) -> Harmonic"""
4274 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_unary_function(self)
4277 def get_version_info(self):
4278 """get_version_info(_GenericAttributeSingletonScoreForPoreRadus self) -> VersionInfo"""
4279 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_version_info(self)
4281 _GenericAttributeSingletonScoreForPoreRadus_swigregister = _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_swigregister
4282 _GenericAttributeSingletonScoreForPoreRadus_swigregister(_GenericAttributeSingletonScoreForPoreRadus)
4284 class PoreRadiusSingletonScore(_GenericAttributeSingletonScoreForPoreRadus):
4285 """Proxy of C++ IMP::npctransport::PoreRadiusSingletonScore class."""
4287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4290 """__init__(IMP::npctransport::PoreRadiusSingletonScore self, IMP::Float mean, IMP::Float k) -> PoreRadiusSingletonScore"""
4291 this = _IMP_npctransport.new_PoreRadiusSingletonScore(mean, k)
4293 self.this.append(this)
4294 except __builtin__.Exception:
4298 """set_k(PoreRadiusSingletonScore self, double k)"""
4299 return _IMP_npctransport.PoreRadiusSingletonScore_set_k(self, k)
4303 """__str__(PoreRadiusSingletonScore self) -> std::string"""
4304 return _IMP_npctransport.PoreRadiusSingletonScore___str__(self)
4308 """__repr__(PoreRadiusSingletonScore self) -> std::string"""
4309 return _IMP_npctransport.PoreRadiusSingletonScore___repr__(self)
4314 return _object_cast_to_PoreRadiusSingletonScore(o)
4316 PoreRadiusSingletonScore_swigregister = _IMP_npctransport.PoreRadiusSingletonScore_swigregister
4317 PoreRadiusSingletonScore_swigregister(PoreRadiusSingletonScore)
4320 """Proxy of C++ IMP::npctransport::ExcludeZRangeSingletonScore class."""
4322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4324 def __init__(self, bottom, top, k):
4325 """__init__(IMP::npctransport::ExcludeZRangeSingletonScore self, double bottom, double top, double k) -> ExcludeZRangeSingletonScore"""
4326 this = _IMP_npctransport.new_ExcludeZRangeSingletonScore(bottom, top, k)
4328 self.this.append(this)
4329 except __builtin__.Exception:
4332 def get_bottom_z(self):
4333 """get_bottom_z(ExcludeZRangeSingletonScore self) -> double"""
4334 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_bottom_z(self)
4337 def get_top_z(self):
4338 """get_top_z(ExcludeZRangeSingletonScore self) -> double"""
4339 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_top_z(self)
4343 """get_k(ExcludeZRangeSingletonScore self) -> double"""
4344 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_k(self)
4347 def do_get_inputs(self, m, pis):
4348 """do_get_inputs(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4349 return _IMP_npctransport.ExcludeZRangeSingletonScore_do_get_inputs(self, m, pis)
4352 def get_version_info(self):
4353 """get_version_info(ExcludeZRangeSingletonScore self) -> VersionInfo"""
4354 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_version_info(self)
4358 """__str__(ExcludeZRangeSingletonScore self) -> std::string"""
4359 return _IMP_npctransport.ExcludeZRangeSingletonScore___str__(self)
4363 """__repr__(ExcludeZRangeSingletonScore self) -> std::string"""
4364 return _IMP_npctransport.ExcludeZRangeSingletonScore___repr__(self)
4369 return _object_cast_to_ExcludeZRangeSingletonScore(o)
4371 ExcludeZRangeSingletonScore_swigregister = _IMP_npctransport.ExcludeZRangeSingletonScore_swigregister
4372 ExcludeZRangeSingletonScore_swigregister(ExcludeZRangeSingletonScore)
4375 """Proxy of C++ IMP::npctransport::ZBiasSingletonScore class."""
4377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4381 __init__(IMP::npctransport::ZBiasSingletonScore self, double k, double max_r) -> ZBiasSingletonScore
4382 __init__(IMP::npctransport::ZBiasSingletonScore self, double k) -> ZBiasSingletonScore
4384 this = _IMP_npctransport.new_ZBiasSingletonScore(*args)
4386 self.this.append(this)
4387 except __builtin__.Exception:
4391 """get_k(ZBiasSingletonScore self) -> double"""
4392 return _IMP_npctransport.ZBiasSingletonScore_get_k(self)
4396 """set_k(ZBiasSingletonScore self, double k)"""
4397 return _IMP_npctransport.ZBiasSingletonScore_set_k(self, k)
4400 def do_get_inputs(self, m, pis):
4401 """do_get_inputs(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4402 return _IMP_npctransport.ZBiasSingletonScore_do_get_inputs(self, m, pis)
4405 def get_version_info(self):
4406 """get_version_info(ZBiasSingletonScore self) -> VersionInfo"""
4407 return _IMP_npctransport.ZBiasSingletonScore_get_version_info(self)
4411 """__str__(ZBiasSingletonScore self) -> std::string"""
4412 return _IMP_npctransport.ZBiasSingletonScore___str__(self)
4416 """__repr__(ZBiasSingletonScore self) -> std::string"""
4417 return _IMP_npctransport.ZBiasSingletonScore___repr__(self)
4422 return _object_cast_to_ZBiasSingletonScore(o)
4424 ZBiasSingletonScore_swigregister = _IMP_npctransport.ZBiasSingletonScore_swigregister
4425 ZBiasSingletonScore_swigregister(ZBiasSingletonScore)
4428 """Proxy of C++ IMP::npctransport::BodyStatisticsOptimizerState class."""
4430 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4432 def __init__(self, p, statistics_manager=None, periodicity=1):
4434 __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p, Statistics statistics_manager=None, unsigned int periodicity=1) -> BodyStatisticsOptimizerState
4435 __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p, Statistics statistics_manager=None) -> BodyStatisticsOptimizerState
4436 __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p) -> BodyStatisticsOptimizerState
4438 this = _IMP_npctransport.new_BodyStatisticsOptimizerState(p, statistics_manager, periodicity)
4440 self.this.append(this)
4441 except __builtin__.Exception:
4444 def get_correlation_time(self):
4445 """get_correlation_time(BodyStatisticsOptimizerState self) -> double"""
4446 return _IMP_npctransport.BodyStatisticsOptimizerState_get_correlation_time(self)
4450 """get_diffusion_coefficient(BodyStatisticsOptimizerState self) -> double"""
4451 return _IMP_npctransport.BodyStatisticsOptimizerState_get_diffusion_coefficient(self)
4454 def update_particle_type_zr_distribution_map(self):
4455 """update_particle_type_zr_distribution_map(BodyStatisticsOptimizerState self)"""
4456 return _IMP_npctransport.BodyStatisticsOptimizerState_update_particle_type_zr_distribution_map(self)
4459 def do_update(self, call_num):
4460 """do_update(BodyStatisticsOptimizerState self, unsigned int call_num)"""
4461 return _IMP_npctransport.BodyStatisticsOptimizerState_do_update(self, call_num)
4464 def get_version_info(self):
4465 """get_version_info(BodyStatisticsOptimizerState self) -> VersionInfo"""
4466 return _IMP_npctransport.BodyStatisticsOptimizerState_get_version_info(self)
4470 """__str__(BodyStatisticsOptimizerState self) -> std::string"""
4471 return _IMP_npctransport.BodyStatisticsOptimizerState___str__(self)
4475 """__repr__(BodyStatisticsOptimizerState self) -> std::string"""
4476 return _IMP_npctransport.BodyStatisticsOptimizerState___repr__(self)
4481 return _object_cast_to_BodyStatisticsOptimizerState(o)
4483 BodyStatisticsOptimizerState_swigregister = _IMP_npctransport.BodyStatisticsOptimizerState_swigregister
4484 BodyStatisticsOptimizerState_swigregister(BodyStatisticsOptimizerState)
4487 """Proxy of C++ IMP::npctransport::ParticleTransportStatisticsOptimizerState class."""
4489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4491 def __init__(self, p, bottom_z, top_z, statistics_manager=0, owner=0):
4493 __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z, WeakPointer< IMP::npctransport::Statistics > statistics_manager=0, WeakPointer< IMP::atom::Simulator > owner=0) -> ParticleTransportStatisticsOptimizerState
4494 __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z, WeakPointer< IMP::npctransport::Statistics > statistics_manager=0) -> ParticleTransportStatisticsOptimizerState
4495 __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z) -> ParticleTransportStatisticsOptimizerState
4497 this = _IMP_npctransport.new_ParticleTransportStatisticsOptimizerState(p, bottom_z, top_z, statistics_manager, owner)
4499 self.this.append(this)
4500 except __builtin__.Exception:
4503 def set_owner(self, owner):
4504 """set_owner(ParticleTransportStatisticsOptimizerState self, WeakPointer< IMP::atom::Simulator > owner)"""
4505 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_set_owner(self, owner)
4508 def get_owner(self):
4509 """get_owner(ParticleTransportStatisticsOptimizerState self) -> WeakPointer< IMP::atom::Simulator >"""
4510 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_owner(self)
4513 def get_n_transports_up(self):
4514 """get_n_transports_up(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4515 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_up(self)
4518 def get_n_transports_down(self):
4519 """get_n_transports_down(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4520 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_down(self)
4523 def get_total_n_transports(self):
4524 """get_total_n_transports(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4525 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_total_n_transports(self)
4528 def get_transport_time_points_in_ns(self):
4529 """get_transport_time_points_in_ns(ParticleTransportStatisticsOptimizerState self) -> IMP::Floats const &"""
4530 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_transport_time_points_in_ns(self)
4533 def do_update(self, call_num):
4534 """do_update(ParticleTransportStatisticsOptimizerState self, unsigned int call_num)"""
4535 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_do_update(self, call_num)
4538 def get_version_info(self):
4539 """get_version_info(ParticleTransportStatisticsOptimizerState self) -> VersionInfo"""
4540 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_version_info(self)
4544 """__str__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4545 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___str__(self)
4549 """__repr__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4550 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___repr__(self)
4555 return _object_cast_to_ParticleTransportStatisticsOptimizerState(o)
4557 ParticleTransportStatisticsOptimizerState_swigregister = _IMP_npctransport.ParticleTransportStatisticsOptimizerState_swigregister
4558 ParticleTransportStatisticsOptimizerState_swigregister(ParticleTransportStatisticsOptimizerState)
4561 """Proxy of C++ IMP::npctransport::ChainStatisticsOptimizerState class."""
4563 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4565 def __init__(self, ps, periodicity=1):
4567 __init__(IMP::npctransport::ChainStatisticsOptimizerState self, IMP::ParticlesTemp const & ps, unsigned int periodicity=1) -> ChainStatisticsOptimizerState
4568 __init__(IMP::npctransport::ChainStatisticsOptimizerState self, IMP::ParticlesTemp const & ps) -> ChainStatisticsOptimizerState
4570 this = _IMP_npctransport.new_ChainStatisticsOptimizerState(ps, periodicity)
4572 self.this.append(this)
4573 except __builtin__.Exception:
4576 def get_correlation_time(self):
4577 """get_correlation_time(ChainStatisticsOptimizerState self) -> double"""
4578 return _IMP_npctransport.ChainStatisticsOptimizerState_get_correlation_time(self)
4581 def get_local_diffusion_coefficients(self):
4582 """get_local_diffusion_coefficients(ChainStatisticsOptimizerState self) -> IMP::Floats"""
4583 return _IMP_npctransport.ChainStatisticsOptimizerState_get_local_diffusion_coefficients(self)
4587 """get_diffusion_coefficient(ChainStatisticsOptimizerState self) -> double"""
4588 return _IMP_npctransport.ChainStatisticsOptimizerState_get_diffusion_coefficient(self)
4591 def get_mean_radius_of_gyration(self):
4592 """get_mean_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4593 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_radius_of_gyration(self)
4596 def get_mean_square_radius_of_gyration(self):
4597 """get_mean_square_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4598 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_radius_of_gyration(self)
4601 def get_mean_end_to_end_distance(self):
4602 """get_mean_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4603 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_end_to_end_distance(self)
4606 def get_mean_square_end_to_end_distance(self):
4607 """get_mean_square_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4608 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_end_to_end_distance(self)
4611 def get_mean_bond_distance(self):
4612 """get_mean_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4613 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_bond_distance(self)
4616 def get_mean_square_bond_distance(self):
4617 """get_mean_square_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4618 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_bond_distance(self)
4621 def do_update(self, call_num):
4622 """do_update(ChainStatisticsOptimizerState self, unsigned int call_num)"""
4623 return _IMP_npctransport.ChainStatisticsOptimizerState_do_update(self, call_num)
4626 def get_version_info(self):
4627 """get_version_info(ChainStatisticsOptimizerState self) -> VersionInfo"""
4628 return _IMP_npctransport.ChainStatisticsOptimizerState_get_version_info(self)
4632 """__str__(ChainStatisticsOptimizerState self) -> std::string"""
4633 return _IMP_npctransport.ChainStatisticsOptimizerState___str__(self)
4637 """__repr__(ChainStatisticsOptimizerState self) -> std::string"""
4638 return _IMP_npctransport.ChainStatisticsOptimizerState___repr__(self)
4643 return _object_cast_to_ChainStatisticsOptimizerState(o)
4645 ChainStatisticsOptimizerState_swigregister = _IMP_npctransport.ChainStatisticsOptimizerState_swigregister
4646 ChainStatisticsOptimizerState_swigregister(ChainStatisticsOptimizerState)
4649 """Proxy of C++ IMP::npctransport::BipartitePairsStatisticsOptimizerState class."""
4651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4653 def __init__(self, statistics_manager, interaction_type, particlesI, particlesII, contact_range=1.0, slack=1.0):
4655 __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII, double contact_range=1.0, double slack=1.0) -> BipartitePairsStatisticsOptimizerState
4656 __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII, double contact_range=1.0) -> BipartitePairsStatisticsOptimizerState
4657 __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII) -> BipartitePairsStatisticsOptimizerState
4659 this = _IMP_npctransport.new_BipartitePairsStatisticsOptimizerState(statistics_manager, interaction_type, particlesI, particlesII, contact_range, slack)
4661 self.this.append(this)
4662 except __builtin__.Exception:
4665 def get_interaction_type(self):
4666 """get_interaction_type(BipartitePairsStatisticsOptimizerState self) -> IMP::npctransport::InteractionType"""
4667 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_interaction_type(self)
4670 def get_average_number_of_contacts(self):
4671 """get_average_number_of_contacts(BipartitePairsStatisticsOptimizerState self) -> double"""
4672 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_number_of_contacts(self)
4675 def get_average_off_per_contact_per_ns(self):
4676 """get_average_off_per_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4677 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_contact_per_ns(self)
4680 def get_average_off_per_bound_I_per_ns(self):
4681 """get_average_off_per_bound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4682 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_I_per_ns(self)
4685 def get_average_off_per_bound_II_per_ns(self):
4686 """get_average_off_per_bound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4687 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_II_per_ns(self)
4690 def get_average_on_per_missing_contact_per_ns(self):
4691 """get_average_on_per_missing_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4692 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_missing_contact_per_ns(self)
4695 def get_average_on_per_unbound_I_per_ns(self):
4696 """get_average_on_per_unbound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4697 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_I_per_ns(self)
4700 def get_average_on_per_unbound_II_per_ns(self):
4701 """get_average_on_per_unbound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4702 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_II_per_ns(self)
4705 def get_average_fraction_bound_particles_I(self):
4706 """get_average_fraction_bound_particles_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4707 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_I(self)
4710 def get_average_fraction_bound_particles_II(self):
4711 """get_average_fraction_bound_particles_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4712 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_II(self)
4715 def get_average_fraction_bound_particle_sites_I(self):
4716 """get_average_fraction_bound_particle_sites_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4717 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_I(self)
4720 def get_average_fraction_bound_particle_sites_II(self):
4721 """get_average_fraction_bound_particle_sites_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4722 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_II(self)
4725 def get_average_fraction_nonspecific_interactions_I(self):
4726 """get_average_fraction_nonspecific_interactions_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4727 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_I(self)
4730 def get_average_fraction_nonspecific_interactions_II(self):
4731 """get_average_fraction_nonspecific_interactions_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4732 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_II(self)
4735 def get_number_of_particles_1(self):
4736 """get_number_of_particles_1(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4737 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_1(self)
4740 def get_number_of_particles_2(self):
4741 """get_number_of_particles_2(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4742 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_2(self)
4745 def get_misc_stats_period_ns(self):
4746 """get_misc_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4747 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_misc_stats_period_ns(self)
4750 def get_off_stats_period_ns(self):
4751 """get_off_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4752 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_stats_period_ns(self)
4755 def get_off_I_stats_period_ns(self):
4756 """get_off_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4757 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_I_stats_period_ns(self)
4760 def get_off_II_stats_period_ns(self):
4761 """get_off_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4762 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_II_stats_period_ns(self)
4765 def get_on_stats_period_ns(self):
4766 """get_on_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4767 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_stats_period_ns(self)
4770 def get_on_I_stats_period_ns(self):
4771 """get_on_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4772 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_I_stats_period_ns(self)
4775 def get_on_II_stats_period_ns(self):
4776 """get_on_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4777 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_II_stats_period_ns(self)
4780 def get_version_info(self):
4781 """get_version_info(BipartitePairsStatisticsOptimizerState self) -> VersionInfo"""
4782 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_version_info(self)
4786 """__str__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4787 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___str__(self)
4791 """__repr__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4792 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___repr__(self)
4797 return _object_cast_to_BipartitePairsStatisticsOptimizerState(o)
4799 BipartitePairsStatisticsOptimizerState_swigregister = _IMP_npctransport.BipartitePairsStatisticsOptimizerState_swigregister
4800 BipartitePairsStatisticsOptimizerState_swigregister(BipartitePairsStatisticsOptimizerState)
4803 def get_close_pairs_range(*args):
4805 get_close_pairs_range(double max_range, double max_range_factor) -> double
4806 get_close_pairs_range(::npctransport_proto::Assignment const & config) -> double
4808 return _IMP_npctransport.get_close_pairs_range(*args)
4812 get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1, double time_step_factor=1.0) -> double
4813 get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1) -> double
4814 get_time_step(double max_d_factor, double max_k, double min_radius, double min_range) -> double
4815 get_time_step(::npctransport_proto::Assignment const & config, double max_trans_relative_to_radius=0.1) -> double
4816 get_time_step(::npctransport_proto::Assignment const & config) -> double
4818 return _IMP_npctransport.get_time_step(*args)
4821 """get_frames_from_ns(double ns, double time_step) -> int"""
4822 return _IMP_npctransport.get_frames_from_ns(ns, time_step)
4825 """get_number_of_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4826 return _IMP_npctransport.get_number_of_frames(config, time_step)
4829 """get_dump_interval_in_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4830 return _IMP_npctransport.get_dump_interval_in_frames(config, time_step)
4834 get_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=0.1) -> int
4835 get_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step) -> int
4837 return _IMP_npctransport.get_statistics_interval_in_frames(assign, time_step, default_value_ns)
4841 get_output_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=1.0) -> int
4842 get_output_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step) -> int
4844 return _IMP_npctransport.get_output_statistics_interval_in_frames(assign, time_step, default_value_ns)
4848 initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0, bool is_disable_randomize=False, bool are_fgs_pre_initialized=False)
4849 initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0, bool is_disable_randomize=False)
4850 initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0)
4851 initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False)
4852 initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints)
4853 initialize_positions(SimulationData sd)
4855 return _IMP_npctransport.initialize_positions(*args)
4856 class Avro2PBReader(object):
4857 """Proxy of C++ IMP::npctransport::Avro2PBReader class."""
4859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4863 __init__(IMP::npctransport::Avro2PBReader self, IMP::Strings const & avro_filenames) -> Avro2PBReader
4864 __init__(IMP::npctransport::Avro2PBReader self, std::string avro_filename) -> Avro2PBReader
4866 this = _IMP_npctransport.new_Avro2PBReader(*args)
4868 self.this.append(this)
4869 except __builtin__.Exception:
4871 __swig_destroy__ = _IMP_npctransport.delete_Avro2PBReader
4872 __del__ =
lambda self:
None
4874 def read_next(self):
4875 """read_next(Avro2PBReader self) -> IMP::npctransport::Avro2PBReader::ByteBuffer"""
4876 return _IMP_npctransport.Avro2PBReader_read_next(self)
4879 def get_is_valid(self):
4880 """get_is_valid(Avro2PBReader self) -> bool"""
4881 return _IMP_npctransport.Avro2PBReader_get_is_valid(self)
4884 def get_cur_file_name(self):
4885 """get_cur_file_name(Avro2PBReader self) -> std::string"""
4886 return _IMP_npctransport.Avro2PBReader_get_cur_file_name(self)
4889 def show(self, *args):
4891 show(Avro2PBReader self, _ostream out)
4892 show(Avro2PBReader self)
4894 return _IMP_npctransport.Avro2PBReader_show(self, *args)
4898 """__str__(Avro2PBReader self) -> std::string"""
4899 return _IMP_npctransport.Avro2PBReader___str__(self)
4903 """__repr__(Avro2PBReader self) -> std::string"""
4904 return _IMP_npctransport.Avro2PBReader___repr__(self)
4906 Avro2PBReader_swigregister = _IMP_npctransport.Avro2PBReader_swigregister
4907 Avro2PBReader_swigregister(Avro2PBReader)
4911 """get_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4912 return _IMP_npctransport.get_optimizable_particles(particles)
4915 """get_non_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4916 return _IMP_npctransport.get_non_optimizable_particles(particles)
4919 """get_particle_indexes(IMP::ParticlesTemp const & particles) -> IMP::ParticleIndexes"""
4920 return _IMP_npctransport.get_particle_indexes(particles)
4923 """get_protobuf_configuration_from_text(std::string config_txt, std::string config_pb)"""
4924 return _IMP_npctransport.get_protobuf_configuration_from_text(config_txt, config_pb)
4927 """get_spheres_from_vectors(IMP::algebra::Vector3Ds const & vs, double radius) -> IMP::algebra::Sphere3Ds"""
4928 return _IMP_npctransport.get_spheres_from_vectors(vs, radius)
4930 def get_spheres_centers(spheres):
4931 """get_spheres_centers(IMP::algebra::Sphere3Ds const & spheres) -> IMP::algebra::Vector3Ds"""
4932 return _IMP_npctransport.get_spheres_centers(spheres)
4935 """copy_particle_reference_frame_if_applicable(Particle src_p, Particle trg_p)"""
4936 return _IMP_npctransport.copy_particle_reference_frame_if_applicable(src_p, trg_p)
4939 """copy_hierarchy_reference_frame_recursive(Particle src_p, Particle trg_p)"""
4940 return _IMP_npctransport.copy_hierarchy_reference_frame_recursive(src_p, trg_p)
4943 """copy_FGs_coordinates(SimulationData src_sd, SimulationData trg_sd)"""
4944 return _IMP_npctransport.copy_FGs_coordinates(src_sd, trg_sd)
4947 from .npctransport_pb2
import *
4948 import google.protobuf
4950 print(
"no protobuf support in python")
4951 from ._configuration
import *
4955 """get_module_version() -> std::string const"""
4956 return _IMP_npctransport.get_module_version()
4959 """get_example_path(std::string fname) -> std::string"""
4960 return _IMP_npctransport.get_example_path(fname)
4963 """get_data_path(std::string fname) -> std::string"""
4964 return _IMP_npctransport.get_data_path(fname)
4966 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
CheckLevel get_check_level()
Get the current audit mode.
FGChain * create_fg_chain(IMP::npctransport::SimulationData *sd, atom::Hierarchy parent, const ::npctransport_proto::Assignment_FGAssignment &fg_data, display::Color c)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_hierarchy_with_sites(RMF::FileHandle fh, atom::Hierarchy hs)
Various classes to hold sets of particles.
int assign_ranges(std::string input_config_fname, std::string output_assignment_fname, unsigned int work_unit, bool show_steps, boost::uint64_t random_seed)
The base class for geometry.
int get_output_statistics_interval_in_frames(const ::npctransport_proto::Assignment &assign, double time_step, double default_value_ns=1.0)
IMP::ParticleIndexPair make_unordered_particle_index_pair(IMP::ParticleIndex pi0, IMP::ParticleIndex pi1)
A base class for geometry from a set of particles.
double get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1, double time_step_factor=1.0)
Make CGAL functionality available to IMP.
void copy_FGs_coordinates(SimulationData const *src_sd, SimulationData *trg_sd)
copy coordinates of src_sd to trg_sd for FG repeats only
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.
int get_statistics_interval_in_frames(const ::npctransport_proto::Assignment &assign, double time_step, double default_value_ns=0.1)
void get_protobuf_configuration_from_text(std::string config_txt, std::string config_pb)
void copy_hierarchy_reference_frame_recursive(Particle *src_p, Particle *trg_p)
Simple Brownian dynamics simulator.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
void link_hierarchies_with_sites(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
ParticlesTemp get_non_optimizable_particles(ParticlesTemp const &particles)
void copy_particle_reference_frame_if_applicable(Particle *src_p, Particle *trg_p)
Common base class for heavy weight IMP objects.
ParticleIndexes get_particle_indexes(ParticlesTemp const &particles)
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
int get_frames_from_ns(double ns, double time_step)
Basic utilities for handling cryo-electron microscopy 3D density maps.
void initialize_positions(SimulationData *sd, const RestraintsTemp &extra_restraints=RestraintsTemp(), bool debug=false, double short_init_factor=1.0, bool is_disable_randomize=false, bool are_fgs_pre_initialized=false)
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
ParticlesTemp get_optimizable_particles(ParticlesTemp const &particles)
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...
int get_dump_interval_in_frames(const ::npctransport_proto::Assignment &config, double time_step)
atom::Hierarchies create_hierarchies_with_sites(RMF::FileConstHandle fh, Model *m)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
void add_hierarchies_with_sites(RMF::FileHandle fh, const atom::Hierarchies &hs)
InteractionType make_unordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
double get_diffusion_coefficient(const algebra::Vector3Ds &displacements, double dt)
FGChain * get_fg_chain(atom::Hierarchy root)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for developing and analyzing benchmarks of IMP code.
InteractionType make_ordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
convenience method for creating and interaction type in swig
Support for the RMF file format for storing hierarchical molecular data and markup.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Display an IMP::core::XYZR particle as a ball.
void add_test_sites(RMF::FileHandle fh, core::ParticleType t, double display_radius, algebra::Vector3Ds sites)
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
algebra::Sphere3Ds get_spheres_from_vectors(V3iter first, V3iter last, double radius)
convert vectors to spheres of passed radius