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_pmi', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_pmi', fp, pathname, description)
28 _IMP_pmi = 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_PMI_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_PMI_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_pmi.delete_IMP_PMI_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
98 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
102 incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
103 incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
105 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
109 decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
110 decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
112 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
120 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, *args)
123 """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
124 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
127 """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
128 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
131 """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
132 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
135 """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
136 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
140 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
144 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
148 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
152 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
156 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
160 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
165 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
171 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
178 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
179 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
180 IMP_SILENT = _IMP_pmi.IMP_SILENT
181 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
182 IMP_TERSE = _IMP_pmi.IMP_TERSE
183 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
184 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
185 IMP_NONE = _IMP_pmi.IMP_NONE
186 IMP_USAGE = _IMP_pmi.IMP_USAGE
187 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_pmi.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_pmi.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_pmi.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_pmi._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_pmi._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_pmi.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_pmi.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_pmi.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_CORE_HAS_IMP_BASE = _IMP_pmi.IMP_CORE_HAS_IMP_BASE
279 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
280 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
281 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
282 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
283 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
284 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
285 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
286 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
287 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
289 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
290 IMP_CONTAINER_HAS_IMP_BASE = _IMP_pmi.IMP_CONTAINER_HAS_IMP_BASE
291 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
292 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
293 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
294 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
295 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
296 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
297 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
298 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
299 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
300 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
301 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
303 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
304 IMP_PMI_HAS_IMP_BASE = _IMP_pmi.IMP_PMI_HAS_IMP_BASE
305 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
306 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
307 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
308 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
309 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
310 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
311 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
312 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
313 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
314 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
315 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
316 _object_types.append(
"CompositeRestraint")
319 def _object_cast_to_CompositeRestraint(*args):
320 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
321 return _IMP_pmi._object_cast_to_CompositeRestraint(*args)
322 def Uncertainties(l=[]):
323 return [Uncertainty(x)
for x
in l]
324 _plural_types.append(
"Uncertainties")
326 _value_types.append(
"Uncertainty")
328 def Resolutions(l=[]):
329 return [Resolution(x)
for x
in l]
330 _plural_types.append(
"Resolutions")
332 _value_types.append(
"Resolution")
334 def Symmetrics(l=[]):
335 return [Symmetric(x)
for x
in l]
336 _plural_types.append(
"Symmetrics")
338 _value_types.append(
"Symmetric")
340 _object_types.append(
"SigmoidRestraintSphere")
343 def _object_cast_to_SigmoidRestraintSphere(*args):
344 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
345 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(*args)
346 _object_types.append(
"TransformMover")
349 def _object_cast_to_TransformMover(*args):
350 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
351 return _IMP_pmi._object_cast_to_TransformMover(*args)
353 """Proxy of C++ IMP::pmi::CompositeRestraint class"""
354 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
357 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l,
358 bool tabprob, double plateau, std::string name="CompositeRestraint%1%") -> CompositeRestraint
359 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l,
360 bool tabprob, double plateau) -> CompositeRestraint
362 this = _IMP_pmi.new_CompositeRestraint(*args)
363 try: self.this.append(this)
364 except: self.this = this
365 def add_composite_particle(self, *args):
366 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
367 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, *args)
369 def get_number_of_elements(self):
370 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
371 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
373 def do_get_inputs(self):
374 """do_get_inputs(CompositeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
375 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
377 def get_version_info(self):
378 """get_version_info(CompositeRestraint self) -> VersionInfo"""
379 return _IMP_pmi.CompositeRestraint_get_version_info(self)
381 def get_probability(self):
382 """get_probability(CompositeRestraint self) -> double"""
383 return _IMP_pmi.CompositeRestraint_get_probability(self)
386 """__str__(CompositeRestraint self) -> std::string"""
387 return _IMP_pmi.CompositeRestraint___str__(self)
390 """__repr__(CompositeRestraint self) -> std::string"""
391 return _IMP_pmi.CompositeRestraint___repr__(self)
394 return _object_cast_to_CompositeRestraint(o)
395 get_from = staticmethod(get_from)
397 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
398 CompositeRestraint_swigregister(CompositeRestraint)
401 """Proxy of C++ IMP::pmi::Uncertainty class"""
402 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
403 def get_uncertainty(self):
404 """get_uncertainty(Uncertainty self) -> IMP::Float"""
405 return _IMP_pmi.Uncertainty_get_uncertainty(self)
407 def set_uncertainty(self, *args):
408 """set_uncertainty(Uncertainty self, IMP::Float d)"""
409 return _IMP_pmi.Uncertainty_set_uncertainty(self, *args)
413 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
414 __init__(IMP::pmi::Uncertainty self, Model m, ::IMP::kernel::ParticleIndex id) -> Uncertainty
415 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
417 this = _IMP_pmi.new_Uncertainty(*args)
418 try: self.this.append(this)
419 except: self.this = this
420 def get_is_setup(*args):
422 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
423 get_is_setup(_ParticleAdaptor p) -> bool
425 return _IMP_pmi.Uncertainty_get_is_setup(*args)
427 get_is_setup = staticmethod(get_is_setup)
428 def show(self, *args):
430 show(Uncertainty self, _ostream out=std::cout)
431 show(Uncertainty self)
433 return _IMP_pmi.Uncertainty_show(self, *args)
435 def setup_particle(*args):
437 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
438 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
440 return _IMP_pmi.Uncertainty_setup_particle(*args)
442 setup_particle = staticmethod(setup_particle)
443 def get_uncertainty_key():
444 """get_uncertainty_key() -> FloatKey"""
445 return _IMP_pmi.Uncertainty_get_uncertainty_key()
447 get_uncertainty_key = staticmethod(get_uncertainty_key)
448 def add_attribute(self, *args):
450 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
451 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
452 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
453 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
454 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
455 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
457 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
459 def get_value(self, *args):
461 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
462 get_value(Uncertainty self, IntKey a0) -> IMP::Int
463 get_value(Uncertainty self, StringKey a0) -> IMP::String
464 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
465 get_value(Uncertainty self, ObjectKey a0) -> Object
467 return _IMP_pmi.Uncertainty_get_value(self, *args)
469 def set_value(self, *args):
471 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
472 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
473 set_value(Uncertainty self, StringKey a0, IMP::String a1)
474 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
475 set_value(Uncertainty self, ObjectKey a0, Object a1)
477 return _IMP_pmi.Uncertainty_set_value(self, *args)
479 def remove_attribute(self, *args):
481 remove_attribute(Uncertainty self, FloatKey a0)
482 remove_attribute(Uncertainty self, IntKey a0)
483 remove_attribute(Uncertainty self, StringKey a0)
484 remove_attribute(Uncertainty self, ParticleIndexKey a0)
485 remove_attribute(Uncertainty self, ObjectKey a0)
487 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
489 def has_attribute(self, *args):
491 has_attribute(Uncertainty self, FloatKey a0) -> bool
492 has_attribute(Uncertainty self, IntKey a0) -> bool
493 has_attribute(Uncertainty self, StringKey a0) -> bool
494 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
495 has_attribute(Uncertainty self, ObjectKey a0) -> bool
497 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
499 def get_derivative(self, *args):
500 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
501 return _IMP_pmi.Uncertainty_get_derivative(self, *args)
504 """get_name(Uncertainty self) -> std::string"""
505 return _IMP_pmi.Uncertainty_get_name(self)
507 def clear_caches(self):
508 """clear_caches(Uncertainty self)"""
509 return _IMP_pmi.Uncertainty_clear_caches(self)
511 def set_name(self, *args):
512 """set_name(Uncertainty self, std::string a0)"""
513 return _IMP_pmi.Uncertainty_set_name(self, *args)
516 """set_check_level(Uncertainty self, IMP::base::CheckLevel a0)"""
517 return _IMP_pmi.Uncertainty_set_check_level(self, *args)
519 def add_to_derivative(self, *args):
520 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
521 return _IMP_pmi.Uncertainty_add_to_derivative(self, *args)
523 def set_is_optimized(self, *args):
524 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
525 return _IMP_pmi.Uncertainty_set_is_optimized(self, *args)
527 def get_is_optimized(self, *args):
528 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
529 return _IMP_pmi.Uncertainty_get_is_optimized(self, *args)
532 """get_check_level(Uncertainty self) -> IMP::base::CheckLevel"""
533 return _IMP_pmi.Uncertainty_get_check_level(self)
535 def __eq__(self, *args):
537 __eq__(Uncertainty self, Uncertainty o) -> bool
538 __eq__(Uncertainty self, Particle d) -> bool
540 return _IMP_pmi.Uncertainty___eq__(self, *args)
542 def __ne__(self, *args):
544 __ne__(Uncertainty self, Uncertainty o) -> bool
545 __ne__(Uncertainty self, Particle d) -> bool
547 return _IMP_pmi.Uncertainty___ne__(self, *args)
549 def __le__(self, *args):
551 __le__(Uncertainty self, Uncertainty o) -> bool
552 __le__(Uncertainty self, Particle d) -> bool
554 return _IMP_pmi.Uncertainty___le__(self, *args)
556 def __lt__(self, *args):
558 __lt__(Uncertainty self, Uncertainty o) -> bool
559 __lt__(Uncertainty self, Particle d) -> bool
561 return _IMP_pmi.Uncertainty___lt__(self, *args)
563 def __ge__(self, *args):
565 __ge__(Uncertainty self, Uncertainty o) -> bool
566 __ge__(Uncertainty self, Particle d) -> bool
568 return _IMP_pmi.Uncertainty___ge__(self, *args)
570 def __gt__(self, *args):
572 __gt__(Uncertainty self, Uncertainty o) -> bool
573 __gt__(Uncertainty self, Particle d) -> bool
575 return _IMP_pmi.Uncertainty___gt__(self, *args)
578 """__hash__(Uncertainty self) -> std::size_t"""
579 return _IMP_pmi.Uncertainty___hash__(self)
582 """__str__(Uncertainty self) -> std::string"""
583 return _IMP_pmi.Uncertainty___str__(self)
586 """__repr__(Uncertainty self) -> std::string"""
587 return _IMP_pmi.Uncertainty___repr__(self)
589 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
590 __del__ =
lambda self :
None;
591 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
592 Uncertainty_swigregister(Uncertainty)
594 def Uncertainty_get_is_setup(*args):
596 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
597 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
599 return _IMP_pmi.Uncertainty_get_is_setup(*args)
601 def Uncertainty_setup_particle(*args):
603 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
604 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
606 return _IMP_pmi.Uncertainty_setup_particle(*args)
608 def Uncertainty_get_uncertainty_key():
609 """Uncertainty_get_uncertainty_key() -> FloatKey"""
610 return _IMP_pmi.Uncertainty_get_uncertainty_key()
613 """Proxy of C++ IMP::pmi::Resolution class"""
614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
616 """get_resolution(Resolution self) -> IMP::Float"""
617 return _IMP_pmi.Resolution_get_resolution(self)
619 def set_resolution(self, *args):
620 """set_resolution(Resolution self, IMP::Float d)"""
621 return _IMP_pmi.Resolution_set_resolution(self, *args)
625 __init__(IMP::pmi::Resolution self) -> Resolution
626 __init__(IMP::pmi::Resolution self, Model m, ::IMP::kernel::ParticleIndex id) -> Resolution
627 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
629 this = _IMP_pmi.new_Resolution(*args)
630 try: self.this.append(this)
631 except: self.this = this
632 def get_is_setup(*args):
634 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
635 get_is_setup(_ParticleAdaptor p) -> bool
637 return _IMP_pmi.Resolution_get_is_setup(*args)
639 get_is_setup = staticmethod(get_is_setup)
640 def show(self, *args):
642 show(Resolution self, _ostream out=std::cout)
643 show(Resolution self)
645 return _IMP_pmi.Resolution_show(self, *args)
647 def setup_particle(*args):
649 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float resolution) -> Resolution
650 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
652 return _IMP_pmi.Resolution_setup_particle(*args)
654 setup_particle = staticmethod(setup_particle)
655 def get_resolution_key():
656 """get_resolution_key() -> FloatKey"""
657 return _IMP_pmi.Resolution_get_resolution_key()
659 get_resolution_key = staticmethod(get_resolution_key)
660 def add_attribute(self, *args):
662 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
663 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
664 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
665 add_attribute(Resolution self, StringKey a0, IMP::String a1)
666 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
667 add_attribute(Resolution self, ObjectKey a0, Object a1)
669 return _IMP_pmi.Resolution_add_attribute(self, *args)
671 def get_value(self, *args):
673 get_value(Resolution self, FloatKey a0) -> IMP::Float
674 get_value(Resolution self, IntKey a0) -> IMP::Int
675 get_value(Resolution self, StringKey a0) -> IMP::String
676 get_value(Resolution self, ParticleIndexKey a0) -> Particle
677 get_value(Resolution self, ObjectKey a0) -> Object
679 return _IMP_pmi.Resolution_get_value(self, *args)
681 def set_value(self, *args):
683 set_value(Resolution self, FloatKey a0, IMP::Float a1)
684 set_value(Resolution self, IntKey a0, IMP::Int a1)
685 set_value(Resolution self, StringKey a0, IMP::String a1)
686 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
687 set_value(Resolution self, ObjectKey a0, Object a1)
689 return _IMP_pmi.Resolution_set_value(self, *args)
691 def remove_attribute(self, *args):
693 remove_attribute(Resolution self, FloatKey a0)
694 remove_attribute(Resolution self, IntKey a0)
695 remove_attribute(Resolution self, StringKey a0)
696 remove_attribute(Resolution self, ParticleIndexKey a0)
697 remove_attribute(Resolution self, ObjectKey a0)
699 return _IMP_pmi.Resolution_remove_attribute(self, *args)
701 def has_attribute(self, *args):
703 has_attribute(Resolution self, FloatKey a0) -> bool
704 has_attribute(Resolution self, IntKey a0) -> bool
705 has_attribute(Resolution self, StringKey a0) -> bool
706 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
707 has_attribute(Resolution self, ObjectKey a0) -> bool
709 return _IMP_pmi.Resolution_has_attribute(self, *args)
711 def get_derivative(self, *args):
712 """get_derivative(Resolution self, FloatKey a0) -> double"""
713 return _IMP_pmi.Resolution_get_derivative(self, *args)
716 """get_name(Resolution self) -> std::string"""
717 return _IMP_pmi.Resolution_get_name(self)
719 def clear_caches(self):
720 """clear_caches(Resolution self)"""
721 return _IMP_pmi.Resolution_clear_caches(self)
723 def set_name(self, *args):
724 """set_name(Resolution self, std::string a0)"""
725 return _IMP_pmi.Resolution_set_name(self, *args)
728 """set_check_level(Resolution self, IMP::base::CheckLevel a0)"""
729 return _IMP_pmi.Resolution_set_check_level(self, *args)
731 def add_to_derivative(self, *args):
732 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
733 return _IMP_pmi.Resolution_add_to_derivative(self, *args)
735 def set_is_optimized(self, *args):
736 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
737 return _IMP_pmi.Resolution_set_is_optimized(self, *args)
739 def get_is_optimized(self, *args):
740 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
741 return _IMP_pmi.Resolution_get_is_optimized(self, *args)
744 """get_check_level(Resolution self) -> IMP::base::CheckLevel"""
745 return _IMP_pmi.Resolution_get_check_level(self)
747 def __eq__(self, *args):
749 __eq__(Resolution self, Resolution o) -> bool
750 __eq__(Resolution self, Particle d) -> bool
752 return _IMP_pmi.Resolution___eq__(self, *args)
754 def __ne__(self, *args):
756 __ne__(Resolution self, Resolution o) -> bool
757 __ne__(Resolution self, Particle d) -> bool
759 return _IMP_pmi.Resolution___ne__(self, *args)
761 def __le__(self, *args):
763 __le__(Resolution self, Resolution o) -> bool
764 __le__(Resolution self, Particle d) -> bool
766 return _IMP_pmi.Resolution___le__(self, *args)
768 def __lt__(self, *args):
770 __lt__(Resolution self, Resolution o) -> bool
771 __lt__(Resolution self, Particle d) -> bool
773 return _IMP_pmi.Resolution___lt__(self, *args)
775 def __ge__(self, *args):
777 __ge__(Resolution self, Resolution o) -> bool
778 __ge__(Resolution self, Particle d) -> bool
780 return _IMP_pmi.Resolution___ge__(self, *args)
782 def __gt__(self, *args):
784 __gt__(Resolution self, Resolution o) -> bool
785 __gt__(Resolution self, Particle d) -> bool
787 return _IMP_pmi.Resolution___gt__(self, *args)
790 """__hash__(Resolution self) -> std::size_t"""
791 return _IMP_pmi.Resolution___hash__(self)
794 """__str__(Resolution self) -> std::string"""
795 return _IMP_pmi.Resolution___str__(self)
798 """__repr__(Resolution self) -> std::string"""
799 return _IMP_pmi.Resolution___repr__(self)
801 __swig_destroy__ = _IMP_pmi.delete_Resolution
802 __del__ =
lambda self :
None;
803 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
804 Resolution_swigregister(Resolution)
806 def Resolution_get_is_setup(*args):
808 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
809 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
811 return _IMP_pmi.Resolution_get_is_setup(*args)
813 def Resolution_setup_particle(*args):
815 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float resolution) -> Resolution
816 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
818 return _IMP_pmi.Resolution_setup_particle(*args)
820 def Resolution_get_resolution_key():
821 """Resolution_get_resolution_key() -> FloatKey"""
822 return _IMP_pmi.Resolution_get_resolution_key()
825 """Proxy of C++ IMP::pmi::Symmetric class"""
826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
827 def get_symmetric(self):
828 """get_symmetric(Symmetric self) -> IMP::Float"""
829 return _IMP_pmi.Symmetric_get_symmetric(self)
831 def set_symmetric(self, *args):
832 """set_symmetric(Symmetric self, IMP::Float d)"""
833 return _IMP_pmi.Symmetric_set_symmetric(self, *args)
837 __init__(IMP::pmi::Symmetric self) -> Symmetric
838 __init__(IMP::pmi::Symmetric self, Model m, ::IMP::kernel::ParticleIndex id) -> Symmetric
839 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
841 this = _IMP_pmi.new_Symmetric(*args)
842 try: self.this.append(this)
843 except: self.this = this
844 def get_is_setup(*args):
846 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
847 get_is_setup(_ParticleAdaptor p) -> bool
849 return _IMP_pmi.Symmetric_get_is_setup(*args)
851 get_is_setup = staticmethod(get_is_setup)
852 def show(self, *args):
854 show(Symmetric self, _ostream out=std::cout)
857 return _IMP_pmi.Symmetric_show(self, *args)
859 def setup_particle(*args):
861 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float symmetric) -> Symmetric
862 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
864 return _IMP_pmi.Symmetric_setup_particle(*args)
866 setup_particle = staticmethod(setup_particle)
867 def get_symmetric_key():
868 """get_symmetric_key() -> FloatKey"""
869 return _IMP_pmi.Symmetric_get_symmetric_key()
871 get_symmetric_key = staticmethod(get_symmetric_key)
872 def add_attribute(self, *args):
874 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
875 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
876 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
877 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
878 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
879 add_attribute(Symmetric self, ObjectKey a0, Object a1)
881 return _IMP_pmi.Symmetric_add_attribute(self, *args)
883 def get_value(self, *args):
885 get_value(Symmetric self, FloatKey a0) -> IMP::Float
886 get_value(Symmetric self, IntKey a0) -> IMP::Int
887 get_value(Symmetric self, StringKey a0) -> IMP::String
888 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
889 get_value(Symmetric self, ObjectKey a0) -> Object
891 return _IMP_pmi.Symmetric_get_value(self, *args)
893 def set_value(self, *args):
895 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
896 set_value(Symmetric self, IntKey a0, IMP::Int a1)
897 set_value(Symmetric self, StringKey a0, IMP::String a1)
898 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
899 set_value(Symmetric self, ObjectKey a0, Object a1)
901 return _IMP_pmi.Symmetric_set_value(self, *args)
903 def remove_attribute(self, *args):
905 remove_attribute(Symmetric self, FloatKey a0)
906 remove_attribute(Symmetric self, IntKey a0)
907 remove_attribute(Symmetric self, StringKey a0)
908 remove_attribute(Symmetric self, ParticleIndexKey a0)
909 remove_attribute(Symmetric self, ObjectKey a0)
911 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
913 def has_attribute(self, *args):
915 has_attribute(Symmetric self, FloatKey a0) -> bool
916 has_attribute(Symmetric self, IntKey a0) -> bool
917 has_attribute(Symmetric self, StringKey a0) -> bool
918 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
919 has_attribute(Symmetric self, ObjectKey a0) -> bool
921 return _IMP_pmi.Symmetric_has_attribute(self, *args)
923 def get_derivative(self, *args):
924 """get_derivative(Symmetric self, FloatKey a0) -> double"""
925 return _IMP_pmi.Symmetric_get_derivative(self, *args)
928 """get_name(Symmetric self) -> std::string"""
929 return _IMP_pmi.Symmetric_get_name(self)
931 def clear_caches(self):
932 """clear_caches(Symmetric self)"""
933 return _IMP_pmi.Symmetric_clear_caches(self)
935 def set_name(self, *args):
936 """set_name(Symmetric self, std::string a0)"""
937 return _IMP_pmi.Symmetric_set_name(self, *args)
940 """set_check_level(Symmetric self, IMP::base::CheckLevel a0)"""
941 return _IMP_pmi.Symmetric_set_check_level(self, *args)
943 def add_to_derivative(self, *args):
944 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
945 return _IMP_pmi.Symmetric_add_to_derivative(self, *args)
947 def set_is_optimized(self, *args):
948 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
949 return _IMP_pmi.Symmetric_set_is_optimized(self, *args)
951 def get_is_optimized(self, *args):
952 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
953 return _IMP_pmi.Symmetric_get_is_optimized(self, *args)
956 """get_check_level(Symmetric self) -> IMP::base::CheckLevel"""
957 return _IMP_pmi.Symmetric_get_check_level(self)
959 def __eq__(self, *args):
961 __eq__(Symmetric self, Symmetric o) -> bool
962 __eq__(Symmetric self, Particle d) -> bool
964 return _IMP_pmi.Symmetric___eq__(self, *args)
966 def __ne__(self, *args):
968 __ne__(Symmetric self, Symmetric o) -> bool
969 __ne__(Symmetric self, Particle d) -> bool
971 return _IMP_pmi.Symmetric___ne__(self, *args)
973 def __le__(self, *args):
975 __le__(Symmetric self, Symmetric o) -> bool
976 __le__(Symmetric self, Particle d) -> bool
978 return _IMP_pmi.Symmetric___le__(self, *args)
980 def __lt__(self, *args):
982 __lt__(Symmetric self, Symmetric o) -> bool
983 __lt__(Symmetric self, Particle d) -> bool
985 return _IMP_pmi.Symmetric___lt__(self, *args)
987 def __ge__(self, *args):
989 __ge__(Symmetric self, Symmetric o) -> bool
990 __ge__(Symmetric self, Particle d) -> bool
992 return _IMP_pmi.Symmetric___ge__(self, *args)
994 def __gt__(self, *args):
996 __gt__(Symmetric self, Symmetric o) -> bool
997 __gt__(Symmetric self, Particle d) -> bool
999 return _IMP_pmi.Symmetric___gt__(self, *args)
1002 """__hash__(Symmetric self) -> std::size_t"""
1003 return _IMP_pmi.Symmetric___hash__(self)
1006 """__str__(Symmetric self) -> std::string"""
1007 return _IMP_pmi.Symmetric___str__(self)
1010 """__repr__(Symmetric self) -> std::string"""
1011 return _IMP_pmi.Symmetric___repr__(self)
1013 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1014 __del__ =
lambda self :
None;
1015 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1016 Symmetric_swigregister(Symmetric)
1018 def Symmetric_get_is_setup(*args):
1020 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1021 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1023 return _IMP_pmi.Symmetric_get_is_setup(*args)
1025 def Symmetric_setup_particle(*args):
1027 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1028 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1030 return _IMP_pmi.Symmetric_setup_particle(*args)
1032 def Symmetric_get_symmetric_key():
1033 """Symmetric_get_symmetric_key() -> FloatKey"""
1034 return _IMP_pmi.Symmetric_get_symmetric_key()
1037 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class"""
1038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1041 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope,
1042 double amplitude, double line_slope_=0, std::string name="SigmoidRestraintSphere%1%") -> SigmoidRestraintSphere
1043 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope,
1044 double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1045 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope,
1046 double amplitude) -> SigmoidRestraintSphere
1048 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1049 try: self.this.append(this)
1050 except: self.this = this
1051 def set_amplitude(self, *args):
1052 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1053 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, *args)
1055 def increment_amplitude(self, *args):
1056 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1057 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, *args)
1059 def get_amplitude(self):
1060 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1061 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1063 def do_get_inputs(self):
1064 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::kernel::ModelObjectsTemp"""
1065 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1067 def get_version_info(self):
1068 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1069 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1072 """__str__(SigmoidRestraintSphere self) -> std::string"""
1073 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1076 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1077 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1080 return _object_cast_to_SigmoidRestraintSphere(o)
1081 get_from = staticmethod(get_from)
1083 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1084 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1087 """Proxy of C++ IMP::pmi::TransformMover class"""
1088 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1091 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1092 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1094 this = _IMP_pmi.new_TransformMover(*args)
1095 try: self.this.append(this)
1096 except: self.this = this
1097 def add_xyz_particle(self, *args):
1098 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1099 return _IMP_pmi.TransformMover_add_xyz_particle(self, *args)
1101 def add_rigid_body_particle(self, *args):
1102 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1103 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, *args)
1105 def set_maximum_translation(self, *args):
1106 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1107 return _IMP_pmi.TransformMover_set_maximum_translation(self, *args)
1109 def set_maximum_rotation(self, *args):
1110 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1111 return _IMP_pmi.TransformMover_set_maximum_rotation(self, *args)
1113 def get_maximum_translation(self):
1114 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1115 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1117 def get_maximum_rotation(self):
1118 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1119 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1121 def get_version_info(self):
1122 """get_version_info(TransformMover self) -> VersionInfo"""
1123 return _IMP_pmi.TransformMover_get_version_info(self)
1126 """__str__(TransformMover self) -> std::string"""
1127 return _IMP_pmi.TransformMover___str__(self)
1130 """__repr__(TransformMover self) -> std::string"""
1131 return _IMP_pmi.TransformMover___repr__(self)
1134 return _object_cast_to_TransformMover(o)
1135 get_from = staticmethod(get_from)
1137 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1138 TransformMover_swigregister(TransformMover)
1142 """create_elastic_network(IMP::kernel::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1143 return _IMP_pmi.create_elastic_network(*args)
1145 def get_module_version():
1146 """get_module_version() -> std::string const"""
1147 return _IMP_pmi.get_module_version()
1150 """get_example_path(std::string fname) -> std::string"""
1151 return _IMP_pmi.get_example_path(*args)
1154 """get_data_path(std::string fname) -> std::string"""
1155 return _IMP_pmi.get_data_path(*args)
1156 from .
import _version_check
1157 _version_check.check_version(get_module_version())
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
double get_resolution(kernel::Model *m, kernel::ParticleIndex pi)
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 ...
Composable functors to implement scores via compile-time composition.
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
A base class for classes which perturb particles.
Base functionality and abstract base classes for representation, scoring and sampling.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
A restraint is a term in an IMP ScoringFunction.
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.
CheckLevel get_check_level()
Get the current audit mode.
Output IMP model data in various file formats.