14 from sys
import version_info
as _swig_python_version_info
15 import _IMP_npctransport
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_NPCTRANSPORT_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_NPCTRANSPORT_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_npctransport.delete_IMP_NPCTRANSPORT_SwigPyIterator
77 r"""value(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
78 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_value(self)
81 r"""incr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator"""
82 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator"""
86 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
94 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator"""
98 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_copy(self)
101 r"""next(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
102 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_next(self)
105 r"""__next__(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
106 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___next__(self)
109 r"""previous(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
110 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
114 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
118 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
122 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
126 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
130 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
134 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator
139 __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___sub__(self, *args)
146 _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_swigregister(IMP_NPCTRANSPORT_SwigPyIterator)
153 IMP_DEBUG = _IMP_npctransport.IMP_DEBUG
155 IMP_RELEASE = _IMP_npctransport.IMP_RELEASE
157 IMP_SILENT = _IMP_npctransport.IMP_SILENT
159 IMP_PROGRESS = _IMP_npctransport.IMP_PROGRESS
161 IMP_TERSE = _IMP_npctransport.IMP_TERSE
163 IMP_VERBOSE = _IMP_npctransport.IMP_VERBOSE
165 IMP_MEMORY = _IMP_npctransport.IMP_MEMORY
167 IMP_NONE = _IMP_npctransport.IMP_NONE
169 IMP_USAGE = _IMP_npctransport.IMP_USAGE
171 IMP_INTERNAL = _IMP_npctransport.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_npctransport.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_npctransport.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npctransport.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npctransport.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_npctransport.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_npctransport.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_KERNEL_HAS_BOOST_SYSTEM
189 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npctransport.IMP_KERNEL_HAS_GPERFTOOLS
191 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
193 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
195 IMPKERNEL_SHOW_WARNINGS = _IMP_npctransport.IMPKERNEL_SHOW_WARNINGS
199 class _DirectorObjects:
200 """@internal Simple class to keep references to director objects
201 to prevent premature deletion."""
204 def register(self, obj):
205 """Take a reference to a director object; will only work for
206 refcounted C++ classes"""
207 if hasattr(obj,
'get_ref_count'):
208 self._objects.append(obj)
210 """Only drop our reference and allow cleanup by Python if no other
211 Python references exist (we hold 3 references: one in self._objects,
212 one in x, and one in the argument list for getrefcount) *and* no
213 other C++ references exist (the Python object always holds one)"""
214 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
215 or x.get_ref_count() > 1]
219 def get_object_count(self):
220 """Get number of director objects (useful for testing only)"""
221 return len(self._objects)
222 _director_objects = _DirectorObjects()
224 class _ostream(object):
225 r"""Proxy of C++ std::ostream class."""
227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
229 def __init__(self, *args, **kwargs):
230 raise AttributeError(
"No constructor defined")
231 __repr__ = _swig_repr
233 def write(self, osa_buf):
234 r"""write(_ostream self, char const * osa_buf)"""
235 return _IMP_npctransport._ostream_write(self, osa_buf)
238 _IMP_npctransport._ostream_swigregister(_ostream)
239 IMP_C_OPEN_BINARY = _IMP_npctransport.IMP_C_OPEN_BINARY
242 IMP_BENCHMARK_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_FILESYSTEM
244 IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS
246 IMP_BENCHMARK_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_RANDOM
248 IMP_BENCHMARK_HAS_NUMPY = _IMP_npctransport.IMP_BENCHMARK_HAS_NUMPY
250 IMPBENCHMARK_SHOW_WARNINGS = _IMP_npctransport.IMPBENCHMARK_SHOW_WARNINGS
253 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_FILESYSTEM
255 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
257 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_RANDOM
259 IMP_CGAL_HAS_NUMPY = _IMP_npctransport.IMP_CGAL_HAS_NUMPY
261 IMPCGAL_SHOW_WARNINGS = _IMP_npctransport.IMPCGAL_SHOW_WARNINGS
264 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_IMP_CGAL
266 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
268 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
270 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_RANDOM
272 IMP_ALGEBRA_HAS_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_CGAL
274 IMP_ALGEBRA_HAS_NUMPY = _IMP_npctransport.IMP_ALGEBRA_HAS_NUMPY
276 IMP_ALGEBRA_HAS_ANN = _IMP_npctransport.IMP_ALGEBRA_HAS_ANN
278 IMPALGEBRA_SHOW_WARNINGS = _IMP_npctransport.IMPALGEBRA_SHOW_WARNINGS
281 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_IMP_CGAL
283 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
285 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
287 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_RANDOM
289 IMP_DISPLAY_HAS_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_CGAL
291 IMP_DISPLAY_HAS_NUMPY = _IMP_npctransport.IMP_DISPLAY_HAS_NUMPY
293 IMPDISPLAY_SHOW_WARNINGS = _IMP_npctransport.IMPDISPLAY_SHOW_WARNINGS
296 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
298 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
300 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
302 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
304 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_CGAL
306 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_HDF5
308 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_NUMPY
310 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npctransport.IMPSCOREFUNCTOR_SHOW_WARNINGS
313 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_IMP_CGAL
315 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
317 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
319 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_RANDOM
321 IMP_STATISTICS_HAS_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_CGAL
323 IMP_STATISTICS_HAS_NUMPY = _IMP_npctransport.IMP_STATISTICS_HAS_NUMPY
325 IMPSTATISTICS_SHOW_WARNINGS = _IMP_npctransport.IMPSTATISTICS_SHOW_WARNINGS
328 IMP_CORE_HAS_IMP_CGAL = _IMP_npctransport.IMP_CORE_HAS_IMP_CGAL
330 IMP_CORE_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CORE_HAS_IMP_KERNEL
332 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CORE_HAS_BOOST_FILESYSTEM
334 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
336 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CORE_HAS_BOOST_RANDOM
338 IMP_CORE_HAS_CGAL = _IMP_npctransport.IMP_CORE_HAS_CGAL
340 IMP_CORE_HAS_HDF5 = _IMP_npctransport.IMP_CORE_HAS_HDF5
342 IMP_CORE_HAS_NUMPY = _IMP_npctransport.IMP_CORE_HAS_NUMPY
344 IMPCORE_SHOW_WARNINGS = _IMP_npctransport.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_ALGEBRA
349 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_CGAL
351 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_DISPLAY
353 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_KERNEL
355 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
357 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
359 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
363 IMP_CONTAINER_HAS_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_CGAL
365 IMP_CONTAINER_HAS_HDF5 = _IMP_npctransport.IMP_CONTAINER_HAS_HDF5
367 IMP_CONTAINER_HAS_NUMPY = _IMP_npctransport.IMP_CONTAINER_HAS_NUMPY
369 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_npctransport.IMP_CONTAINER_HAS_PYTHON_IHM
371 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
373 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_ROBIN_MAP
375 IMPCONTAINER_SHOW_WARNINGS = _IMP_npctransport.IMPCONTAINER_SHOW_WARNINGS
378 IMP_ATOM_HAS_IMP_CGAL = _IMP_npctransport.IMP_ATOM_HAS_IMP_CGAL
380 IMP_ATOM_HAS_IMP_KERNEL = _IMP_npctransport.IMP_ATOM_HAS_IMP_KERNEL
382 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
384 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
386 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ATOM_HAS_BOOST_RANDOM
388 IMP_ATOM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ATOM_HAS_BOOST_REGEX
390 IMP_ATOM_HAS_CGAL = _IMP_npctransport.IMP_ATOM_HAS_CGAL
392 IMP_ATOM_HAS_HDF5 = _IMP_npctransport.IMP_ATOM_HAS_HDF5
394 IMP_ATOM_HAS_NUMPY = _IMP_npctransport.IMP_ATOM_HAS_NUMPY
396 IMP_ATOM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ATOM_HAS_PYTHON_IHM
398 IMPATOM_SHOW_WARNINGS = _IMP_npctransport.IMPATOM_SHOW_WARNINGS
400 IMP_ATOM_TYPE_INDEX = _IMP_npctransport.IMP_ATOM_TYPE_INDEX
402 IMP_RESIDUE_TYPE_INDEX = _IMP_npctransport.IMP_RESIDUE_TYPE_INDEX
404 IMP_HIERARCHY_TYPE_INDEX = _IMP_npctransport.IMP_HIERARCHY_TYPE_INDEX
406 IMP_CHAIN_TYPE_INDEX = _IMP_npctransport.IMP_CHAIN_TYPE_INDEX
409 IMP_EM_HAS_IMP_CGAL = _IMP_npctransport.IMP_EM_HAS_IMP_CGAL
411 IMP_EM_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_EM_HAS_IMP_CONTAINER
413 IMP_EM_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_EM_HAS_IMP_DISPLAY
415 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_EM_HAS_IMP_SCORE_FUNCTOR
417 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_EM_HAS_BOOST_FILESYSTEM
419 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
421 IMP_EM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_EM_HAS_BOOST_RANDOM
423 IMP_EM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_EM_HAS_BOOST_REGEX
425 IMP_EM_HAS_CGAL = _IMP_npctransport.IMP_EM_HAS_CGAL
427 IMP_EM_HAS_HDF5 = _IMP_npctransport.IMP_EM_HAS_HDF5
429 IMP_EM_HAS_NUMPY = _IMP_npctransport.IMP_EM_HAS_NUMPY
431 IMP_EM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_EM_HAS_PYTHON_IHM
433 IMPEM_SHOW_WARNINGS = _IMP_npctransport.IMPEM_SHOW_WARNINGS
436 IMP_SAXS_HAS_IMP_CGAL = _IMP_npctransport.IMP_SAXS_HAS_IMP_CGAL
438 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_SAXS_HAS_IMP_CONTAINER
440 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_SAXS_HAS_IMP_DISPLAY
442 IMP_SAXS_HAS_IMP_KERNEL = _IMP_npctransport.IMP_SAXS_HAS_IMP_KERNEL
444 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
446 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_FILESYSTEM
448 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
450 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_RANDOM
452 IMP_SAXS_HAS_BOOST_REGEX = _IMP_npctransport.IMP_SAXS_HAS_BOOST_REGEX
454 IMP_SAXS_HAS_CGAL = _IMP_npctransport.IMP_SAXS_HAS_CGAL
456 IMP_SAXS_HAS_HDF5 = _IMP_npctransport.IMP_SAXS_HAS_HDF5
458 IMP_SAXS_HAS_NUMPY = _IMP_npctransport.IMP_SAXS_HAS_NUMPY
460 IMP_SAXS_HAS_PYTHON_IHM = _IMP_npctransport.IMP_SAXS_HAS_PYTHON_IHM
462 IMPSAXS_SHOW_WARNINGS = _IMP_npctransport.IMPSAXS_SHOW_WARNINGS
465 IMP_ISD_HAS_IMP_CGAL = _IMP_npctransport.IMP_ISD_HAS_IMP_CGAL
467 IMP_ISD_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_ISD_HAS_IMP_DISPLAY
469 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
471 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ISD_HAS_BOOST_FILESYSTEM
473 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
475 IMP_ISD_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ISD_HAS_BOOST_RANDOM
477 IMP_ISD_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ISD_HAS_BOOST_REGEX
479 IMP_ISD_HAS_CGAL = _IMP_npctransport.IMP_ISD_HAS_CGAL
481 IMP_ISD_HAS_HDF5 = _IMP_npctransport.IMP_ISD_HAS_HDF5
483 IMP_ISD_HAS_NUMPY = _IMP_npctransport.IMP_ISD_HAS_NUMPY
485 IMP_ISD_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ISD_HAS_PYTHON_IHM
487 IMPISD_SHOW_WARNINGS = _IMP_npctransport.IMPISD_SHOW_WARNINGS
490 IMP_RMF_HAS_IMP_CGAL = _IMP_npctransport.IMP_RMF_HAS_IMP_CGAL
492 IMP_RMF_HAS_IMP_EM = _IMP_npctransport.IMP_RMF_HAS_IMP_EM
494 IMP_RMF_HAS_IMP_SAXS = _IMP_npctransport.IMP_RMF_HAS_IMP_SAXS
496 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
498 IMP_RMF_HAS_IMP_STATISTICS = _IMP_npctransport.IMP_RMF_HAS_IMP_STATISTICS
500 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_RMF_HAS_BOOST_FILESYSTEM
502 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
504 IMP_RMF_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_RMF_HAS_BOOST_RANDOM
506 IMP_RMF_HAS_BOOST_REGEX = _IMP_npctransport.IMP_RMF_HAS_BOOST_REGEX
508 IMP_RMF_HAS_CGAL = _IMP_npctransport.IMP_RMF_HAS_CGAL
510 IMP_RMF_HAS_HDF5 = _IMP_npctransport.IMP_RMF_HAS_HDF5
512 IMP_RMF_HAS_NUMPY = _IMP_npctransport.IMP_RMF_HAS_NUMPY
514 IMP_RMF_HAS_PYTHON_IHM = _IMP_npctransport.IMP_RMF_HAS_PYTHON_IHM
516 IMPRMF_SHOW_WARNINGS = _IMP_npctransport.IMPRMF_SHOW_WARNINGS
520 IMP_NPCTRANSPORT_HAS_IMP_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_CGAL
522 IMP_NPCTRANSPORT_HAS_IMP_EM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_EM
524 IMP_NPCTRANSPORT_HAS_IMP_ISD = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_ISD
526 IMP_NPCTRANSPORT_HAS_IMP_SAXS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_SAXS
528 IMP_NPCTRANSPORT_HAS_ABSEIL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_ABSEIL
530 IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM
532 IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS
534 IMP_NPCTRANSPORT_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_RANDOM
536 IMP_NPCTRANSPORT_HAS_BOOST_REGEX = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_REGEX
538 IMP_NPCTRANSPORT_HAS_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_CGAL
540 IMP_NPCTRANSPORT_HAS_HDF5 = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_HDF5
542 IMP_NPCTRANSPORT_HAS_NUMPY = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_NUMPY
544 IMP_NPCTRANSPORT_HAS_PYTHON_IHM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_PYTHON_IHM
546 IMPNPCTRANSPORT_SHOW_WARNINGS = _IMP_npctransport.IMPNPCTRANSPORT_SHOW_WARNINGS
549 _object_types.append(
"SitesPairScore")
552 def _object_cast_to_SitesPairScore(o):
553 r"""_object_cast_to_SitesPairScore(Object o) -> SitesPairScore"""
554 return _IMP_npctransport._object_cast_to_SitesPairScore(o)
556 _object_types.append(
"Scoring")
559 def _object_cast_to_Scoring(o):
560 r"""_object_cast_to_Scoring(Object o) -> Scoring"""
561 return _IMP_npctransport._object_cast_to_Scoring(o)
563 _object_types.append(
"BrownianDynamicsTAMDWithSlabSupport")
566 def _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o):
567 r"""_object_cast_to_BrownianDynamicsTAMDWithSlabSupport(Object o) -> BrownianDynamicsTAMDWithSlabSupport"""
568 return _IMP_npctransport._object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
570 _object_types.append(
"Statistics")
573 def _object_cast_to_Statistics(o):
574 r"""_object_cast_to_Statistics(Object o) -> Statistics"""
575 return _IMP_npctransport._object_cast_to_Statistics(o)
577 _object_types.append(
"SimulationData")
580 def _object_cast_to_SimulationData(o):
581 r"""_object_cast_to_SimulationData(Object o) -> SimulationData"""
582 return _IMP_npctransport._object_cast_to_SimulationData(o)
584 _object_types.append(
"SitesGeometry")
587 def _object_cast_to_SitesGeometry(o):
588 r"""_object_cast_to_SitesGeometry(Object o) -> SitesGeometry"""
589 return _IMP_npctransport._object_cast_to_SitesGeometry(o)
591 _object_types.append(
"TypedSitesGeometry")
594 def _object_cast_to_TypedSitesGeometry(o):
595 r"""_object_cast_to_TypedSitesGeometry(Object o) -> TypedSitesGeometry"""
596 return _IMP_npctransport._object_cast_to_TypedSitesGeometry(o)
598 _object_types.append(
"SlabWithCylindricalPorePairScore")
601 def _object_cast_to_SlabWithCylindricalPorePairScore(o):
602 r"""_object_cast_to_SlabWithCylindricalPorePairScore(Object o) -> SlabWithCylindricalPorePairScore"""
603 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPorePairScore(o)
605 _object_types.append(
"SlabWithToroidalPorePairScore")
608 def _object_cast_to_SlabWithToroidalPorePairScore(o):
609 r"""_object_cast_to_SlabWithToroidalPorePairScore(Object o) -> SlabWithToroidalPorePairScore"""
610 return _IMP_npctransport._object_cast_to_SlabWithToroidalPorePairScore(o)
612 _object_types.append(
"PoreRadiusSingletonScore")
615 def _object_cast_to_PoreRadiusSingletonScore(o):
616 r"""_object_cast_to_PoreRadiusSingletonScore(Object o) -> PoreRadiusSingletonScore"""
617 return _IMP_npctransport._object_cast_to_PoreRadiusSingletonScore(o)
619 _object_types.append(
"ExcludeZRangeSingletonScore")
622 def _object_cast_to_ExcludeZRangeSingletonScore(o):
623 r"""_object_cast_to_ExcludeZRangeSingletonScore(Object o) -> ExcludeZRangeSingletonScore"""
624 return _IMP_npctransport._object_cast_to_ExcludeZRangeSingletonScore(o)
626 _object_types.append(
"ZBiasSingletonScore")
629 def _object_cast_to_ZBiasSingletonScore(o):
630 r"""_object_cast_to_ZBiasSingletonScore(Object o) -> ZBiasSingletonScore"""
631 return _IMP_npctransport._object_cast_to_ZBiasSingletonScore(o)
633 _object_types.append(
"SlabWithCylindricalPoreWireGeometry")
636 def _object_cast_to_SlabWithCylindricalPoreWireGeometry(o):
637 r"""_object_cast_to_SlabWithCylindricalPoreWireGeometry(Object o) -> SlabWithCylindricalPoreWireGeometry"""
638 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
640 _object_types.append(
"SlabWithCylindricalPoreSurfaceGeometry")
643 def _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o):
644 r"""_object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(Object o) -> SlabWithCylindricalPoreSurfaceGeometry"""
645 return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
647 _object_types.append(
"SlabWithToroidalPoreWireGeometry")
650 def _object_cast_to_SlabWithToroidalPoreWireGeometry(o):
651 r"""_object_cast_to_SlabWithToroidalPoreWireGeometry(Object o) -> SlabWithToroidalPoreWireGeometry"""
652 return _IMP_npctransport._object_cast_to_SlabWithToroidalPoreWireGeometry(o)
654 _object_types.append(
"LinearSoftSpherePairScore")
657 def _object_cast_to_LinearSoftSpherePairScore(o):
658 r"""_object_cast_to_LinearSoftSpherePairScore(Object o) -> LinearSoftSpherePairScore"""
659 return _IMP_npctransport._object_cast_to_LinearSoftSpherePairScore(o)
661 _object_types.append(
"FunctorLinearSoftSpherePairScore")
664 def _object_cast_to_FunctorLinearSoftSpherePairScore(o):
665 r"""_object_cast_to_FunctorLinearSoftSpherePairScore(Object o) -> FunctorLinearSoftSpherePairScore"""
666 return _IMP_npctransport._object_cast_to_FunctorLinearSoftSpherePairScore(o)
668 _object_types.append(
"LinearInteractionPairScore")
671 def _object_cast_to_LinearInteractionPairScore(o):
672 r"""_object_cast_to_LinearInteractionPairScore(Object o) -> LinearInteractionPairScore"""
673 return _IMP_npctransport._object_cast_to_LinearInteractionPairScore(o)
675 _object_types.append(
"FunctorLinearInteractionPairScore")
678 def _object_cast_to_FunctorLinearInteractionPairScore(o):
679 r"""_object_cast_to_FunctorLinearInteractionPairScore(Object o) -> FunctorLinearInteractionPairScore"""
680 return _IMP_npctransport._object_cast_to_FunctorLinearInteractionPairScore(o)
682 _object_types.append(
"LinearWellPairScore")
685 def _object_cast_to_LinearWellPairScore(o):
686 r"""_object_cast_to_LinearWellPairScore(Object o) -> LinearWellPairScore"""
687 return _IMP_npctransport._object_cast_to_LinearWellPairScore(o)
689 _object_types.append(
"HarmonicSpringSingletonScore")
692 def _object_cast_to_HarmonicSpringSingletonScore(o):
693 r"""_object_cast_to_HarmonicSpringSingletonScore(Object o) -> HarmonicSpringSingletonScore"""
694 return _IMP_npctransport._object_cast_to_HarmonicSpringSingletonScore(o)
696 _object_types.append(
"HierarchyWithSitesSaveLink")
699 def _object_cast_to_HierarchyWithSitesSaveLink(o):
700 r"""_object_cast_to_HierarchyWithSitesSaveLink(Object o) -> HierarchyWithSitesSaveLink"""
701 return _IMP_npctransport._object_cast_to_HierarchyWithSitesSaveLink(o)
703 _object_types.append(
"HierarchyWithSitesLoadLink")
706 def _object_cast_to_HierarchyWithSitesLoadLink(o):
707 r"""_object_cast_to_HierarchyWithSitesLoadLink(Object o) -> HierarchyWithSitesLoadLink"""
708 return _IMP_npctransport._object_cast_to_HierarchyWithSitesLoadLink(o)
710 _object_types.append(
"ChainStatisticsOptimizerState")
713 def _object_cast_to_ChainStatisticsOptimizerState(o):
714 r"""_object_cast_to_ChainStatisticsOptimizerState(Object o) -> ChainStatisticsOptimizerState"""
715 return _IMP_npctransport._object_cast_to_ChainStatisticsOptimizerState(o)
717 _object_types.append(
"BodyStatisticsOptimizerState")
720 def _object_cast_to_BodyStatisticsOptimizerState(o):
721 r"""_object_cast_to_BodyStatisticsOptimizerState(Object o) -> BodyStatisticsOptimizerState"""
722 return _IMP_npctransport._object_cast_to_BodyStatisticsOptimizerState(o)
724 _object_types.append(
"BipartitePairsStatisticsOptimizerState")
727 def _object_cast_to_BipartitePairsStatisticsOptimizerState(o):
728 r"""_object_cast_to_BipartitePairsStatisticsOptimizerState(Object o) -> BipartitePairsStatisticsOptimizerState"""
729 return _IMP_npctransport._object_cast_to_BipartitePairsStatisticsOptimizerState(o)
731 _object_types.append(
"ParticleTransportStatisticsOptimizerState")
734 def _object_cast_to_ParticleTransportStatisticsOptimizerState(o):
735 r"""_object_cast_to_ParticleTransportStatisticsOptimizerState(Object o) -> ParticleTransportStatisticsOptimizerState"""
736 return _IMP_npctransport._object_cast_to_ParticleTransportStatisticsOptimizerState(o)
738 _object_types.append(
"FGChain")
741 def _object_cast_to_FGChain(o):
742 r"""_object_cast_to_FGChain(Object o) -> FGChain"""
743 return _IMP_npctransport._object_cast_to_FGChain(o)
745 _object_types.append(
"ParticleFactory")
748 def _object_cast_to_ParticleFactory(o):
749 r"""_object_cast_to_ParticleFactory(Object o) -> ParticleFactory"""
750 return _IMP_npctransport._object_cast_to_ParticleFactory(o)
753 _plural_types.append(
"Avro2PBReaders")
754 _value_types.append(
"Avro2PBReader")
757 SitesPairScoreParametersList=list
758 _plural_types.append(
"SitesPairScoreParametersList")
759 _value_types.append(
"SitesPairScoreParameters")
762 def Transportings(l=[]):
763 return [Transporting(x)
for x
in l]
764 _plural_types.append(
"Transportings")
767 _value_types.append(
"Transporting")
770 def SlabWithPores(l=[]):
771 return [SlabWithPore(x)
for x
in l]
772 _plural_types.append(
"SlabWithPores")
775 _value_types.append(
"SlabWithPore")
778 def SlabWithCylindricalPores(l=[]):
779 return [SlabWithCylindricalPore(x)
for x
in l]
780 _plural_types.append(
"SlabWithCylindricalPores")
783 _value_types.append(
"SlabWithCylindricalPore")
786 def RelaxingSprings(l=[]):
787 return [RelaxingSpring(x)
for x
in l]
788 _plural_types.append(
"RelaxingSprings")
791 _value_types.append(
"RelaxingSpring")
794 def SlabWithToroidalPores(l=[]):
795 return [SlabWithToroidalPore(x)
for x
in l]
796 _plural_types.append(
"SlabWithToroidalPores")
799 _value_types.append(
"SlabWithToroidalPore")
801 class _DoubleParameter(object):
802 r"""Proxy of C++ IMP::npctransport::Parameter< double > class."""
804 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
805 __repr__ = _swig_repr
807 def __init__(self, *args):
809 __init__(_DoubleParameter self) -> _DoubleParameter
810 __init__(_DoubleParameter self, double t) -> _DoubleParameter
812 _IMP_npctransport._DoubleParameter_swiginit(self, _IMP_npctransport.new__DoubleParameter(*args))
815 r"""get_value(_DoubleParameter self) -> double"""
816 return _IMP_npctransport._DoubleParameter_get_value(self)
819 r"""is_init(_DoubleParameter self) -> bool"""
820 return _IMP_npctransport._DoubleParameter_is_init(self)
821 __swig_destroy__ = _IMP_npctransport.delete__DoubleParameter
824 _IMP_npctransport._DoubleParameter_swigregister(_DoubleParameter)
825 class _IntParameter(object):
826 r"""Proxy of C++ IMP::npctransport::Parameter< int > class."""
828 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
829 __repr__ = _swig_repr
831 def __init__(self, *args):
833 __init__(_IntParameter self) -> _IntParameter
834 __init__(_IntParameter self, int t) -> _IntParameter
836 _IMP_npctransport._IntParameter_swiginit(self, _IMP_npctransport.new__IntParameter(*args))
839 r"""get_value(_IntParameter self) -> int"""
840 return _IMP_npctransport._IntParameter_get_value(self)
843 r"""is_init(_IntParameter self) -> bool"""
844 return _IMP_npctransport._IntParameter_is_init(self)
845 __swig_destroy__ = _IMP_npctransport.delete__IntParameter
848 _IMP_npctransport._IntParameter_swigregister(_IntParameter)
849 class _BoolParameter(object):
850 r"""Proxy of C++ IMP::npctransport::Parameter< bool > class."""
852 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
853 __repr__ = _swig_repr
855 def __init__(self, *args):
857 __init__(_BoolParameter self) -> _BoolParameter
858 __init__(_BoolParameter self, bool t) -> _BoolParameter
860 _IMP_npctransport._BoolParameter_swiginit(self, _IMP_npctransport.new__BoolParameter(*args))
863 r"""get_value(_BoolParameter self) -> bool"""
864 return _IMP_npctransport._BoolParameter_get_value(self)
867 r"""is_init(_BoolParameter self) -> bool"""
868 return _IMP_npctransport._BoolParameter_is_init(self)
869 __swig_destroy__ = _IMP_npctransport.delete__BoolParameter
872 _IMP_npctransport._BoolParameter_swigregister(_BoolParameter)
875 r"""make_ordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
876 return _IMP_npctransport.make_ordered_interaction_type(t0, t1)
879 r"""make_unordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
880 return _IMP_npctransport.make_unordered_interaction_type(t0, t1)
884 make_unordered_particle_index_pair(ParticleIndex pi0, ParticleIndex pi1) -> IMP::ParticleIndexPair
885 make_unordered_particle_index_pair(IMP::ParticleIndexPair pip) -> IMP::ParticleIndexPair
887 return _IMP_npctransport.make_unordered_particle_index_pair(*args)
889 r"""Proxy of C++ IMP::npctransport::LinearSoftSpherePairScore class."""
891 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
893 def __init__(self, *args):
894 r"""__init__(LinearSoftSpherePairScore self, double k, std::string name="LinearSSPairScore%1%") -> LinearSoftSpherePairScore"""
895 _IMP_npctransport.LinearSoftSpherePairScore_swiginit(self, _IMP_npctransport.new_LinearSoftSpherePairScore(*args))
897 def evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked=False):
898 r"""evaluate_indexes(LinearSoftSpherePairScore self, Model m, IMP::ParticleIndexPairs const & pips, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
899 return _IMP_npctransport.LinearSoftSpherePairScore_evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked)
901 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
902 r"""evaluate_if_good_indexes(LinearSoftSpherePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
903 return _IMP_npctransport.LinearSoftSpherePairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
905 def do_get_inputs(self, m, pis):
906 r"""do_get_inputs(LinearSoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
907 return _IMP_npctransport.LinearSoftSpherePairScore_do_get_inputs(self, m, pis)
910 r"""get_k(LinearSoftSpherePairScore self) -> double"""
911 return _IMP_npctransport.LinearSoftSpherePairScore_get_k(self)
913 def get_version_info(self):
914 r"""get_version_info(LinearSoftSpherePairScore self) -> VersionInfo"""
915 return _IMP_npctransport.LinearSoftSpherePairScore_get_version_info(self)
916 __swig_destroy__ = _IMP_npctransport.delete_LinearSoftSpherePairScore
919 r"""__str__(LinearSoftSpherePairScore self) -> std::string"""
920 return _IMP_npctransport.LinearSoftSpherePairScore___str__(self)
923 r"""__repr__(LinearSoftSpherePairScore self) -> std::string"""
924 return _IMP_npctransport.LinearSoftSpherePairScore___repr__(self)
928 return _object_cast_to_LinearSoftSpherePairScore(o)
932 _IMP_npctransport.LinearSoftSpherePairScore_swigregister(LinearSoftSpherePairScore)
934 r"""Proxy of C++ IMP::npctransport::LinearInteractionPairScore class."""
936 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
938 def __init__(self, *args):
939 r"""__init__(LinearInteractionPairScore self, double k_rep, double range_attr, double k_attr, std::string name="LinearIDPairScore%1%") -> LinearInteractionPairScore"""
940 _IMP_npctransport.LinearInteractionPairScore_swiginit(self, _IMP_npctransport.new_LinearInteractionPairScore(*args))
942 def evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked=False):
943 r"""evaluate_indexes(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPairs const & pips, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
944 return _IMP_npctransport.LinearInteractionPairScore_evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked)
946 def evaluate_if_good_index(self, *args):
948 evaluate_if_good_index(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPair const & p, DerivativeAccumulator da, double max) -> double
949 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
951 return _IMP_npctransport.LinearInteractionPairScore_evaluate_if_good_index(self, *args)
953 def do_get_inputs(self, m, pis):
954 r"""do_get_inputs(LinearInteractionPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
955 return _IMP_npctransport.LinearInteractionPairScore_do_get_inputs(self, m, pis)
957 def get_range_attraction(self):
958 r"""get_range_attraction(LinearInteractionPairScore self) -> double"""
959 return _IMP_npctransport.LinearInteractionPairScore_get_range_attraction(self)
961 def get_k_attraction(self):
962 r"""get_k_attraction(LinearInteractionPairScore self) -> double"""
963 return _IMP_npctransport.LinearInteractionPairScore_get_k_attraction(self)
965 def set_k_attraction(self, k_attr):
966 r"""set_k_attraction(LinearInteractionPairScore self, double k_attr)"""
967 return _IMP_npctransport.LinearInteractionPairScore_set_k_attraction(self, k_attr)
969 def get_k_repulsion(self):
970 r"""get_k_repulsion(LinearInteractionPairScore self) -> double"""
971 return _IMP_npctransport.LinearInteractionPairScore_get_k_repulsion(self)
973 def set_k_repulsion(self, k_rep):
974 r"""set_k_repulsion(LinearInteractionPairScore self, double k_rep)"""
975 return _IMP_npctransport.LinearInteractionPairScore_set_k_repulsion(self, k_rep)
977 def get_version_info(self):
978 r"""get_version_info(LinearInteractionPairScore self) -> VersionInfo"""
979 return _IMP_npctransport.LinearInteractionPairScore_get_version_info(self)
980 __swig_destroy__ = _IMP_npctransport.delete_LinearInteractionPairScore
983 r"""__str__(LinearInteractionPairScore self) -> std::string"""
984 return _IMP_npctransport.LinearInteractionPairScore___str__(self)
987 r"""__repr__(LinearInteractionPairScore self) -> std::string"""
988 return _IMP_npctransport.LinearInteractionPairScore___repr__(self)
992 return _object_cast_to_LinearInteractionPairScore(o)
996 _IMP_npctransport.LinearInteractionPairScore_swigregister(LinearInteractionPairScore)
998 r"""Proxy of C++ IMP::npctransport::LinearWellPairScore class."""
1000 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1002 def __init__(self, *args):
1003 r"""__init__(LinearWellPairScore self, double rest_length_factor, double k, std::string name="LinearIDPairScore%1%") -> LinearWellPairScore"""
1004 _IMP_npctransport.LinearWellPairScore_swiginit(self, _IMP_npctransport.new_LinearWellPairScore(*args))
1006 def set_rest_length_factor(self, rest_length_factor):
1007 r"""set_rest_length_factor(LinearWellPairScore self, double rest_length_factor)"""
1008 return _IMP_npctransport.LinearWellPairScore_set_rest_length_factor(self, rest_length_factor)
1010 def get_rest_length_factor(self):
1011 r"""get_rest_length_factor(LinearWellPairScore self) -> double"""
1012 return _IMP_npctransport.LinearWellPairScore_get_rest_length_factor(self)
1015 r"""set_k(LinearWellPairScore self, double k)"""
1016 return _IMP_npctransport.LinearWellPairScore_set_k(self, k)
1019 r"""get_k(LinearWellPairScore self) -> double"""
1020 return _IMP_npctransport.LinearWellPairScore_get_k(self)
1022 def do_get_inputs(self, m, pis):
1023 r"""do_get_inputs(LinearWellPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1024 return _IMP_npctransport.LinearWellPairScore_do_get_inputs(self, m, pis)
1026 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
1027 r"""evaluate_indexes(LinearWellPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1028 return _IMP_npctransport.LinearWellPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
1030 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
1031 r"""evaluate_indexes_scores(LinearWellPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
1032 return _IMP_npctransport.LinearWellPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
1034 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
1035 r"""evaluate_indexes_delta(LinearWellPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
1036 return _IMP_npctransport.LinearWellPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
1038 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
1039 r"""evaluate_if_good_indexes(LinearWellPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1040 return _IMP_npctransport.LinearWellPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
1042 def get_version_info(self):
1043 r"""get_version_info(LinearWellPairScore self) -> VersionInfo"""
1044 return _IMP_npctransport.LinearWellPairScore_get_version_info(self)
1045 __swig_destroy__ = _IMP_npctransport.delete_LinearWellPairScore
1048 r"""__str__(LinearWellPairScore self) -> std::string"""
1049 return _IMP_npctransport.LinearWellPairScore___str__(self)
1052 r"""__repr__(LinearWellPairScore self) -> std::string"""
1053 return _IMP_npctransport.LinearWellPairScore___repr__(self)
1057 return _object_cast_to_LinearWellPairScore(o)
1061 _IMP_npctransport.LinearWellPairScore_swigregister(LinearWellPairScore)
1063 r"""Proxy of C++ IMP::npctransport::RelaxingSpring class."""
1065 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1067 def __init__(self, *args):
1069 __init__(RelaxingSpring self) -> RelaxingSpring
1070 __init__(RelaxingSpring self, Model m, ParticleIndex id) -> RelaxingSpring
1071 __init__(RelaxingSpring self, _ParticleAdaptor d) -> RelaxingSpring
1073 _IMP_npctransport.RelaxingSpring_swiginit(self, _IMP_npctransport.new_RelaxingSpring(*args))
1075 def show(self, *args):
1076 r"""show(RelaxingSpring self, _ostream out=std::cout)"""
1077 return _IMP_npctransport.RelaxingSpring_show(self, *args)
1080 def setup_particle(*args):
1082 setup_particle(Model m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1083 setup_particle(_ParticleAdaptor pa, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1085 return _IMP_npctransport.RelaxingSpring_setup_particle(*args)
1088 def get_is_setup(*args):
1090 get_is_setup(_ParticleAdaptor p) -> bool
1091 get_is_setup(Model m, ParticleIndex pi) -> bool
1093 return _IMP_npctransport.RelaxingSpring_get_is_setup(*args)
1096 def get_bonded_particle_0_key():
1097 r"""get_bonded_particle_0_key() -> ParticleIndexKey"""
1098 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0_key()
1101 def get_bonded_particle_1_key():
1102 r"""get_bonded_particle_1_key() -> ParticleIndexKey"""
1103 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1_key()
1106 def get_equilibrium_rest_length_factor_key():
1107 r"""get_equilibrium_rest_length_factor_key() -> FloatKey"""
1108 return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor_key()
1111 def get_rest_length_key():
1112 r"""get_rest_length_key() -> FloatKey"""
1113 return _IMP_npctransport.RelaxingSpring_get_rest_length_key()
1116 def get_rest_length_diffusion_coefficient_key():
1117 r"""get_rest_length_diffusion_coefficient_key() -> FloatKey"""
1118 return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient_key()
1120 def get_bonded_particle_0(self):
1121 r"""get_bonded_particle_0(RelaxingSpring self) -> Particle"""
1122 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0(self)
1124 def get_bonded_particle_1(self):
1125 r"""get_bonded_particle_1(RelaxingSpring self) -> Particle"""
1126 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1(self)
1128 def get_bonded_particle_index_0(self):
1129 r"""get_bonded_particle_index_0(RelaxingSpring self) -> ParticleIndex"""
1130 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_0(self)
1132 def get_bonded_particle_index_1(self):
1133 r"""get_bonded_particle_index_1(RelaxingSpring self) -> ParticleIndex"""
1134 return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_1(self)
1136 def get_equilibrium_rest_length_factor(self):
1137 r"""get_equilibrium_rest_length_factor(RelaxingSpring self) -> IMP::Float"""
1138 return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor(self)
1140 def set_equilibrium_rest_length_factor(self, t):
1141 r"""set_equilibrium_rest_length_factor(RelaxingSpring self, IMP::Float t)"""
1142 return _IMP_npctransport.RelaxingSpring_set_equilibrium_rest_length_factor(self, t)
1144 def get_rest_length(self):
1145 r"""get_rest_length(RelaxingSpring self) -> IMP::Float"""
1146 return _IMP_npctransport.RelaxingSpring_get_rest_length(self)
1148 def set_rest_length(self, t):
1149 r"""set_rest_length(RelaxingSpring self, IMP::Float t)"""
1150 return _IMP_npctransport.RelaxingSpring_set_rest_length(self, t)
1152 def get_rest_length_diffusion_coefficient(self):
1153 r"""get_rest_length_diffusion_coefficient(RelaxingSpring self) -> IMP::Float"""
1154 return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient(self)
1156 def set_rest_length_diffusion_coefficient(self, t):
1157 r"""set_rest_length_diffusion_coefficient(RelaxingSpring self, IMP::Float t)"""
1158 return _IMP_npctransport.RelaxingSpring_set_rest_length_diffusion_coefficient(self, t)
1160 def add_to_rest_length_derivative(self, d, da):
1161 r"""add_to_rest_length_derivative(RelaxingSpring self, double d, DerivativeAccumulator da)"""
1162 return _IMP_npctransport.RelaxingSpring_add_to_rest_length_derivative(self, d, da)
1164 def get_rest_length_derivative(self):
1165 r"""get_rest_length_derivative(RelaxingSpring self) -> double"""
1166 return _IMP_npctransport.RelaxingSpring_get_rest_length_derivative(self)
1168 def add_attribute(self, *args):
1170 add_attribute(RelaxingSpring self, FloatKey k, IMP::Float v, bool opt)
1171 add_attribute(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1172 add_attribute(RelaxingSpring self, IntKey a0, IMP::Int a1)
1173 add_attribute(RelaxingSpring self, FloatsKey a0, IMP::Floats a1)
1174 add_attribute(RelaxingSpring self, IntsKey a0, IMP::Ints a1)
1175 add_attribute(RelaxingSpring self, StringKey a0, IMP::String a1)
1176 add_attribute(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1177 add_attribute(RelaxingSpring self, ObjectKey a0, Object a1)
1178 add_attribute(RelaxingSpring self, SparseFloatKey a0, IMP::Float a1)
1179 add_attribute(RelaxingSpring self, SparseIntKey a0, IMP::Int a1)
1180 add_attribute(RelaxingSpring self, SparseStringKey a0, IMP::String a1)
1181 add_attribute(RelaxingSpring self, SparseParticleIndexKey a0, ParticleIndex a1)
1183 return _IMP_npctransport.RelaxingSpring_add_attribute(self, *args)
1185 def get_value(self, *args):
1187 get_value(RelaxingSpring self, FloatKey a0) -> IMP::Float
1188 get_value(RelaxingSpring self, IntKey a0) -> IMP::Int
1189 get_value(RelaxingSpring self, FloatsKey a0) -> IMP::Floats
1190 get_value(RelaxingSpring self, IntsKey a0) -> IMP::Ints
1191 get_value(RelaxingSpring self, StringKey a0) -> IMP::String
1192 get_value(RelaxingSpring self, ParticleIndexKey a0) -> Particle
1193 get_value(RelaxingSpring self, ObjectKey a0) -> Object
1194 get_value(RelaxingSpring self, SparseFloatKey a0) -> IMP::Float
1195 get_value(RelaxingSpring self, SparseIntKey a0) -> IMP::Int
1196 get_value(RelaxingSpring self, SparseStringKey a0) -> IMP::String
1197 get_value(RelaxingSpring self, SparseParticleIndexKey a0) -> ParticleIndex
1199 return _IMP_npctransport.RelaxingSpring_get_value(self, *args)
1201 def set_value(self, *args):
1203 set_value(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1204 set_value(RelaxingSpring self, IntKey a0, IMP::Int a1)
1205 set_value(RelaxingSpring self, FloatsKey a0, IMP::Floats a1)
1206 set_value(RelaxingSpring self, IntsKey a0, IMP::Ints a1)
1207 set_value(RelaxingSpring self, StringKey a0, IMP::String a1)
1208 set_value(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1209 set_value(RelaxingSpring self, ObjectKey a0, Object a1)
1210 set_value(RelaxingSpring self, SparseFloatKey a0, IMP::Float a1)
1211 set_value(RelaxingSpring self, SparseIntKey a0, IMP::Int a1)
1212 set_value(RelaxingSpring self, SparseStringKey a0, IMP::String a1)
1213 set_value(RelaxingSpring self, SparseParticleIndexKey a0, ParticleIndex a1)
1215 return _IMP_npctransport.RelaxingSpring_set_value(self, *args)
1217 def remove_attribute(self, *args):
1219 remove_attribute(RelaxingSpring self, FloatKey a0)
1220 remove_attribute(RelaxingSpring self, IntKey a0)
1221 remove_attribute(RelaxingSpring self, FloatsKey a0)
1222 remove_attribute(RelaxingSpring self, IntsKey a0)
1223 remove_attribute(RelaxingSpring self, StringKey a0)
1224 remove_attribute(RelaxingSpring self, ParticleIndexKey a0)
1225 remove_attribute(RelaxingSpring self, ObjectKey a0)
1226 remove_attribute(RelaxingSpring self, SparseFloatKey a0)
1227 remove_attribute(RelaxingSpring self, SparseIntKey a0)
1228 remove_attribute(RelaxingSpring self, SparseStringKey a0)
1229 remove_attribute(RelaxingSpring self, SparseParticleIndexKey a0)
1231 return _IMP_npctransport.RelaxingSpring_remove_attribute(self, *args)
1233 def has_attribute(self, *args):
1235 has_attribute(RelaxingSpring self, FloatKey a0) -> bool
1236 has_attribute(RelaxingSpring self, IntKey a0) -> bool
1237 has_attribute(RelaxingSpring self, FloatsKey a0) -> bool
1238 has_attribute(RelaxingSpring self, IntsKey a0) -> bool
1239 has_attribute(RelaxingSpring self, StringKey a0) -> bool
1240 has_attribute(RelaxingSpring self, ParticleIndexKey a0) -> bool
1241 has_attribute(RelaxingSpring self, ObjectKey a0) -> bool
1242 has_attribute(RelaxingSpring self, SparseFloatKey a0) -> bool
1243 has_attribute(RelaxingSpring self, SparseIntKey a0) -> bool
1244 has_attribute(RelaxingSpring self, SparseStringKey a0) -> bool
1245 has_attribute(RelaxingSpring self, SparseParticleIndexKey a0) -> bool
1247 return _IMP_npctransport.RelaxingSpring_has_attribute(self, *args)
1249 def get_derivative(self, a0):
1250 r"""get_derivative(RelaxingSpring self, FloatKey a0) -> double"""
1251 return _IMP_npctransport.RelaxingSpring_get_derivative(self, a0)
1254 r"""get_name(RelaxingSpring self) -> std::string"""
1255 return _IMP_npctransport.RelaxingSpring_get_name(self)
1257 def clear_caches(self):
1258 r"""clear_caches(RelaxingSpring self)"""
1259 return _IMP_npctransport.RelaxingSpring_clear_caches(self)
1261 def set_name(self, a0):
1262 r"""set_name(RelaxingSpring self, std::string a0)"""
1263 return _IMP_npctransport.RelaxingSpring_set_name(self, a0)
1266 r"""set_check_level(RelaxingSpring self, IMP::CheckLevel a0)"""
1267 return _IMP_npctransport.RelaxingSpring_set_check_level(self, a0)
1269 def add_to_derivative(self, a0, a1, a2):
1270 r"""add_to_derivative(RelaxingSpring self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1271 return _IMP_npctransport.RelaxingSpring_add_to_derivative(self, a0, a1, a2)
1273 def set_is_optimized(self, a0, a1):
1274 r"""set_is_optimized(RelaxingSpring self, FloatKey a0, bool a1)"""
1275 return _IMP_npctransport.RelaxingSpring_set_is_optimized(self, a0, a1)
1277 def get_is_optimized(self, a0):
1278 r"""get_is_optimized(RelaxingSpring self, FloatKey a0) -> bool"""
1279 return _IMP_npctransport.RelaxingSpring_get_is_optimized(self, a0)
1282 r"""get_check_level(RelaxingSpring self) -> IMP::CheckLevel"""
1283 return _IMP_npctransport.RelaxingSpring_get_check_level(self)
1285 def __eq__(self, *args):
1287 __eq__(RelaxingSpring self, RelaxingSpring o) -> bool
1288 __eq__(RelaxingSpring self, Particle d) -> bool
1290 return _IMP_npctransport.RelaxingSpring___eq__(self, *args)
1292 def __ne__(self, *args):
1294 __ne__(RelaxingSpring self, RelaxingSpring o) -> bool
1295 __ne__(RelaxingSpring self, Particle d) -> bool
1297 return _IMP_npctransport.RelaxingSpring___ne__(self, *args)
1299 def __le__(self, *args):
1301 __le__(RelaxingSpring self, RelaxingSpring o) -> bool
1302 __le__(RelaxingSpring self, Particle d) -> bool
1304 return _IMP_npctransport.RelaxingSpring___le__(self, *args)
1306 def __lt__(self, *args):
1308 __lt__(RelaxingSpring self, RelaxingSpring o) -> bool
1309 __lt__(RelaxingSpring self, Particle d) -> bool
1311 return _IMP_npctransport.RelaxingSpring___lt__(self, *args)
1313 def __ge__(self, *args):
1315 __ge__(RelaxingSpring self, RelaxingSpring o) -> bool
1316 __ge__(RelaxingSpring self, Particle d) -> bool
1318 return _IMP_npctransport.RelaxingSpring___ge__(self, *args)
1320 def __gt__(self, *args):
1322 __gt__(RelaxingSpring self, RelaxingSpring o) -> bool
1323 __gt__(RelaxingSpring self, Particle d) -> bool
1325 return _IMP_npctransport.RelaxingSpring___gt__(self, *args)
1328 r"""__hash__(RelaxingSpring self) -> std::size_t"""
1329 return _IMP_npctransport.RelaxingSpring___hash__(self)
1332 r"""__str__(RelaxingSpring self) -> std::string"""
1333 return _IMP_npctransport.RelaxingSpring___str__(self)
1336 r"""__repr__(RelaxingSpring self) -> std::string"""
1337 return _IMP_npctransport.RelaxingSpring___repr__(self)
1339 def _get_as_binary(self):
1340 r"""_get_as_binary(RelaxingSpring self) -> PyObject *"""
1341 return _IMP_npctransport.RelaxingSpring__get_as_binary(self)
1343 def _set_from_binary(self, p):
1344 r"""_set_from_binary(RelaxingSpring self, PyObject * p)"""
1345 return _IMP_npctransport.RelaxingSpring__set_from_binary(self, p)
1347 def __getstate__(self):
1348 p = self._get_as_binary()
1349 if len(self.__dict__) > 1:
1350 d = self.__dict__.copy()
1355 def __setstate__(self, p):
1356 if not hasattr(self,
'this'):
1358 if isinstance(p, tuple):
1360 self.__dict__.update(d)
1361 return self._set_from_binary(p)
1363 __swig_destroy__ = _IMP_npctransport.delete_RelaxingSpring
1366 _IMP_npctransport.RelaxingSpring_swigregister(RelaxingSpring)
1368 r"""Proxy of C++ IMP::npctransport::HarmonicSpringSingletonScore class."""
1370 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1372 def __init__(self, *args):
1373 r"""__init__(HarmonicSpringSingletonScore self, double k1, double k2, std::string name="HarmonicSpringSingletonScore%1%") -> HarmonicSpringSingletonScore"""
1374 _IMP_npctransport.HarmonicSpringSingletonScore_swiginit(self, _IMP_npctransport.new_HarmonicSpringSingletonScore(*args))
1376 def set_k1(self, k1):
1377 r"""set_k1(HarmonicSpringSingletonScore self, double k1)"""
1378 return _IMP_npctransport.HarmonicSpringSingletonScore_set_k1(self, k1)
1381 r"""get_k1(HarmonicSpringSingletonScore self) -> double"""
1382 return _IMP_npctransport.HarmonicSpringSingletonScore_get_k1(self)
1384 def set_k2(self, k2):
1385 r"""set_k2(HarmonicSpringSingletonScore self, double k2)"""
1386 return _IMP_npctransport.HarmonicSpringSingletonScore_set_k2(self, k2)
1389 r"""get_k2(HarmonicSpringSingletonScore self) -> double"""
1390 return _IMP_npctransport.HarmonicSpringSingletonScore_get_k2(self)
1392 def do_get_inputs(self, m, pis):
1393 r"""do_get_inputs(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1394 return _IMP_npctransport.HarmonicSpringSingletonScore_do_get_inputs(self, m, pis)
1396 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
1397 r"""evaluate_indexes(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1398 return _IMP_npctransport.HarmonicSpringSingletonScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
1400 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
1401 r"""evaluate_indexes_scores(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
1402 return _IMP_npctransport.HarmonicSpringSingletonScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
1404 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
1405 r"""evaluate_indexes_delta(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
1406 return _IMP_npctransport.HarmonicSpringSingletonScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
1408 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
1409 r"""evaluate_if_good_indexes(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1410 return _IMP_npctransport.HarmonicSpringSingletonScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
1412 def get_version_info(self):
1413 r"""get_version_info(HarmonicSpringSingletonScore self) -> VersionInfo"""
1414 return _IMP_npctransport.HarmonicSpringSingletonScore_get_version_info(self)
1415 __swig_destroy__ = _IMP_npctransport.delete_HarmonicSpringSingletonScore
1418 r"""__str__(HarmonicSpringSingletonScore self) -> std::string"""
1419 return _IMP_npctransport.HarmonicSpringSingletonScore___str__(self)
1422 r"""__repr__(HarmonicSpringSingletonScore self) -> std::string"""
1423 return _IMP_npctransport.HarmonicSpringSingletonScore___repr__(self)
1427 return _object_cast_to_HarmonicSpringSingletonScore(o)
1431 _IMP_npctransport.HarmonicSpringSingletonScore_swigregister(HarmonicSpringSingletonScore)
1432 class LinearInteraction(object):
1433 r"""Proxy of C++ IMP::npctransport::LinearInteraction class."""
1435 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1436 __repr__ = _swig_repr
1438 def __init__(self, *args):
1440 __init__(LinearInteraction self, double krep, double attr_range, double kattr) -> LinearInteraction
1441 __init__(LinearInteraction self) -> LinearInteraction
1443 _IMP_npctransport.LinearInteraction_swiginit(self, _IMP_npctransport.new_LinearInteraction(*args))
1445 def show(self, *args):
1446 r"""show(LinearInteraction self, _ostream out=std::cout)"""
1447 return _IMP_npctransport.LinearInteraction_show(self, *args)
1448 __swig_destroy__ = _IMP_npctransport.delete_LinearInteraction
1451 _IMP_npctransport.LinearInteraction_swigregister(LinearInteraction)
1453 r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::npctransport::LinearSoftSphereScore > class."""
1455 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1456 __repr__ = _swig_repr
1458 def __init__(self, *args):
1460 __init__(_DistancePairScoreForLinearSoftSphere self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > >::DistanceScore const & t0, std::string name="FunctorDistancePairScore %1%") -> _DistancePairScoreForLinearSoftSphere
1461 __init__(_DistancePairScoreForLinearSoftSphere self) -> _DistancePairScoreForLinearSoftSphere
1463 _IMP_npctransport._DistancePairScoreForLinearSoftSphere_swiginit(self, _IMP_npctransport.new__DistancePairScoreForLinearSoftSphere(*args))
1465 def do_get_inputs(self, m, pis):
1466 r"""do_get_inputs(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1467 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_do_get_inputs(self, m, pis)
1469 def get_score_functor(self):
1470 r"""get_score_functor(_DistancePairScoreForLinearSoftSphere self) -> IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > &"""
1471 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_score_functor(self)
1473 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
1474 r"""evaluate_indexes(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1475 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
1477 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
1478 r"""evaluate_indexes_scores(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
1479 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
1481 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
1482 r"""evaluate_indexes_delta(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
1483 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
1485 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
1486 r"""evaluate_if_good_indexes(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1487 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
1489 def get_version_info(self):
1490 r"""get_version_info(_DistancePairScoreForLinearSoftSphere self) -> VersionInfo"""
1491 return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_version_info(self)
1492 __swig_destroy__ = _IMP_npctransport.delete__DistancePairScoreForLinearSoftSphere
1495 _IMP_npctransport._DistancePairScoreForLinearSoftSphere_swigregister(_DistancePairScoreForLinearSoftSphere)
1496 class _DistancePairScoreForLinearInteraction(
IMP.PairScore):
1497 r"""Proxy of C++ IMP::score_functor::DistancePairScore< IMP::npctransport::LinearInteractionScore > class."""
1499 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1500 __repr__ = _swig_repr
1502 def __init__(self, *args):
1504 __init__(_DistancePairScoreForLinearInteraction self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > >::DistanceScore const & t0, std::string name="FunctorDistancePairScore %1%") -> _DistancePairScoreForLinearInteraction
1505 __init__(_DistancePairScoreForLinearInteraction self) -> _DistancePairScoreForLinearInteraction
1507 _IMP_npctransport._DistancePairScoreForLinearInteraction_swiginit(self, _IMP_npctransport.new__DistancePairScoreForLinearInteraction(*args))
1509 def do_get_inputs(self, m, pis):
1510 r"""do_get_inputs(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1511 return _IMP_npctransport._DistancePairScoreForLinearInteraction_do_get_inputs(self, m, pis)
1513 def get_score_functor(self):
1514 r"""get_score_functor(_DistancePairScoreForLinearInteraction self) -> IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > &"""
1515 return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_score_functor(self)
1517 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
1518 r"""evaluate_indexes(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1519 return _IMP_npctransport._DistancePairScoreForLinearInteraction_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
1521 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
1522 r"""evaluate_indexes_scores(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
1523 return _IMP_npctransport._DistancePairScoreForLinearInteraction_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
1525 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
1526 r"""evaluate_indexes_delta(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
1527 return _IMP_npctransport._DistancePairScoreForLinearInteraction_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
1529 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
1530 r"""evaluate_if_good_indexes(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1531 return _IMP_npctransport._DistancePairScoreForLinearInteraction_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
1533 def get_version_info(self):
1534 r"""get_version_info(_DistancePairScoreForLinearInteraction self) -> VersionInfo"""
1535 return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_version_info(self)
1536 __swig_destroy__ = _IMP_npctransport.delete__DistancePairScoreForLinearInteraction
1539 _IMP_npctransport._DistancePairScoreForLinearInteraction_swigregister(_DistancePairScoreForLinearInteraction)
1540 class FunctorLinearSoftSpherePairScore(_DistancePairScoreForLinearSoftSphere):
1541 r"""Proxy of C++ IMP::npctransport::FunctorLinearSoftSpherePairScore class."""
1543 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1545 def __init__(self, *args):
1546 r"""__init__(FunctorLinearSoftSpherePairScore self, double k, std::string name="LinearSSPairScore%1%") -> FunctorLinearSoftSpherePairScore"""
1547 _IMP_npctransport.FunctorLinearSoftSpherePairScore_swiginit(self, _IMP_npctransport.new_FunctorLinearSoftSpherePairScore(*args))
1548 __swig_destroy__ = _IMP_npctransport.delete_FunctorLinearSoftSpherePairScore
1551 r"""__str__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1552 return _IMP_npctransport.FunctorLinearSoftSpherePairScore___str__(self)
1555 r"""__repr__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1556 return _IMP_npctransport.FunctorLinearSoftSpherePairScore___repr__(self)
1560 return _object_cast_to_FunctorLinearSoftSpherePairScore(o)
1564 _IMP_npctransport.FunctorLinearSoftSpherePairScore_swigregister(FunctorLinearSoftSpherePairScore)
1565 class FunctorLinearInteractionPairScore(_DistancePairScoreForLinearInteraction):
1566 r"""Proxy of C++ IMP::npctransport::FunctorLinearInteractionPairScore class."""
1568 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1570 def __init__(self, *args):
1571 r"""__init__(FunctorLinearInteractionPairScore self, double krep, double attr_range, double kattr, std::string name="LinearSSPairScore%1%") -> FunctorLinearInteractionPairScore"""
1572 _IMP_npctransport.FunctorLinearInteractionPairScore_swiginit(self, _IMP_npctransport.new_FunctorLinearInteractionPairScore(*args))
1573 __swig_destroy__ = _IMP_npctransport.delete_FunctorLinearInteractionPairScore
1576 r"""__str__(FunctorLinearInteractionPairScore self) -> std::string"""
1577 return _IMP_npctransport.FunctorLinearInteractionPairScore___str__(self)
1580 r"""__repr__(FunctorLinearInteractionPairScore self) -> std::string"""
1581 return _IMP_npctransport.FunctorLinearInteractionPairScore___repr__(self)
1585 return _object_cast_to_FunctorLinearInteractionPairScore(o)
1589 _IMP_npctransport.FunctorLinearInteractionPairScore_swigregister(FunctorLinearInteractionPairScore)
1591 r"""Proxy of C++ IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport class."""
1593 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1595 def __init__(self, *args):
1596 r"""__init__(BrownianDynamicsTAMDWithSlabSupport self, Model m, std::string name="BrownianDynamicsTAMDWithSlabSupport%1%", double wave_factor=1.0) -> BrownianDynamicsTAMDWithSlabSupport"""
1597 _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport_swiginit(self, _IMP_npctransport.new_BrownianDynamicsTAMDWithSlabSupport(*args))
1600 r"""__str__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1601 return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___str__(self)
1604 r"""__repr__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1605 return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___repr__(self)
1609 return _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
1611 __swig_destroy__ = _IMP_npctransport.delete_BrownianDynamicsTAMDWithSlabSupport
1614 _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport_swigregister(BrownianDynamicsTAMDWithSlabSupport)
1615 class SitesPairScoreParameters(object):
1616 r"""Proxy of C++ IMP::npctransport::SitesPairScoreParameters class."""
1618 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1619 r = property(_IMP_npctransport.SitesPairScoreParameters_r_get, _IMP_npctransport.SitesPairScoreParameters_r_set, doc=
r"""r : double""")
1620 k = property(_IMP_npctransport.SitesPairScoreParameters_k_get, _IMP_npctransport.SitesPairScoreParameters_k_set, doc=
r"""k : double""")
1621 r2 = property(_IMP_npctransport.SitesPairScoreParameters_r2_get, _IMP_npctransport.SitesPairScoreParameters_r2_set, doc=
r"""r2 : double""")
1622 kr = property(_IMP_npctransport.SitesPairScoreParameters_kr_get, _IMP_npctransport.SitesPairScoreParameters_kr_set, doc=
r"""kr : double""")
1623 kr2 = property(_IMP_npctransport.SitesPairScoreParameters_kr2_get, _IMP_npctransport.SitesPairScoreParameters_kr2_set, doc=
r"""kr2 : double""")
1624 cosSigma1_max = property(_IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_set, doc=
r"""cosSigma1_max : double""")
1625 cosSigma2_max = property(_IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_set, doc=
r"""cosSigma2_max : double""")
1626 is_orientational = property(_IMP_npctransport.SitesPairScoreParameters_is_orientational_get, _IMP_npctransport.SitesPairScoreParameters_is_orientational_set, doc=
r"""is_orientational : bool""")
1628 def __init__(self, range, k_coefficient, sigma1_max_deg=0.0, sigma2_max_deg=0.0):
1629 r"""__init__(SitesPairScoreParameters self, double range, double k_coefficient, double sigma1_max_deg=0.0, double sigma2_max_deg=0.0) -> SitesPairScoreParameters"""
1630 _IMP_npctransport.SitesPairScoreParameters_swiginit(self, _IMP_npctransport.new_SitesPairScoreParameters(range, k_coefficient, sigma1_max_deg, sigma2_max_deg))
1632 def set_range(self, r):
1633 r"""set_range(SitesPairScoreParameters self, double r)"""
1634 return _IMP_npctransport.SitesPairScoreParameters_set_range(self, r)
1636 def set_force_coefficient(self, k):
1637 r"""set_force_coefficient(SitesPairScoreParameters self, double k)"""
1638 return _IMP_npctransport.SitesPairScoreParameters_set_force_coefficient(self, k)
1640 def set_sigma1_max(self, sigma1_max_deg):
1641 r"""set_sigma1_max(SitesPairScoreParameters self, double sigma1_max_deg)"""
1642 return _IMP_npctransport.SitesPairScoreParameters_set_sigma1_max(self, sigma1_max_deg)
1644 def set_sigma2_max(self, sigma2_max_deg):
1645 r"""set_sigma2_max(SitesPairScoreParameters self, double sigma2_max_deg)"""
1646 return _IMP_npctransport.SitesPairScoreParameters_set_sigma2_max(self, sigma2_max_deg)
1648 def update_is_orientational(self):
1649 r"""update_is_orientational(SitesPairScoreParameters self)"""
1650 return _IMP_npctransport.SitesPairScoreParameters_update_is_orientational(self)
1652 def show(self, *args):
1653 r"""show(SitesPairScoreParameters self, _ostream out=std::cout)"""
1654 return _IMP_npctransport.SitesPairScoreParameters_show(self, *args)
1657 r"""__str__(SitesPairScoreParameters self) -> std::string"""
1658 return _IMP_npctransport.SitesPairScoreParameters___str__(self)
1661 r"""__repr__(SitesPairScoreParameters self) -> std::string"""
1662 return _IMP_npctransport.SitesPairScoreParameters___repr__(self)
1663 __swig_destroy__ = _IMP_npctransport.delete_SitesPairScoreParameters
1666 _IMP_npctransport.SitesPairScoreParameters_swigregister(SitesPairScoreParameters)
1668 r"""Proxy of C++ IMP::npctransport::SitesGeometry class."""
1670 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1672 def __init__(self, p, sites):
1673 r"""__init__(SitesGeometry self, Particle p, IMP::algebra::Sphere3Ds sites) -> SitesGeometry"""
1674 _IMP_npctransport.SitesGeometry_swiginit(self, _IMP_npctransport.new_SitesGeometry(p, sites))
1675 __swig_destroy__ = _IMP_npctransport.delete_SitesGeometry
1678 r"""__str__(SitesGeometry self) -> std::string"""
1679 return _IMP_npctransport.SitesGeometry___str__(self)
1682 r"""__repr__(SitesGeometry self) -> std::string"""
1683 return _IMP_npctransport.SitesGeometry___repr__(self)
1687 return _object_cast_to_SitesGeometry(o)
1691 _IMP_npctransport.SitesGeometry_swigregister(SitesGeometry)
1693 r"""Proxy of C++ IMP::npctransport::TypedSitesGeometry class."""
1695 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1697 def __init__(self, sc):
1698 r"""__init__(TypedSitesGeometry self, _SingletonContainerAdaptor sc) -> TypedSitesGeometry"""
1699 _IMP_npctransport.TypedSitesGeometry_swiginit(self, _IMP_npctransport.new_TypedSitesGeometry(sc))
1701 def set_sites(self, t, s):
1702 r"""set_sites(TypedSitesGeometry self, ParticleType t, IMP::algebra::Sphere3Ds s)"""
1703 return _IMP_npctransport.TypedSitesGeometry_set_sites(self, t, s)
1705 def get_version_info(self):
1706 r"""get_version_info(TypedSitesGeometry self) -> VersionInfo"""
1707 return _IMP_npctransport.TypedSitesGeometry_get_version_info(self)
1708 __swig_destroy__ = _IMP_npctransport.delete_TypedSitesGeometry
1711 r"""__str__(TypedSitesGeometry self) -> std::string"""
1712 return _IMP_npctransport.TypedSitesGeometry___str__(self)
1715 r"""__repr__(TypedSitesGeometry self) -> std::string"""
1716 return _IMP_npctransport.TypedSitesGeometry___repr__(self)
1720 return _object_cast_to_TypedSitesGeometry(o)
1724 _IMP_npctransport.TypedSitesGeometry_swigregister(TypedSitesGeometry)
1725 class SitesPairScore(LinearInteractionPairScore):
1726 r"""Proxy of C++ IMP::npctransport::SitesPairScore class."""
1728 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1730 def __init__(self, range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1):
1731 r"""__init__(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"""
1732 _IMP_npctransport.SitesPairScore_swiginit(self, _IMP_npctransport.new_SitesPairScore(range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1))
1734 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
1735 r"""evaluate_indexes(SitesPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1736 return _IMP_npctransport.SitesPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
1738 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
1739 r"""evaluate_if_good_indexes(SitesPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
1740 return _IMP_npctransport.SitesPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
1742 def get_sites_range(self):
1743 r"""get_sites_range(SitesPairScore self) -> double"""
1744 return _IMP_npctransport.SitesPairScore_get_sites_range(self)
1746 def get_sites_k(self):
1747 r"""get_sites_k(SitesPairScore self) -> double"""
1748 return _IMP_npctransport.SitesPairScore_get_sites_k(self)
1750 def get_parameters(self):
1751 r"""get_parameters(SitesPairScore self) -> SitesPairScoreParameters"""
1752 return _IMP_npctransport.SitesPairScore_get_parameters(self)
1753 __swig_destroy__ = _IMP_npctransport.delete_SitesPairScore
1755 def set_sites(self, sites0, sites1):
1756 r"""set_sites(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0, IMP::algebra::Sphere3Ds const & sites1)"""
1757 return _IMP_npctransport.SitesPairScore_set_sites(self, sites0, sites1)
1759 def set_sites0(self, sites0):
1760 r"""set_sites0(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0)"""
1761 return _IMP_npctransport.SitesPairScore_set_sites0(self, sites0)
1763 def set_sites1(self, sites1):
1764 r"""set_sites1(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites1)"""
1765 return _IMP_npctransport.SitesPairScore_set_sites1(self, sites1)
1768 r"""__str__(SitesPairScore self) -> std::string"""
1769 return _IMP_npctransport.SitesPairScore___str__(self)
1772 r"""__repr__(SitesPairScore self) -> std::string"""
1773 return _IMP_npctransport.SitesPairScore___repr__(self)
1777 return _object_cast_to_SitesPairScore(o)
1781 _IMP_npctransport.SitesPairScore_swigregister(SitesPairScore)
1783 r"""Proxy of C++ IMP::npctransport::FGChain class."""
1785 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1787 def __init__(self, *args):
1788 r"""__init__(FGChain self, Particle root, double backbone_k=0.0, double rest_length_factor=1.0, std::string name="chain %1%") -> FGChain"""
1789 _IMP_npctransport.FGChain_swiginit(self, _IMP_npctransport.new_FGChain(*args))
1792 r"""get_root(FGChain self) -> Hierarchy"""
1793 return _IMP_npctransport.FGChain_get_root(self)
1795 def get_beads(self):
1796 r"""get_beads(FGChain self) -> IMP::ParticlesTemp"""
1797 return _IMP_npctransport.FGChain_get_beads(self)
1799 def get_bead(self, i):
1800 r"""get_bead(FGChain self, unsigned int i) -> Particle"""
1801 return _IMP_npctransport.FGChain_get_bead(self, i)
1803 def get_bead_index(self, i):
1804 r"""get_bead_index(FGChain self, unsigned int i) -> ParticleIndex"""
1805 return _IMP_npctransport.FGChain_get_bead_index(self, i)
1807 def get_number_of_beads(self):
1808 r"""get_number_of_beads(FGChain self) -> unsigned int"""
1809 return _IMP_npctransport.FGChain_get_number_of_beads(self)
1811 def get_chain_restraints(self, scoring_manager):
1812 r"""get_chain_restraints(FGChain self, Scoring scoring_manager) -> IMP::Restraints"""
1813 return _IMP_npctransport.FGChain_get_chain_restraints(self, scoring_manager)
1815 def set_rest_length_factor(self, rlf):
1816 r"""set_rest_length_factor(FGChain self, double rlf)"""
1817 return _IMP_npctransport.FGChain_set_rest_length_factor(self, rlf)
1819 def set_backbone_k(self, k):
1820 r"""set_backbone_k(FGChain self, double k)"""
1821 return _IMP_npctransport.FGChain_set_backbone_k(self, k)
1823 def get_rest_length_factor(self):
1824 r"""get_rest_length_factor(FGChain self) -> double"""
1825 return _IMP_npctransport.FGChain_get_rest_length_factor(self)
1827 def get_backbone_k(self):
1828 r"""get_backbone_k(FGChain self) -> double"""
1829 return _IMP_npctransport.FGChain_get_backbone_k(self)
1831 def get_version_info(self):
1832 r"""get_version_info(FGChain self) -> VersionInfo"""
1833 return _IMP_npctransport.FGChain_get_version_info(self)
1834 __swig_destroy__ = _IMP_npctransport.delete_FGChain
1837 r"""__str__(FGChain self) -> std::string"""
1838 return _IMP_npctransport.FGChain___str__(self)
1841 r"""__repr__(FGChain self) -> std::string"""
1842 return _IMP_npctransport.FGChain___repr__(self)
1846 return _object_cast_to_FGChain(o)
1850 _IMP_npctransport.FGChain_swigregister(FGChain)
1853 r"""create_fg_chain(SimulationData sd, Hierarchy parent, ::npctransport_proto::Assignment_FGAssignment const & fg_data, Color c) -> FGChain"""
1854 return _IMP_npctransport.create_fg_chain(sd, parent, fg_data, c)
1858 get_fg_chain(Hierarchy root) -> FGChain
1859 get_fg_chain(Particle p_root) -> FGChain
1861 return _IMP_npctransport.get_fg_chain(*args)
1863 r"""Proxy of C++ IMP::npctransport::Scoring class."""
1865 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1867 def __init__(self, owner_sd, data):
1868 r"""__init__(Scoring self, SimulationData owner_sd, ::npctransport_proto::Assignment const & data) -> Scoring"""
1869 _IMP_npctransport.Scoring_swiginit(self, _IMP_npctransport.new_Scoring(owner_sd, data))
1871 def get_scoring_function(self, force_update=False):
1872 r"""get_scoring_function(Scoring self, bool force_update=False) -> ScoringFunction"""
1873 return _IMP_npctransport.Scoring_get_scoring_function(self, force_update)
1875 def get_scoring_function_restraints(self, force_update=False):
1876 r"""get_scoring_function_restraints(Scoring self, bool force_update=False) -> IMP::Restraints"""
1877 return _IMP_npctransport.Scoring_get_scoring_function_restraints(self, force_update)
1879 def get_custom_scoring_function(self, *args):
1881 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
1882 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
1884 return _IMP_npctransport.Scoring_get_custom_scoring_function(self, *args)
1886 def get_close_beads_container(self, update=False):
1887 r"""get_close_beads_container(Scoring self, bool update=False) -> PairContainer"""
1888 return _IMP_npctransport.Scoring_get_close_beads_container(self, update)
1890 def get_predicates_pair_restraint(self, update=False):
1891 r"""get_predicates_pair_restraint(Scoring self, bool update=False) -> PredicatePairsRestraint"""
1892 return _IMP_npctransport.Scoring_get_predicates_pair_restraint(self, update)
1894 def get_bounding_volume_restraint(self, update=False):
1895 r"""get_bounding_volume_restraint(Scoring self, bool update=False) -> Restraint"""
1896 return _IMP_npctransport.Scoring_get_bounding_volume_restraint(self, update)
1898 def get_slab_restraint(self, update=False):
1899 r"""get_slab_restraint(Scoring self, bool update=False) -> Restraint"""
1900 return _IMP_npctransport.Scoring_get_slab_restraint(self, update)
1902 def add_interaction(self, idata):
1903 r"""add_interaction(Scoring self, ::npctransport_proto::Assignment_InteractionAssignment const & idata)"""
1904 return _IMP_npctransport.Scoring_add_interaction(self, idata)
1906 def create_close_beads_container(self, *args):
1908 create_close_beads_container(Scoring self, _SingletonContainerAdaptor non_optimiziable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1909 create_close_beads_container(Scoring self, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1911 return _IMP_npctransport.Scoring_create_close_beads_container(self, *args)
1913 def create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on=True):
1914 r"""create_predicates_pair_restraint(Scoring self, PairContainer bead_pairs, bool is_attr_interactions_on=True) -> PredicatePairsRestraint"""
1915 return _IMP_npctransport.Scoring_create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on)
1917 def create_bounding_volume_restraint(self, beads):
1918 r"""create_bounding_volume_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
1919 return _IMP_npctransport.Scoring_create_bounding_volume_restraint(self, beads)
1921 def create_slab_restraint(self, beads):
1922 r"""create_slab_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
1923 return _IMP_npctransport.Scoring_create_slab_restraint(self, beads)
1925 def get_model(self):
1926 r"""get_model(Scoring self) -> Model"""
1927 return _IMP_npctransport.Scoring_get_model(self)
1930 r"""get_sd(Scoring self) -> SimulationData"""
1931 return _IMP_npctransport.Scoring_get_sd(self)
1933 def get_has_bounding_box(self):
1934 r"""get_has_bounding_box(Scoring self) -> bool"""
1935 return _IMP_npctransport.Scoring_get_has_bounding_box(self)
1937 def get_has_bounding_sphere(self):
1938 r"""get_has_bounding_sphere(Scoring self) -> bool"""
1939 return _IMP_npctransport.Scoring_get_has_bounding_sphere(self)
1941 def get_has_bounding_volume(self):
1942 r"""get_has_bounding_volume(Scoring self) -> bool"""
1943 return _IMP_npctransport.Scoring_get_has_bounding_volume(self)
1945 def get_default_backbone_k(self):
1946 r"""get_default_backbone_k(Scoring self) -> double"""
1947 return _IMP_npctransport.Scoring_get_default_backbone_k(self)
1949 def get_is_backbone_harmonic(self):
1950 r"""get_is_backbone_harmonic(Scoring self) -> bool"""
1951 return _IMP_npctransport.Scoring_get_is_backbone_harmonic(self)
1953 def get_excluded_volume_k(self):
1954 r"""get_excluded_volume_k(Scoring self) -> double"""
1955 return _IMP_npctransport.Scoring_get_excluded_volume_k(self)
1957 def get_interaction_k(self):
1958 r"""get_interaction_k(Scoring self) -> double"""
1959 return _IMP_npctransport.Scoring_get_interaction_k(self)
1961 def get_predicate_pair_score(self, *args):
1963 get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
1964 get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
1966 return _IMP_npctransport.Scoring_get_predicate_pair_score(self, *args)
1968 def get_interaction_range_for(self, t1, t2, site_specific=True, non_specific=False):
1969 r"""get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2, bool site_specific=True, bool non_specific=False) -> double"""
1970 return _IMP_npctransport.Scoring_get_interaction_range_for(self, t1, t2, site_specific, non_specific)
1972 def get_ordered_type_pair_predicate(self):
1973 r"""get_ordered_type_pair_predicate(Scoring self) -> OrderedTypePairPredicate"""
1974 return _IMP_npctransport.Scoring_get_ordered_type_pair_predicate(self)
1976 def add_chain_restraints(self, chain):
1977 r"""add_chain_restraints(Scoring self, FGChain chain)"""
1978 return _IMP_npctransport.Scoring_add_chain_restraints(self, chain)
1980 def get_chain_restraints_on(self, beads):
1981 r"""get_chain_restraints_on(Scoring self, _SingletonContainerAdaptor beads) -> IMP::Restraints"""
1982 return _IMP_npctransport.Scoring_get_chain_restraints_on(self, beads)
1984 def get_all_chain_restraints(self):
1985 r"""get_all_chain_restraints(Scoring self) -> IMP::Restraints"""
1986 return _IMP_npctransport.Scoring_get_all_chain_restraints(self)
1988 def remove_particle_type(self, pt):
1989 r"""remove_particle_type(Scoring self, ParticleType pt)"""
1990 return _IMP_npctransport.Scoring_remove_particle_type(self, pt)
1992 def add_z_bias_restraint(self, *args):
1994 add_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k, double z)
1995 add_z_bias_restraint(Scoring self, Particle p, double k, double z)
1997 return _IMP_npctransport.Scoring_add_z_bias_restraint(self, *args)
1999 def get_z_bias_restraints(self):
2000 r"""get_z_bias_restraints(Scoring self) -> IMP::Restraints"""
2001 return _IMP_npctransport.Scoring_get_z_bias_restraints(self)
2003 def create_z_bias_restraint(self, ps, k, z):
2004 r"""create_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k, double z) -> Restraint"""
2005 return _IMP_npctransport.Scoring_create_z_bias_restraint(self, ps, k, z)
2007 def add_custom_restraint(self, r):
2008 r"""add_custom_restraint(Scoring self, Restraint r)"""
2009 return _IMP_npctransport.Scoring_add_custom_restraint(self, r)
2011 def add_custom_restraints(self, R):
2012 r"""add_custom_restraints(Scoring self, IMP::Restraints R)"""
2013 return _IMP_npctransport.Scoring_add_custom_restraints(self, R)
2015 def clear_custom_restraints(self):
2016 r"""clear_custom_restraints(Scoring self)"""
2017 return _IMP_npctransport.Scoring_clear_custom_restraints(self)
2019 def get_custom_restraints(self):
2020 r"""get_custom_restraints(Scoring self) -> IMP::Restraints"""
2021 return _IMP_npctransport.Scoring_get_custom_restraints(self)
2023 def add_restrained_anchor_bead(self, p):
2024 r"""add_restrained_anchor_bead(Scoring self, Particle p)"""
2025 return _IMP_npctransport.Scoring_add_restrained_anchor_bead(self, p)
2027 def get_pore_radius_restraint(self):
2028 r"""get_pore_radius_restraint(Scoring self) -> Restraint"""
2029 return _IMP_npctransport.Scoring_get_pore_radius_restraint(self)
2031 def get_range(self):
2032 r"""get_range(Scoring self) -> double"""
2033 return _IMP_npctransport.Scoring_get_range(self)
2035 def set_interaction_range_factor(self, type, value):
2036 r"""set_interaction_range_factor(Scoring self, ParticleType type, double value)"""
2037 return _IMP_npctransport.Scoring_set_interaction_range_factor(self, type, value)
2039 def set_interaction_k_factor(self, type, value):
2040 r"""set_interaction_k_factor(Scoring self, ParticleType type, double value)"""
2041 return _IMP_npctransport.Scoring_set_interaction_k_factor(self, type, value)
2043 def get_version_info(self):
2044 r"""get_version_info(Scoring self) -> VersionInfo"""
2045 return _IMP_npctransport.Scoring_get_version_info(self)
2046 __swig_destroy__ = _IMP_npctransport.delete_Scoring
2049 r"""__str__(Scoring self) -> std::string"""
2050 return _IMP_npctransport.Scoring___str__(self)
2053 r"""__repr__(Scoring self) -> std::string"""
2054 return _IMP_npctransport.Scoring___repr__(self)
2058 return _object_cast_to_Scoring(o)
2062 _IMP_npctransport.Scoring_swigregister(Scoring)
2063 class SimpleTimer(object):
2064 r"""Proxy of C++ IMP::internal::SimpleTimer class."""
2066 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2067 __repr__ = _swig_repr
2070 r"""__init__(SimpleTimer self) -> SimpleTimer"""
2071 _IMP_npctransport.SimpleTimer_swiginit(self, _IMP_npctransport.new_SimpleTimer())
2072 __swig_destroy__ = _IMP_npctransport.delete_SimpleTimer
2075 _IMP_npctransport.SimpleTimer_swigregister(SimpleTimer)
2077 r"""Proxy of C++ IMP::npctransport::Statistics class."""
2079 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2081 def remove_particle_type(self, pt):
2082 r"""remove_particle_type(Statistics self, ParticleType pt)"""
2083 return _IMP_npctransport.Statistics_remove_particle_type(self, pt)
2085 def __init__(self, sd, statistics_interval_frames, output_file_name):
2086 r"""__init__(Statistics self, SimulationData sd, unsigned int statistics_interval_frames, std::string output_file_name) -> Statistics"""
2087 _IMP_npctransport.Statistics_swiginit(self, _IMP_npctransport.new_Statistics(sd, statistics_interval_frames, output_file_name))
2089 def add_fg_chain_stats(self, fg_chain):
2090 r"""add_fg_chain_stats(Statistics self, FGChain fg_chain)"""
2091 return _IMP_npctransport.Statistics_add_fg_chain_stats(self, fg_chain)
2093 def add_floater_stats(self, p):
2094 r"""add_floater_stats(Statistics self, Particle p)"""
2095 return _IMP_npctransport.Statistics_add_floater_stats(self, p)
2097 def add_interaction_stats(self, type0, type1):
2098 r"""add_interaction_stats(Statistics self, ParticleType type0, ParticleType type1)"""
2099 return _IMP_npctransport.Statistics_add_interaction_stats(self, type0, type1)
2101 def add_optimizer_states(self, o=None):
2102 r"""add_optimizer_states(Statistics self, Optimizer o=None) -> IMP::OptimizerStates"""
2103 return _IMP_npctransport.Statistics_add_optimizer_states(self, o)
2105 def update_particle_type_zr_distribution_map(self, p):
2106 r"""update_particle_type_zr_distribution_map(Statistics self, Particle p)"""
2107 return _IMP_npctransport.Statistics_update_particle_type_zr_distribution_map(self, p)
2109 def update_particle_type_xyz_distribution_map(self, p):
2110 r"""update_particle_type_xyz_distribution_map(Statistics self, Particle p)"""
2111 return _IMP_npctransport.Statistics_update_particle_type_xyz_distribution_map(self, p)
2113 def update(self, timer, nf_new=1, force_full_output=False):
2114 r"""update(Statistics self, SimpleTimer timer, unsigned int nf_new=1, bool force_full_output=False)"""
2115 return _IMP_npctransport.Statistics_update(self, timer, nf_new, force_full_output)
2117 def reset_statistics_optimizer_states(self):
2118 r"""reset_statistics_optimizer_states(Statistics self)"""
2119 return _IMP_npctransport.Statistics_reset_statistics_optimizer_states(self)
2121 def set_interrupted(self, tf):
2122 r"""set_interrupted(Statistics self, bool tf)"""
2123 return _IMP_npctransport.Statistics_set_interrupted(self, tf)
2125 def get_model(self):
2126 r"""get_model(Statistics self) -> Model"""
2127 return _IMP_npctransport.Statistics_get_model(self)
2130 r"""get_sd(Statistics self) -> SimulationData"""
2131 return _IMP_npctransport.Statistics_get_sd(self)
2133 def get_is_activated(self):
2134 r"""get_is_activated(Statistics self) -> bool"""
2135 return _IMP_npctransport.Statistics_get_is_activated(self)
2137 def get_output_file_name(self):
2138 r"""get_output_file_name(Statistics self) -> std::string"""
2139 return _IMP_npctransport.Statistics_get_output_file_name(self)
2141 def get_version_info(self):
2142 r"""get_version_info(Statistics self) -> VersionInfo"""
2143 return _IMP_npctransport.Statistics_get_version_info(self)
2144 __swig_destroy__ = _IMP_npctransport.delete_Statistics
2147 r"""__str__(Statistics self) -> std::string"""
2148 return _IMP_npctransport.Statistics___str__(self)
2151 r"""__repr__(Statistics self) -> std::string"""
2152 return _IMP_npctransport.Statistics___repr__(self)
2156 return _object_cast_to_Statistics(o)
2160 _IMP_npctransport.Statistics_swigregister(Statistics)
2162 def create_boost_timer():
2163 r"""create_boost_timer() -> SimpleTimer"""
2164 return _IMP_npctransport.create_boost_timer()
2165 IMPNPCTRANSPORT_VERSION = _IMP_npctransport.IMPNPCTRANSPORT_VERSION
2168 r"""Proxy of C++ IMP::npctransport::SimulationData class."""
2170 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2172 def get_output_npctransport_version(self):
2173 r"""get_output_npctransport_version(SimulationData self) -> double"""
2174 return _IMP_npctransport.SimulationData_get_output_npctransport_version(self)
2176 def get_range(self):
2177 r"""get_range(SimulationData self) -> double"""
2178 return _IMP_npctransport.SimulationData_get_range(self)
2180 def get_output_statistics_interval_frames(self):
2181 r"""get_output_statistics_interval_frames(SimulationData self) -> int"""
2182 return _IMP_npctransport.SimulationData_get_output_statistics_interval_frames(self)
2184 def get_full_output_statistics_interval_factor(self):
2185 r"""get_full_output_statistics_interval_factor(SimulationData self) -> int"""
2186 return _IMP_npctransport.SimulationData_get_full_output_statistics_interval_factor(self)
2188 def get_is_multiple_hdf5s(self):
2189 r"""get_is_multiple_hdf5s(SimulationData self) -> bool"""
2190 return _IMP_npctransport.SimulationData_get_is_multiple_hdf5s(self)
2192 def get_is_exclude_floaters_from_slab_initially(self):
2193 r"""get_is_exclude_floaters_from_slab_initially(SimulationData self) -> bool"""
2194 return _IMP_npctransport.SimulationData_get_is_exclude_floaters_from_slab_initially(self)
2196 def get_are_floaters_on_one_slab_side(self):
2197 r"""get_are_floaters_on_one_slab_side(SimulationData self) -> bool"""
2198 return _IMP_npctransport.SimulationData_get_are_floaters_on_one_slab_side(self)
2200 def get_is_xyz_hist_stats(self):
2201 r"""get_is_xyz_hist_stats(SimulationData self) -> bool"""
2202 return _IMP_npctransport.SimulationData_get_is_xyz_hist_stats(self)
2204 def get_xyz_stats_crop_factor(self):
2205 r"""get_xyz_stats_crop_factor(SimulationData self) -> double"""
2206 return _IMP_npctransport.SimulationData_get_xyz_stats_crop_factor(self)
2208 def get_xyz_stats_voxel_size_A(self):
2209 r"""get_xyz_stats_voxel_size_A(SimulationData self) -> double"""
2210 return _IMP_npctransport.SimulationData_get_xyz_stats_voxel_size_A(self)
2212 def get_xyz_stats_max_box_size_A(self):
2213 r"""get_xyz_stats_max_box_size_A(SimulationData self) -> double"""
2214 return _IMP_npctransport.SimulationData_get_xyz_stats_max_box_size_A(self)
2216 def get_angular_d_factor(self):
2217 r"""get_angular_d_factor(SimulationData self) -> double"""
2218 return _IMP_npctransport.SimulationData_get_angular_d_factor(self)
2220 def __init__(self, *args):
2221 r"""__init__(SimulationData self, std::string prev_output_file, bool quick, std::string rmf_file_name=std::string(), std::string new_output_file="") -> SimulationData"""
2222 _IMP_npctransport.SimulationData_swiginit(self, _IMP_npctransport.new_SimulationData(*args))
2224 def get_model(self):
2225 r"""get_model(SimulationData self) -> Model"""
2226 return _IMP_npctransport.SimulationData_get_model(self)
2228 def get_scoring(self):
2229 r"""get_scoring(SimulationData self) -> Scoring"""
2230 return _IMP_npctransport.SimulationData_get_scoring(self)
2232 def get_statistics(self):
2233 r"""get_statistics(SimulationData self) -> Statistics"""
2234 return _IMP_npctransport.SimulationData_get_statistics(self)
2236 def get_bd(self, recreate=False):
2237 r"""get_bd(SimulationData self, bool recreate=False) -> BrownianDynamics"""
2238 return _IMP_npctransport.SimulationData_get_bd(self, recreate)
2240 def activate_statistics(self):
2241 r"""activate_statistics(SimulationData self)"""
2242 return _IMP_npctransport.SimulationData_activate_statistics(self)
2244 def get_statistics_fraction(self):
2245 r"""get_statistics_fraction(SimulationData self) -> double"""
2246 return _IMP_npctransport.SimulationData_get_statistics_fraction(self)
2248 def get_is_fg_bead(self, *args):
2250 get_is_fg_bead(SimulationData self, ParticleIndex pi) -> bool
2251 get_is_fg_bead(SimulationData self, ParticleType pt) -> bool
2253 return _IMP_npctransport.SimulationData_get_is_fg_bead(self, *args)
2255 def get_is_fg_chain(self, *args):
2257 get_is_fg_chain(SimulationData self, ParticleIndex pi) -> bool
2258 get_is_fg_chain(SimulationData self, ParticleType pt) -> bool
2260 return _IMP_npctransport.SimulationData_get_is_fg_chain(self, *args)
2262 def get_fg_bead_types(self):
2263 r"""get_fg_bead_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2264 return _IMP_npctransport.SimulationData_get_fg_bead_types(self)
2266 def get_fg_chain_types(self):
2267 r"""get_fg_chain_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2268 return _IMP_npctransport.SimulationData_get_fg_chain_types(self)
2270 def get_floater_types(self):
2271 r"""get_floater_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2272 return _IMP_npctransport.SimulationData_get_floater_types(self)
2274 def get_obstacle_types(self):
2275 r"""get_obstacle_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2276 return _IMP_npctransport.SimulationData_get_obstacle_types(self)
2278 def get_fg_chain_roots(self):
2279 r"""get_fg_chain_roots(SimulationData self) -> IMP::atom::Hierarchies"""
2280 return _IMP_npctransport.SimulationData_get_fg_chain_roots(self)
2282 def get_fg_chains(self):
2283 r"""get_fg_chains(SimulationData self) -> IMP::atom::Hierarchies"""
2284 return _IMP_npctransport.SimulationData_get_fg_chains(self)
2286 def get_obstacle_particles(self):
2287 r"""get_obstacle_particles(SimulationData self) -> IMP::ParticlesTemp"""
2288 return _IMP_npctransport.SimulationData_get_obstacle_particles(self)
2290 def get_beads(self):
2291 r"""get_beads(SimulationData self) -> IMP::ParticlesTemp"""
2292 return _IMP_npctransport.SimulationData_get_beads(self)
2294 def get_optimizable_beads(self):
2295 r"""get_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2296 return _IMP_npctransport.SimulationData_get_optimizable_beads(self)
2298 def get_non_optimizable_beads(self):
2299 r"""get_non_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2300 return _IMP_npctransport.SimulationData_get_non_optimizable_beads(self)
2302 def get_is_backbone_harmonic(self):
2303 r"""get_is_backbone_harmonic(SimulationData self) -> bool"""
2304 return _IMP_npctransport.SimulationData_get_is_backbone_harmonic(self)
2306 def get_backbone_tau_ns(self):
2307 r"""get_backbone_tau_ns(SimulationData self) -> double"""
2308 return _IMP_npctransport.SimulationData_get_backbone_tau_ns(self)
2310 def get_temperature_k(self):
2311 r"""get_temperature_k(SimulationData self) -> double"""
2312 return _IMP_npctransport.SimulationData_get_temperature_k(self)
2314 def get_initial_simulation_time_ns(self):
2315 r"""get_initial_simulation_time_ns(SimulationData self) -> double"""
2316 return _IMP_npctransport.SimulationData_get_initial_simulation_time_ns(self)
2318 def get_site_centers(self, t0):
2319 r"""get_site_centers(SimulationData self, ParticleType t0) -> IMP::algebra::Vector3Ds"""
2320 return _IMP_npctransport.SimulationData_get_site_centers(self, t0)
2322 def get_sites(self, t0):
2323 r"""get_sites(SimulationData self, ParticleType t0) -> IMP::algebra::Sphere3Ds"""
2324 return _IMP_npctransport.SimulationData_get_sites(self, t0)
2326 def set_sites(self, *args):
2328 set_sites(SimulationData self, ParticleType t0, int n, double r, double sr)
2329 set_sites(SimulationData self, ParticleType t0, IMP::algebra::Sphere3Ds const & sites)
2331 return _IMP_npctransport.SimulationData_set_sites(self, *args)
2333 def get_site_display_radius(self, arg2):
2334 r"""get_site_display_radius(SimulationData self, ParticleType arg2) -> double"""
2335 return _IMP_npctransport.SimulationData_get_site_display_radius(self, arg2)
2337 def get_maximum_number_of_minutes(self):
2338 r"""get_maximum_number_of_minutes(SimulationData self) -> double"""
2339 return _IMP_npctransport.SimulationData_get_maximum_number_of_minutes(self)
2341 def remove_particle_type(self, pt):
2342 r"""remove_particle_type(SimulationData self, ParticleType pt)"""
2343 return _IMP_npctransport.SimulationData_remove_particle_type(self, pt)
2345 def remove_fgs_with_prefix(self, s_fg_type):
2346 r"""remove_fgs_with_prefix(SimulationData self, std::string s_fg_type)"""
2347 return _IMP_npctransport.SimulationData_remove_fgs_with_prefix(self, s_fg_type)
2349 def get_bounding_box(self):
2350 r"""get_bounding_box(SimulationData self) -> BoundingBox3D"""
2351 return _IMP_npctransport.SimulationData_get_bounding_box(self)
2353 def get_bounding_sphere(self):
2354 r"""get_bounding_sphere(SimulationData self) -> Sphere3D"""
2355 return _IMP_npctransport.SimulationData_get_bounding_sphere(self)
2357 def get_bounding_box_size(self):
2358 r"""get_bounding_box_size(SimulationData self) -> double"""
2359 return _IMP_npctransport.SimulationData_get_bounding_box_size(self)
2361 def set_bounding_box_size(self, box_size):
2362 r"""set_bounding_box_size(SimulationData self, double box_size)"""
2363 return _IMP_npctransport.SimulationData_set_bounding_box_size(self, box_size)
2365 def get_bounding_sphere_radius(self):
2366 r"""get_bounding_sphere_radius(SimulationData self) -> double"""
2367 return _IMP_npctransport.SimulationData_get_bounding_sphere_radius(self)
2369 def set_bounding_sphere_radius(self, sphere_radius):
2370 r"""set_bounding_sphere_radius(SimulationData self, double sphere_radius)"""
2371 return _IMP_npctransport.SimulationData_set_bounding_sphere_radius(self, sphere_radius)
2373 def get_bounding_volume(self):
2374 r"""get_bounding_volume(SimulationData self) -> double"""
2375 return _IMP_npctransport.SimulationData_get_bounding_volume(self)
2377 def set_bounding_volume(self, volume_A3):
2378 r"""set_bounding_volume(SimulationData self, double volume_A3)"""
2379 return _IMP_npctransport.SimulationData_set_bounding_volume(self, volume_A3)
2381 def get_has_slab(self):
2382 r"""get_has_slab(SimulationData self) -> bool"""
2383 return _IMP_npctransport.SimulationData_get_has_slab(self)
2385 def get_is_slab_with_cylindrical_pore(self):
2386 r"""get_is_slab_with_cylindrical_pore(SimulationData self) -> bool"""
2387 return _IMP_npctransport.SimulationData_get_is_slab_with_cylindrical_pore(self)
2389 def get_is_slab_with_toroidal_pore(self):
2390 r"""get_is_slab_with_toroidal_pore(SimulationData self) -> bool"""
2391 return _IMP_npctransport.SimulationData_get_is_slab_with_toroidal_pore(self)
2393 def get_slab_particle(self):
2394 r"""get_slab_particle(SimulationData self) -> Particle"""
2395 return _IMP_npctransport.SimulationData_get_slab_particle(self)
2397 def get_cylinder(self):
2398 r"""get_cylinder(SimulationData self) -> Cylinder3D"""
2399 return _IMP_npctransport.SimulationData_get_cylinder(self)
2401 def get_has_bounding_box(self):
2402 r"""get_has_bounding_box(SimulationData self) -> bool"""
2403 return _IMP_npctransport.SimulationData_get_has_bounding_box(self)
2405 def get_has_bounding_sphere(self):
2406 r"""get_has_bounding_sphere(SimulationData self) -> bool"""
2407 return _IMP_npctransport.SimulationData_get_has_bounding_sphere(self)
2409 def get_has_bounding_volume(self):
2410 r"""get_has_bounding_volume(SimulationData self) -> bool"""
2411 return _IMP_npctransport.SimulationData_get_has_bounding_volume(self)
2413 def initialize_positions_from_rmf(self, fh, frame_number=-1):
2414 r"""initialize_positions_from_rmf(SimulationData self, FileConstHandle fh, int frame_number=-1)"""
2415 return _IMP_npctransport.SimulationData_initialize_positions_from_rmf(self, fh, frame_number)
2417 def link_rmf_file_handle(self, fh, is_restraints=True):
2418 r"""link_rmf_file_handle(SimulationData self, FileHandle fh, bool is_restraints=True)"""
2419 return _IMP_npctransport.SimulationData_link_rmf_file_handle(self, fh, is_restraints)
2421 def get_rmf_sos_writer(self):
2422 r"""get_rmf_sos_writer(SimulationData self) -> SaveOptimizerState"""
2423 return _IMP_npctransport.SimulationData_get_rmf_sos_writer(self)
2425 def reset_rmf(self):
2426 r"""reset_rmf(SimulationData self)"""
2427 return _IMP_npctransport.SimulationData_reset_rmf(self)
2429 def switch_suspend_rmf(self, suspend):
2430 r"""switch_suspend_rmf(SimulationData self, bool suspend)"""
2431 return _IMP_npctransport.SimulationData_switch_suspend_rmf(self, suspend)
2433 def write_geometry(self, out):
2434 r"""write_geometry(SimulationData self, std::string out)"""
2435 return _IMP_npctransport.SimulationData_write_geometry(self, out)
2437 def dump_geometry(self):
2438 r"""dump_geometry(SimulationData self)"""
2439 return _IMP_npctransport.SimulationData_dump_geometry(self)
2441 def get_root_of_type(self, type):
2442 r"""get_root_of_type(SimulationData self, ParticleType type) -> Hierarchy"""
2443 return _IMP_npctransport.SimulationData_get_root_of_type(self, type)
2446 r"""get_number_of_frames(SimulationData self) -> unsigned int"""
2447 return _IMP_npctransport.SimulationData_get_number_of_frames(self)
2449 def get_number_of_trials(self):
2450 r"""get_number_of_trials(SimulationData self) -> unsigned int"""
2451 return _IMP_npctransport.SimulationData_get_number_of_trials(self)
2454 r"""get_root(SimulationData self) -> Hierarchy"""
2455 return _IMP_npctransport.SimulationData_get_root(self)
2457 def get_slab_thickness(self):
2458 r"""get_slab_thickness(SimulationData self) -> double"""
2459 return _IMP_npctransport.SimulationData_get_slab_thickness(self)
2461 def get_tunnel_radius(self):
2462 r"""get_tunnel_radius(SimulationData self) -> double"""
2463 return _IMP_npctransport.SimulationData_get_tunnel_radius(self)
2465 def get_pore_radius(self):
2466 r"""get_pore_radius(SimulationData self) -> double"""
2467 return _IMP_npctransport.SimulationData_get_pore_radius(self)
2469 def get_tunnel_radius_k(self):
2470 r"""get_tunnel_radius_k(SimulationData self) -> double"""
2471 return _IMP_npctransport.SimulationData_get_tunnel_radius_k(self)
2473 def get_pore_radius_k(self):
2474 r"""get_pore_radius_k(SimulationData self) -> double"""
2475 return _IMP_npctransport.SimulationData_get_pore_radius_k(self)
2477 def get_is_pore_radius_dynamic(self):
2478 r"""get_is_pore_radius_dynamic(SimulationData self) -> bool"""
2479 return _IMP_npctransport.SimulationData_get_is_pore_radius_dynamic(self)
2481 def get_pore_anchored_beads_k(self):
2482 r"""get_pore_anchored_beads_k(SimulationData self) -> double"""
2483 return _IMP_npctransport.SimulationData_get_pore_anchored_beads_k(self)
2485 def get_static_geometry(self):
2486 r"""get_static_geometry(SimulationData self) -> Geometry"""
2487 return _IMP_npctransport.SimulationData_get_static_geometry(self)
2489 def get_rmf_dump_interval_frames(self):
2490 r"""get_rmf_dump_interval_frames(SimulationData self) -> int"""
2491 return _IMP_npctransport.SimulationData_get_rmf_dump_interval_frames(self)
2493 def get_rmf_file_name(self):
2494 r"""get_rmf_file_name(SimulationData self) -> std::string"""
2495 return _IMP_npctransport.SimulationData_get_rmf_file_name(self)
2497 def set_rmf_file(self, new_name, is_save_restraints_to_rmf=True, is_force_restart=False):
2498 r"""set_rmf_file(SimulationData self, std::string const & new_name, bool is_save_restraints_to_rmf=True, bool is_force_restart=False)"""
2499 return _IMP_npctransport.SimulationData_set_rmf_file(self, new_name, is_save_restraints_to_rmf, is_force_restart)
2501 def get_version_info(self):
2502 r"""get_version_info(SimulationData self) -> VersionInfo"""
2503 return _IMP_npctransport.SimulationData_get_version_info(self)
2504 __swig_destroy__ = _IMP_npctransport.delete_SimulationData
2507 r"""__str__(SimulationData self) -> std::string"""
2508 return _IMP_npctransport.SimulationData___str__(self)
2511 r"""__repr__(SimulationData self) -> std::string"""
2512 return _IMP_npctransport.SimulationData___repr__(self)
2516 return _object_cast_to_SimulationData(o)
2520 _IMP_npctransport.SimulationData_swigregister(SimulationData)
2522 def get_simulation_data_key():
2523 r"""get_simulation_data_key() -> IMP::WeakObjectKey"""
2524 return _IMP_npctransport.get_simulation_data_key()
2526 def write_geometry(kaps, kap_sites, chains, chain_sites, rs, out):
2527 r"""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)"""
2528 return _IMP_npctransport.write_geometry(kaps, kap_sites, chains, chain_sites, rs, out)
2530 r"""Proxy of C++ IMP::npctransport::ParticleFactory class."""
2532 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2533 sd_ = property(_IMP_npctransport.ParticleFactory_sd__get, _IMP_npctransport.ParticleFactory_sd__set, doc=
r"""sd_ : IMP::WeakPointer<(IMP::npctransport::SimulationData)>""")
2534 radius_ = property(_IMP_npctransport.ParticleFactory_radius__get, _IMP_npctransport.ParticleFactory_radius__set, doc=
r"""radius_ : double""")
2535 D_factor_ = property(_IMP_npctransport.ParticleFactory_D_factor__get, _IMP_npctransport.ParticleFactory_D_factor__set, doc=
r"""D_factor_ : double""")
2536 angular_D_factor_ = property(_IMP_npctransport.ParticleFactory_angular_D_factor__get, _IMP_npctransport.ParticleFactory_angular_D_factor__set, doc=
r"""angular_D_factor_ : double""")
2537 color_ = property(_IMP_npctransport.ParticleFactory_color__get, _IMP_npctransport.ParticleFactory_color__set, doc=
r"""color_ : IMP::display::Color""")
2538 type_ = property(_IMP_npctransport.ParticleFactory_type__get, _IMP_npctransport.ParticleFactory_type__set, doc=
r"""type_ : IMP::core::ParticleType""")
2540 def __init__(self, *args):
2541 r"""__init__(ParticleFactory self, SimulationData sd, double radius, double D_factor, double angular_D_factor, Color color, ParticleType type, std::string name="Particle factory %1%") -> ParticleFactory"""
2542 _IMP_npctransport.ParticleFactory_swiginit(self, _IMP_npctransport.new_ParticleFactory(*args))
2544 def create(self, *args):
2545 r"""create(ParticleFactory self, std::string name="") -> Particle"""
2546 return _IMP_npctransport.ParticleFactory_create(self, *args)
2548 def get_model(self):
2549 r"""get_model(ParticleFactory self) -> Model"""
2550 return _IMP_npctransport.ParticleFactory_get_model(self)
2552 def get_simulation_data(self):
2553 r"""get_simulation_data(ParticleFactory self) -> SimulationData"""
2554 return _IMP_npctransport.ParticleFactory_get_simulation_data(self)
2556 def get_radius(self):
2557 r"""get_radius(ParticleFactory self) -> double"""
2558 return _IMP_npctransport.ParticleFactory_get_radius(self)
2560 def get_version_info(self):
2561 r"""get_version_info(ParticleFactory self) -> VersionInfo"""
2562 return _IMP_npctransport.ParticleFactory_get_version_info(self)
2563 __swig_destroy__ = _IMP_npctransport.delete_ParticleFactory
2566 r"""__str__(ParticleFactory self) -> std::string"""
2567 return _IMP_npctransport.ParticleFactory___str__(self)
2570 r"""__repr__(ParticleFactory self) -> std::string"""
2571 return _IMP_npctransport.ParticleFactory___repr__(self)
2575 return _object_cast_to_ParticleFactory(o)
2579 _IMP_npctransport.ParticleFactory_swigregister(ParticleFactory)
2581 r"""Proxy of C++ IMP::npctransport::HierarchyWithSitesLoadLink class."""
2583 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2585 def __init__(self, fh):
2586 r"""__init__(HierarchyWithSitesLoadLink self, FileConstHandle fh) -> HierarchyWithSitesLoadLink"""
2587 _IMP_npctransport.HierarchyWithSitesLoadLink_swiginit(self, _IMP_npctransport.new_HierarchyWithSitesLoadLink(fh))
2591 r"""get_name() -> char const *"""
2592 return _IMP_npctransport.HierarchyWithSitesLoadLink_get_name()
2595 r"""__str__(HierarchyWithSitesLoadLink self) -> std::string"""
2596 return _IMP_npctransport.HierarchyWithSitesLoadLink___str__(self)
2599 r"""__repr__(HierarchyWithSitesLoadLink self) -> std::string"""
2600 return _IMP_npctransport.HierarchyWithSitesLoadLink___repr__(self)
2604 return _object_cast_to_HierarchyWithSitesLoadLink(o)
2606 __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesLoadLink
2609 _IMP_npctransport.HierarchyWithSitesLoadLink_swigregister(HierarchyWithSitesLoadLink)
2611 r"""Proxy of C++ IMP::npctransport::HierarchyWithSitesSaveLink class."""
2613 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2615 def __init__(self, fh):
2616 r"""__init__(HierarchyWithSitesSaveLink self, FileHandle fh) -> HierarchyWithSitesSaveLink"""
2617 _IMP_npctransport.HierarchyWithSitesSaveLink_swiginit(self, _IMP_npctransport.new_HierarchyWithSitesSaveLink(fh))
2621 r"""get_name() -> char const *"""
2622 return _IMP_npctransport.HierarchyWithSitesSaveLink_get_name()
2625 r"""__str__(HierarchyWithSitesSaveLink self) -> std::string"""
2626 return _IMP_npctransport.HierarchyWithSitesSaveLink___str__(self)
2629 r"""__repr__(HierarchyWithSitesSaveLink self) -> std::string"""
2630 return _IMP_npctransport.HierarchyWithSitesSaveLink___repr__(self)
2634 return _object_cast_to_HierarchyWithSitesSaveLink(o)
2636 __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesSaveLink
2639 _IMP_npctransport.HierarchyWithSitesSaveLink_swigregister(HierarchyWithSitesSaveLink)
2643 add_test_sites(FileHandle fh, ParticleType t, double display_radius, IMP::algebra::Vector3Ds sites)
2644 add_test_sites(FileHandle fh, ParticleType t, IMP::algebra::Sphere3Ds sites)
2646 return _IMP_npctransport.add_test_sites(*args)
2650 add_hierarchies_with_sites(FileHandle fh, IMP::atom::Hierarchies const & hs)
2651 add_hierarchies_with_sites(NodeHandle fh, IMP::atom::Hierarchies const & hs)
2653 return _IMP_npctransport.add_hierarchies_with_sites(*args)
2656 r"""add_hierarchy_with_sites(FileHandle fh, Hierarchy hs)"""
2657 return _IMP_npctransport.add_hierarchy_with_sites(fh, hs)
2660 r"""create_hierarchies_with_sites(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
2661 return _IMP_npctransport.create_hierarchies_with_sites(fh, m)
2664 r"""link_hierarchies_with_sites(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
2665 return _IMP_npctransport.link_hierarchies_with_sites(fh, hs)
2667 r"""Proxy of C++ IMP::npctransport::Transporting class."""
2669 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2671 def __init__(self, *args):
2673 __init__(Transporting self) -> Transporting
2674 __init__(Transporting self, Model m, ParticleIndex id) -> Transporting
2675 __init__(Transporting self, _ParticleAdaptor d) -> Transporting
2677 _IMP_npctransport.Transporting_swiginit(self, _IMP_npctransport.new_Transporting(*args))
2679 def show(self, *args):
2680 r"""show(Transporting self, _ostream out=std::cout)"""
2681 return _IMP_npctransport.Transporting_show(self, *args)
2684 def setup_particle(*args):
2686 setup_particle(Model m, ParticleIndex pi, bool is_last_entry_from_top=False) -> Transporting
2687 setup_particle(_ParticleAdaptor pa, bool is_last_entry_from_top=False) -> Transporting
2689 return _IMP_npctransport.Transporting_setup_particle(*args)
2692 def get_is_setup(*args):
2694 get_is_setup(_ParticleAdaptor p) -> bool
2695 get_is_setup(Model m, ParticleIndex pi) -> bool
2697 return _IMP_npctransport.Transporting_get_is_setup(*args)
2699 def set_is_last_entry_from_top(self, is_last_entry_from_top):
2700 r"""set_is_last_entry_from_top(Transporting self, bool is_last_entry_from_top)"""
2701 return _IMP_npctransport.Transporting_set_is_last_entry_from_top(self, is_last_entry_from_top)
2703 def get_is_last_entry_from_top(self):
2704 r"""get_is_last_entry_from_top(Transporting self) -> bool"""
2705 return _IMP_npctransport.Transporting_get_is_last_entry_from_top(self)
2708 def get_is_last_entry_from_top_key():
2709 r"""get_is_last_entry_from_top_key() -> IntKey"""
2710 return _IMP_npctransport.Transporting_get_is_last_entry_from_top_key()
2712 def set_last_tracked_z(self, last_tracked_z):
2713 r"""set_last_tracked_z(Transporting self, double last_tracked_z)"""
2714 return _IMP_npctransport.Transporting_set_last_tracked_z(self, last_tracked_z)
2716 def get_last_tracked_z(self):
2717 r"""get_last_tracked_z(Transporting self) -> double"""
2718 return _IMP_npctransport.Transporting_get_last_tracked_z(self)
2721 def get_last_tracked_z_key():
2722 r"""get_last_tracked_z_key() -> FloatKey"""
2723 return _IMP_npctransport.Transporting_get_last_tracked_z_key()
2725 def set_n_entries_bottom(self, n):
2726 r"""set_n_entries_bottom(Transporting self, int n)"""
2727 return _IMP_npctransport.Transporting_set_n_entries_bottom(self, n)
2729 def get_n_entries_bottom(self):
2730 r"""get_n_entries_bottom(Transporting self) -> int"""
2731 return _IMP_npctransport.Transporting_get_n_entries_bottom(self)
2734 def get_n_entries_bottom_key():
2735 r"""get_n_entries_bottom_key() -> IntKey"""
2736 return _IMP_npctransport.Transporting_get_n_entries_bottom_key()
2738 def set_n_entries_top(self, n):
2739 r"""set_n_entries_top(Transporting self, int n)"""
2740 return _IMP_npctransport.Transporting_set_n_entries_top(self, n)
2742 def get_n_entries_top(self):
2743 r"""get_n_entries_top(Transporting self) -> int"""
2744 return _IMP_npctransport.Transporting_get_n_entries_top(self)
2747 def get_n_entries_top_key():
2748 r"""get_n_entries_top_key() -> IntKey"""
2749 return _IMP_npctransport.Transporting_get_n_entries_top_key()
2751 def add_attribute(self, *args):
2753 add_attribute(Transporting self, FloatKey k, IMP::Float v, bool opt)
2754 add_attribute(Transporting self, FloatKey a0, IMP::Float a1)
2755 add_attribute(Transporting self, IntKey a0, IMP::Int a1)
2756 add_attribute(Transporting self, FloatsKey a0, IMP::Floats a1)
2757 add_attribute(Transporting self, IntsKey a0, IMP::Ints a1)
2758 add_attribute(Transporting self, StringKey a0, IMP::String a1)
2759 add_attribute(Transporting self, ParticleIndexKey a0, Particle a1)
2760 add_attribute(Transporting self, ObjectKey a0, Object a1)
2761 add_attribute(Transporting self, SparseFloatKey a0, IMP::Float a1)
2762 add_attribute(Transporting self, SparseIntKey a0, IMP::Int a1)
2763 add_attribute(Transporting self, SparseStringKey a0, IMP::String a1)
2764 add_attribute(Transporting self, SparseParticleIndexKey a0, ParticleIndex a1)
2766 return _IMP_npctransport.Transporting_add_attribute(self, *args)
2768 def get_value(self, *args):
2770 get_value(Transporting self, FloatKey a0) -> IMP::Float
2771 get_value(Transporting self, IntKey a0) -> IMP::Int
2772 get_value(Transporting self, FloatsKey a0) -> IMP::Floats
2773 get_value(Transporting self, IntsKey a0) -> IMP::Ints
2774 get_value(Transporting self, StringKey a0) -> IMP::String
2775 get_value(Transporting self, ParticleIndexKey a0) -> Particle
2776 get_value(Transporting self, ObjectKey a0) -> Object
2777 get_value(Transporting self, SparseFloatKey a0) -> IMP::Float
2778 get_value(Transporting self, SparseIntKey a0) -> IMP::Int
2779 get_value(Transporting self, SparseStringKey a0) -> IMP::String
2780 get_value(Transporting self, SparseParticleIndexKey a0) -> ParticleIndex
2782 return _IMP_npctransport.Transporting_get_value(self, *args)
2784 def set_value(self, *args):
2786 set_value(Transporting self, FloatKey a0, IMP::Float a1)
2787 set_value(Transporting self, IntKey a0, IMP::Int a1)
2788 set_value(Transporting self, FloatsKey a0, IMP::Floats a1)
2789 set_value(Transporting self, IntsKey a0, IMP::Ints a1)
2790 set_value(Transporting self, StringKey a0, IMP::String a1)
2791 set_value(Transporting self, ParticleIndexKey a0, Particle a1)
2792 set_value(Transporting self, ObjectKey a0, Object a1)
2793 set_value(Transporting self, SparseFloatKey a0, IMP::Float a1)
2794 set_value(Transporting self, SparseIntKey a0, IMP::Int a1)
2795 set_value(Transporting self, SparseStringKey a0, IMP::String a1)
2796 set_value(Transporting self, SparseParticleIndexKey a0, ParticleIndex a1)
2798 return _IMP_npctransport.Transporting_set_value(self, *args)
2800 def remove_attribute(self, *args):
2802 remove_attribute(Transporting self, FloatKey a0)
2803 remove_attribute(Transporting self, IntKey a0)
2804 remove_attribute(Transporting self, FloatsKey a0)
2805 remove_attribute(Transporting self, IntsKey a0)
2806 remove_attribute(Transporting self, StringKey a0)
2807 remove_attribute(Transporting self, ParticleIndexKey a0)
2808 remove_attribute(Transporting self, ObjectKey a0)
2809 remove_attribute(Transporting self, SparseFloatKey a0)
2810 remove_attribute(Transporting self, SparseIntKey a0)
2811 remove_attribute(Transporting self, SparseStringKey a0)
2812 remove_attribute(Transporting self, SparseParticleIndexKey a0)
2814 return _IMP_npctransport.Transporting_remove_attribute(self, *args)
2816 def has_attribute(self, *args):
2818 has_attribute(Transporting self, FloatKey a0) -> bool
2819 has_attribute(Transporting self, IntKey a0) -> bool
2820 has_attribute(Transporting self, FloatsKey a0) -> bool
2821 has_attribute(Transporting self, IntsKey a0) -> bool
2822 has_attribute(Transporting self, StringKey a0) -> bool
2823 has_attribute(Transporting self, ParticleIndexKey a0) -> bool
2824 has_attribute(Transporting self, ObjectKey a0) -> bool
2825 has_attribute(Transporting self, SparseFloatKey a0) -> bool
2826 has_attribute(Transporting self, SparseIntKey a0) -> bool
2827 has_attribute(Transporting self, SparseStringKey a0) -> bool
2828 has_attribute(Transporting self, SparseParticleIndexKey a0) -> bool
2830 return _IMP_npctransport.Transporting_has_attribute(self, *args)
2832 def get_derivative(self, a0):
2833 r"""get_derivative(Transporting self, FloatKey a0) -> double"""
2834 return _IMP_npctransport.Transporting_get_derivative(self, a0)
2837 r"""get_name(Transporting self) -> std::string"""
2838 return _IMP_npctransport.Transporting_get_name(self)
2840 def clear_caches(self):
2841 r"""clear_caches(Transporting self)"""
2842 return _IMP_npctransport.Transporting_clear_caches(self)
2844 def set_name(self, a0):
2845 r"""set_name(Transporting self, std::string a0)"""
2846 return _IMP_npctransport.Transporting_set_name(self, a0)
2849 r"""set_check_level(Transporting self, IMP::CheckLevel a0)"""
2850 return _IMP_npctransport.Transporting_set_check_level(self, a0)
2852 def add_to_derivative(self, a0, a1, a2):
2853 r"""add_to_derivative(Transporting self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2854 return _IMP_npctransport.Transporting_add_to_derivative(self, a0, a1, a2)
2856 def set_is_optimized(self, a0, a1):
2857 r"""set_is_optimized(Transporting self, FloatKey a0, bool a1)"""
2858 return _IMP_npctransport.Transporting_set_is_optimized(self, a0, a1)
2860 def get_is_optimized(self, a0):
2861 r"""get_is_optimized(Transporting self, FloatKey a0) -> bool"""
2862 return _IMP_npctransport.Transporting_get_is_optimized(self, a0)
2865 r"""get_check_level(Transporting self) -> IMP::CheckLevel"""
2866 return _IMP_npctransport.Transporting_get_check_level(self)
2868 def __eq__(self, *args):
2870 __eq__(Transporting self, Transporting o) -> bool
2871 __eq__(Transporting self, Particle d) -> bool
2873 return _IMP_npctransport.Transporting___eq__(self, *args)
2875 def __ne__(self, *args):
2877 __ne__(Transporting self, Transporting o) -> bool
2878 __ne__(Transporting self, Particle d) -> bool
2880 return _IMP_npctransport.Transporting___ne__(self, *args)
2882 def __le__(self, *args):
2884 __le__(Transporting self, Transporting o) -> bool
2885 __le__(Transporting self, Particle d) -> bool
2887 return _IMP_npctransport.Transporting___le__(self, *args)
2889 def __lt__(self, *args):
2891 __lt__(Transporting self, Transporting o) -> bool
2892 __lt__(Transporting self, Particle d) -> bool
2894 return _IMP_npctransport.Transporting___lt__(self, *args)
2896 def __ge__(self, *args):
2898 __ge__(Transporting self, Transporting o) -> bool
2899 __ge__(Transporting self, Particle d) -> bool
2901 return _IMP_npctransport.Transporting___ge__(self, *args)
2903 def __gt__(self, *args):
2905 __gt__(Transporting self, Transporting o) -> bool
2906 __gt__(Transporting self, Particle d) -> bool
2908 return _IMP_npctransport.Transporting___gt__(self, *args)
2911 r"""__hash__(Transporting self) -> std::size_t"""
2912 return _IMP_npctransport.Transporting___hash__(self)
2915 r"""__str__(Transporting self) -> std::string"""
2916 return _IMP_npctransport.Transporting___str__(self)
2919 r"""__repr__(Transporting self) -> std::string"""
2920 return _IMP_npctransport.Transporting___repr__(self)
2922 def _get_as_binary(self):
2923 r"""_get_as_binary(Transporting self) -> PyObject *"""
2924 return _IMP_npctransport.Transporting__get_as_binary(self)
2926 def _set_from_binary(self, p):
2927 r"""_set_from_binary(Transporting self, PyObject * p)"""
2928 return _IMP_npctransport.Transporting__set_from_binary(self, p)
2930 def __getstate__(self):
2931 p = self._get_as_binary()
2932 if len(self.__dict__) > 1:
2933 d = self.__dict__.copy()
2938 def __setstate__(self, p):
2939 if not hasattr(self,
'this'):
2941 if isinstance(p, tuple):
2943 self.__dict__.update(d)
2944 return self._set_from_binary(p)
2946 __swig_destroy__ = _IMP_npctransport.delete_Transporting
2949 _IMP_npctransport.Transporting_swigregister(Transporting)
2951 def show_ranges(fname):
2952 r"""show_ranges(std::string fname)"""
2953 return _IMP_npctransport.show_ranges(fname)
2955 def assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed):
2956 r"""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"""
2957 return _IMP_npctransport.assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed)
2959 def get_number_of_work_units(configuration_file):
2960 r"""get_number_of_work_units(std::string configuration_file) -> int"""
2961 return _IMP_npctransport.get_number_of_work_units(configuration_file)
2963 r"""Proxy of C++ IMP::npctransport::SlabWithPore class."""
2965 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2967 def __init__(self, *args):
2969 __init__(SlabWithPore self) -> SlabWithPore
2970 __init__(SlabWithPore self, Model m, ParticleIndex id) -> SlabWithPore
2971 __init__(SlabWithPore self, _ParticleAdaptor d) -> SlabWithPore
2973 _IMP_npctransport.SlabWithPore_swiginit(self, _IMP_npctransport.new_SlabWithPore(*args))
2975 def show(self, *args):
2976 r"""show(SlabWithPore self, _ostream out=std::cout)"""
2977 return _IMP_npctransport.SlabWithPore_show(self, *args)
2980 def setup_particle(*args):
2982 setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
2983 setup_particle(_ParticleAdaptor pa, double thickness, double pore_radius) -> SlabWithPore
2985 return _IMP_npctransport.SlabWithPore_setup_particle(*args)
2988 def get_is_setup(*args):
2990 get_is_setup(_ParticleAdaptor p) -> bool
2991 get_is_setup(Model m, ParticleIndex pi) -> bool
2993 return _IMP_npctransport.SlabWithPore_get_is_setup(*args)
2995 def set_thickness(self, thickness):
2996 r"""set_thickness(SlabWithPore self, double thickness)"""
2997 return _IMP_npctransport.SlabWithPore_set_thickness(self, thickness)
2999 def get_thickness(self):
3000 r"""get_thickness(SlabWithPore self) -> IMP::Float"""
3001 return _IMP_npctransport.SlabWithPore_get_thickness(self)
3003 def get_pore_radius(self):
3004 r"""get_pore_radius(SlabWithPore self) -> IMP::Float"""
3005 return _IMP_npctransport.SlabWithPore_get_pore_radius(self)
3007 def set_pore_radius(self, r):
3008 r"""set_pore_radius(SlabWithPore self, double r)"""
3009 return _IMP_npctransport.SlabWithPore_set_pore_radius(self, r)
3011 def add_to_pore_radius_derivative(self, v, d):
3012 r"""add_to_pore_radius_derivative(SlabWithPore self, double v, DerivativeAccumulator d)"""
3013 return _IMP_npctransport.SlabWithPore_add_to_pore_radius_derivative(self, v, d)
3015 def get_pore_radius_is_optimized(self):
3016 r"""get_pore_radius_is_optimized(SlabWithPore self) -> bool"""
3017 return _IMP_npctransport.SlabWithPore_get_pore_radius_is_optimized(self)
3019 def set_pore_radius_is_optimized(self, tf):
3020 r"""set_pore_radius_is_optimized(SlabWithPore self, bool tf)"""
3021 return _IMP_npctransport.SlabWithPore_set_pore_radius_is_optimized(self, tf)
3024 def get_thickness_key():
3025 r"""get_thickness_key() -> FloatKey"""
3026 return _IMP_npctransport.SlabWithPore_get_thickness_key()
3029 def get_pore_radius_key():
3030 r"""get_pore_radius_key() -> FloatKey"""
3031 return _IMP_npctransport.SlabWithPore_get_pore_radius_key()
3033 def add_attribute(self, *args):
3035 add_attribute(SlabWithPore self, FloatKey k, IMP::Float v, bool opt)
3036 add_attribute(SlabWithPore self, FloatKey a0, IMP::Float a1)
3037 add_attribute(SlabWithPore self, IntKey a0, IMP::Int a1)
3038 add_attribute(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3039 add_attribute(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3040 add_attribute(SlabWithPore self, StringKey a0, IMP::String a1)
3041 add_attribute(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3042 add_attribute(SlabWithPore self, ObjectKey a0, Object a1)
3043 add_attribute(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3044 add_attribute(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3045 add_attribute(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3046 add_attribute(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3048 return _IMP_npctransport.SlabWithPore_add_attribute(self, *args)
3050 def get_value(self, *args):
3052 get_value(SlabWithPore self, FloatKey a0) -> IMP::Float
3053 get_value(SlabWithPore self, IntKey a0) -> IMP::Int
3054 get_value(SlabWithPore self, FloatsKey a0) -> IMP::Floats
3055 get_value(SlabWithPore self, IntsKey a0) -> IMP::Ints
3056 get_value(SlabWithPore self, StringKey a0) -> IMP::String
3057 get_value(SlabWithPore self, ParticleIndexKey a0) -> Particle
3058 get_value(SlabWithPore self, ObjectKey a0) -> Object
3059 get_value(SlabWithPore self, SparseFloatKey a0) -> IMP::Float
3060 get_value(SlabWithPore self, SparseIntKey a0) -> IMP::Int
3061 get_value(SlabWithPore self, SparseStringKey a0) -> IMP::String
3062 get_value(SlabWithPore self, SparseParticleIndexKey a0) -> ParticleIndex
3064 return _IMP_npctransport.SlabWithPore_get_value(self, *args)
3066 def set_value(self, *args):
3068 set_value(SlabWithPore self, FloatKey a0, IMP::Float a1)
3069 set_value(SlabWithPore self, IntKey a0, IMP::Int a1)
3070 set_value(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3071 set_value(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3072 set_value(SlabWithPore self, StringKey a0, IMP::String a1)
3073 set_value(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3074 set_value(SlabWithPore self, ObjectKey a0, Object a1)
3075 set_value(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3076 set_value(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3077 set_value(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3078 set_value(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3080 return _IMP_npctransport.SlabWithPore_set_value(self, *args)
3082 def remove_attribute(self, *args):
3084 remove_attribute(SlabWithPore self, FloatKey a0)
3085 remove_attribute(SlabWithPore self, IntKey a0)
3086 remove_attribute(SlabWithPore self, FloatsKey a0)
3087 remove_attribute(SlabWithPore self, IntsKey a0)
3088 remove_attribute(SlabWithPore self, StringKey a0)
3089 remove_attribute(SlabWithPore self, ParticleIndexKey a0)
3090 remove_attribute(SlabWithPore self, ObjectKey a0)
3091 remove_attribute(SlabWithPore self, SparseFloatKey a0)
3092 remove_attribute(SlabWithPore self, SparseIntKey a0)
3093 remove_attribute(SlabWithPore self, SparseStringKey a0)
3094 remove_attribute(SlabWithPore self, SparseParticleIndexKey a0)
3096 return _IMP_npctransport.SlabWithPore_remove_attribute(self, *args)
3098 def has_attribute(self, *args):
3100 has_attribute(SlabWithPore self, FloatKey a0) -> bool
3101 has_attribute(SlabWithPore self, IntKey a0) -> bool
3102 has_attribute(SlabWithPore self, FloatsKey a0) -> bool
3103 has_attribute(SlabWithPore self, IntsKey a0) -> bool
3104 has_attribute(SlabWithPore self, StringKey a0) -> bool
3105 has_attribute(SlabWithPore self, ParticleIndexKey a0) -> bool
3106 has_attribute(SlabWithPore self, ObjectKey a0) -> bool
3107 has_attribute(SlabWithPore self, SparseFloatKey a0) -> bool
3108 has_attribute(SlabWithPore self, SparseIntKey a0) -> bool
3109 has_attribute(SlabWithPore self, SparseStringKey a0) -> bool
3110 has_attribute(SlabWithPore self, SparseParticleIndexKey a0) -> bool
3112 return _IMP_npctransport.SlabWithPore_has_attribute(self, *args)
3114 def get_derivative(self, a0):
3115 r"""get_derivative(SlabWithPore self, FloatKey a0) -> double"""
3116 return _IMP_npctransport.SlabWithPore_get_derivative(self, a0)
3119 r"""get_name(SlabWithPore self) -> std::string"""
3120 return _IMP_npctransport.SlabWithPore_get_name(self)
3122 def clear_caches(self):
3123 r"""clear_caches(SlabWithPore self)"""
3124 return _IMP_npctransport.SlabWithPore_clear_caches(self)
3126 def set_name(self, a0):
3127 r"""set_name(SlabWithPore self, std::string a0)"""
3128 return _IMP_npctransport.SlabWithPore_set_name(self, a0)
3131 r"""set_check_level(SlabWithPore self, IMP::CheckLevel a0)"""
3132 return _IMP_npctransport.SlabWithPore_set_check_level(self, a0)
3134 def add_to_derivative(self, a0, a1, a2):
3135 r"""add_to_derivative(SlabWithPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3136 return _IMP_npctransport.SlabWithPore_add_to_derivative(self, a0, a1, a2)
3138 def set_is_optimized(self, a0, a1):
3139 r"""set_is_optimized(SlabWithPore self, FloatKey a0, bool a1)"""
3140 return _IMP_npctransport.SlabWithPore_set_is_optimized(self, a0, a1)
3142 def get_is_optimized(self, a0):
3143 r"""get_is_optimized(SlabWithPore self, FloatKey a0) -> bool"""
3144 return _IMP_npctransport.SlabWithPore_get_is_optimized(self, a0)
3147 r"""get_check_level(SlabWithPore self) -> IMP::CheckLevel"""
3148 return _IMP_npctransport.SlabWithPore_get_check_level(self)
3150 def __eq__(self, *args):
3152 __eq__(SlabWithPore self, SlabWithPore o) -> bool
3153 __eq__(SlabWithPore self, Particle d) -> bool
3155 return _IMP_npctransport.SlabWithPore___eq__(self, *args)
3157 def __ne__(self, *args):
3159 __ne__(SlabWithPore self, SlabWithPore o) -> bool
3160 __ne__(SlabWithPore self, Particle d) -> bool
3162 return _IMP_npctransport.SlabWithPore___ne__(self, *args)
3164 def __le__(self, *args):
3166 __le__(SlabWithPore self, SlabWithPore o) -> bool
3167 __le__(SlabWithPore self, Particle d) -> bool
3169 return _IMP_npctransport.SlabWithPore___le__(self, *args)
3171 def __lt__(self, *args):
3173 __lt__(SlabWithPore self, SlabWithPore o) -> bool
3174 __lt__(SlabWithPore self, Particle d) -> bool
3176 return _IMP_npctransport.SlabWithPore___lt__(self, *args)
3178 def __ge__(self, *args):
3180 __ge__(SlabWithPore self, SlabWithPore o) -> bool
3181 __ge__(SlabWithPore self, Particle d) -> bool
3183 return _IMP_npctransport.SlabWithPore___ge__(self, *args)
3185 def __gt__(self, *args):
3187 __gt__(SlabWithPore self, SlabWithPore o) -> bool
3188 __gt__(SlabWithPore self, Particle d) -> bool
3190 return _IMP_npctransport.SlabWithPore___gt__(self, *args)
3193 r"""__hash__(SlabWithPore self) -> std::size_t"""
3194 return _IMP_npctransport.SlabWithPore___hash__(self)
3197 r"""__str__(SlabWithPore self) -> std::string"""
3198 return _IMP_npctransport.SlabWithPore___str__(self)
3201 r"""__repr__(SlabWithPore self) -> std::string"""
3202 return _IMP_npctransport.SlabWithPore___repr__(self)
3204 def _get_as_binary(self):
3205 r"""_get_as_binary(SlabWithPore self) -> PyObject *"""
3206 return _IMP_npctransport.SlabWithPore__get_as_binary(self)
3208 def _set_from_binary(self, p):
3209 r"""_set_from_binary(SlabWithPore self, PyObject * p)"""
3210 return _IMP_npctransport.SlabWithPore__set_from_binary(self, p)
3212 def __getstate__(self):
3213 p = self._get_as_binary()
3214 if len(self.__dict__) > 1:
3215 d = self.__dict__.copy()
3220 def __setstate__(self, p):
3221 if not hasattr(self,
'this'):
3223 if isinstance(p, tuple):
3225 self.__dict__.update(d)
3226 return self._set_from_binary(p)
3228 __swig_destroy__ = _IMP_npctransport.delete_SlabWithPore
3231 _IMP_npctransport.SlabWithPore_swigregister(SlabWithPore)
3232 class SlabWithCylindricalPore(SlabWithPore):
3233 r"""Proxy of C++ IMP::npctransport::SlabWithCylindricalPore class."""
3235 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3237 def __init__(self, *args):
3239 __init__(SlabWithCylindricalPore self) -> SlabWithCylindricalPore
3240 __init__(SlabWithCylindricalPore self, Model m, ParticleIndex id) -> SlabWithCylindricalPore
3241 __init__(SlabWithCylindricalPore self, _ParticleAdaptor d) -> SlabWithCylindricalPore
3243 _IMP_npctransport.SlabWithCylindricalPore_swiginit(self, _IMP_npctransport.new_SlabWithCylindricalPore(*args))
3245 def show(self, *args):
3246 r"""show(SlabWithCylindricalPore self, _ostream out=std::cout)"""
3247 return _IMP_npctransport.SlabWithCylindricalPore_show(self, *args)
3250 def setup_particle(*args):
3252 setup_particle(Model m, ParticleIndex pi, double thickness, double radius) -> SlabWithCylindricalPore
3253 setup_particle(_ParticleAdaptor pa, double thickness, double radius) -> SlabWithCylindricalPore
3255 return _IMP_npctransport.SlabWithCylindricalPore_setup_particle(*args)
3258 def get_is_setup(*args):
3260 get_is_setup(_ParticleAdaptor p) -> bool
3261 get_is_setup(Model m, ParticleIndex pi) -> bool
3263 return _IMP_npctransport.SlabWithCylindricalPore_get_is_setup(*args)
3266 def get_cylindrical_pore_key():
3267 r"""get_cylindrical_pore_key() -> IntKey"""
3268 return _IMP_npctransport.SlabWithCylindricalPore_get_cylindrical_pore_key()
3270 def add_attribute(self, *args):
3272 add_attribute(SlabWithCylindricalPore self, FloatKey k, IMP::Float v, bool opt)
3273 add_attribute(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3274 add_attribute(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3275 add_attribute(SlabWithCylindricalPore self, FloatsKey a0, IMP::Floats a1)
3276 add_attribute(SlabWithCylindricalPore self, IntsKey a0, IMP::Ints a1)
3277 add_attribute(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3278 add_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3279 add_attribute(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3280 add_attribute(SlabWithCylindricalPore self, SparseFloatKey a0, IMP::Float a1)
3281 add_attribute(SlabWithCylindricalPore self, SparseIntKey a0, IMP::Int a1)
3282 add_attribute(SlabWithCylindricalPore self, SparseStringKey a0, IMP::String a1)
3283 add_attribute(SlabWithCylindricalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3285 return _IMP_npctransport.SlabWithCylindricalPore_add_attribute(self, *args)
3287 def get_value(self, *args):
3289 get_value(SlabWithCylindricalPore self, FloatKey a0) -> IMP::Float
3290 get_value(SlabWithCylindricalPore self, IntKey a0) -> IMP::Int
3291 get_value(SlabWithCylindricalPore self, FloatsKey a0) -> IMP::Floats
3292 get_value(SlabWithCylindricalPore self, IntsKey a0) -> IMP::Ints
3293 get_value(SlabWithCylindricalPore self, StringKey a0) -> IMP::String
3294 get_value(SlabWithCylindricalPore self, ParticleIndexKey a0) -> Particle
3295 get_value(SlabWithCylindricalPore self, ObjectKey a0) -> Object
3296 get_value(SlabWithCylindricalPore self, SparseFloatKey a0) -> IMP::Float
3297 get_value(SlabWithCylindricalPore self, SparseIntKey a0) -> IMP::Int
3298 get_value(SlabWithCylindricalPore self, SparseStringKey a0) -> IMP::String
3299 get_value(SlabWithCylindricalPore self, SparseParticleIndexKey a0) -> ParticleIndex
3301 return _IMP_npctransport.SlabWithCylindricalPore_get_value(self, *args)
3303 def set_value(self, *args):
3305 set_value(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3306 set_value(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3307 set_value(SlabWithCylindricalPore self, FloatsKey a0, IMP::Floats a1)
3308 set_value(SlabWithCylindricalPore self, IntsKey a0, IMP::Ints a1)
3309 set_value(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3310 set_value(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3311 set_value(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3312 set_value(SlabWithCylindricalPore self, SparseFloatKey a0, IMP::Float a1)
3313 set_value(SlabWithCylindricalPore self, SparseIntKey a0, IMP::Int a1)
3314 set_value(SlabWithCylindricalPore self, SparseStringKey a0, IMP::String a1)
3315 set_value(SlabWithCylindricalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3317 return _IMP_npctransport.SlabWithCylindricalPore_set_value(self, *args)
3319 def remove_attribute(self, *args):
3321 remove_attribute(SlabWithCylindricalPore self, FloatKey a0)
3322 remove_attribute(SlabWithCylindricalPore self, IntKey a0)
3323 remove_attribute(SlabWithCylindricalPore self, FloatsKey a0)
3324 remove_attribute(SlabWithCylindricalPore self, IntsKey a0)
3325 remove_attribute(SlabWithCylindricalPore self, StringKey a0)
3326 remove_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0)
3327 remove_attribute(SlabWithCylindricalPore self, ObjectKey a0)
3328 remove_attribute(SlabWithCylindricalPore self, SparseFloatKey a0)
3329 remove_attribute(SlabWithCylindricalPore self, SparseIntKey a0)
3330 remove_attribute(SlabWithCylindricalPore self, SparseStringKey a0)
3331 remove_attribute(SlabWithCylindricalPore self, SparseParticleIndexKey a0)
3333 return _IMP_npctransport.SlabWithCylindricalPore_remove_attribute(self, *args)
3335 def has_attribute(self, *args):
3337 has_attribute(SlabWithCylindricalPore self, FloatKey a0) -> bool
3338 has_attribute(SlabWithCylindricalPore self, IntKey a0) -> bool
3339 has_attribute(SlabWithCylindricalPore self, FloatsKey a0) -> bool
3340 has_attribute(SlabWithCylindricalPore self, IntsKey a0) -> bool
3341 has_attribute(SlabWithCylindricalPore self, StringKey a0) -> bool
3342 has_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0) -> bool
3343 has_attribute(SlabWithCylindricalPore self, ObjectKey a0) -> bool
3344 has_attribute(SlabWithCylindricalPore self, SparseFloatKey a0) -> bool
3345 has_attribute(SlabWithCylindricalPore self, SparseIntKey a0) -> bool
3346 has_attribute(SlabWithCylindricalPore self, SparseStringKey a0) -> bool
3347 has_attribute(SlabWithCylindricalPore self, SparseParticleIndexKey a0) -> bool
3349 return _IMP_npctransport.SlabWithCylindricalPore_has_attribute(self, *args)
3351 def get_derivative(self, a0):
3352 r"""get_derivative(SlabWithCylindricalPore self, FloatKey a0) -> double"""
3353 return _IMP_npctransport.SlabWithCylindricalPore_get_derivative(self, a0)
3356 r"""get_name(SlabWithCylindricalPore self) -> std::string"""
3357 return _IMP_npctransport.SlabWithCylindricalPore_get_name(self)
3359 def clear_caches(self):
3360 r"""clear_caches(SlabWithCylindricalPore self)"""
3361 return _IMP_npctransport.SlabWithCylindricalPore_clear_caches(self)
3363 def set_name(self, a0):
3364 r"""set_name(SlabWithCylindricalPore self, std::string a0)"""
3365 return _IMP_npctransport.SlabWithCylindricalPore_set_name(self, a0)
3368 r"""set_check_level(SlabWithCylindricalPore self, IMP::CheckLevel a0)"""
3369 return _IMP_npctransport.SlabWithCylindricalPore_set_check_level(self, a0)
3371 def add_to_derivative(self, a0, a1, a2):
3372 r"""add_to_derivative(SlabWithCylindricalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3373 return _IMP_npctransport.SlabWithCylindricalPore_add_to_derivative(self, a0, a1, a2)
3375 def set_is_optimized(self, a0, a1):
3376 r"""set_is_optimized(SlabWithCylindricalPore self, FloatKey a0, bool a1)"""
3377 return _IMP_npctransport.SlabWithCylindricalPore_set_is_optimized(self, a0, a1)
3379 def get_is_optimized(self, a0):
3380 r"""get_is_optimized(SlabWithCylindricalPore self, FloatKey a0) -> bool"""
3381 return _IMP_npctransport.SlabWithCylindricalPore_get_is_optimized(self, a0)
3384 r"""get_check_level(SlabWithCylindricalPore self) -> IMP::CheckLevel"""
3385 return _IMP_npctransport.SlabWithCylindricalPore_get_check_level(self)
3387 def __eq__(self, *args):
3389 __eq__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3390 __eq__(SlabWithCylindricalPore self, Particle d) -> bool
3392 return _IMP_npctransport.SlabWithCylindricalPore___eq__(self, *args)
3394 def __ne__(self, *args):
3396 __ne__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3397 __ne__(SlabWithCylindricalPore self, Particle d) -> bool
3399 return _IMP_npctransport.SlabWithCylindricalPore___ne__(self, *args)
3401 def __le__(self, *args):
3403 __le__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3404 __le__(SlabWithCylindricalPore self, Particle d) -> bool
3406 return _IMP_npctransport.SlabWithCylindricalPore___le__(self, *args)
3408 def __lt__(self, *args):
3410 __lt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3411 __lt__(SlabWithCylindricalPore self, Particle d) -> bool
3413 return _IMP_npctransport.SlabWithCylindricalPore___lt__(self, *args)
3415 def __ge__(self, *args):
3417 __ge__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3418 __ge__(SlabWithCylindricalPore self, Particle d) -> bool
3420 return _IMP_npctransport.SlabWithCylindricalPore___ge__(self, *args)
3422 def __gt__(self, *args):
3424 __gt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3425 __gt__(SlabWithCylindricalPore self, Particle d) -> bool
3427 return _IMP_npctransport.SlabWithCylindricalPore___gt__(self, *args)
3430 r"""__hash__(SlabWithCylindricalPore self) -> std::size_t"""
3431 return _IMP_npctransport.SlabWithCylindricalPore___hash__(self)
3434 r"""__str__(SlabWithCylindricalPore self) -> std::string"""
3435 return _IMP_npctransport.SlabWithCylindricalPore___str__(self)
3438 r"""__repr__(SlabWithCylindricalPore self) -> std::string"""
3439 return _IMP_npctransport.SlabWithCylindricalPore___repr__(self)
3441 def _get_as_binary(self):
3442 r"""_get_as_binary(SlabWithCylindricalPore self) -> PyObject *"""
3443 return _IMP_npctransport.SlabWithCylindricalPore__get_as_binary(self)
3445 def _set_from_binary(self, p):
3446 r"""_set_from_binary(SlabWithCylindricalPore self, PyObject * p)"""
3447 return _IMP_npctransport.SlabWithCylindricalPore__set_from_binary(self, p)
3449 def __getstate__(self):
3450 p = self._get_as_binary()
3451 if len(self.__dict__) > 1:
3452 d = self.__dict__.copy()
3457 def __setstate__(self, p):
3458 if not hasattr(self,
'this'):
3460 if isinstance(p, tuple):
3462 self.__dict__.update(d)
3463 return self._set_from_binary(p)
3465 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPore
3468 _IMP_npctransport.SlabWithCylindricalPore_swigregister(SlabWithCylindricalPore)
3469 class SlabWithToroidalPore(SlabWithPore):
3470 r"""Proxy of C++ IMP::npctransport::SlabWithToroidalPore class."""
3472 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3474 def __init__(self, *args):
3476 __init__(SlabWithToroidalPore self) -> SlabWithToroidalPore
3477 __init__(SlabWithToroidalPore self, Model m, ParticleIndex id) -> SlabWithToroidalPore
3478 __init__(SlabWithToroidalPore self, _ParticleAdaptor d) -> SlabWithToroidalPore
3480 _IMP_npctransport.SlabWithToroidalPore_swiginit(self, _IMP_npctransport.new_SlabWithToroidalPore(*args))
3482 def show(self, *args):
3483 r"""show(SlabWithToroidalPore self, _ostream out=std::cout)"""
3484 return _IMP_npctransport.SlabWithToroidalPore_show(self, *args)
3487 def setup_particle(*args):
3489 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
3490 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius) -> SlabWithToroidalPore
3491 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3492 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3494 return _IMP_npctransport.SlabWithToroidalPore_setup_particle(*args)
3497 def get_is_setup(*args):
3499 get_is_setup(_ParticleAdaptor p) -> bool
3500 get_is_setup(Model m, ParticleIndex pi) -> bool
3502 return _IMP_npctransport.SlabWithToroidalPore_get_is_setup(*args)
3504 def set_minor_radius_h2v_aspect_ratio(self, aspect_ratio):
3505 r"""set_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self, double aspect_ratio)"""
3506 return _IMP_npctransport.SlabWithToroidalPore_set_minor_radius_h2v_aspect_ratio(self, aspect_ratio)
3508 def get_minor_radius_h2v_aspect_ratio(self):
3509 r"""get_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self) -> double"""
3510 return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio(self)
3512 def get_vertical_minor_radius(self):
3513 r"""get_vertical_minor_radius(SlabWithToroidalPore self) -> double"""
3514 return _IMP_npctransport.SlabWithToroidalPore_get_vertical_minor_radius(self)
3516 def set_vertical_minor_radius(self, rv):
3517 r"""set_vertical_minor_radius(SlabWithToroidalPore self, double rv)"""
3518 return _IMP_npctransport.SlabWithToroidalPore_set_vertical_minor_radius(self, rv)
3520 def get_horizontal_minor_radius(self):
3521 r"""get_horizontal_minor_radius(SlabWithToroidalPore self) -> double"""
3522 return _IMP_npctransport.SlabWithToroidalPore_get_horizontal_minor_radius(self)
3524 def set_horizontal_minor_radius(self, rh):
3525 r"""set_horizontal_minor_radius(SlabWithToroidalPore self, double rh)"""
3526 return _IMP_npctransport.SlabWithToroidalPore_set_horizontal_minor_radius(self, rh)
3529 def get_minor_radius_h2v_aspect_ratio_key():
3530 r"""get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
3531 return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
3534 def get_toroidal_pore_key():
3535 r"""get_toroidal_pore_key() -> IntKey"""
3536 return _IMP_npctransport.SlabWithToroidalPore_get_toroidal_pore_key()
3538 def add_attribute(self, *args):
3540 add_attribute(SlabWithToroidalPore self, FloatKey k, IMP::Float v, bool opt)
3541 add_attribute(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3542 add_attribute(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3543 add_attribute(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3544 add_attribute(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3545 add_attribute(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3546 add_attribute(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3547 add_attribute(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3548 add_attribute(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3549 add_attribute(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3550 add_attribute(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3551 add_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3553 return _IMP_npctransport.SlabWithToroidalPore_add_attribute(self, *args)
3555 def get_value(self, *args):
3557 get_value(SlabWithToroidalPore self, FloatKey a0) -> IMP::Float
3558 get_value(SlabWithToroidalPore self, IntKey a0) -> IMP::Int
3559 get_value(SlabWithToroidalPore self, FloatsKey a0) -> IMP::Floats
3560 get_value(SlabWithToroidalPore self, IntsKey a0) -> IMP::Ints
3561 get_value(SlabWithToroidalPore self, StringKey a0) -> IMP::String
3562 get_value(SlabWithToroidalPore self, ParticleIndexKey a0) -> Particle
3563 get_value(SlabWithToroidalPore self, ObjectKey a0) -> Object
3564 get_value(SlabWithToroidalPore self, SparseFloatKey a0) -> IMP::Float
3565 get_value(SlabWithToroidalPore self, SparseIntKey a0) -> IMP::Int
3566 get_value(SlabWithToroidalPore self, SparseStringKey a0) -> IMP::String
3567 get_value(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> ParticleIndex
3569 return _IMP_npctransport.SlabWithToroidalPore_get_value(self, *args)
3571 def set_value(self, *args):
3573 set_value(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3574 set_value(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3575 set_value(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3576 set_value(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3577 set_value(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3578 set_value(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3579 set_value(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3580 set_value(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3581 set_value(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3582 set_value(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3583 set_value(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3585 return _IMP_npctransport.SlabWithToroidalPore_set_value(self, *args)
3587 def remove_attribute(self, *args):
3589 remove_attribute(SlabWithToroidalPore self, FloatKey a0)
3590 remove_attribute(SlabWithToroidalPore self, IntKey a0)
3591 remove_attribute(SlabWithToroidalPore self, FloatsKey a0)
3592 remove_attribute(SlabWithToroidalPore self, IntsKey a0)
3593 remove_attribute(SlabWithToroidalPore self, StringKey a0)
3594 remove_attribute(SlabWithToroidalPore self, ParticleIndexKey a0)
3595 remove_attribute(SlabWithToroidalPore self, ObjectKey a0)
3596 remove_attribute(SlabWithToroidalPore self, SparseFloatKey a0)
3597 remove_attribute(SlabWithToroidalPore self, SparseIntKey a0)
3598 remove_attribute(SlabWithToroidalPore self, SparseStringKey a0)
3599 remove_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0)
3601 return _IMP_npctransport.SlabWithToroidalPore_remove_attribute(self, *args)
3603 def has_attribute(self, *args):
3605 has_attribute(SlabWithToroidalPore self, FloatKey a0) -> bool
3606 has_attribute(SlabWithToroidalPore self, IntKey a0) -> bool
3607 has_attribute(SlabWithToroidalPore self, FloatsKey a0) -> bool
3608 has_attribute(SlabWithToroidalPore self, IntsKey a0) -> bool
3609 has_attribute(SlabWithToroidalPore self, StringKey a0) -> bool
3610 has_attribute(SlabWithToroidalPore self, ParticleIndexKey a0) -> bool
3611 has_attribute(SlabWithToroidalPore self, ObjectKey a0) -> bool
3612 has_attribute(SlabWithToroidalPore self, SparseFloatKey a0) -> bool
3613 has_attribute(SlabWithToroidalPore self, SparseIntKey a0) -> bool
3614 has_attribute(SlabWithToroidalPore self, SparseStringKey a0) -> bool
3615 has_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> bool
3617 return _IMP_npctransport.SlabWithToroidalPore_has_attribute(self, *args)
3619 def get_derivative(self, a0):
3620 r"""get_derivative(SlabWithToroidalPore self, FloatKey a0) -> double"""
3621 return _IMP_npctransport.SlabWithToroidalPore_get_derivative(self, a0)
3624 r"""get_name(SlabWithToroidalPore self) -> std::string"""
3625 return _IMP_npctransport.SlabWithToroidalPore_get_name(self)
3627 def clear_caches(self):
3628 r"""clear_caches(SlabWithToroidalPore self)"""
3629 return _IMP_npctransport.SlabWithToroidalPore_clear_caches(self)
3631 def set_name(self, a0):
3632 r"""set_name(SlabWithToroidalPore self, std::string a0)"""
3633 return _IMP_npctransport.SlabWithToroidalPore_set_name(self, a0)
3636 r"""set_check_level(SlabWithToroidalPore self, IMP::CheckLevel a0)"""
3637 return _IMP_npctransport.SlabWithToroidalPore_set_check_level(self, a0)
3639 def add_to_derivative(self, a0, a1, a2):
3640 r"""add_to_derivative(SlabWithToroidalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3641 return _IMP_npctransport.SlabWithToroidalPore_add_to_derivative(self, a0, a1, a2)
3643 def set_is_optimized(self, a0, a1):
3644 r"""set_is_optimized(SlabWithToroidalPore self, FloatKey a0, bool a1)"""
3645 return _IMP_npctransport.SlabWithToroidalPore_set_is_optimized(self, a0, a1)
3647 def get_is_optimized(self, a0):
3648 r"""get_is_optimized(SlabWithToroidalPore self, FloatKey a0) -> bool"""
3649 return _IMP_npctransport.SlabWithToroidalPore_get_is_optimized(self, a0)
3652 r"""get_check_level(SlabWithToroidalPore self) -> IMP::CheckLevel"""
3653 return _IMP_npctransport.SlabWithToroidalPore_get_check_level(self)
3655 def __eq__(self, *args):
3657 __eq__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3658 __eq__(SlabWithToroidalPore self, Particle d) -> bool
3660 return _IMP_npctransport.SlabWithToroidalPore___eq__(self, *args)
3662 def __ne__(self, *args):
3664 __ne__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3665 __ne__(SlabWithToroidalPore self, Particle d) -> bool
3667 return _IMP_npctransport.SlabWithToroidalPore___ne__(self, *args)
3669 def __le__(self, *args):
3671 __le__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3672 __le__(SlabWithToroidalPore self, Particle d) -> bool
3674 return _IMP_npctransport.SlabWithToroidalPore___le__(self, *args)
3676 def __lt__(self, *args):
3678 __lt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3679 __lt__(SlabWithToroidalPore self, Particle d) -> bool
3681 return _IMP_npctransport.SlabWithToroidalPore___lt__(self, *args)
3683 def __ge__(self, *args):
3685 __ge__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3686 __ge__(SlabWithToroidalPore self, Particle d) -> bool
3688 return _IMP_npctransport.SlabWithToroidalPore___ge__(self, *args)
3690 def __gt__(self, *args):
3692 __gt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3693 __gt__(SlabWithToroidalPore self, Particle d) -> bool
3695 return _IMP_npctransport.SlabWithToroidalPore___gt__(self, *args)
3698 r"""__hash__(SlabWithToroidalPore self) -> std::size_t"""
3699 return _IMP_npctransport.SlabWithToroidalPore___hash__(self)
3702 r"""__str__(SlabWithToroidalPore self) -> std::string"""
3703 return _IMP_npctransport.SlabWithToroidalPore___str__(self)
3706 r"""__repr__(SlabWithToroidalPore self) -> std::string"""
3707 return _IMP_npctransport.SlabWithToroidalPore___repr__(self)
3709 def _get_as_binary(self):
3710 r"""_get_as_binary(SlabWithToroidalPore self) -> PyObject *"""
3711 return _IMP_npctransport.SlabWithToroidalPore__get_as_binary(self)
3713 def _set_from_binary(self, p):
3714 r"""_set_from_binary(SlabWithToroidalPore self, PyObject * p)"""
3715 return _IMP_npctransport.SlabWithToroidalPore__set_from_binary(self, p)
3717 def __getstate__(self):
3718 p = self._get_as_binary()
3719 if len(self.__dict__) > 1:
3720 d = self.__dict__.copy()
3725 def __setstate__(self, p):
3726 if not hasattr(self,
'this'):
3728 if isinstance(p, tuple):
3730 self.__dict__.update(d)
3731 return self._set_from_binary(p)
3733 __swig_destroy__ = _IMP_npctransport.delete_SlabWithToroidalPore
3736 _IMP_npctransport.SlabWithToroidalPore_swigregister(SlabWithToroidalPore)
3738 def __lshift__(*args):
3740 __lshift__(_ostream out, RelaxingSpring n) -> _ostream
3741 __lshift__(_ostream out, Transporting n) -> _ostream
3742 __lshift__(_ostream out, SlabWithPore n) -> _ostream
3743 __lshift__(_ostream out, SlabWithCylindricalPore n) -> _ostream
3744 __lshift__(_ostream out, SlabWithToroidalPore n) -> _ostream
3746 return _IMP_npctransport.__lshift__(*args)
3748 r"""Proxy of C++ IMP::npctransport::SlabWithCylindricalPorePairScore class."""
3750 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3752 def __init__(self, k):
3753 r"""__init__(SlabWithCylindricalPorePairScore self, double k) -> SlabWithCylindricalPorePairScore"""
3754 _IMP_npctransport.SlabWithCylindricalPorePairScore_swiginit(self, _IMP_npctransport.new_SlabWithCylindricalPorePairScore(k))
3756 def get_displacement_direction(self, slab, v):
3757 r"""get_displacement_direction(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> Vector3D"""
3758 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_direction(self, slab, v)
3760 def get_displacement_magnitude(self, slab, v):
3761 r"""get_displacement_magnitude(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> double"""
3762 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_magnitude(self, slab, v)
3764 def do_get_inputs(self, m, pis):
3765 r"""do_get_inputs(SlabWithCylindricalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3766 return _IMP_npctransport.SlabWithCylindricalPorePairScore_do_get_inputs(self, m, pis)
3768 def evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked=False):
3769 r"""evaluate_indexes(SlabWithCylindricalPorePairScore self, Model m, IMP::ParticleIndexPairs const & pips, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3770 return _IMP_npctransport.SlabWithCylindricalPorePairScore_evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked)
3772 def evaluate_if_good_indexes(self, m, pips, da, max, lower_bound, upper_bound, all_indexes_checked=False):
3773 r"""evaluate_if_good_indexes(SlabWithCylindricalPorePairScore self, Model m, IMP::ParticleIndexPairs const & pips, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3774 return _IMP_npctransport.SlabWithCylindricalPorePairScore_evaluate_if_good_indexes(self, m, pips, da, max, lower_bound, upper_bound, all_indexes_checked)
3776 def get_version_info(self):
3777 r"""get_version_info(SlabWithCylindricalPorePairScore self) -> VersionInfo"""
3778 return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_version_info(self)
3779 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPorePairScore
3782 r"""__str__(SlabWithCylindricalPorePairScore self) -> std::string"""
3783 return _IMP_npctransport.SlabWithCylindricalPorePairScore___str__(self)
3786 r"""__repr__(SlabWithCylindricalPorePairScore self) -> std::string"""
3787 return _IMP_npctransport.SlabWithCylindricalPorePairScore___repr__(self)
3791 return _object_cast_to_SlabWithCylindricalPorePairScore(o)
3795 _IMP_npctransport.SlabWithCylindricalPorePairScore_swigregister(SlabWithCylindricalPorePairScore)
3797 r"""Proxy of C++ IMP::npctransport::SlabWithToroidalPorePairScore class."""
3799 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3801 def __init__(self, k):
3802 r"""__init__(SlabWithToroidalPorePairScore self, double k) -> SlabWithToroidalPorePairScore"""
3803 _IMP_npctransport.SlabWithToroidalPorePairScore_swiginit(self, _IMP_npctransport.new_SlabWithToroidalPorePairScore(k))
3805 def do_get_inputs(self, m, pis):
3806 r"""do_get_inputs(SlabWithToroidalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3807 return _IMP_npctransport.SlabWithToroidalPorePairScore_do_get_inputs(self, m, pis)
3809 def evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked=False):
3810 r"""evaluate_indexes(SlabWithToroidalPorePairScore self, Model m, IMP::ParticleIndexPairs const & pips, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3811 return _IMP_npctransport.SlabWithToroidalPorePairScore_evaluate_indexes(self, m, pips, da, lower_bound, upper_bound, all_indexes_checked)
3813 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
3814 r"""evaluate_if_good_indexes(SlabWithToroidalPorePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3815 return _IMP_npctransport.SlabWithToroidalPorePairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
3817 def get_version_info(self):
3818 r"""get_version_info(SlabWithToroidalPorePairScore self) -> VersionInfo"""
3819 return _IMP_npctransport.SlabWithToroidalPorePairScore_get_version_info(self)
3820 __swig_destroy__ = _IMP_npctransport.delete_SlabWithToroidalPorePairScore
3823 r"""__str__(SlabWithToroidalPorePairScore self) -> std::string"""
3824 return _IMP_npctransport.SlabWithToroidalPorePairScore___str__(self)
3827 r"""__repr__(SlabWithToroidalPorePairScore self) -> std::string"""
3828 return _IMP_npctransport.SlabWithToroidalPorePairScore___repr__(self)
3832 return _object_cast_to_SlabWithToroidalPorePairScore(o)
3836 _IMP_npctransport.SlabWithToroidalPorePairScore_swigregister(SlabWithToroidalPorePairScore)
3838 r"""Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreWireGeometry class."""
3840 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3842 def __init__(self, height, radius, length):
3843 r"""__init__(SlabWithCylindricalPoreWireGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreWireGeometry"""
3844 _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_swiginit(self, _IMP_npctransport.new_SlabWithCylindricalPoreWireGeometry(height, radius, length))
3846 def get_version_info(self):
3847 r"""get_version_info(SlabWithCylindricalPoreWireGeometry self) -> VersionInfo"""
3848 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_get_version_info(self)
3849 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPoreWireGeometry
3852 r"""__str__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
3853 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___str__(self)
3856 r"""__repr__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
3857 return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___repr__(self)
3861 return _object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
3865 _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_swigregister(SlabWithCylindricalPoreWireGeometry)
3867 r"""Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreSurfaceGeometry class."""
3869 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3871 def __init__(self, height, radius, length):
3872 r"""__init__(SlabWithCylindricalPoreSurfaceGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreSurfaceGeometry"""
3873 _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry_swiginit(self, _IMP_npctransport.new_SlabWithCylindricalPoreSurfaceGeometry(height, radius, length))
3876 r"""__str__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
3877 return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___str__(self)
3880 r"""__repr__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
3881 return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___repr__(self)
3885 return _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
3887 __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPoreSurfaceGeometry
3890 _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry_swigregister(SlabWithCylindricalPoreSurfaceGeometry)
3892 r"""Proxy of C++ IMP::npctransport::SlabWithToroidalPoreWireGeometry class."""
3894 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3896 def __init__(self, *args):
3898 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double horizontal_semiaxis, double slab_length) -> SlabWithToroidalPoreWireGeometry
3899 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double slab_length) -> SlabWithToroidalPoreWireGeometry
3901 _IMP_npctransport.SlabWithToroidalPoreWireGeometry_swiginit(self, _IMP_npctransport.new_SlabWithToroidalPoreWireGeometry(*args))
3903 def get_version_info(self):
3904 r"""get_version_info(SlabWithToroidalPoreWireGeometry self) -> VersionInfo"""
3905 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry_get_version_info(self)
3906 __swig_destroy__ = _IMP_npctransport.delete_SlabWithToroidalPoreWireGeometry
3909 r"""__str__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3910 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___str__(self)
3913 r"""__repr__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3914 return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___repr__(self)
3918 return _object_cast_to_SlabWithToroidalPoreWireGeometry(o)
3922 _IMP_npctransport.SlabWithToroidalPoreWireGeometry_swigregister(SlabWithToroidalPoreWireGeometry)
3924 r"""Proxy of C++ IMP::core::GenericAttributeSingletonScore< IMP::core::Harmonic > class."""
3926 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3927 __repr__ = _swig_repr
3929 def __init__(self, f, k):
3930 r"""__init__(_GenericAttributeSingletonScoreForPoreRadus self, Harmonic f, FloatKey k) -> _GenericAttributeSingletonScoreForPoreRadus"""
3931 _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_swiginit(self, _IMP_npctransport.new__GenericAttributeSingletonScoreForPoreRadus(f, k))
3933 def do_get_inputs(self, m, pis):
3934 r"""do_get_inputs(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3935 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_do_get_inputs(self, m, pis)
3937 def get_unary_function(self):
3938 r"""get_unary_function(_GenericAttributeSingletonScoreForPoreRadus self) -> Harmonic"""
3939 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_unary_function(self)
3941 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
3942 r"""evaluate_indexes(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3943 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
3945 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
3946 r"""evaluate_indexes_scores(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
3947 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
3949 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
3950 r"""evaluate_indexes_delta(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
3951 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
3953 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
3954 r"""evaluate_if_good_indexes(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3955 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
3957 def get_version_info(self):
3958 r"""get_version_info(_GenericAttributeSingletonScoreForPoreRadus self) -> VersionInfo"""
3959 return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_version_info(self)
3960 __swig_destroy__ = _IMP_npctransport.delete__GenericAttributeSingletonScoreForPoreRadus
3963 _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_swigregister(_GenericAttributeSingletonScoreForPoreRadus)
3964 class PoreRadiusSingletonScore(_GenericAttributeSingletonScoreForPoreRadus):
3965 r"""Proxy of C++ IMP::npctransport::PoreRadiusSingletonScore class."""
3967 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3969 def __init__(self, mean, k):
3970 r"""__init__(PoreRadiusSingletonScore self, IMP::Float mean, IMP::Float k) -> PoreRadiusSingletonScore"""
3971 _IMP_npctransport.PoreRadiusSingletonScore_swiginit(self, _IMP_npctransport.new_PoreRadiusSingletonScore(mean, k))
3974 r"""set_k(PoreRadiusSingletonScore self, double k)"""
3975 return _IMP_npctransport.PoreRadiusSingletonScore_set_k(self, k)
3977 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
3978 r"""evaluate_indexes(PoreRadiusSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3979 return _IMP_npctransport.PoreRadiusSingletonScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
3981 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
3982 r"""evaluate_indexes_scores(PoreRadiusSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
3983 return _IMP_npctransport.PoreRadiusSingletonScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
3985 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
3986 r"""evaluate_indexes_delta(PoreRadiusSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
3987 return _IMP_npctransport.PoreRadiusSingletonScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
3989 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
3990 r"""evaluate_if_good_indexes(PoreRadiusSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
3991 return _IMP_npctransport.PoreRadiusSingletonScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
3992 __swig_destroy__ = _IMP_npctransport.delete_PoreRadiusSingletonScore
3995 r"""__str__(PoreRadiusSingletonScore self) -> std::string"""
3996 return _IMP_npctransport.PoreRadiusSingletonScore___str__(self)
3999 r"""__repr__(PoreRadiusSingletonScore self) -> std::string"""
4000 return _IMP_npctransport.PoreRadiusSingletonScore___repr__(self)
4004 return _object_cast_to_PoreRadiusSingletonScore(o)
4008 _IMP_npctransport.PoreRadiusSingletonScore_swigregister(PoreRadiusSingletonScore)
4010 r"""Proxy of C++ IMP::npctransport::ExcludeZRangeSingletonScore class."""
4012 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4014 def __init__(self, bottom, top, k):
4015 r"""__init__(ExcludeZRangeSingletonScore self, double bottom, double top, double k) -> ExcludeZRangeSingletonScore"""
4016 _IMP_npctransport.ExcludeZRangeSingletonScore_swiginit(self, _IMP_npctransport.new_ExcludeZRangeSingletonScore(bottom, top, k))
4018 def get_bottom_z(self):
4019 r"""get_bottom_z(ExcludeZRangeSingletonScore self) -> double"""
4020 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_bottom_z(self)
4022 def get_top_z(self):
4023 r"""get_top_z(ExcludeZRangeSingletonScore self) -> double"""
4024 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_top_z(self)
4027 r"""get_k(ExcludeZRangeSingletonScore self) -> double"""
4028 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_k(self)
4030 def do_get_inputs(self, m, pis):
4031 r"""do_get_inputs(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4032 return _IMP_npctransport.ExcludeZRangeSingletonScore_do_get_inputs(self, m, pis)
4034 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
4035 r"""evaluate_indexes(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
4036 return _IMP_npctransport.ExcludeZRangeSingletonScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
4038 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
4039 r"""evaluate_indexes_scores(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
4040 return _IMP_npctransport.ExcludeZRangeSingletonScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
4042 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
4043 r"""evaluate_indexes_delta(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
4044 return _IMP_npctransport.ExcludeZRangeSingletonScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
4046 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
4047 r"""evaluate_if_good_indexes(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
4048 return _IMP_npctransport.ExcludeZRangeSingletonScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
4050 def get_version_info(self):
4051 r"""get_version_info(ExcludeZRangeSingletonScore self) -> VersionInfo"""
4052 return _IMP_npctransport.ExcludeZRangeSingletonScore_get_version_info(self)
4053 __swig_destroy__ = _IMP_npctransport.delete_ExcludeZRangeSingletonScore
4056 r"""__str__(ExcludeZRangeSingletonScore self) -> std::string"""
4057 return _IMP_npctransport.ExcludeZRangeSingletonScore___str__(self)
4060 r"""__repr__(ExcludeZRangeSingletonScore self) -> std::string"""
4061 return _IMP_npctransport.ExcludeZRangeSingletonScore___repr__(self)
4065 return _object_cast_to_ExcludeZRangeSingletonScore(o)
4069 _IMP_npctransport.ExcludeZRangeSingletonScore_swigregister(ExcludeZRangeSingletonScore)
4071 r"""Proxy of C++ IMP::npctransport::ZBiasSingletonScore class."""
4073 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4075 def __init__(self, *args):
4076 r"""__init__(ZBiasSingletonScore self, double k, double max_r=HALF_SQRT_MAX_DOUBLE, double z=std::numeric_limits< double >::min()) -> ZBiasSingletonScore"""
4077 _IMP_npctransport.ZBiasSingletonScore_swiginit(self, _IMP_npctransport.new_ZBiasSingletonScore(*args))
4080 r"""get_k(ZBiasSingletonScore self) -> double"""
4081 return _IMP_npctransport.ZBiasSingletonScore_get_k(self)
4083 def evaluate_deriv(self, d):
4084 r"""evaluate_deriv(ZBiasSingletonScore self, XYZR d) -> std::pair< double,IMP::algebra::Vector3D >"""
4085 return _IMP_npctransport.ZBiasSingletonScore_evaluate_deriv(self, d)
4087 def do_get_inputs(self, m, pis):
4088 r"""do_get_inputs(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4089 return _IMP_npctransport.ZBiasSingletonScore_do_get_inputs(self, m, pis)
4091 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
4092 r"""evaluate_indexes(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
4093 return _IMP_npctransport.ZBiasSingletonScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
4095 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
4096 r"""evaluate_indexes_scores(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, DistBase score, bool all_indexes_checked=False) -> double"""
4097 return _IMP_npctransport.ZBiasSingletonScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
4099 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
4100 r"""evaluate_indexes_delta(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, DistBase score, bool all_indexes_checked=False) -> double"""
4101 return _IMP_npctransport.ZBiasSingletonScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
4103 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
4104 r"""evaluate_if_good_indexes(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
4105 return _IMP_npctransport.ZBiasSingletonScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
4107 def get_version_info(self):
4108 r"""get_version_info(ZBiasSingletonScore self) -> VersionInfo"""
4109 return _IMP_npctransport.ZBiasSingletonScore_get_version_info(self)
4110 __swig_destroy__ = _IMP_npctransport.delete_ZBiasSingletonScore
4113 r"""__str__(ZBiasSingletonScore self) -> std::string"""
4114 return _IMP_npctransport.ZBiasSingletonScore___str__(self)
4117 r"""__repr__(ZBiasSingletonScore self) -> std::string"""
4118 return _IMP_npctransport.ZBiasSingletonScore___repr__(self)
4122 return _object_cast_to_ZBiasSingletonScore(o)
4126 _IMP_npctransport.ZBiasSingletonScore_swigregister(ZBiasSingletonScore)
4128 r"""Proxy of C++ IMP::npctransport::BodyStatisticsOptimizerState class."""
4130 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4132 def __init__(self, p, statistics_manager=None, periodicity=1):
4133 r"""__init__(BodyStatisticsOptimizerState self, Particle p, Statistics statistics_manager=None, unsigned int periodicity=1) -> BodyStatisticsOptimizerState"""
4134 _IMP_npctransport.BodyStatisticsOptimizerState_swiginit(self, _IMP_npctransport.new_BodyStatisticsOptimizerState(p, statistics_manager, periodicity))
4136 def get_correlation_time(self):
4137 r"""get_correlation_time(BodyStatisticsOptimizerState self) -> double"""
4138 return _IMP_npctransport.BodyStatisticsOptimizerState_get_correlation_time(self)
4141 r"""get_diffusion_coefficient(BodyStatisticsOptimizerState self) -> double"""
4142 return _IMP_npctransport.BodyStatisticsOptimizerState_get_diffusion_coefficient(self)
4144 def update_particle_type_zr_distribution_map(self):
4145 r"""update_particle_type_zr_distribution_map(BodyStatisticsOptimizerState self)"""
4146 return _IMP_npctransport.BodyStatisticsOptimizerState_update_particle_type_zr_distribution_map(self)
4148 def do_update(self, call_num):
4149 r"""do_update(BodyStatisticsOptimizerState self, unsigned int call_num)"""
4150 return _IMP_npctransport.BodyStatisticsOptimizerState_do_update(self, call_num)
4152 def get_version_info(self):
4153 r"""get_version_info(BodyStatisticsOptimizerState self) -> VersionInfo"""
4154 return _IMP_npctransport.BodyStatisticsOptimizerState_get_version_info(self)
4155 __swig_destroy__ = _IMP_npctransport.delete_BodyStatisticsOptimizerState
4158 r"""__str__(BodyStatisticsOptimizerState self) -> std::string"""
4159 return _IMP_npctransport.BodyStatisticsOptimizerState___str__(self)
4162 r"""__repr__(BodyStatisticsOptimizerState self) -> std::string"""
4163 return _IMP_npctransport.BodyStatisticsOptimizerState___repr__(self)
4167 return _object_cast_to_BodyStatisticsOptimizerState(o)
4171 _IMP_npctransport.BodyStatisticsOptimizerState_swigregister(BodyStatisticsOptimizerState)
4173 r"""Proxy of C++ IMP::npctransport::ParticleTransportStatisticsOptimizerState class."""
4175 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4177 def __init__(self, p, bottom_z, top_z, statistics_manager=0, owner=0):
4178 r"""__init__(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"""
4179 _IMP_npctransport.ParticleTransportStatisticsOptimizerState_swiginit(self, _IMP_npctransport.new_ParticleTransportStatisticsOptimizerState(p, bottom_z, top_z, statistics_manager, owner))
4181 def set_owner(self, owner):
4182 r"""set_owner(ParticleTransportStatisticsOptimizerState self, WeakPointer< IMP::atom::Simulator > owner)"""
4183 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_set_owner(self, owner)
4185 def get_owner(self):
4186 r"""get_owner(ParticleTransportStatisticsOptimizerState self) -> Simulator"""
4187 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_owner(self)
4189 def get_n_transports_up(self):
4190 r"""get_n_transports_up(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4191 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_up(self)
4193 def get_n_transports_down(self):
4194 r"""get_n_transports_down(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4195 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_down(self)
4197 def get_total_n_transports(self):
4198 r"""get_total_n_transports(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4199 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_total_n_transports(self)
4201 def get_transport_time_points_in_ns(self):
4202 r"""get_transport_time_points_in_ns(ParticleTransportStatisticsOptimizerState self) -> IMP::Floats const &"""
4203 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_transport_time_points_in_ns(self)
4205 def do_update(self, call_num):
4206 r"""do_update(ParticleTransportStatisticsOptimizerState self, unsigned int call_num)"""
4207 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_do_update(self, call_num)
4209 def get_version_info(self):
4210 r"""get_version_info(ParticleTransportStatisticsOptimizerState self) -> VersionInfo"""
4211 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_version_info(self)
4212 __swig_destroy__ = _IMP_npctransport.delete_ParticleTransportStatisticsOptimizerState
4215 r"""__str__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4216 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___str__(self)
4219 r"""__repr__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4220 return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___repr__(self)
4224 return _object_cast_to_ParticleTransportStatisticsOptimizerState(o)
4228 _IMP_npctransport.ParticleTransportStatisticsOptimizerState_swigregister(ParticleTransportStatisticsOptimizerState)
4230 r"""Proxy of C++ IMP::npctransport::ChainStatisticsOptimizerState class."""
4232 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4234 def __init__(self, ps, periodicity=1):
4235 r"""__init__(ChainStatisticsOptimizerState self, IMP::ParticlesTemp const & ps, unsigned int periodicity=1) -> ChainStatisticsOptimizerState"""
4236 _IMP_npctransport.ChainStatisticsOptimizerState_swiginit(self, _IMP_npctransport.new_ChainStatisticsOptimizerState(ps, periodicity))
4238 def get_correlation_time(self):
4239 r"""get_correlation_time(ChainStatisticsOptimizerState self) -> double"""
4240 return _IMP_npctransport.ChainStatisticsOptimizerState_get_correlation_time(self)
4242 def get_local_diffusion_coefficients(self):
4243 r"""get_local_diffusion_coefficients(ChainStatisticsOptimizerState self) -> IMP::Floats"""
4244 return _IMP_npctransport.ChainStatisticsOptimizerState_get_local_diffusion_coefficients(self)
4247 r"""get_diffusion_coefficient(ChainStatisticsOptimizerState self) -> double"""
4248 return _IMP_npctransport.ChainStatisticsOptimizerState_get_diffusion_coefficient(self)
4250 def get_mean_radius_of_gyration(self):
4251 r"""get_mean_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4252 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_radius_of_gyration(self)
4254 def get_mean_square_radius_of_gyration(self):
4255 r"""get_mean_square_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4256 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_radius_of_gyration(self)
4258 def get_mean_end_to_end_distance(self):
4259 r"""get_mean_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4260 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_end_to_end_distance(self)
4262 def get_mean_square_end_to_end_distance(self):
4263 r"""get_mean_square_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4264 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_end_to_end_distance(self)
4266 def get_mean_bond_distance(self):
4267 r"""get_mean_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4268 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_bond_distance(self)
4270 def get_mean_square_bond_distance(self):
4271 r"""get_mean_square_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4272 return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_bond_distance(self)
4274 def do_update(self, call_num):
4275 r"""do_update(ChainStatisticsOptimizerState self, unsigned int call_num)"""
4276 return _IMP_npctransport.ChainStatisticsOptimizerState_do_update(self, call_num)
4278 def get_version_info(self):
4279 r"""get_version_info(ChainStatisticsOptimizerState self) -> VersionInfo"""
4280 return _IMP_npctransport.ChainStatisticsOptimizerState_get_version_info(self)
4281 __swig_destroy__ = _IMP_npctransport.delete_ChainStatisticsOptimizerState
4284 r"""__str__(ChainStatisticsOptimizerState self) -> std::string"""
4285 return _IMP_npctransport.ChainStatisticsOptimizerState___str__(self)
4288 r"""__repr__(ChainStatisticsOptimizerState self) -> std::string"""
4289 return _IMP_npctransport.ChainStatisticsOptimizerState___repr__(self)
4293 return _object_cast_to_ChainStatisticsOptimizerState(o)
4297 _IMP_npctransport.ChainStatisticsOptimizerState_swigregister(ChainStatisticsOptimizerState)
4299 r"""Proxy of C++ IMP::npctransport::BipartitePairsStatisticsOptimizerState class."""
4301 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4303 def __init__(self, statistics_manager, interaction_type, particlesI, particlesII, contact_range=1.0, slack=1.0):
4304 r"""__init__(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"""
4305 _IMP_npctransport.BipartitePairsStatisticsOptimizerState_swiginit(self, _IMP_npctransport.new_BipartitePairsStatisticsOptimizerState(statistics_manager, interaction_type, particlesI, particlesII, contact_range, slack))
4307 def get_interaction_type(self):
4308 r"""get_interaction_type(BipartitePairsStatisticsOptimizerState self) -> IMP::npctransport::InteractionType"""
4309 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_interaction_type(self)
4311 def get_average_number_of_contacts(self):
4312 r"""get_average_number_of_contacts(BipartitePairsStatisticsOptimizerState self) -> double"""
4313 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_number_of_contacts(self)
4315 def get_average_off_per_contact_per_ns(self):
4316 r"""get_average_off_per_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4317 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_contact_per_ns(self)
4319 def get_average_off_per_bound_I_per_ns(self):
4320 r"""get_average_off_per_bound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4321 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_I_per_ns(self)
4323 def get_average_off_per_bound_II_per_ns(self):
4324 r"""get_average_off_per_bound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4325 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_II_per_ns(self)
4327 def get_average_on_per_missing_contact_per_ns(self):
4328 r"""get_average_on_per_missing_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4329 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_missing_contact_per_ns(self)
4331 def get_average_on_per_unbound_I_per_ns(self):
4332 r"""get_average_on_per_unbound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4333 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_I_per_ns(self)
4335 def get_average_on_per_unbound_II_per_ns(self):
4336 r"""get_average_on_per_unbound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4337 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_II_per_ns(self)
4339 def get_average_fraction_bound_particles_I(self):
4340 r"""get_average_fraction_bound_particles_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4341 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_I(self)
4343 def get_average_fraction_bound_particles_II(self):
4344 r"""get_average_fraction_bound_particles_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4345 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_II(self)
4347 def get_average_fraction_bound_particle_sites_I(self):
4348 r"""get_average_fraction_bound_particle_sites_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4349 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_I(self)
4351 def get_average_fraction_bound_particle_sites_II(self):
4352 r"""get_average_fraction_bound_particle_sites_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4353 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_II(self)
4355 def get_average_fraction_nonspecific_interactions_I(self):
4356 r"""get_average_fraction_nonspecific_interactions_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4357 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_I(self)
4359 def get_average_fraction_nonspecific_interactions_II(self):
4360 r"""get_average_fraction_nonspecific_interactions_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4361 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_II(self)
4363 def get_number_of_particles_1(self):
4364 r"""get_number_of_particles_1(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4365 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_1(self)
4367 def get_number_of_particles_2(self):
4368 r"""get_number_of_particles_2(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4369 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_2(self)
4371 def get_misc_stats_period_ns(self):
4372 r"""get_misc_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4373 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_misc_stats_period_ns(self)
4375 def get_off_stats_period_ns(self):
4376 r"""get_off_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4377 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_stats_period_ns(self)
4379 def get_off_I_stats_period_ns(self):
4380 r"""get_off_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4381 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_I_stats_period_ns(self)
4383 def get_off_II_stats_period_ns(self):
4384 r"""get_off_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4385 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_II_stats_period_ns(self)
4387 def get_on_stats_period_ns(self):
4388 r"""get_on_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4389 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_stats_period_ns(self)
4391 def get_on_I_stats_period_ns(self):
4392 r"""get_on_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4393 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_I_stats_period_ns(self)
4395 def get_on_II_stats_period_ns(self):
4396 r"""get_on_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4397 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_II_stats_period_ns(self)
4399 def get_version_info(self):
4400 r"""get_version_info(BipartitePairsStatisticsOptimizerState self) -> VersionInfo"""
4401 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_version_info(self)
4402 __swig_destroy__ = _IMP_npctransport.delete_BipartitePairsStatisticsOptimizerState
4405 r"""__str__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4406 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___str__(self)
4409 r"""__repr__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4410 return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___repr__(self)
4414 return _object_cast_to_BipartitePairsStatisticsOptimizerState(o)
4418 _IMP_npctransport.BipartitePairsStatisticsOptimizerState_swigregister(BipartitePairsStatisticsOptimizerState)
4420 def get_close_pairs_range(*args):
4422 get_close_pairs_range(double max_range, double max_range_factor) -> double
4423 get_close_pairs_range(::npctransport_proto::Assignment const & config) -> double
4425 return _IMP_npctransport.get_close_pairs_range(*args)
4429 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
4430 get_time_step(::npctransport_proto::Assignment const & config, double max_trans_relative_to_radius=0.1) -> double
4432 return _IMP_npctransport.get_time_step(*args)
4435 r"""get_frames_from_ns(double ns, double time_step) -> int"""
4436 return _IMP_npctransport.get_frames_from_ns(ns, time_step)
4439 r"""get_number_of_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4440 return _IMP_npctransport.get_number_of_frames(config, time_step)
4443 r"""get_dump_interval_in_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4444 return _IMP_npctransport.get_dump_interval_in_frames(config, time_step)
4447 r"""get_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=0.1) -> int"""
4448 return _IMP_npctransport.get_statistics_interval_in_frames(assign, time_step, default_value_ns)
4451 r"""get_output_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=1.0) -> int"""
4452 return _IMP_npctransport.get_output_statistics_interval_in_frames(assign, time_step, default_value_ns)
4455 r"""initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints=IMP::RestraintsTemp(), bool debug=False, double short_init_factor=1.0, bool is_disable_randomize=False, bool are_fgs_pre_initialized=False)"""
4456 return _IMP_npctransport.initialize_positions(*args)
4459 r"""get_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4460 return _IMP_npctransport.get_optimizable_particles(particles)
4463 r"""get_non_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4464 return _IMP_npctransport.get_non_optimizable_particles(particles)
4467 r"""get_particle_indexes(IMP::ParticlesTemp const & particles) -> IMP::ParticleIndexes"""
4468 return _IMP_npctransport.get_particle_indexes(particles)
4471 r"""get_protobuf_configuration_from_text(std::string config_txt, std::string config_pb)"""
4472 return _IMP_npctransport.get_protobuf_configuration_from_text(config_txt, config_pb)
4475 r"""get_spheres_from_vectors(IMP::algebra::Vector3Ds const & vs, double radius) -> IMP::algebra::Sphere3Ds"""
4476 return _IMP_npctransport.get_spheres_from_vectors(vs, radius)
4478 def get_spheres_centers(spheres):
4479 r"""get_spheres_centers(IMP::algebra::Sphere3Ds const & spheres) -> IMP::algebra::Vector3Ds"""
4480 return _IMP_npctransport.get_spheres_centers(spheres)
4483 r"""copy_particle_reference_frame_if_applicable(Particle src_p, Particle trg_p)"""
4484 return _IMP_npctransport.copy_particle_reference_frame_if_applicable(src_p, trg_p)
4487 r"""copy_hierarchy_reference_frame_recursive(Particle src_p, Particle trg_p)"""
4488 return _IMP_npctransport.copy_hierarchy_reference_frame_recursive(src_p, trg_p)
4491 r"""copy_FGs_coordinates(SimulationData src_sd, SimulationData trg_sd)"""
4492 return _IMP_npctransport.copy_FGs_coordinates(src_sd, trg_sd)
4493 class Avro2PBReader(object):
4494 r"""Proxy of C++ IMP::npctransport::Avro2PBReader class."""
4496 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4498 def __init__(self, *args):
4500 __init__(Avro2PBReader self, IMP::Strings const & avro_filenames) -> Avro2PBReader
4501 __init__(Avro2PBReader self, std::string avro_filename) -> Avro2PBReader
4503 _IMP_npctransport.Avro2PBReader_swiginit(self, _IMP_npctransport.new_Avro2PBReader(*args))
4504 __swig_destroy__ = _IMP_npctransport.delete_Avro2PBReader
4506 def read_next(self):
4507 r"""read_next(Avro2PBReader self) -> IMP::npctransport::Avro2PBReader::ByteBuffer"""
4508 return _IMP_npctransport.Avro2PBReader_read_next(self)
4510 def get_is_valid(self):
4511 r"""get_is_valid(Avro2PBReader self) -> bool"""
4512 return _IMP_npctransport.Avro2PBReader_get_is_valid(self)
4514 def get_cur_file_name(self):
4515 r"""get_cur_file_name(Avro2PBReader self) -> std::string"""
4516 return _IMP_npctransport.Avro2PBReader_get_cur_file_name(self)
4518 def show(self, *args):
4519 r"""show(Avro2PBReader self, _ostream out=std::cout)"""
4520 return _IMP_npctransport.Avro2PBReader_show(self, *args)
4523 r"""__str__(Avro2PBReader self) -> std::string"""
4524 return _IMP_npctransport.Avro2PBReader___str__(self)
4527 r"""__repr__(Avro2PBReader self) -> std::string"""
4528 return _IMP_npctransport.Avro2PBReader___repr__(self)
4531 _IMP_npctransport.Avro2PBReader_swigregister(Avro2PBReader)
4534 r"""startup(int argc) -> SimulationData"""
4535 return _IMP_npctransport.startup(argc)
4538 r"""remove_Nup42(SimulationData sd)"""
4539 return _IMP_npctransport.remove_Nup42(sd)
4542 r"""inflate_floater(SimulationData sd, std::string const floater_name, float const new_radius)"""
4543 return _IMP_npctransport.inflate_floater(sd, floater_name, new_radius)
4546 r"""reset_box_size(SimulationData sd, double box_size)"""
4547 return _IMP_npctransport.reset_box_size(sd, box_size)
4550 r"""do_main_loop(SimulationData sd, IMP::RestraintsTemp const & init_restraints)"""
4551 return _IMP_npctransport.do_main_loop(sd, init_restraints)
4554 from .npctransport_pb2
import *
4555 import google.protobuf
4557 print(
"no protobuf support in python")
4558 from ._configuration
import *
4564 r"""get_module_name() -> std::string const"""
4565 return _IMP_npctransport.get_module_name()
4568 r"""get_module_version() -> std::string const"""
4569 return _IMP_npctransport.get_module_version()
4572 r"""get_example_path(std::string fname) -> std::string"""
4573 return _IMP_npctransport.get_example_path(fname)
4576 r"""get_data_path(std::string fname) -> std::string"""
4577 return _IMP_npctransport.get_data_path(fname)
4579 from .
import _version_check
def get_example_path
Return the full path to one of this module's example files.
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)
void remove_Nup42(SimulationData *sd)
remove nup42 and its anchors (also from obstacles)
def get_module_version
Return the version of this module, as a string.
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)
IMP::npctransport::SimulationData * startup(int argc, char *argv[])
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
void do_main_loop(SimulationData *sd, const RestraintsTemp &init_restraints)
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.
def get_data_path
Return the full path to one of this module's data files.
Code to compute statistical measures.
def get_module_name
Return the fully-qualified name of this module.
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 inflate_floater(SimulationData *sd, const std::string floater_name, const float new_radius)
inflate floater of specified type to new_radius
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)
void reset_box_size(SimulationData *sd, double box_size)
change box size sd to specified box size and update output file
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