11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_misc', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_misc', fp, pathname, description)
28 _IMP_misc = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_MISC_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_MISC_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_misc.delete_IMP_MISC_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_MISC_SwigPyIterator self) -> PyObject *"""
98 return _IMP_misc.IMP_MISC_SwigPyIterator_value(self)
102 incr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
103 incr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
105 return _IMP_misc.IMP_MISC_SwigPyIterator_incr(self, n)
109 decr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
110 decr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
112 return _IMP_misc.IMP_MISC_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_misc.IMP_MISC_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
120 return _IMP_misc.IMP_MISC_SwigPyIterator_equal(self, *args)
123 """copy(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator"""
124 return _IMP_misc.IMP_MISC_SwigPyIterator_copy(self)
127 """next(IMP_MISC_SwigPyIterator self) -> PyObject *"""
128 return _IMP_misc.IMP_MISC_SwigPyIterator_next(self)
131 """__next__(IMP_MISC_SwigPyIterator self) -> PyObject *"""
132 return _IMP_misc.IMP_MISC_SwigPyIterator___next__(self)
135 """previous(IMP_MISC_SwigPyIterator self) -> PyObject *"""
136 return _IMP_misc.IMP_MISC_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
140 return _IMP_misc.IMP_MISC_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
144 return _IMP_misc.IMP_MISC_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
148 return _IMP_misc.IMP_MISC_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
152 return _IMP_misc.IMP_MISC_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
156 return _IMP_misc.IMP_MISC_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
160 return _IMP_misc.IMP_MISC_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator
165 __sub__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_misc.IMP_MISC_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_MISC_SwigPyIterator_swigregister = _IMP_misc.IMP_MISC_SwigPyIterator_swigregister
171 IMP_MISC_SwigPyIterator_swigregister(IMP_MISC_SwigPyIterator)
178 IMP_DEBUG = _IMP_misc.IMP_DEBUG
179 IMP_RELEASE = _IMP_misc.IMP_RELEASE
180 IMP_SILENT = _IMP_misc.IMP_SILENT
181 IMP_PROGRESS = _IMP_misc.IMP_PROGRESS
182 IMP_TERSE = _IMP_misc.IMP_TERSE
183 IMP_VERBOSE = _IMP_misc.IMP_VERBOSE
184 IMP_MEMORY = _IMP_misc.IMP_MEMORY
185 IMP_NONE = _IMP_misc.IMP_NONE
186 IMP_USAGE = _IMP_misc.IMP_USAGE
187 IMP_INTERNAL = _IMP_misc.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_misc.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_misc.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_misc.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_misc.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_misc.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_misc.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_misc.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_misc._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_misc._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_misc.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_misc.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_misc.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_misc.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_misc.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_misc.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_misc.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_misc.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_misc.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_misc.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_CORE_HAS_IMP_BASE = _IMP_misc.IMP_CORE_HAS_IMP_BASE
279 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
280 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
281 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
282 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
283 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
284 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
285 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
286 IMP_CORE_HAS_HDF5 = _IMP_misc.IMP_CORE_HAS_HDF5
287 IMPCORE_SHOW_WARNINGS = _IMP_misc.IMPCORE_SHOW_WARNINGS
289 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
290 IMP_CONTAINER_HAS_IMP_BASE = _IMP_misc.IMP_CONTAINER_HAS_IMP_BASE
291 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
292 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
293 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
294 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
295 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
296 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
297 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
298 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
299 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
300 IMP_CONTAINER_HAS_HDF5 = _IMP_misc.IMP_CONTAINER_HAS_HDF5
301 IMPCONTAINER_SHOW_WARNINGS = _IMP_misc.IMPCONTAINER_SHOW_WARNINGS
303 IMP_ATOM_HAS_IMP_BASE = _IMP_misc.IMP_ATOM_HAS_IMP_BASE
304 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
305 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
306 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
307 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
309 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
310 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
311 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
312 IMP_ATOM_HAS_HDF5 = _IMP_misc.IMP_ATOM_HAS_HDF5
313 IMPATOM_SHOW_WARNINGS = _IMP_misc.IMPATOM_SHOW_WARNINGS
314 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
315 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
316 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
318 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
319 IMP_MISC_HAS_IMP_BASE = _IMP_misc.IMP_MISC_HAS_IMP_BASE
320 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
321 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
322 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
323 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
324 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
325 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
326 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
327 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
328 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
329 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
330 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
331 IMP_MISC_HAS_HDF5 = _IMP_misc.IMP_MISC_HAS_HDF5
332 IMPMISC_SHOW_WARNINGS = _IMP_misc.IMPMISC_SHOW_WARNINGS
333 _object_types.append(
"WormLikeChain")
336 def _object_cast_to_WormLikeChain(*args):
337 """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
338 return _IMP_misc._object_cast_to_WormLikeChain(*args)
339 _object_types.append(
"StateAdaptor")
342 def _object_cast_to_StateAdaptor(*args):
343 """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
344 return _IMP_misc._object_cast_to_StateAdaptor(*args)
345 _object_types.append(
"CommonEndpointPairFilter")
348 def _object_cast_to_CommonEndpointPairFilter(*args):
349 """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
350 return _IMP_misc._object_cast_to_CommonEndpointPairFilter(*args)
351 _object_types.append(
"LogPairScore")
354 def _object_cast_to_LogPairScore(*args):
355 """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
356 return _IMP_misc._object_cast_to_LogPairScore(*args)
357 _object_types.append(
"LowestRefinedPairScore")
360 def _object_cast_to_LowestRefinedPairScore(*args):
361 """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
362 return _IMP_misc._object_cast_to_LowestRefinedPairScore(*args)
363 _object_types.append(
"SoftCylinderPairScore")
366 def _object_cast_to_SoftCylinderPairScore(*args):
367 """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
368 return _IMP_misc._object_cast_to_SoftCylinderPairScore(*args)
369 _object_types.append(
"DecayPairContainerOptimizerState")
372 def _object_cast_to_DecayPairContainerOptimizerState(*args):
373 """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
374 return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(*args)
375 def CustomXYZRs(l=[]):
376 return [CustomXYZR(x)
for x
in l]
377 _plural_types.append(
"CustomXYZRs")
379 _value_types.append(
"CustomXYZR")
382 """Proxy of C++ IMP::misc::WormLikeChain class"""
383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
384 def __init__(self, *args):
385 """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
386 this = _IMP_misc.new_WormLikeChain(*args)
387 try: self.this.append(this)
388 except: self.this = this
389 def get_version_info(self):
390 """get_version_info(WormLikeChain self) -> VersionInfo"""
391 return _IMP_misc.WormLikeChain_get_version_info(self)
393 def do_show(self, *args):
394 """do_show(WormLikeChain self, _ostream out)"""
395 return _IMP_misc.WormLikeChain_do_show(self, *args)
398 """__str__(WormLikeChain self) -> std::string"""
399 return _IMP_misc.WormLikeChain___str__(self)
402 """__repr__(WormLikeChain self) -> std::string"""
403 return _IMP_misc.WormLikeChain___repr__(self)
406 return _object_cast_to_WormLikeChain(o)
407 get_from = staticmethod(get_from)
409 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
410 WormLikeChain_swigregister(WormLikeChain)
413 """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
415 def __init__(self, *args):
416 """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
417 this = _IMP_misc.new_LowestRefinedPairScore(*args)
418 try: self.this.append(this)
419 except: self.this = this
420 def do_get_inputs(self, *args):
421 """do_get_inputs(LowestRefinedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
422 return _IMP_misc.LowestRefinedPairScore_do_get_inputs(self, *args)
424 def get_version_info(self):
425 """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
426 return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
429 """__str__(LowestRefinedPairScore self) -> std::string"""
430 return _IMP_misc.LowestRefinedPairScore___str__(self)
433 """__repr__(LowestRefinedPairScore self) -> std::string"""
434 return _IMP_misc.LowestRefinedPairScore___repr__(self)
437 return _object_cast_to_LowestRefinedPairScore(o)
438 get_from = staticmethod(get_from)
440 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
441 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
444 """Proxy of C++ IMP::misc::LogPairScore class"""
445 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
447 """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
448 this = _IMP_misc.new_LogPairScore()
449 try: self.this.append(this)
450 except: self.this = this
451 def do_get_inputs(self, *args):
452 """do_get_inputs(LogPairScore self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
453 return _IMP_misc.LogPairScore_do_get_inputs(self, *args)
455 def get_version_info(self):
456 """get_version_info(LogPairScore self) -> VersionInfo"""
457 return _IMP_misc.LogPairScore_get_version_info(self)
459 def get_particle_pairs(self):
460 """get_particle_pairs(LogPairScore self) -> IMP::kernel::ParticlePairsTemp"""
461 return _IMP_misc.LogPairScore_get_particle_pairs(self)
464 """clear(LogPairScore self)"""
465 return _IMP_misc.LogPairScore_clear(self)
467 def get_contains(self, *args):
468 """get_contains(LogPairScore self, IMP::kernel::ParticlePair const & pp) -> bool"""
469 return _IMP_misc.LogPairScore_get_contains(self, *args)
472 """__str__(LogPairScore self) -> std::string"""
473 return _IMP_misc.LogPairScore___str__(self)
476 """__repr__(LogPairScore self) -> std::string"""
477 return _IMP_misc.LogPairScore___repr__(self)
480 return _object_cast_to_LogPairScore(o)
481 get_from = staticmethod(get_from)
483 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
484 LogPairScore_swigregister(LogPairScore)
487 """Proxy of C++ IMP::misc::StateAdaptor class"""
488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
489 def __init__(self, *args):
490 """__init__(IMP::misc::StateAdaptor self, Model m, OptimizerState before, OptimizerState after) -> StateAdaptor"""
491 this = _IMP_misc.new_StateAdaptor(*args)
492 try: self.this.append(this)
493 except: self.this = this
494 def do_before_evaluate(self):
495 """do_before_evaluate(StateAdaptor self)"""
496 return _IMP_misc.StateAdaptor_do_before_evaluate(self)
498 def do_after_evaluate(self, *args):
499 """do_after_evaluate(StateAdaptor self, DerivativeAccumulator da)"""
500 return _IMP_misc.StateAdaptor_do_after_evaluate(self, *args)
502 def do_get_inputs(self):
503 """do_get_inputs(StateAdaptor self) -> IMP::kernel::ModelObjectsTemp"""
504 return _IMP_misc.StateAdaptor_do_get_inputs(self)
506 def do_get_outputs(self):
507 """do_get_outputs(StateAdaptor self) -> IMP::kernel::ModelObjectsTemp"""
508 return _IMP_misc.StateAdaptor_do_get_outputs(self)
510 def get_version_info(self):
511 """get_version_info(StateAdaptor self) -> VersionInfo"""
512 return _IMP_misc.StateAdaptor_get_version_info(self)
515 """__str__(StateAdaptor self) -> std::string"""
516 return _IMP_misc.StateAdaptor___str__(self)
519 """__repr__(StateAdaptor self) -> std::string"""
520 return _IMP_misc.StateAdaptor___repr__(self)
523 return _object_cast_to_StateAdaptor(o)
524 get_from = staticmethod(get_from)
526 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
527 StateAdaptor_swigregister(StateAdaptor)
530 """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
533 """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
534 this = _IMP_misc.new_CommonEndpointPairFilter()
535 try: self.this.append(this)
536 except: self.this = this
537 def do_get_inputs(self, *args):
538 """do_get_inputs(CommonEndpointPairFilter self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
539 return _IMP_misc.CommonEndpointPairFilter_do_get_inputs(self, *args)
541 def get_value(self, *args):
543 get_value(CommonEndpointPairFilter self, IMP::kernel::ParticlePair const & a) -> int
544 get_value(CommonEndpointPairFilter self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
546 return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
548 def get_value_index(self, *args):
550 get_value_index(CommonEndpointPairFilter self, Model m, IMP::kernel::ParticleIndexPair const & p) -> int
551 get_value_index(CommonEndpointPairFilter self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
553 return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
555 def get_version_info(self):
556 """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
557 return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
560 """__str__(CommonEndpointPairFilter self) -> std::string"""
561 return _IMP_misc.CommonEndpointPairFilter___str__(self)
564 """__repr__(CommonEndpointPairFilter self) -> std::string"""
565 return _IMP_misc.CommonEndpointPairFilter___repr__(self)
568 return _object_cast_to_CommonEndpointPairFilter(o)
569 get_from = staticmethod(get_from)
571 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
572 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
575 """Proxy of C++ IMP::misc::CustomXYZR class"""
576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
577 def get_decorator_traits(self):
578 """get_decorator_traits(CustomXYZR self) -> FloatKey"""
579 return _IMP_misc.CustomXYZR_get_decorator_traits(self)
581 def get_default_decorator_traits():
582 """get_default_decorator_traits() -> FloatKey"""
583 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
585 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
586 def __init__(self, *args):
588 __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
589 __init__(IMP::misc::CustomXYZR self, Model m, ::IMP::kernel::ParticleIndex id, FloatKey tr=IMP::core::XYZR::get_radius_key()) -> CustomXYZR
590 __init__(IMP::misc::CustomXYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> CustomXYZR
591 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d, FloatKey tr=IMP::core::XYZR::get_radius_key()) -> CustomXYZR
592 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d) -> CustomXYZR
594 this = _IMP_misc.new_CustomXYZR(*args)
595 try: self.this.append(this)
596 except: self.this = this
597 def show(self, *args):
599 show(CustomXYZR self, _ostream out=std::cout)
600 show(CustomXYZR self)
602 return _IMP_misc.CustomXYZR_show(self, *args)
604 def setup_particle(*args):
606 setup_particle(Model m, IMP::kernel::ParticleIndex pi, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
607 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> CustomXYZR
608 setup_particle(_ParticleAdaptor d, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
609 setup_particle(_ParticleAdaptor d) -> CustomXYZR
610 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double radius, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
611 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double radius) -> CustomXYZR
612 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
613 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
614 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
615 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> CustomXYZR
616 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
617 setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
619 return _IMP_misc.CustomXYZR_setup_particle(*args)
621 setup_particle = staticmethod(setup_particle)
622 def get_is_setup(*args):
624 get_is_setup(_ParticleAdaptor p, FloatKey tr=IMP::core::XYZR::get_radius_key()) -> bool
625 get_is_setup(_ParticleAdaptor p) -> bool
626 get_is_setup(Model m, IMP::kernel::ParticleIndex pi, FloatKey radius_key=get_default_radius_key()) -> bool
627 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
629 return _IMP_misc.CustomXYZR_get_is_setup(*args)
631 get_is_setup = staticmethod(get_is_setup)
632 def get_radius(self):
633 """get_radius(CustomXYZR self) -> IMP::Float"""
634 return _IMP_misc.CustomXYZR_get_radius(self)
636 def set_radius(self, *args):
637 """set_radius(CustomXYZR self, IMP::Float t)"""
638 return _IMP_misc.CustomXYZR_set_radius(self, *args)
640 def get_sphere(self):
641 """get_sphere(CustomXYZR self) -> Sphere3D"""
642 return _IMP_misc.CustomXYZR_get_sphere(self)
644 def set_sphere(self, *args):
645 """set_sphere(CustomXYZR self, Sphere3D s)"""
646 return _IMP_misc.CustomXYZR_set_sphere(self, *args)
648 def get_default_radius_key():
649 """get_default_radius_key() -> FloatKey"""
650 return _IMP_misc.CustomXYZR_get_default_radius_key()
652 get_default_radius_key = staticmethod(get_default_radius_key)
653 def add_to_radius_derivative(self, *args):
654 """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
655 return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, *args)
657 def get_traits(self):
658 """get_traits(CustomXYZR self) -> FloatKey"""
659 return _IMP_misc.CustomXYZR_get_traits(self)
661 def add_attribute(self, *args):
663 add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
664 add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
665 add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
666 add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
667 add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
668 add_attribute(CustomXYZR self, ObjectKey a0, Object a1)
670 return _IMP_misc.CustomXYZR_add_attribute(self, *args)
672 def get_value(self, *args):
674 get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
675 get_value(CustomXYZR self, IntKey a0) -> IMP::Int
676 get_value(CustomXYZR self, StringKey a0) -> IMP::String
677 get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
678 get_value(CustomXYZR self, ObjectKey a0) -> Object
680 return _IMP_misc.CustomXYZR_get_value(self, *args)
682 def set_value(self, *args):
684 set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
685 set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
686 set_value(CustomXYZR self, StringKey a0, IMP::String a1)
687 set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
688 set_value(CustomXYZR self, ObjectKey a0, Object a1)
690 return _IMP_misc.CustomXYZR_set_value(self, *args)
692 def remove_attribute(self, *args):
694 remove_attribute(CustomXYZR self, FloatKey a0)
695 remove_attribute(CustomXYZR self, IntKey a0)
696 remove_attribute(CustomXYZR self, StringKey a0)
697 remove_attribute(CustomXYZR self, ParticleIndexKey a0)
698 remove_attribute(CustomXYZR self, ObjectKey a0)
700 return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
702 def has_attribute(self, *args):
704 has_attribute(CustomXYZR self, FloatKey a0) -> bool
705 has_attribute(CustomXYZR self, IntKey a0) -> bool
706 has_attribute(CustomXYZR self, StringKey a0) -> bool
707 has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
708 has_attribute(CustomXYZR self, ObjectKey a0) -> bool
710 return _IMP_misc.CustomXYZR_has_attribute(self, *args)
712 def get_derivative(self, *args):
713 """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
714 return _IMP_misc.CustomXYZR_get_derivative(self, *args)
717 """get_name(CustomXYZR self) -> std::string"""
718 return _IMP_misc.CustomXYZR_get_name(self)
720 def clear_caches(self):
721 """clear_caches(CustomXYZR self)"""
722 return _IMP_misc.CustomXYZR_clear_caches(self)
724 def set_name(self, *args):
725 """set_name(CustomXYZR self, std::string a0)"""
726 return _IMP_misc.CustomXYZR_set_name(self, *args)
729 """set_check_level(CustomXYZR self, IMP::base::CheckLevel a0)"""
730 return _IMP_misc.CustomXYZR_set_check_level(self, *args)
732 def add_to_derivative(self, *args):
733 """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
734 return _IMP_misc.CustomXYZR_add_to_derivative(self, *args)
736 def set_is_optimized(self, *args):
737 """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
738 return _IMP_misc.CustomXYZR_set_is_optimized(self, *args)
740 def get_is_optimized(self, *args):
741 """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
742 return _IMP_misc.CustomXYZR_get_is_optimized(self, *args)
745 """get_check_level(CustomXYZR self) -> IMP::base::CheckLevel"""
746 return _IMP_misc.CustomXYZR_get_check_level(self)
748 def __eq__(self, *args):
750 __eq__(CustomXYZR self, CustomXYZR o) -> bool
751 __eq__(CustomXYZR self, Particle d) -> bool
753 return _IMP_misc.CustomXYZR___eq__(self, *args)
755 def __ne__(self, *args):
757 __ne__(CustomXYZR self, CustomXYZR o) -> bool
758 __ne__(CustomXYZR self, Particle d) -> bool
760 return _IMP_misc.CustomXYZR___ne__(self, *args)
762 def __le__(self, *args):
764 __le__(CustomXYZR self, CustomXYZR o) -> bool
765 __le__(CustomXYZR self, Particle d) -> bool
767 return _IMP_misc.CustomXYZR___le__(self, *args)
769 def __lt__(self, *args):
771 __lt__(CustomXYZR self, CustomXYZR o) -> bool
772 __lt__(CustomXYZR self, Particle d) -> bool
774 return _IMP_misc.CustomXYZR___lt__(self, *args)
776 def __ge__(self, *args):
778 __ge__(CustomXYZR self, CustomXYZR o) -> bool
779 __ge__(CustomXYZR self, Particle d) -> bool
781 return _IMP_misc.CustomXYZR___ge__(self, *args)
783 def __gt__(self, *args):
785 __gt__(CustomXYZR self, CustomXYZR o) -> bool
786 __gt__(CustomXYZR self, Particle d) -> bool
788 return _IMP_misc.CustomXYZR___gt__(self, *args)
791 """__hash__(CustomXYZR self) -> std::size_t"""
792 return _IMP_misc.CustomXYZR___hash__(self)
795 """__str__(CustomXYZR self) -> std::string"""
796 return _IMP_misc.CustomXYZR___str__(self)
799 """__repr__(CustomXYZR self) -> std::string"""
800 return _IMP_misc.CustomXYZR___repr__(self)
802 __swig_destroy__ = _IMP_misc.delete_CustomXYZR
803 __del__ =
lambda self :
None;
804 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
805 CustomXYZR_swigregister(CustomXYZR)
807 def CustomXYZR_get_default_decorator_traits():
808 """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
809 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
811 def CustomXYZR_setup_particle(*args):
813 setup_particle(Model m, IMP::kernel::ParticleIndex pi, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
814 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> CustomXYZR
815 setup_particle(_ParticleAdaptor d, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
816 setup_particle(_ParticleAdaptor d) -> CustomXYZR
817 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double radius, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
818 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double radius) -> CustomXYZR
819 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
820 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
821 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
822 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> CustomXYZR
823 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr=IMP::misc::CustomXYZR::get_default_decorator_traits()) -> CustomXYZR
824 CustomXYZR_setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
826 return _IMP_misc.CustomXYZR_setup_particle(*args)
828 def CustomXYZR_get_is_setup(*args):
830 get_is_setup(_ParticleAdaptor p, FloatKey tr=IMP::core::XYZR::get_radius_key()) -> bool
831 get_is_setup(_ParticleAdaptor p) -> bool
832 get_is_setup(Model m, IMP::kernel::ParticleIndex pi, FloatKey radius_key=get_default_radius_key()) -> bool
833 CustomXYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
835 return _IMP_misc.CustomXYZR_get_is_setup(*args)
837 def CustomXYZR_get_default_radius_key():
838 """CustomXYZR_get_default_radius_key() -> FloatKey"""
839 return _IMP_misc.CustomXYZR_get_default_radius_key()
842 def __lshift__(*args):
843 """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
844 return _IMP_misc.__lshift__(*args)
847 """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
848 return _IMP_misc.get_distance(*args)
851 """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
852 return _IMP_misc.get_sphere_d_geometry(*args)
855 """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
856 return _IMP_misc.set_sphere_d_geometry(*args)
858 """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
860 def __init__(self, *args):
861 """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
862 this = _IMP_misc.new_SoftCylinderPairScore(*args)
863 try: self.this.append(this)
864 except: self.this = this
865 def do_get_inputs(self, *args):
866 """do_get_inputs(SoftCylinderPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
867 return _IMP_misc.SoftCylinderPairScore_do_get_inputs(self, *args)
869 def get_version_info(self):
870 """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
871 return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
874 """__str__(SoftCylinderPairScore self) -> std::string"""
875 return _IMP_misc.SoftCylinderPairScore___str__(self)
878 """__repr__(SoftCylinderPairScore self) -> std::string"""
879 return _IMP_misc.SoftCylinderPairScore___repr__(self)
882 return _object_cast_to_SoftCylinderPairScore(o)
883 get_from = staticmethod(get_from)
885 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
886 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
889 """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
891 def __init__(self, *args):
893 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::kernel::ParticlePairsTemp const & initial_list, std::string name="DecayPairContainerOptimizerState%1%") -> DecayPairContainerOptimizerState
894 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::kernel::ParticlePairsTemp const & initial_list) -> DecayPairContainerOptimizerState
896 this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
897 try: self.this.append(this)
898 except: self.this = this
899 def get_output_container(self):
900 """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
901 return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
903 def do_update(self, *args):
904 """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
905 return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, *args)
907 def get_version_info(self):
908 """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
909 return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
912 """__str__(DecayPairContainerOptimizerState self) -> std::string"""
913 return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
916 """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
917 return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
920 return _object_cast_to_DecayPairContainerOptimizerState(o)
921 get_from = staticmethod(get_from)
923 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
924 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
927 def get_module_version():
928 """get_module_version() -> std::string const"""
929 return _IMP_misc.get_module_version()
932 """get_example_path(std::string fname) -> std::string"""
933 return _IMP_misc.get_example_path(*args)
936 """get_data_path(std::string fname) -> std::string"""
937 return _IMP_misc.get_data_path(*args)
938 from .
import _version_check
939 _version_check.check_version(get_module_version())
Various classes to hold sets of particles.
Shared optimizer state that is invoked upon commitment of new coordinates.
const algebra::Sphere3D get_sphere_d_geometry(CustomXYZR d)
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Abstract single variable functor class for score functions.
ScoreStates maintain invariants in the Model.
Composable functors to implement scores via compile-time composition.
Abstract class for scoring object(s) of type ParticlePair.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Base functionality and abstract base classes for representation, scoring and sampling.
A decorator for a particle with x,y,z coordinates.
Abstract predicate function.
void set_sphere_d_geometry(CustomXYZR d, const algebra::Sphere3D &v)
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...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
CheckLevel get_check_level()
Get the current audit mode.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.