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_isd', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
28 _IMP_isd = 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:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_ISD_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_ISD_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_ISD_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
91 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
95 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
96 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
98 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
102 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
103 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
105 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
113 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, *args)
116 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
117 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
120 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
121 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
124 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
128 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
129 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
133 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
137 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
141 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
145 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
149 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
153 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
158 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
164 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
171 IMP_DEBUG = _IMP_isd.IMP_DEBUG
172 IMP_RELEASE = _IMP_isd.IMP_RELEASE
173 IMP_SILENT = _IMP_isd.IMP_SILENT
174 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
175 IMP_TERSE = _IMP_isd.IMP_TERSE
176 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
177 IMP_MEMORY = _IMP_isd.IMP_MEMORY
178 IMP_NONE = _IMP_isd.IMP_NONE
179 IMP_USAGE = _IMP_isd.IMP_USAGE
180 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_isd.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_isd.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_isd.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_isd.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_isd.DEFAULT_CHECK
217 USAGE = _IMP_isd.USAGE
218 USAGE_AND_INTERNAL = _IMP_isd.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_isd.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_isd.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_isd._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_isd._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_isd.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_isd.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_isd.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 IMP_STATISTICS_HAS_IMP_BASE = _IMP_isd.IMP_STATISTICS_HAS_IMP_BASE
286 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
287 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
288 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
289 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
290 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
291 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
292 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
294 IMP_CORE_HAS_IMP_BASE = _IMP_isd.IMP_CORE_HAS_IMP_BASE
295 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
296 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
297 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
298 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
299 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
300 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
301 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
302 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
304 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
305 IMP_CONTAINER_HAS_IMP_BASE = _IMP_isd.IMP_CONTAINER_HAS_IMP_BASE
306 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
307 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
308 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
309 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
310 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
311 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
312 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
313 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
314 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
315 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
317 IMP_ATOM_HAS_IMP_BASE = _IMP_isd.IMP_ATOM_HAS_IMP_BASE
318 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
319 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
320 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
321 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
322 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
323 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
324 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
325 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
326 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
327 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
328 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
329 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
331 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
332 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
333 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
334 IMP_EM_HAS_IMP_KERNEL = _IMP_isd.IMP_EM_HAS_IMP_KERNEL
335 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
336 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
337 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
338 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
339 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
340 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
341 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
342 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
344 IMP_SAXS_HAS_IMP_BASE = _IMP_isd.IMP_SAXS_HAS_IMP_BASE
345 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
346 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
347 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
348 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
349 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
350 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
351 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
352 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
353 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
354 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
355 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
356 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
358 IMP_ISD_HAS_IMP_ALGEBRA = _IMP_isd.IMP_ISD_HAS_IMP_ALGEBRA
359 IMP_ISD_HAS_IMP_BASE = _IMP_isd.IMP_ISD_HAS_IMP_BASE
360 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
361 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
362 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
363 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
364 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
365 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
366 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
367 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
368 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
369 IMP_ISD_HAS_CHOLMOD = _IMP_isd.IMP_ISD_HAS_CHOLMOD
370 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
371 _object_types.append(
"JeffreysRestraint")
374 def _object_cast_to_JeffreysRestraint(*args):
375 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
376 return _IMP_isd._object_cast_to_JeffreysRestraint(*args)
377 _object_types.append(
"vonMisesKappaJeffreysRestraint")
380 def _object_cast_to_vonMisesKappaJeffreysRestraint(*args):
381 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
382 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(*args)
383 _object_types.append(
"vonMisesKappaConjugateRestraint")
386 def _object_cast_to_vonMisesKappaConjugateRestraint(*args):
387 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
388 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(*args)
389 _object_types.append(
"FNormal")
392 def _object_cast_to_FNormal(*args):
393 """_object_cast_to_FNormal(Object o) -> FNormal"""
394 return _IMP_isd._object_cast_to_FNormal(*args)
395 _object_types.append(
"vonMises")
398 def _object_cast_to_vonMises(*args):
399 """_object_cast_to_vonMises(Object o) -> vonMises"""
400 return _IMP_isd._object_cast_to_vonMises(*args)
401 _object_types.append(
"vonMisesSufficient")
404 def _object_cast_to_vonMisesSufficient(*args):
405 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
406 return _IMP_isd._object_cast_to_vonMisesSufficient(*args)
408 return [Nuisance(x)
for x
in l]
409 _plural_types.append(
"Nuisances")
411 _value_types.append(
"Nuisance")
414 return [Scale(x)
for x
in l]
415 _plural_types.append(
"Scales")
417 _value_types.append(
"Scale")
419 def Switchings(l=[]):
420 return [Switching(x)
for x
in l]
421 _plural_types.append(
"Switchings")
423 _value_types.append(
"Switching")
425 _object_types.append(
"NOERestraint")
428 def _object_cast_to_NOERestraint(*args):
429 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
430 return _IMP_isd._object_cast_to_NOERestraint(*args)
432 return [Weight(x)
for x
in l]
433 _plural_types.append(
"Weights")
435 _value_types.append(
"Weight")
437 _object_types.append(
"GaussianRestraint")
440 def _object_cast_to_GaussianRestraint(*args):
441 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
442 return _IMP_isd._object_cast_to_GaussianRestraint(*args)
443 _object_types.append(
"LognormalRestraint")
446 def _object_cast_to_LognormalRestraint(*args):
447 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
448 return _IMP_isd._object_cast_to_LognormalRestraint(*args)
449 _object_types.append(
"AmbiguousNOERestraint")
452 def _object_cast_to_AmbiguousNOERestraint(*args):
453 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
454 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(*args)
455 _object_types.append(
"MarginalNOERestraint")
458 def _object_cast_to_MarginalNOERestraint(*args):
459 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
460 return _IMP_isd._object_cast_to_MarginalNOERestraint(*args)
461 _object_types.append(
"MarginalHBondRestraint")
464 def _object_cast_to_MarginalHBondRestraint(*args):
465 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
466 return _IMP_isd._object_cast_to_MarginalHBondRestraint(*args)
467 _object_types.append(
"TALOSRestraint")
470 def _object_cast_to_TALOSRestraint(*args):
471 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
472 return _IMP_isd._object_cast_to_TALOSRestraint(*args)
473 _object_types.append(
"RepulsiveDistancePairScore")
476 def _object_cast_to_RepulsiveDistancePairScore(*args):
477 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
478 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(*args)
479 _object_types.append(
"AmbiguousRestraint")
482 def _object_cast_to_AmbiguousRestraint(*args):
483 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
484 return _IMP_isd._object_cast_to_AmbiguousRestraint(*args)
485 _object_types.append(
"UnivariateFunction")
488 def _object_cast_to_UnivariateFunction(*args):
489 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
490 return _IMP_isd._object_cast_to_UnivariateFunction(*args)
491 _object_types.append(
"Linear1DFunction")
494 def _object_cast_to_Linear1DFunction(*args):
495 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
496 return _IMP_isd._object_cast_to_Linear1DFunction(*args)
497 _object_types.append(
"GeneralizedGuinierPorodFunction")
500 def _object_cast_to_GeneralizedGuinierPorodFunction(*args):
501 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
502 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(*args)
503 _object_types.append(
"BivariateFunction")
506 def _object_cast_to_BivariateFunction(*args):
507 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
508 return _IMP_isd._object_cast_to_BivariateFunction(*args)
509 _object_types.append(
"Covariance1DFunction")
512 def _object_cast_to_Covariance1DFunction(*args):
513 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
514 return _IMP_isd._object_cast_to_Covariance1DFunction(*args)
515 _object_types.append(
"GaussianProcessInterpolation")
518 def _object_cast_to_GaussianProcessInterpolation(*args):
519 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
520 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(*args)
521 _object_types.append(
"GaussianProcessInterpolationRestraint")
524 def _object_cast_to_GaussianProcessInterpolationRestraint(*args):
525 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
526 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(*args)
527 _object_types.append(
"MolecularDynamics")
529 _object_types.append(
"MolecularDynamicsMover")
532 def _object_cast_to_MolecularDynamicsMover(*args):
533 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
534 return _IMP_isd._object_cast_to_MolecularDynamicsMover(*args)
535 _object_types.append(
"HybridMonteCarlo")
538 def _object_cast_to_HybridMonteCarlo(*args):
539 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
540 return _IMP_isd._object_cast_to_HybridMonteCarlo(*args)
541 _object_types.append(
"FretData")
544 def _object_cast_to_FretData(*args):
545 """_object_cast_to_FretData(Object o) -> FretData"""
546 return _IMP_isd._object_cast_to_FretData(*args)
547 _object_types.append(
"FretRestraint")
550 def _object_cast_to_FretRestraint(*args):
551 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
552 return _IMP_isd._object_cast_to_FretRestraint(*args)
553 _object_types.append(
"CrossLinkData")
556 def _object_cast_to_CrossLinkData(*args):
557 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
558 return _IMP_isd._object_cast_to_CrossLinkData(*args)
559 _object_types.append(
"CysteineCrossLinkData")
562 def _object_cast_to_CysteineCrossLinkData(*args):
563 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
564 return _IMP_isd._object_cast_to_CysteineCrossLinkData(*args)
565 _object_types.append(
"CysteineCrossLinkRestraint")
568 def _object_cast_to_CysteineCrossLinkRestraint(*args):
569 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
570 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(*args)
571 _object_types.append(
"WeightMover")
574 def _object_cast_to_WeightMover(*args):
575 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
576 return _IMP_isd._object_cast_to_WeightMover(*args)
577 _object_types.append(
"WeightRestraint")
580 def _object_cast_to_WeightRestraint(*args):
581 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
582 return _IMP_isd._object_cast_to_WeightRestraint(*args)
583 def create_model_and_particles():
588 for i
in range(0,100):
592 d.set_coordinates_are_optimized(
True)
596 """Proxy of C++ IMP::isd::Nuisance class"""
597 __swig_setmethods__ = {}
598 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
599 __setattr__ =
lambda self, name, value: _swig_setattr(self, Nuisance, name, value)
600 __swig_getmethods__ = {}
601 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
602 __getattr__ =
lambda self, name: _swig_getattr(self, Nuisance, name)
603 def __init__(self, *args):
605 __init__(IMP::isd::Nuisance self) -> Nuisance
606 __init__(IMP::isd::Nuisance self, Model m, ::IMP::kernel::ParticleIndex id) -> Nuisance
607 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
609 this = _IMP_isd.new_Nuisance(*args)
610 try: self.this.append(this)
611 except: self.this = this
612 def decorate_particle(*args):
613 """decorate_particle(Particle p) -> Nuisance"""
614 return _IMP_isd.Nuisance_decorate_particle(*args)
616 if _newclass:decorate_particle = staticmethod(decorate_particle)
617 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
618 def particle_is_instance(*args):
620 particle_is_instance(Particle p) -> bool
621 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
623 return _IMP_isd.Nuisance_particle_is_instance(*args)
625 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
626 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
627 def show(self, *args):
629 show(Nuisance self, _ostream out=std::cout)
632 return _IMP_isd.Nuisance_show(self, *args)
634 def setup_particle(*args):
636 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
637 setup_particle(_ParticleAdaptor decorator) -> Nuisance
638 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
639 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
641 return _IMP_isd.Nuisance_setup_particle(*args)
643 if _newclass:setup_particle = staticmethod(setup_particle)
644 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
645 def get_is_setup(*args):
647 get_is_setup(_ParticleAdaptor p) -> bool
648 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
650 return _IMP_isd.Nuisance_get_is_setup(*args)
652 if _newclass:get_is_setup = staticmethod(get_is_setup)
653 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
654 def get_nuisance_key():
655 """get_nuisance_key() -> FloatKey"""
656 return _IMP_isd.Nuisance_get_nuisance_key()
658 if _newclass:get_nuisance_key = staticmethod(get_nuisance_key)
659 __swig_getmethods__[
"get_nuisance_key"] =
lambda x: get_nuisance_key
660 def get_nuisance(self):
661 """get_nuisance(Nuisance self) -> IMP::Float"""
662 return _IMP_isd.Nuisance_get_nuisance(self)
664 def set_nuisance(self, *args):
665 """set_nuisance(Nuisance self, IMP::Float d)"""
666 return _IMP_isd.Nuisance_set_nuisance(self, *args)
668 def get_has_lower(self):
669 """get_has_lower(Nuisance self) -> bool"""
670 return _IMP_isd.Nuisance_get_has_lower(self)
673 """get_lower(Nuisance self) -> IMP::Float"""
674 return _IMP_isd.Nuisance_get_lower(self)
677 """get_lower_key() -> FloatKey"""
678 return _IMP_isd.Nuisance_get_lower_key()
680 if _newclass:get_lower_key = staticmethod(get_lower_key)
681 __swig_getmethods__[
"get_lower_key"] =
lambda x: get_lower_key
682 def get_lower_particle_key():
683 """get_lower_particle_key() -> ParticleIndexKey"""
684 return _IMP_isd.Nuisance_get_lower_particle_key()
686 if _newclass:get_lower_particle_key = staticmethod(get_lower_particle_key)
687 __swig_getmethods__[
"get_lower_particle_key"] =
lambda x: get_lower_particle_key
688 def set_lower(self, *args):
690 set_lower(Nuisance self, IMP::Float d)
691 set_lower(Nuisance self, Particle d)
693 return _IMP_isd.Nuisance_set_lower(self, *args)
695 def remove_lower(self):
696 """remove_lower(Nuisance self)"""
697 return _IMP_isd.Nuisance_remove_lower(self)
699 def get_has_upper(self):
700 """get_has_upper(Nuisance self) -> bool"""
701 return _IMP_isd.Nuisance_get_has_upper(self)
704 """get_upper(Nuisance self) -> IMP::Float"""
705 return _IMP_isd.Nuisance_get_upper(self)
708 """get_upper_key() -> FloatKey"""
709 return _IMP_isd.Nuisance_get_upper_key()
711 if _newclass:get_upper_key = staticmethod(get_upper_key)
712 __swig_getmethods__[
"get_upper_key"] =
lambda x: get_upper_key
713 def get_upper_particle_key():
714 """get_upper_particle_key() -> ParticleIndexKey"""
715 return _IMP_isd.Nuisance_get_upper_particle_key()
717 if _newclass:get_upper_particle_key = staticmethod(get_upper_particle_key)
718 __swig_getmethods__[
"get_upper_particle_key"] =
lambda x: get_upper_particle_key
719 def set_upper(self, *args):
721 set_upper(Nuisance self, IMP::Float d)
722 set_upper(Nuisance self, Particle d)
724 return _IMP_isd.Nuisance_set_upper(self, *args)
726 def remove_upper(self):
727 """remove_upper(Nuisance self)"""
728 return _IMP_isd.Nuisance_remove_upper(self)
730 def get_nuisance_derivative(self):
731 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
732 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
734 def add_to_nuisance_derivative(self, *args):
735 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
736 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, *args)
738 def get_nuisance_is_optimized(self):
739 """get_nuisance_is_optimized(Nuisance self) -> bool"""
740 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
742 def set_nuisance_is_optimized(self, *args):
743 """set_nuisance_is_optimized(Nuisance self, bool val)"""
744 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, *args)
746 def add_attribute(self, *args):
748 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
749 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
750 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
751 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
752 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
753 add_attribute(Nuisance self, ObjectKey a0, IMP::Object * a1)
755 return _IMP_isd.Nuisance_add_attribute(self, *args)
757 def get_value(self, *args):
759 get_value(Nuisance self, FloatKey a0) -> IMP::Float
760 get_value(Nuisance self, IntKey a0) -> IMP::Int
761 get_value(Nuisance self, StringKey a0) -> IMP::String
762 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
763 get_value(Nuisance self, ObjectKey a0) -> IMP::Object *
765 return _IMP_isd.Nuisance_get_value(self, *args)
767 def set_value(self, *args):
769 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
770 set_value(Nuisance self, IntKey a0, IMP::Int a1)
771 set_value(Nuisance self, StringKey a0, IMP::String a1)
772 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
773 set_value(Nuisance self, ObjectKey a0, IMP::Object * a1)
775 return _IMP_isd.Nuisance_set_value(self, *args)
777 def remove_attribute(self, *args):
779 remove_attribute(Nuisance self, FloatKey a0)
780 remove_attribute(Nuisance self, IntKey a0)
781 remove_attribute(Nuisance self, StringKey a0)
782 remove_attribute(Nuisance self, ParticleIndexKey a0)
783 remove_attribute(Nuisance self, ObjectKey a0)
785 return _IMP_isd.Nuisance_remove_attribute(self, *args)
787 def has_attribute(self, *args):
789 has_attribute(Nuisance self, FloatKey a0) -> bool
790 has_attribute(Nuisance self, IntKey a0) -> bool
791 has_attribute(Nuisance self, StringKey a0) -> bool
792 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
793 has_attribute(Nuisance self, ObjectKey a0) -> bool
795 return _IMP_isd.Nuisance_has_attribute(self, *args)
797 def get_derivative(self, *args):
798 """get_derivative(Nuisance self, FloatKey a0) -> double"""
799 return _IMP_isd.Nuisance_get_derivative(self, *args)
802 """get_name(Nuisance self) -> std::string"""
803 return _IMP_isd.Nuisance_get_name(self)
805 def clear_caches(self):
806 """clear_caches(Nuisance self)"""
807 return _IMP_isd.Nuisance_clear_caches(self)
809 def set_name(self, *args):
810 """set_name(Nuisance self, std::string a0)"""
811 return _IMP_isd.Nuisance_set_name(self, *args)
814 """set_check_level(Nuisance self, IMP::base::CheckLevel a0)"""
815 return _IMP_isd.Nuisance_set_check_level(self, *args)
817 def add_to_derivative(self, *args):
818 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
819 return _IMP_isd.Nuisance_add_to_derivative(self, *args)
821 def set_is_optimized(self, *args):
822 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
823 return _IMP_isd.Nuisance_set_is_optimized(self, *args)
825 def get_is_optimized(self, *args):
826 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
827 return _IMP_isd.Nuisance_get_is_optimized(self, *args)
830 """get_check_level(Nuisance self) -> IMP::base::CheckLevel"""
831 return _IMP_isd.Nuisance_get_check_level(self)
833 def __eq__(self, *args):
835 __eq__(Nuisance self, Nuisance o) -> bool
836 __eq__(Nuisance self, Particle d) -> bool
838 return _IMP_isd.Nuisance___eq__(self, *args)
840 def __ne__(self, *args):
842 __ne__(Nuisance self, Nuisance o) -> bool
843 __ne__(Nuisance self, Particle d) -> bool
845 return _IMP_isd.Nuisance___ne__(self, *args)
847 def __le__(self, *args):
849 __le__(Nuisance self, Nuisance o) -> bool
850 __le__(Nuisance self, Particle d) -> bool
852 return _IMP_isd.Nuisance___le__(self, *args)
854 def __lt__(self, *args):
856 __lt__(Nuisance self, Nuisance o) -> bool
857 __lt__(Nuisance self, Particle d) -> bool
859 return _IMP_isd.Nuisance___lt__(self, *args)
861 def __ge__(self, *args):
863 __ge__(Nuisance self, Nuisance o) -> bool
864 __ge__(Nuisance self, Particle d) -> bool
866 return _IMP_isd.Nuisance___ge__(self, *args)
868 def __gt__(self, *args):
870 __gt__(Nuisance self, Nuisance o) -> bool
871 __gt__(Nuisance self, Particle d) -> bool
873 return _IMP_isd.Nuisance___gt__(self, *args)
876 """__str__(Nuisance self) -> std::string"""
877 return _IMP_isd.Nuisance___str__(self)
880 """__repr__(Nuisance self) -> std::string"""
881 return _IMP_isd.Nuisance___repr__(self)
883 __swig_destroy__ = _IMP_isd.delete_Nuisance
884 __del__ =
lambda self :
None;
885 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
886 Nuisance_swigregister(Nuisance)
888 def Nuisance_decorate_particle(*args):
889 """Nuisance_decorate_particle(Particle p) -> Nuisance"""
890 return _IMP_isd.Nuisance_decorate_particle(*args)
892 def Nuisance_particle_is_instance(*args):
894 particle_is_instance(Particle p) -> bool
895 Nuisance_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
897 return _IMP_isd.Nuisance_particle_is_instance(*args)
899 def Nuisance_setup_particle(*args):
901 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
902 setup_particle(_ParticleAdaptor decorator) -> Nuisance
903 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
904 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
906 return _IMP_isd.Nuisance_setup_particle(*args)
908 def Nuisance_get_is_setup(*args):
910 get_is_setup(_ParticleAdaptor p) -> bool
911 Nuisance_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
913 return _IMP_isd.Nuisance_get_is_setup(*args)
915 def Nuisance_get_nuisance_key():
916 """Nuisance_get_nuisance_key() -> FloatKey"""
917 return _IMP_isd.Nuisance_get_nuisance_key()
919 def Nuisance_get_lower_key():
920 """Nuisance_get_lower_key() -> FloatKey"""
921 return _IMP_isd.Nuisance_get_lower_key()
923 def Nuisance_get_lower_particle_key():
924 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
925 return _IMP_isd.Nuisance_get_lower_particle_key()
927 def Nuisance_get_upper_key():
928 """Nuisance_get_upper_key() -> FloatKey"""
929 return _IMP_isd.Nuisance_get_upper_key()
931 def Nuisance_get_upper_particle_key():
932 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
933 return _IMP_isd.Nuisance_get_upper_particle_key()
935 class Scale(Nuisance):
936 """Proxy of C++ IMP::isd::Scale class"""
937 __swig_setmethods__ = {}
938 for _s
in [Nuisance]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
939 __setattr__ =
lambda self, name, value: _swig_setattr(self, Scale, name, value)
940 __swig_getmethods__ = {}
941 for _s
in [Nuisance]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
942 __getattr__ =
lambda self, name: _swig_getattr(self, Scale, name)
943 def __init__(self, *args):
945 __init__(IMP::isd::Scale self) -> Scale
946 __init__(IMP::isd::Scale self, Model m, ::IMP::kernel::ParticleIndex id) -> Scale
947 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
949 this = _IMP_isd.new_Scale(*args)
950 try: self.this.append(this)
951 except: self.this = this
952 def decorate_particle(*args):
953 """decorate_particle(Particle p) -> Scale"""
954 return _IMP_isd.Scale_decorate_particle(*args)
956 if _newclass:decorate_particle = staticmethod(decorate_particle)
957 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
958 def particle_is_instance(*args):
960 particle_is_instance(Particle p) -> bool
961 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
963 return _IMP_isd.Scale_particle_is_instance(*args)
965 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
966 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
967 def show(self, *args):
969 show(Scale self, _ostream out=std::cout)
972 return _IMP_isd.Scale_show(self, *args)
974 def setup_particle(*args):
976 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
977 setup_particle(_ParticleAdaptor decorator) -> Scale
978 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
979 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
981 return _IMP_isd.Scale_setup_particle(*args)
983 if _newclass:setup_particle = staticmethod(setup_particle)
984 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
985 def get_is_setup(*args):
987 get_is_setup(_ParticleAdaptor p) -> bool
988 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
990 return _IMP_isd.Scale_get_is_setup(*args)
992 if _newclass:get_is_setup = staticmethod(get_is_setup)
993 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
995 """get_scale(Scale self) -> IMP::Float"""
996 return _IMP_isd.Scale_get_scale(self)
998 def set_scale(self, *args):
999 """set_scale(Scale self, IMP::Float d)"""
1000 return _IMP_isd.Scale_set_scale(self, *args)
1002 def add_to_scale_derivative(self, *args):
1003 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1004 return _IMP_isd.Scale_add_to_scale_derivative(self, *args)
1006 def get_scale_derivative(self):
1007 """get_scale_derivative(Scale self) -> IMP::Float"""
1008 return _IMP_isd.Scale_get_scale_derivative(self)
1010 def get_scale_key():
1011 """get_scale_key() -> FloatKey"""
1012 return _IMP_isd.Scale_get_scale_key()
1014 if _newclass:get_scale_key = staticmethod(get_scale_key)
1015 __swig_getmethods__[
"get_scale_key"] =
lambda x: get_scale_key
1016 def get_scale_is_optimized(self):
1017 """get_scale_is_optimized(Scale self) -> bool"""
1018 return _IMP_isd.Scale_get_scale_is_optimized(self)
1020 def set_scale_is_optimized(self, *args):
1021 """set_scale_is_optimized(Scale self, bool val)"""
1022 return _IMP_isd.Scale_set_scale_is_optimized(self, *args)
1024 def add_attribute(self, *args):
1026 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1027 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1028 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1029 add_attribute(Scale self, StringKey a0, IMP::String a1)
1030 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1031 add_attribute(Scale self, ObjectKey a0, IMP::Object * a1)
1033 return _IMP_isd.Scale_add_attribute(self, *args)
1035 def get_value(self, *args):
1037 get_value(Scale self, FloatKey a0) -> IMP::Float
1038 get_value(Scale self, IntKey a0) -> IMP::Int
1039 get_value(Scale self, StringKey a0) -> IMP::String
1040 get_value(Scale self, ParticleIndexKey a0) -> Particle
1041 get_value(Scale self, ObjectKey a0) -> IMP::Object *
1043 return _IMP_isd.Scale_get_value(self, *args)
1045 def set_value(self, *args):
1047 set_value(Scale self, FloatKey a0, IMP::Float a1)
1048 set_value(Scale self, IntKey a0, IMP::Int a1)
1049 set_value(Scale self, StringKey a0, IMP::String a1)
1050 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1051 set_value(Scale self, ObjectKey a0, IMP::Object * a1)
1053 return _IMP_isd.Scale_set_value(self, *args)
1055 def remove_attribute(self, *args):
1057 remove_attribute(Scale self, FloatKey a0)
1058 remove_attribute(Scale self, IntKey a0)
1059 remove_attribute(Scale self, StringKey a0)
1060 remove_attribute(Scale self, ParticleIndexKey a0)
1061 remove_attribute(Scale self, ObjectKey a0)
1063 return _IMP_isd.Scale_remove_attribute(self, *args)
1065 def has_attribute(self, *args):
1067 has_attribute(Scale self, FloatKey a0) -> bool
1068 has_attribute(Scale self, IntKey a0) -> bool
1069 has_attribute(Scale self, StringKey a0) -> bool
1070 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1071 has_attribute(Scale self, ObjectKey a0) -> bool
1073 return _IMP_isd.Scale_has_attribute(self, *args)
1075 def get_derivative(self, *args):
1076 """get_derivative(Scale self, FloatKey a0) -> double"""
1077 return _IMP_isd.Scale_get_derivative(self, *args)
1080 """get_name(Scale self) -> std::string"""
1081 return _IMP_isd.Scale_get_name(self)
1083 def clear_caches(self):
1084 """clear_caches(Scale self)"""
1085 return _IMP_isd.Scale_clear_caches(self)
1087 def set_name(self, *args):
1088 """set_name(Scale self, std::string a0)"""
1089 return _IMP_isd.Scale_set_name(self, *args)
1092 """set_check_level(Scale self, IMP::base::CheckLevel a0)"""
1093 return _IMP_isd.Scale_set_check_level(self, *args)
1095 def add_to_derivative(self, *args):
1096 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1097 return _IMP_isd.Scale_add_to_derivative(self, *args)
1099 def set_is_optimized(self, *args):
1100 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1101 return _IMP_isd.Scale_set_is_optimized(self, *args)
1103 def get_is_optimized(self, *args):
1104 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1105 return _IMP_isd.Scale_get_is_optimized(self, *args)
1108 """get_check_level(Scale self) -> IMP::base::CheckLevel"""
1109 return _IMP_isd.Scale_get_check_level(self)
1111 def __eq__(self, *args):
1113 __eq__(Scale self, Scale o) -> bool
1114 __eq__(Scale self, Particle d) -> bool
1116 return _IMP_isd.Scale___eq__(self, *args)
1118 def __ne__(self, *args):
1120 __ne__(Scale self, Scale o) -> bool
1121 __ne__(Scale self, Particle d) -> bool
1123 return _IMP_isd.Scale___ne__(self, *args)
1125 def __le__(self, *args):
1127 __le__(Scale self, Scale o) -> bool
1128 __le__(Scale self, Particle d) -> bool
1130 return _IMP_isd.Scale___le__(self, *args)
1132 def __lt__(self, *args):
1134 __lt__(Scale self, Scale o) -> bool
1135 __lt__(Scale self, Particle d) -> bool
1137 return _IMP_isd.Scale___lt__(self, *args)
1139 def __ge__(self, *args):
1141 __ge__(Scale self, Scale o) -> bool
1142 __ge__(Scale self, Particle d) -> bool
1144 return _IMP_isd.Scale___ge__(self, *args)
1146 def __gt__(self, *args):
1148 __gt__(Scale self, Scale o) -> bool
1149 __gt__(Scale self, Particle d) -> bool
1151 return _IMP_isd.Scale___gt__(self, *args)
1154 """__str__(Scale self) -> std::string"""
1155 return _IMP_isd.Scale___str__(self)
1158 """__repr__(Scale self) -> std::string"""
1159 return _IMP_isd.Scale___repr__(self)
1161 __swig_destroy__ = _IMP_isd.delete_Scale
1162 __del__ =
lambda self :
None;
1163 Scale_swigregister = _IMP_isd.Scale_swigregister
1164 Scale_swigregister(Scale)
1166 def Scale_decorate_particle(*args):
1167 """Scale_decorate_particle(Particle p) -> Scale"""
1168 return _IMP_isd.Scale_decorate_particle(*args)
1170 def Scale_particle_is_instance(*args):
1172 particle_is_instance(Particle p) -> bool
1173 Scale_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1175 return _IMP_isd.Scale_particle_is_instance(*args)
1177 def Scale_setup_particle(*args):
1179 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1180 setup_particle(_ParticleAdaptor decorator) -> Scale
1181 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1182 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1184 return _IMP_isd.Scale_setup_particle(*args)
1186 def Scale_get_is_setup(*args):
1188 get_is_setup(_ParticleAdaptor p) -> bool
1189 Scale_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1191 return _IMP_isd.Scale_get_is_setup(*args)
1193 def Scale_get_scale_key():
1194 """Scale_get_scale_key() -> FloatKey"""
1195 return _IMP_isd.Scale_get_scale_key()
1197 class Switching(Nuisance):
1198 """Proxy of C++ IMP::isd::Switching class"""
1199 __swig_setmethods__ = {}
1200 for _s
in [Nuisance]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1201 __setattr__ =
lambda self, name, value: _swig_setattr(self, Switching, name, value)
1202 __swig_getmethods__ = {}
1203 for _s
in [Nuisance]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1204 __getattr__ =
lambda self, name: _swig_getattr(self, Switching, name)
1205 def __init__(self, *args):
1207 __init__(IMP::isd::Switching self) -> Switching
1208 __init__(IMP::isd::Switching self, Model m, ::IMP::kernel::ParticleIndex id) -> Switching
1209 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1211 this = _IMP_isd.new_Switching(*args)
1212 try: self.this.append(this)
1213 except: self.this = this
1214 def decorate_particle(*args):
1215 """decorate_particle(Particle p) -> Switching"""
1216 return _IMP_isd.Switching_decorate_particle(*args)
1218 if _newclass:decorate_particle = staticmethod(decorate_particle)
1219 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1220 def particle_is_instance(*args):
1222 particle_is_instance(Particle p) -> bool
1223 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1225 return _IMP_isd.Switching_particle_is_instance(*args)
1227 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1228 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1229 def show(self, *args):
1231 show(Switching self, _ostream out=std::cout)
1232 show(Switching self)
1234 return _IMP_isd.Switching_show(self, *args)
1236 def setup_particle(*args):
1238 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1239 setup_particle(_ParticleAdaptor decorator) -> Switching
1240 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1241 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1243 return _IMP_isd.Switching_setup_particle(*args)
1245 if _newclass:setup_particle = staticmethod(setup_particle)
1246 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1247 def get_is_setup(*args):
1249 get_is_setup(_ParticleAdaptor p) -> bool
1250 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1252 return _IMP_isd.Switching_get_is_setup(*args)
1254 if _newclass:get_is_setup = staticmethod(get_is_setup)
1255 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1256 def get_switching(self):
1257 """get_switching(Switching self) -> IMP::Float"""
1258 return _IMP_isd.Switching_get_switching(self)
1260 def set_switching(self, *args):
1261 """set_switching(Switching self, IMP::Float d)"""
1262 return _IMP_isd.Switching_set_switching(self, *args)
1264 def add_to_switching_derivative(self, *args):
1265 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1266 return _IMP_isd.Switching_add_to_switching_derivative(self, *args)
1268 def get_switching_derivative(self):
1269 """get_switching_derivative(Switching self) -> IMP::Float"""
1270 return _IMP_isd.Switching_get_switching_derivative(self)
1272 def get_switching_key():
1273 """get_switching_key() -> FloatKey"""
1274 return _IMP_isd.Switching_get_switching_key()
1276 if _newclass:get_switching_key = staticmethod(get_switching_key)
1277 __swig_getmethods__[
"get_switching_key"] =
lambda x: get_switching_key
1278 def get_switching_is_optimized(self):
1279 """get_switching_is_optimized(Switching self) -> bool"""
1280 return _IMP_isd.Switching_get_switching_is_optimized(self)
1282 def set_switching_is_optimized(self, *args):
1283 """set_switching_is_optimized(Switching self, bool val)"""
1284 return _IMP_isd.Switching_set_switching_is_optimized(self, *args)
1286 def add_attribute(self, *args):
1288 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1289 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1290 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1291 add_attribute(Switching self, StringKey a0, IMP::String a1)
1292 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1293 add_attribute(Switching self, ObjectKey a0, IMP::Object * a1)
1295 return _IMP_isd.Switching_add_attribute(self, *args)
1297 def get_value(self, *args):
1299 get_value(Switching self, FloatKey a0) -> IMP::Float
1300 get_value(Switching self, IntKey a0) -> IMP::Int
1301 get_value(Switching self, StringKey a0) -> IMP::String
1302 get_value(Switching self, ParticleIndexKey a0) -> Particle
1303 get_value(Switching self, ObjectKey a0) -> IMP::Object *
1305 return _IMP_isd.Switching_get_value(self, *args)
1307 def set_value(self, *args):
1309 set_value(Switching self, FloatKey a0, IMP::Float a1)
1310 set_value(Switching self, IntKey a0, IMP::Int a1)
1311 set_value(Switching self, StringKey a0, IMP::String a1)
1312 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1313 set_value(Switching self, ObjectKey a0, IMP::Object * a1)
1315 return _IMP_isd.Switching_set_value(self, *args)
1317 def remove_attribute(self, *args):
1319 remove_attribute(Switching self, FloatKey a0)
1320 remove_attribute(Switching self, IntKey a0)
1321 remove_attribute(Switching self, StringKey a0)
1322 remove_attribute(Switching self, ParticleIndexKey a0)
1323 remove_attribute(Switching self, ObjectKey a0)
1325 return _IMP_isd.Switching_remove_attribute(self, *args)
1327 def has_attribute(self, *args):
1329 has_attribute(Switching self, FloatKey a0) -> bool
1330 has_attribute(Switching self, IntKey a0) -> bool
1331 has_attribute(Switching self, StringKey a0) -> bool
1332 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1333 has_attribute(Switching self, ObjectKey a0) -> bool
1335 return _IMP_isd.Switching_has_attribute(self, *args)
1337 def get_derivative(self, *args):
1338 """get_derivative(Switching self, FloatKey a0) -> double"""
1339 return _IMP_isd.Switching_get_derivative(self, *args)
1342 """get_name(Switching self) -> std::string"""
1343 return _IMP_isd.Switching_get_name(self)
1345 def clear_caches(self):
1346 """clear_caches(Switching self)"""
1347 return _IMP_isd.Switching_clear_caches(self)
1349 def set_name(self, *args):
1350 """set_name(Switching self, std::string a0)"""
1351 return _IMP_isd.Switching_set_name(self, *args)
1354 """set_check_level(Switching self, IMP::base::CheckLevel a0)"""
1355 return _IMP_isd.Switching_set_check_level(self, *args)
1357 def add_to_derivative(self, *args):
1358 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1359 return _IMP_isd.Switching_add_to_derivative(self, *args)
1361 def set_is_optimized(self, *args):
1362 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1363 return _IMP_isd.Switching_set_is_optimized(self, *args)
1365 def get_is_optimized(self, *args):
1366 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1367 return _IMP_isd.Switching_get_is_optimized(self, *args)
1370 """get_check_level(Switching self) -> IMP::base::CheckLevel"""
1371 return _IMP_isd.Switching_get_check_level(self)
1373 def __eq__(self, *args):
1375 __eq__(Switching self, Switching o) -> bool
1376 __eq__(Switching self, Particle d) -> bool
1378 return _IMP_isd.Switching___eq__(self, *args)
1380 def __ne__(self, *args):
1382 __ne__(Switching self, Switching o) -> bool
1383 __ne__(Switching self, Particle d) -> bool
1385 return _IMP_isd.Switching___ne__(self, *args)
1387 def __le__(self, *args):
1389 __le__(Switching self, Switching o) -> bool
1390 __le__(Switching self, Particle d) -> bool
1392 return _IMP_isd.Switching___le__(self, *args)
1394 def __lt__(self, *args):
1396 __lt__(Switching self, Switching o) -> bool
1397 __lt__(Switching self, Particle d) -> bool
1399 return _IMP_isd.Switching___lt__(self, *args)
1401 def __ge__(self, *args):
1403 __ge__(Switching self, Switching o) -> bool
1404 __ge__(Switching self, Particle d) -> bool
1406 return _IMP_isd.Switching___ge__(self, *args)
1408 def __gt__(self, *args):
1410 __gt__(Switching self, Switching o) -> bool
1411 __gt__(Switching self, Particle d) -> bool
1413 return _IMP_isd.Switching___gt__(self, *args)
1416 """__str__(Switching self) -> std::string"""
1417 return _IMP_isd.Switching___str__(self)
1420 """__repr__(Switching self) -> std::string"""
1421 return _IMP_isd.Switching___repr__(self)
1423 __swig_destroy__ = _IMP_isd.delete_Switching
1424 __del__ =
lambda self :
None;
1425 Switching_swigregister = _IMP_isd.Switching_swigregister
1426 Switching_swigregister(Switching)
1428 def Switching_decorate_particle(*args):
1429 """Switching_decorate_particle(Particle p) -> Switching"""
1430 return _IMP_isd.Switching_decorate_particle(*args)
1432 def Switching_particle_is_instance(*args):
1434 particle_is_instance(Particle p) -> bool
1435 Switching_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1437 return _IMP_isd.Switching_particle_is_instance(*args)
1439 def Switching_setup_particle(*args):
1441 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1442 setup_particle(_ParticleAdaptor decorator) -> Switching
1443 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1444 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1446 return _IMP_isd.Switching_setup_particle(*args)
1448 def Switching_get_is_setup(*args):
1450 get_is_setup(_ParticleAdaptor p) -> bool
1451 Switching_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1453 return _IMP_isd.Switching_get_is_setup(*args)
1455 def Switching_get_switching_key():
1456 """Switching_get_switching_key() -> FloatKey"""
1457 return _IMP_isd.Switching_get_switching_key()
1460 def __lshift__(*args):
1462 __lshift__(_ostream out, Nuisance n) -> _ostream
1463 __lshift__(_ostream out, Scale n) -> _ostream
1464 __lshift__(_ostream out, Switching n) -> _ostream
1466 return _IMP_isd.__lshift__(*args)
1468 """Proxy of C++ IMP::isd::Weight class"""
1469 __swig_setmethods__ = {}
1470 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1471 __setattr__ =
lambda self, name, value: _swig_setattr(self, Weight, name, value)
1472 __swig_getmethods__ = {}
1473 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1474 __getattr__ =
lambda self, name: _swig_getattr(self, Weight, name)
1475 def __init__(self, *args):
1477 __init__(IMP::isd::Weight self) -> Weight
1478 __init__(IMP::isd::Weight self, Model m, ::IMP::kernel::ParticleIndex id) -> Weight
1479 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1481 this = _IMP_isd.new_Weight(*args)
1482 try: self.this.append(this)
1483 except: self.this = this
1484 def decorate_particle(*args):
1485 """decorate_particle(Particle p) -> Weight"""
1486 return _IMP_isd.Weight_decorate_particle(*args)
1488 if _newclass:decorate_particle = staticmethod(decorate_particle)
1489 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1490 def particle_is_instance(*args):
1492 particle_is_instance(Particle p) -> bool
1493 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1495 return _IMP_isd.Weight_particle_is_instance(*args)
1497 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1498 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1499 def show(self, *args):
1501 show(Weight self, _ostream out=std::cout)
1504 return _IMP_isd.Weight_show(self, *args)
1506 def setup_particle(*args):
1508 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1509 setup_particle(_ParticleAdaptor decorator) -> Weight
1511 return _IMP_isd.Weight_setup_particle(*args)
1513 if _newclass:setup_particle = staticmethod(setup_particle)
1514 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1515 def get_nstates_key():
1516 """get_nstates_key() -> IntKey"""
1517 return _IMP_isd.Weight_get_nstates_key()
1519 if _newclass:get_nstates_key = staticmethod(get_nstates_key)
1520 __swig_getmethods__[
"get_nstates_key"] =
lambda x: get_nstates_key
1521 def get_weight_key(*args):
1522 """get_weight_key(int i) -> FloatKey"""
1523 return _IMP_isd.Weight_get_weight_key(*args)
1525 if _newclass:get_weight_key = staticmethod(get_weight_key)
1526 __swig_getmethods__[
"get_weight_key"] =
lambda x: get_weight_key
1527 def set_weights(self, *args):
1528 """set_weights(Weight self, VectorKD w)"""
1529 return _IMP_isd.Weight_set_weights(self, *args)
1531 def add_weight(self):
1532 """add_weight(Weight self)"""
1533 return _IMP_isd.Weight_add_weight(self)
1535 def get_weight(self, *args):
1536 """get_weight(Weight self, int i) -> IMP::Float"""
1537 return _IMP_isd.Weight_get_weight(self, *args)
1539 def get_weights(self):
1540 """get_weights(Weight self) -> VectorKD"""
1541 return _IMP_isd.Weight_get_weights(self)
1543 def set_weights_are_optimized(self, *args):
1544 """set_weights_are_optimized(Weight self, bool tf)"""
1545 return _IMP_isd.Weight_set_weights_are_optimized(self, *args)
1547 def get_number_of_states(self):
1548 """get_number_of_states(Weight self) -> IMP::Int"""
1549 return _IMP_isd.Weight_get_number_of_states(self)
1551 def get_is_setup(*args):
1553 get_is_setup(_ParticleAdaptor p) -> bool
1554 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1556 return _IMP_isd.Weight_get_is_setup(*args)
1558 if _newclass:get_is_setup = staticmethod(get_is_setup)
1559 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1560 def add_attribute(self, *args):
1562 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
1563 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
1564 add_attribute(Weight self, IntKey a0, IMP::Int a1)
1565 add_attribute(Weight self, StringKey a0, IMP::String a1)
1566 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
1567 add_attribute(Weight self, ObjectKey a0, IMP::Object * a1)
1569 return _IMP_isd.Weight_add_attribute(self, *args)
1571 def get_value(self, *args):
1573 get_value(Weight self, FloatKey a0) -> IMP::Float
1574 get_value(Weight self, IntKey a0) -> IMP::Int
1575 get_value(Weight self, StringKey a0) -> IMP::String
1576 get_value(Weight self, ParticleIndexKey a0) -> Particle
1577 get_value(Weight self, ObjectKey a0) -> IMP::Object *
1579 return _IMP_isd.Weight_get_value(self, *args)
1581 def set_value(self, *args):
1583 set_value(Weight self, FloatKey a0, IMP::Float a1)
1584 set_value(Weight self, IntKey a0, IMP::Int a1)
1585 set_value(Weight self, StringKey a0, IMP::String a1)
1586 set_value(Weight self, ParticleIndexKey a0, Particle a1)
1587 set_value(Weight self, ObjectKey a0, IMP::Object * a1)
1589 return _IMP_isd.Weight_set_value(self, *args)
1591 def remove_attribute(self, *args):
1593 remove_attribute(Weight self, FloatKey a0)
1594 remove_attribute(Weight self, IntKey a0)
1595 remove_attribute(Weight self, StringKey a0)
1596 remove_attribute(Weight self, ParticleIndexKey a0)
1597 remove_attribute(Weight self, ObjectKey a0)
1599 return _IMP_isd.Weight_remove_attribute(self, *args)
1601 def has_attribute(self, *args):
1603 has_attribute(Weight self, FloatKey a0) -> bool
1604 has_attribute(Weight self, IntKey a0) -> bool
1605 has_attribute(Weight self, StringKey a0) -> bool
1606 has_attribute(Weight self, ParticleIndexKey a0) -> bool
1607 has_attribute(Weight self, ObjectKey a0) -> bool
1609 return _IMP_isd.Weight_has_attribute(self, *args)
1611 def get_derivative(self, *args):
1612 """get_derivative(Weight self, FloatKey a0) -> double"""
1613 return _IMP_isd.Weight_get_derivative(self, *args)
1616 """get_name(Weight self) -> std::string"""
1617 return _IMP_isd.Weight_get_name(self)
1619 def clear_caches(self):
1620 """clear_caches(Weight self)"""
1621 return _IMP_isd.Weight_clear_caches(self)
1623 def set_name(self, *args):
1624 """set_name(Weight self, std::string a0)"""
1625 return _IMP_isd.Weight_set_name(self, *args)
1628 """set_check_level(Weight self, IMP::base::CheckLevel a0)"""
1629 return _IMP_isd.Weight_set_check_level(self, *args)
1631 def add_to_derivative(self, *args):
1632 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1633 return _IMP_isd.Weight_add_to_derivative(self, *args)
1635 def set_is_optimized(self, *args):
1636 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
1637 return _IMP_isd.Weight_set_is_optimized(self, *args)
1639 def get_is_optimized(self, *args):
1640 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
1641 return _IMP_isd.Weight_get_is_optimized(self, *args)
1644 """get_check_level(Weight self) -> IMP::base::CheckLevel"""
1645 return _IMP_isd.Weight_get_check_level(self)
1647 def __eq__(self, *args):
1649 __eq__(Weight self, Weight o) -> bool
1650 __eq__(Weight self, Particle d) -> bool
1652 return _IMP_isd.Weight___eq__(self, *args)
1654 def __ne__(self, *args):
1656 __ne__(Weight self, Weight o) -> bool
1657 __ne__(Weight self, Particle d) -> bool
1659 return _IMP_isd.Weight___ne__(self, *args)
1661 def __le__(self, *args):
1663 __le__(Weight self, Weight o) -> bool
1664 __le__(Weight self, Particle d) -> bool
1666 return _IMP_isd.Weight___le__(self, *args)
1668 def __lt__(self, *args):
1670 __lt__(Weight self, Weight o) -> bool
1671 __lt__(Weight self, Particle d) -> bool
1673 return _IMP_isd.Weight___lt__(self, *args)
1675 def __ge__(self, *args):
1677 __ge__(Weight self, Weight o) -> bool
1678 __ge__(Weight self, Particle d) -> bool
1680 return _IMP_isd.Weight___ge__(self, *args)
1682 def __gt__(self, *args):
1684 __gt__(Weight self, Weight o) -> bool
1685 __gt__(Weight self, Particle d) -> bool
1687 return _IMP_isd.Weight___gt__(self, *args)
1690 """__str__(Weight self) -> std::string"""
1691 return _IMP_isd.Weight___str__(self)
1694 """__repr__(Weight self) -> std::string"""
1695 return _IMP_isd.Weight___repr__(self)
1697 __swig_destroy__ = _IMP_isd.delete_Weight
1698 __del__ =
lambda self :
None;
1699 Weight_swigregister = _IMP_isd.Weight_swigregister
1700 Weight_swigregister(Weight)
1702 def Weight_decorate_particle(*args):
1703 """Weight_decorate_particle(Particle p) -> Weight"""
1704 return _IMP_isd.Weight_decorate_particle(*args)
1706 def Weight_particle_is_instance(*args):
1708 particle_is_instance(Particle p) -> bool
1709 Weight_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1711 return _IMP_isd.Weight_particle_is_instance(*args)
1713 def Weight_setup_particle(*args):
1715 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1716 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
1718 return _IMP_isd.Weight_setup_particle(*args)
1720 def Weight_get_nstates_key():
1721 """Weight_get_nstates_key() -> IntKey"""
1722 return _IMP_isd.Weight_get_nstates_key()
1724 def Weight_get_weight_key(*args):
1725 """Weight_get_weight_key(int i) -> FloatKey"""
1726 return _IMP_isd.Weight_get_weight_key(*args)
1728 def Weight_get_is_setup(*args):
1730 get_is_setup(_ParticleAdaptor p) -> bool
1731 Weight_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1733 return _IMP_isd.Weight_get_is_setup(*args)
1736 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
1737 __swig_setmethods__ = {}
1738 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1739 __setattr__ =
lambda self, name, value: _swig_setattr(self, JeffreysRestraint, name, value)
1740 __swig_getmethods__ = {}
1741 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1742 __getattr__ =
lambda self, name: _swig_getattr(self, JeffreysRestraint, name)
1743 def __init__(self, *args):
1744 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
1745 this = _IMP_isd.new_JeffreysRestraint(*args)
1746 try: self.this.append(this)
1747 except: self.this = this
1748 def do_get_inputs(self):
1749 """do_get_inputs(JeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1750 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
1752 def get_version_info(self):
1753 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
1754 return _IMP_isd.JeffreysRestraint_get_version_info(self)
1756 __swig_destroy__ = _IMP_isd.delete_JeffreysRestraint
1757 __del__ =
lambda self :
None;
1758 def get_probability(self):
1759 """get_probability(JeffreysRestraint self) -> double"""
1760 return _IMP_isd.JeffreysRestraint_get_probability(self)
1763 """__str__(JeffreysRestraint self) -> std::string"""
1764 return _IMP_isd.JeffreysRestraint___str__(self)
1767 """__repr__(JeffreysRestraint self) -> std::string"""
1768 return _IMP_isd.JeffreysRestraint___repr__(self)
1771 return _object_cast_to_JeffreysRestraint(o)
1772 get_from = staticmethod(get_from)
1774 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
1775 JeffreysRestraint_swigregister(JeffreysRestraint)
1778 """Proxy of C++ IMP::isd::FNormal class"""
1779 __swig_setmethods__ = {}
1780 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1781 __setattr__ =
lambda self, name, value: _swig_setattr(self, FNormal, name, value)
1782 __swig_getmethods__ = {}
1783 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1784 __getattr__ =
lambda self, name: _swig_getattr(self, FNormal, name)
1785 def __init__(self, *args):
1786 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
1787 this = _IMP_isd.new_FNormal(*args)
1788 try: self.this.append(this)
1789 except: self.this = this
1791 """evaluate(FNormal self) -> double"""
1792 return _IMP_isd.FNormal_evaluate(self)
1794 def evaluate_derivative_FA(self):
1795 """evaluate_derivative_FA(FNormal self) -> double"""
1796 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
1798 def evaluate_derivative_JA(self):
1799 """evaluate_derivative_JA(FNormal self) -> double"""
1800 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
1802 def evaluate_derivative_FM(self):
1803 """evaluate_derivative_FM(FNormal self) -> double"""
1804 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
1806 def evaluate_derivative_sigma(self):
1807 """evaluate_derivative_sigma(FNormal self) -> double"""
1808 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
1811 """density(FNormal self) -> double"""
1812 return _IMP_isd.FNormal_density(self)
1814 def set_FA(self, *args):
1815 """set_FA(FNormal self, double f)"""
1816 return _IMP_isd.FNormal_set_FA(self, *args)
1818 def set_JA(self, *args):
1819 """set_JA(FNormal self, double f)"""
1820 return _IMP_isd.FNormal_set_JA(self, *args)
1822 def set_FM(self, *args):
1823 """set_FM(FNormal self, double f)"""
1824 return _IMP_isd.FNormal_set_FM(self, *args)
1826 def set_sigma(self, *args):
1827 """set_sigma(FNormal self, double f)"""
1828 return _IMP_isd.FNormal_set_sigma(self, *args)
1830 def get_version_info(self):
1831 """get_version_info(FNormal self) -> VersionInfo"""
1832 return _IMP_isd.FNormal_get_version_info(self)
1834 __swig_destroy__ = _IMP_isd.delete_FNormal
1835 __del__ =
lambda self :
None;
1837 """__str__(FNormal self) -> std::string"""
1838 return _IMP_isd.FNormal___str__(self)
1841 """__repr__(FNormal self) -> std::string"""
1842 return _IMP_isd.FNormal___repr__(self)
1845 return _object_cast_to_FNormal(o)
1846 get_from = staticmethod(get_from)
1848 FNormal_swigregister = _IMP_isd.FNormal_swigregister
1849 FNormal_swigregister(FNormal)
1852 """Proxy of C++ IMP::isd::vonMises class"""
1853 __swig_setmethods__ = {}
1854 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1855 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMises, name, value)
1856 __swig_getmethods__ = {}
1857 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1858 __getattr__ =
lambda self, name: _swig_getattr(self, vonMises, name)
1859 def __init__(self, *args):
1860 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
1861 this = _IMP_isd.new_vonMises(*args)
1862 try: self.this.append(this)
1863 except: self.this = this
1865 """evaluate(vonMises self) -> double"""
1866 return _IMP_isd.vonMises_evaluate(self)
1868 def evaluate_derivative_x(self):
1869 """evaluate_derivative_x(vonMises self) -> double"""
1870 return _IMP_isd.vonMises_evaluate_derivative_x(self)
1872 def evaluate_derivative_mu(self):
1873 """evaluate_derivative_mu(vonMises self) -> double"""
1874 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
1876 def evaluate_derivative_kappa(self):
1877 """evaluate_derivative_kappa(vonMises self) -> double"""
1878 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
1881 """density(vonMises self) -> double"""
1882 return _IMP_isd.vonMises_density(self)
1884 def set_x(self, *args):
1885 """set_x(vonMises self, double x)"""
1886 return _IMP_isd.vonMises_set_x(self, *args)
1888 def set_mu(self, *args):
1889 """set_mu(vonMises self, double mu)"""
1890 return _IMP_isd.vonMises_set_mu(self, *args)
1892 def set_kappa(self, *args):
1893 """set_kappa(vonMises self, double kappa)"""
1894 return _IMP_isd.vonMises_set_kappa(self, *args)
1896 def get_version_info(self):
1897 """get_version_info(vonMises self) -> VersionInfo"""
1898 return _IMP_isd.vonMises_get_version_info(self)
1900 __swig_destroy__ = _IMP_isd.delete_vonMises
1901 __del__ =
lambda self :
None;
1903 """__str__(vonMises self) -> std::string"""
1904 return _IMP_isd.vonMises___str__(self)
1907 """__repr__(vonMises self) -> std::string"""
1908 return _IMP_isd.vonMises___repr__(self)
1911 return _object_cast_to_vonMises(o)
1912 get_from = staticmethod(get_from)
1914 vonMises_swigregister = _IMP_isd.vonMises_swigregister
1915 vonMises_swigregister(vonMises)
1918 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
1919 __swig_setmethods__ = {}
1920 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1921 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesSufficient, name, value)
1922 __swig_getmethods__ = {}
1923 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1924 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesSufficient, name)
1925 def __init__(self, *args):
1927 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
1928 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
1930 this = _IMP_isd.new_vonMisesSufficient(*args)
1931 try: self.this.append(this)
1932 except: self.this = this
1934 """evaluate(vonMisesSufficient self) -> double"""
1935 return _IMP_isd.vonMisesSufficient_evaluate(self)
1937 def evaluate_derivative_x(self):
1938 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
1939 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
1941 def evaluate_derivative_kappa(self):
1942 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
1943 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
1946 """density(vonMisesSufficient self) -> double"""
1947 return _IMP_isd.vonMisesSufficient_density(self)
1950 """get_x(vonMisesSufficient self) -> double"""
1951 return _IMP_isd.vonMisesSufficient_get_x(self)
1954 """get_R0(vonMisesSufficient self) -> double"""
1955 return _IMP_isd.vonMisesSufficient_get_R0(self)
1957 def get_chiexp(self):
1958 """get_chiexp(vonMisesSufficient self) -> double"""
1959 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
1962 """get_N(vonMisesSufficient self) -> double"""
1963 return _IMP_isd.vonMisesSufficient_get_N(self)
1965 def get_kappa(self):
1966 """get_kappa(vonMisesSufficient self) -> double"""
1967 return _IMP_isd.vonMisesSufficient_get_kappa(self)
1969 def set_x(self, *args):
1970 """set_x(vonMisesSufficient self, double x)"""
1971 return _IMP_isd.vonMisesSufficient_set_x(self, *args)
1973 def set_R0(self, *args):
1974 """set_R0(vonMisesSufficient self, double R0)"""
1975 return _IMP_isd.vonMisesSufficient_set_R0(self, *args)
1977 def set_chiexp(self, *args):
1978 """set_chiexp(vonMisesSufficient self, double chiexp)"""
1979 return _IMP_isd.vonMisesSufficient_set_chiexp(self, *args)
1981 def set_N(self, *args):
1982 """set_N(vonMisesSufficient self, unsigned int N)"""
1983 return _IMP_isd.vonMisesSufficient_set_N(self, *args)
1985 def set_kappa(self, *args):
1986 """set_kappa(vonMisesSufficient self, double kappa)"""
1987 return _IMP_isd.vonMisesSufficient_set_kappa(self, *args)
1989 def get_sufficient_statistics(*args):
1990 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
1991 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
1993 if _newclass:get_sufficient_statistics = staticmethod(get_sufficient_statistics)
1994 __swig_getmethods__[
"get_sufficient_statistics"] =
lambda x: get_sufficient_statistics
1995 def get_version_info(self):
1996 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
1997 return _IMP_isd.vonMisesSufficient_get_version_info(self)
1999 __swig_destroy__ = _IMP_isd.delete_vonMisesSufficient
2000 __del__ =
lambda self :
None;
2002 """__str__(vonMisesSufficient self) -> std::string"""
2003 return _IMP_isd.vonMisesSufficient___str__(self)
2006 """__repr__(vonMisesSufficient self) -> std::string"""
2007 return _IMP_isd.vonMisesSufficient___repr__(self)
2010 return _object_cast_to_vonMisesSufficient(o)
2011 get_from = staticmethod(get_from)
2013 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2014 vonMisesSufficient_swigregister(vonMisesSufficient)
2016 def vonMisesSufficient_get_sufficient_statistics(*args):
2017 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2018 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
2021 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
2022 __swig_setmethods__ = {}
2023 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2024 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesKappaJeffreysRestraint, name, value)
2025 __swig_getmethods__ = {}
2026 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2027 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesKappaJeffreysRestraint, name)
2028 def __init__(self, *args):
2029 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2030 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(*args)
2031 try: self.this.append(this)
2032 except: self.this = this
2033 def do_get_inputs(self):
2034 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2035 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2037 def get_version_info(self):
2038 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2039 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2041 __swig_destroy__ = _IMP_isd.delete_vonMisesKappaJeffreysRestraint
2042 __del__ =
lambda self :
None;
2043 def get_probability(self):
2044 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2045 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2048 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2049 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2052 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2053 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2056 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2057 get_from = staticmethod(get_from)
2059 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2060 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2063 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
2064 __swig_setmethods__ = {}
2065 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2066 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesKappaConjugateRestraint, name, value)
2067 __swig_getmethods__ = {}
2068 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2069 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesKappaConjugateRestraint, name)
2070 def __init__(self, *args):
2072 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2073 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2074 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2076 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(*args)
2077 try: self.this.append(this)
2078 except: self.this = this
2079 def do_get_inputs(self):
2080 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2081 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2083 def get_version_info(self):
2084 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2085 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2087 __swig_destroy__ = _IMP_isd.delete_vonMisesKappaConjugateRestraint
2088 __del__ =
lambda self :
None;
2089 def get_probability(self):
2090 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2091 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2094 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2095 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2098 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2099 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2102 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2103 get_from = staticmethod(get_from)
2105 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2106 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2109 """Proxy of C++ IMP::isd::NOERestraint class"""
2110 __swig_setmethods__ = {}
2111 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2112 __setattr__ =
lambda self, name, value: _swig_setattr(self, NOERestraint, name, value)
2113 __swig_getmethods__ = {}
2114 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2115 __getattr__ =
lambda self, name: _swig_getattr(self, NOERestraint, name)
2116 def __init__(self, *args):
2117 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2118 this = _IMP_isd.new_NOERestraint(*args)
2119 try: self.this.append(this)
2120 except: self.this = this
2121 def get_probability(self):
2122 """get_probability(NOERestraint self) -> double"""
2123 return _IMP_isd.NOERestraint_get_probability(self)
2126 """get_chi(NOERestraint self) -> double"""
2127 return _IMP_isd.NOERestraint_get_chi(self)
2129 def do_get_inputs(self):
2130 """do_get_inputs(NOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2131 return _IMP_isd.NOERestraint_do_get_inputs(self)
2133 def get_version_info(self):
2134 """get_version_info(NOERestraint self) -> VersionInfo"""
2135 return _IMP_isd.NOERestraint_get_version_info(self)
2137 __swig_destroy__ = _IMP_isd.delete_NOERestraint
2138 __del__ =
lambda self :
None;
2140 """__str__(NOERestraint self) -> std::string"""
2141 return _IMP_isd.NOERestraint___str__(self)
2144 """__repr__(NOERestraint self) -> std::string"""
2145 return _IMP_isd.NOERestraint___repr__(self)
2148 return _object_cast_to_NOERestraint(o)
2149 get_from = staticmethod(get_from)
2151 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2152 NOERestraint_swigregister(NOERestraint)
2155 """Proxy of C++ IMP::isd::GaussianRestraint class"""
2156 __swig_setmethods__ = {}
2157 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2158 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianRestraint, name, value)
2159 __swig_getmethods__ = {}
2160 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2161 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianRestraint, name)
2162 def __init__(self, *args):
2164 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2165 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2166 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2167 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2168 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2169 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2170 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2172 this = _IMP_isd.new_GaussianRestraint(*args)
2173 try: self.this.append(this)
2174 except: self.this = this
2175 def get_probability(self):
2176 """get_probability(GaussianRestraint self) -> double"""
2177 return _IMP_isd.GaussianRestraint_get_probability(self)
2180 """get_chi(GaussianRestraint self) -> double"""
2181 return _IMP_isd.GaussianRestraint_get_chi(self)
2183 def do_get_inputs(self):
2184 """do_get_inputs(GaussianRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2185 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2187 def get_version_info(self):
2188 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2189 return _IMP_isd.GaussianRestraint_get_version_info(self)
2191 __swig_destroy__ = _IMP_isd.delete_GaussianRestraint
2192 __del__ =
lambda self :
None;
2194 """__str__(GaussianRestraint self) -> std::string"""
2195 return _IMP_isd.GaussianRestraint___str__(self)
2198 """__repr__(GaussianRestraint self) -> std::string"""
2199 return _IMP_isd.GaussianRestraint___repr__(self)
2202 return _object_cast_to_GaussianRestraint(o)
2203 get_from = staticmethod(get_from)
2205 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2206 GaussianRestraint_swigregister(GaussianRestraint)
2209 """Proxy of C++ IMP::isd::LognormalRestraint class"""
2210 __swig_setmethods__ = {}
2211 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2212 __setattr__ =
lambda self, name, value: _swig_setattr(self, LognormalRestraint, name, value)
2213 __swig_getmethods__ = {}
2214 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2215 __getattr__ =
lambda self, name: _swig_getattr(self, LognormalRestraint, name)
2216 def __init__(self, *args):
2218 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2219 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2220 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2221 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2222 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2223 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2224 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2226 this = _IMP_isd.new_LognormalRestraint(*args)
2227 try: self.this.append(this)
2228 except: self.this = this
2229 def get_probability(self):
2230 """get_probability(LognormalRestraint self) -> double"""
2231 return _IMP_isd.LognormalRestraint_get_probability(self)
2234 """get_chi(LognormalRestraint self) -> double"""
2235 return _IMP_isd.LognormalRestraint_get_chi(self)
2237 def do_get_inputs(self):
2238 """do_get_inputs(LognormalRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2239 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2241 def get_version_info(self):
2242 """get_version_info(LognormalRestraint self) -> VersionInfo"""
2243 return _IMP_isd.LognormalRestraint_get_version_info(self)
2245 __swig_destroy__ = _IMP_isd.delete_LognormalRestraint
2246 __del__ =
lambda self :
None;
2248 """__str__(LognormalRestraint self) -> std::string"""
2249 return _IMP_isd.LognormalRestraint___str__(self)
2252 """__repr__(LognormalRestraint self) -> std::string"""
2253 return _IMP_isd.LognormalRestraint___repr__(self)
2256 return _object_cast_to_LognormalRestraint(o)
2257 get_from = staticmethod(get_from)
2259 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2260 LognormalRestraint_swigregister(LognormalRestraint)
2263 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2264 __swig_setmethods__ = {}
2265 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2266 __setattr__ =
lambda self, name, value: _swig_setattr(self, AmbiguousNOERestraint, name, value)
2267 __swig_getmethods__ = {}
2268 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2269 __getattr__ =
lambda self, name: _swig_getattr(self, AmbiguousNOERestraint, name)
2270 def __init__(self, *args):
2271 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, Particle sigma, Particle gamma, double Iexp) -> AmbiguousNOERestraint"""
2272 this = _IMP_isd.new_AmbiguousNOERestraint(*args)
2273 try: self.this.append(this)
2274 except: self.this = this
2275 def get_probability(self):
2276 """get_probability(AmbiguousNOERestraint self) -> double"""
2277 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2280 """get_chi(AmbiguousNOERestraint self) -> double"""
2281 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2283 def do_get_inputs(self):
2284 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2285 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2287 def get_version_info(self):
2288 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2289 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2291 __swig_destroy__ = _IMP_isd.delete_AmbiguousNOERestraint
2292 __del__ =
lambda self :
None;
2294 """__str__(AmbiguousNOERestraint self) -> std::string"""
2295 return _IMP_isd.AmbiguousNOERestraint___str__(self)
2298 """__repr__(AmbiguousNOERestraint self) -> std::string"""
2299 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2302 return _object_cast_to_AmbiguousNOERestraint(o)
2303 get_from = staticmethod(get_from)
2305 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2306 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2309 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2310 __swig_setmethods__ = {}
2311 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2312 __setattr__ =
lambda self, name, value: _swig_setattr(self, MarginalNOERestraint, name, value)
2313 __swig_getmethods__ = {}
2314 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2315 __getattr__ =
lambda self, name: _swig_getattr(self, MarginalNOERestraint, name)
2316 def __init__(self, *args):
2317 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2318 this = _IMP_isd.new_MarginalNOERestraint(*args)
2319 try: self.this.append(this)
2320 except: self.this = this
2321 def add_contribution(self, *args):
2323 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2324 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2326 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2328 def get_log_gammahat(self):
2329 """get_log_gammahat(MarginalNOERestraint self) -> double"""
2330 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2333 """get_SS(MarginalNOERestraint self) -> double"""
2334 return _IMP_isd.MarginalNOERestraint_get_SS(self)
2336 def get_number_of_contributions(self):
2337 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2338 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2340 def get_probability(self):
2341 """get_probability(MarginalNOERestraint self) -> double"""
2342 return _IMP_isd.MarginalNOERestraint_get_probability(self)
2344 def do_get_inputs(self):
2345 """do_get_inputs(MarginalNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2346 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2348 def get_version_info(self):
2349 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2350 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2352 __swig_destroy__ = _IMP_isd.delete_MarginalNOERestraint
2353 __del__ =
lambda self :
None;
2355 """__str__(MarginalNOERestraint self) -> std::string"""
2356 return _IMP_isd.MarginalNOERestraint___str__(self)
2359 """__repr__(MarginalNOERestraint self) -> std::string"""
2360 return _IMP_isd.MarginalNOERestraint___repr__(self)
2363 return _object_cast_to_MarginalNOERestraint(o)
2364 get_from = staticmethod(get_from)
2366 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
2367 MarginalNOERestraint_swigregister(MarginalNOERestraint)
2370 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
2371 __swig_setmethods__ = {}
2372 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2373 __setattr__ =
lambda self, name, value: _swig_setattr(self, MarginalHBondRestraint, name, value)
2374 __swig_getmethods__ = {}
2375 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2376 __getattr__ =
lambda self, name: _swig_getattr(self, MarginalHBondRestraint, name)
2377 def __init__(self, *args):
2378 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
2379 this = _IMP_isd.new_MarginalHBondRestraint(*args)
2380 try: self.this.append(this)
2381 except: self.this = this
2382 def add_contribution(self, *args):
2384 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
2385 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
2387 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
2389 def get_logsquares(self):
2390 """get_logsquares(MarginalHBondRestraint self) -> double"""
2391 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
2393 def get_number_of_contributions(self):
2394 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
2395 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
2397 def get_probability(self):
2398 """get_probability(MarginalHBondRestraint self) -> double"""
2399 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
2401 def do_get_inputs(self):
2402 """do_get_inputs(MarginalHBondRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2403 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
2405 def get_version_info(self):
2406 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
2407 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
2409 __swig_destroy__ = _IMP_isd.delete_MarginalHBondRestraint
2410 __del__ =
lambda self :
None;
2412 """__str__(MarginalHBondRestraint self) -> std::string"""
2413 return _IMP_isd.MarginalHBondRestraint___str__(self)
2416 """__repr__(MarginalHBondRestraint self) -> std::string"""
2417 return _IMP_isd.MarginalHBondRestraint___repr__(self)
2420 return _object_cast_to_MarginalHBondRestraint(o)
2421 get_from = staticmethod(get_from)
2423 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
2424 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
2427 """Proxy of C++ IMP::isd::TALOSRestraint class"""
2428 __swig_setmethods__ = {}
2429 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2430 __setattr__ =
lambda self, name, value: _swig_setattr(self, TALOSRestraint, name, value)
2431 __swig_getmethods__ = {}
2432 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2433 __getattr__ =
lambda self, name: _swig_getattr(self, TALOSRestraint, name)
2434 def __init__(self, *args):
2436 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
2437 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
2438 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
2439 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0,
2440 double chiexp, Particle kappa) -> TALOSRestraint
2442 this = _IMP_isd.new_TALOSRestraint(*args)
2443 try: self.this.append(this)
2444 except: self.this = this
2445 def get_probability(self):
2446 """get_probability(TALOSRestraint self) -> double"""
2447 return _IMP_isd.TALOSRestraint_get_probability(self)
2450 """get_R0(TALOSRestraint self) -> double"""
2451 return _IMP_isd.TALOSRestraint_get_R0(self)
2453 def get_chiexp(self):
2454 """get_chiexp(TALOSRestraint self) -> double"""
2455 return _IMP_isd.TALOSRestraint_get_chiexp(self)
2457 def do_get_inputs(self):
2458 """do_get_inputs(TALOSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2459 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
2461 def get_version_info(self):
2462 """get_version_info(TALOSRestraint self) -> VersionInfo"""
2463 return _IMP_isd.TALOSRestraint_get_version_info(self)
2465 __swig_destroy__ = _IMP_isd.delete_TALOSRestraint
2466 __del__ =
lambda self :
None;
2468 """__str__(TALOSRestraint self) -> std::string"""
2469 return _IMP_isd.TALOSRestraint___str__(self)
2472 """__repr__(TALOSRestraint self) -> std::string"""
2473 return _IMP_isd.TALOSRestraint___repr__(self)
2476 return _object_cast_to_TALOSRestraint(o)
2477 get_from = staticmethod(get_from)
2479 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
2480 TALOSRestraint_swigregister(TALOSRestraint)
2483 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
2484 __swig_setmethods__ = {}
2485 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2486 __setattr__ =
lambda self, name, value: _swig_setattr(self, RepulsiveDistancePairScore, name, value)
2487 __swig_getmethods__ = {}
2488 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2489 __getattr__ =
lambda self, name: _swig_getattr(self, RepulsiveDistancePairScore, name)
2490 def __init__(self, *args):
2491 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
2492 this = _IMP_isd.new_RepulsiveDistancePairScore(*args)
2493 try: self.this.append(this)
2494 except: self.this = this
2495 def get_rest_length(self):
2496 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
2497 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
2499 def get_stiffness(self):
2500 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
2501 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
2503 def do_get_inputs(self, *args):
2504 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2505 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, *args)
2507 def get_version_info(self):
2508 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
2509 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
2511 __swig_destroy__ = _IMP_isd.delete_RepulsiveDistancePairScore
2512 __del__ =
lambda self :
None;
2514 """__str__(RepulsiveDistancePairScore self) -> std::string"""
2515 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
2518 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
2519 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
2522 return _object_cast_to_RepulsiveDistancePairScore(o)
2523 get_from = staticmethod(get_from)
2525 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
2526 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
2529 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
2530 __swig_setmethods__ = {}
2531 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2532 __setattr__ =
lambda self, name, value: _swig_setattr(self, AmbiguousRestraint, name, value)
2533 __swig_getmethods__ = {}
2534 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2535 __getattr__ =
lambda self, name: _swig_getattr(self, AmbiguousRestraint, name)
2536 def __init__(self, *args):
2538 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
2539 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::kernel::Restraints rs) -> AmbiguousRestraint
2541 this = _IMP_isd.new_AmbiguousRestraint(*args)
2542 try: self.this.append(this)
2543 except: self.this = this
2544 def get_probability(self):
2545 """get_probability(AmbiguousRestraint self) -> double"""
2546 return _IMP_isd.AmbiguousRestraint_get_probability(self)
2548 def do_get_inputs(self):
2549 """do_get_inputs(AmbiguousRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2550 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
2552 def get_version_info(self):
2553 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
2554 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
2556 __swig_destroy__ = _IMP_isd.delete_AmbiguousRestraint
2557 __del__ =
lambda self :
None;
2559 """__str__(AmbiguousRestraint self) -> std::string"""
2560 return _IMP_isd.AmbiguousRestraint___str__(self)
2563 """__repr__(AmbiguousRestraint self) -> std::string"""
2564 return _IMP_isd.AmbiguousRestraint___repr__(self)
2567 return _object_cast_to_AmbiguousRestraint(o)
2568 get_from = staticmethod(get_from)
2570 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
2571 AmbiguousRestraint_swigregister(AmbiguousRestraint)
2573 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
2575 """Proxy of C++ IMP::isd::UnivariateFunction class"""
2576 __swig_setmethods__ = {}
2577 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2578 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnivariateFunction, name, value)
2579 __swig_getmethods__ = {}
2580 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2581 __getattr__ =
lambda self, name: _swig_getattr(self, UnivariateFunction, name)
2582 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2583 def __call__(self, *args):
2585 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
2586 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2587 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2589 return _IMP_isd.UnivariateFunction___call__(self, *args)
2591 def has_changed(self):
2592 """has_changed(UnivariateFunction self) -> bool"""
2593 return _IMP_isd.UnivariateFunction_has_changed(self)
2596 """update(UnivariateFunction self)"""
2597 return _IMP_isd.UnivariateFunction_update(self)
2599 def add_to_derivatives(self, *args):
2600 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
2601 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, *args)
2603 def add_to_particle_derivative(self, *args):
2604 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2605 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, *args)
2607 def get_derivative_vector(self, *args):
2608 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
2609 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, *args)
2611 def get_derivative_matrix(self, *args):
2612 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
2613 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, *args)
2615 def get_second_derivative_vector(self, *args):
2617 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2618 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2619 bool stupid) -> IMP::FloatsList
2621 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
2623 def get_ndims_x(self):
2624 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
2625 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
2627 def get_ndims_y(self):
2628 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
2629 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
2631 def get_number_of_particles(self):
2632 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
2633 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
2635 def get_particle_is_optimized(self, *args):
2636 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
2637 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, *args)
2639 def get_number_of_optimized_particles(self):
2640 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
2641 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
2644 """get_input_particles(UnivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2645 return _IMP_isd.UnivariateFunction_get_input_particles(self)
2648 """get_input_containers(UnivariateFunction self) -> IMP::kernel::ContainersTemp"""
2649 return _IMP_isd.UnivariateFunction_get_input_containers(self)
2651 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
2652 __del__ =
lambda self :
None;
2654 """__str__(UnivariateFunction self) -> std::string"""
2655 return _IMP_isd.UnivariateFunction___str__(self)
2658 """__repr__(UnivariateFunction self) -> std::string"""
2659 return _IMP_isd.UnivariateFunction___repr__(self)
2662 return _object_cast_to_UnivariateFunction(o)
2663 get_from = staticmethod(get_from)
2665 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
2666 UnivariateFunction_swigregister(UnivariateFunction)
2668 class Linear1DFunction(UnivariateFunction):
2669 """Proxy of C++ IMP::isd::Linear1DFunction class"""
2670 __swig_setmethods__ = {}
2671 for _s
in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2672 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear1DFunction, name, value)
2673 __swig_getmethods__ = {}
2674 for _s
in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2675 __getattr__ =
lambda self, name: _swig_getattr(self, Linear1DFunction, name)
2676 def __init__(self, *args):
2677 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
2678 this = _IMP_isd.new_Linear1DFunction(*args)
2679 try: self.this.append(this)
2680 except: self.this = this
2681 def __call__(self, *args):
2683 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
2684 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2685 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2687 return _IMP_isd.Linear1DFunction___call__(self, *args)
2689 def get_second_derivative_vector(self, *args):
2691 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2692 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2693 bool arg5) -> IMP::FloatsList
2695 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
2697 def get_version_info(self):
2698 """get_version_info(Linear1DFunction self) -> VersionInfo"""
2699 return _IMP_isd.Linear1DFunction_get_version_info(self)
2701 __swig_destroy__ = _IMP_isd.delete_Linear1DFunction
2702 __del__ =
lambda self :
None;
2704 """__str__(Linear1DFunction self) -> std::string"""
2705 return _IMP_isd.Linear1DFunction___str__(self)
2708 """__repr__(Linear1DFunction self) -> std::string"""
2709 return _IMP_isd.Linear1DFunction___repr__(self)
2712 return _object_cast_to_Linear1DFunction(o)
2713 get_from = staticmethod(get_from)
2715 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
2716 Linear1DFunction_swigregister(Linear1DFunction)
2718 class GeneralizedGuinierPorodFunction(UnivariateFunction):
2719 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
2720 __swig_setmethods__ = {}
2721 for _s
in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2722 __setattr__ =
lambda self, name, value: _swig_setattr(self, GeneralizedGuinierPorodFunction, name, value)
2723 __swig_getmethods__ = {}
2724 for _s
in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2725 __getattr__ =
lambda self, name: _swig_getattr(self, GeneralizedGuinierPorodFunction, name)
2726 def __init__(self, *args):
2727 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
2728 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(*args)
2729 try: self.this.append(this)
2730 except: self.this = this
2731 def __call__(self, *args):
2733 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
2734 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2735 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2737 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
2739 def get_second_derivative_vector(self, *args):
2741 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2742 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2743 bool arg5) -> IMP::FloatsList
2745 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
2747 def get_version_info(self):
2748 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
2749 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
2751 __swig_destroy__ = _IMP_isd.delete_GeneralizedGuinierPorodFunction
2752 __del__ =
lambda self :
None;
2754 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
2755 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
2758 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
2759 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
2762 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
2763 get_from = staticmethod(get_from)
2765 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
2766 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
2768 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
2770 """Proxy of C++ IMP::isd::BivariateFunction class"""
2771 __swig_setmethods__ = {}
2772 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2773 __setattr__ =
lambda self, name, value: _swig_setattr(self, BivariateFunction, name, value)
2774 __swig_getmethods__ = {}
2775 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2776 __getattr__ =
lambda self, name: _swig_getattr(self, BivariateFunction, name)
2777 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2778 def __call__(self, *args):
2780 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2781 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2782 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2784 return _IMP_isd.BivariateFunction___call__(self, *args)
2786 def has_changed(self):
2787 """has_changed(BivariateFunction self) -> bool"""
2788 return _IMP_isd.BivariateFunction_has_changed(self)
2791 """update(BivariateFunction self)"""
2792 return _IMP_isd.BivariateFunction_update(self)
2794 def add_to_derivatives(self, *args):
2795 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
2796 return _IMP_isd.BivariateFunction_add_to_derivatives(self, *args)
2798 def add_to_particle_derivative(self, *args):
2799 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2800 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, *args)
2802 def get_derivative_matrix(self, *args):
2804 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2805 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2807 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
2809 def get_second_derivative_matrix(self, *args):
2811 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2812 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2813 bool stupid) -> IMP::FloatsList
2815 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
2817 def get_ndims_x1(self):
2818 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
2819 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
2821 def get_ndims_x2(self):
2822 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
2823 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
2825 def get_ndims_y(self):
2826 """get_ndims_y(BivariateFunction self) -> unsigned int"""
2827 return _IMP_isd.BivariateFunction_get_ndims_y(self)
2829 def get_number_of_particles(self):
2830 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
2831 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
2833 def get_particle_is_optimized(self, *args):
2834 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
2835 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, *args)
2837 def get_number_of_optimized_particles(self):
2838 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
2839 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
2842 """get_input_particles(BivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2843 return _IMP_isd.BivariateFunction_get_input_particles(self)
2846 """get_input_containers(BivariateFunction self) -> IMP::kernel::ContainersTemp"""
2847 return _IMP_isd.BivariateFunction_get_input_containers(self)
2849 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
2850 __del__ =
lambda self :
None;
2852 """__str__(BivariateFunction self) -> std::string"""
2853 return _IMP_isd.BivariateFunction___str__(self)
2856 """__repr__(BivariateFunction self) -> std::string"""
2857 return _IMP_isd.BivariateFunction___repr__(self)
2860 return _object_cast_to_BivariateFunction(o)
2861 get_from = staticmethod(get_from)
2863 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
2864 BivariateFunction_swigregister(BivariateFunction)
2866 class Covariance1DFunction(BivariateFunction):
2867 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
2868 __swig_setmethods__ = {}
2869 for _s
in [BivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2870 __setattr__ =
lambda self, name, value: _swig_setattr(self, Covariance1DFunction, name, value)
2871 __swig_getmethods__ = {}
2872 for _s
in [BivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2873 __getattr__ =
lambda self, name: _swig_getattr(self, Covariance1DFunction, name)
2874 def __init__(self, *args):
2876 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
2877 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
2878 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
2879 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
2881 this = _IMP_isd.new_Covariance1DFunction(*args)
2882 try: self.this.append(this)
2883 except: self.this = this
2884 def __call__(self, *args):
2886 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2887 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2888 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2890 return _IMP_isd.Covariance1DFunction___call__(self, *args)
2892 def get_derivative_matrix(self, *args):
2894 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2895 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
2897 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
2899 def get_second_derivative_matrix(self, *args):
2901 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2902 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2903 bool arg5) -> IMP::FloatsList
2905 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
2907 def get_version_info(self):
2908 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
2909 return _IMP_isd.Covariance1DFunction_get_version_info(self)
2911 __swig_destroy__ = _IMP_isd.delete_Covariance1DFunction
2912 __del__ =
lambda self :
None;
2914 """__str__(Covariance1DFunction self) -> std::string"""
2915 return _IMP_isd.Covariance1DFunction___str__(self)
2918 """__repr__(Covariance1DFunction self) -> std::string"""
2919 return _IMP_isd.Covariance1DFunction___repr__(self)
2922 return _object_cast_to_Covariance1DFunction(o)
2923 get_from = staticmethod(get_from)
2925 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
2926 Covariance1DFunction_swigregister(Covariance1DFunction)
2929 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
2930 __swig_setmethods__ = {}
2931 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2932 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolation, name, value)
2933 __swig_getmethods__ = {}
2934 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2935 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianProcessInterpolation, name)
2936 def __init__(self, *args):
2938 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2939 UnivariateFunction mean_function, BivariateFunction covariance_function,
2940 Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
2941 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2942 UnivariateFunction mean_function, BivariateFunction covariance_function,
2943 Particle sigma) -> GaussianProcessInterpolation
2945 this = _IMP_isd.new_GaussianProcessInterpolation(*args)
2946 try: self.this.append(this)
2947 except: self.this = this
2948 def get_posterior_mean(self, *args):
2949 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
2950 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, *args)
2952 def get_posterior_covariance(self, *args):
2953 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
2954 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, *args)
2956 def get_posterior_covariance_matrix(self, *args):
2957 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
2958 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, *args)
2960 def get_posterior_covariance_derivative(self, *args):
2961 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
2962 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, *args)
2964 def get_posterior_covariance_hessian(self, *args):
2965 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
2966 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, *args)
2969 """get_input_particles(GaussianProcessInterpolation self) -> IMP::kernel::ParticlesTemp"""
2970 return _IMP_isd.GaussianProcessInterpolation_get_input_particles(self)
2973 """get_input_containers(GaussianProcessInterpolation self) -> IMP::kernel::ContainersTemp"""
2974 return _IMP_isd.GaussianProcessInterpolation_get_input_containers(self)
2976 def force_mean_update(self):
2977 """force_mean_update(GaussianProcessInterpolation self)"""
2978 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
2980 def force_covariance_update(self):
2981 """force_covariance_update(GaussianProcessInterpolation self)"""
2982 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
2984 def get_number_of_m_particles(self):
2985 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
2986 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
2988 def get_m_particle_is_optimized(self, *args):
2989 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2990 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, *args)
2992 def get_number_of_Omega_particles(self):
2993 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
2994 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
2996 def get_Omega_particle_is_optimized(self, *args):
2997 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2998 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, *args)
3000 def get_data_abscissa(self):
3001 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3002 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3004 def get_data_mean(self):
3005 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3006 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3008 def get_data_variance(self):
3009 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3010 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3012 def get_version_info(self):
3013 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3014 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3016 __swig_destroy__ = _IMP_isd.delete_GaussianProcessInterpolation
3017 __del__ =
lambda self :
None;
3019 """__str__(GaussianProcessInterpolation self) -> std::string"""
3020 return _IMP_isd.GaussianProcessInterpolation___str__(self)
3023 """__repr__(GaussianProcessInterpolation self) -> std::string"""
3024 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3027 return _object_cast_to_GaussianProcessInterpolation(o)
3028 get_from = staticmethod(get_from)
3030 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3031 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3034 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
3035 __swig_setmethods__ = {}
3036 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3037 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolationRestraint, name, value)
3038 __swig_getmethods__ = {}
3039 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3040 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianProcessInterpolationRestraint, name)
3041 def __init__(self, *args):
3042 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3043 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(*args)
3044 try: self.this.append(this)
3045 except: self.this = this
3046 def get_probability(self):
3047 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3048 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3051 """stats(GaussianProcessInterpolationRestraint self)"""
3052 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3054 def set_use_cg(self, *args):
3055 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3056 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, *args)
3058 def get_minus_log_normalization(self):
3059 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3060 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
3062 def get_minus_exponent(self):
3063 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
3064 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
3066 def get_logdet_hessian(self):
3067 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
3068 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3070 def get_hessian(self, *args):
3072 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
3073 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3075 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3077 def do_get_inputs(self):
3078 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3079 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3081 def get_version_info(self):
3082 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3083 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3085 __swig_destroy__ = _IMP_isd.delete_GaussianProcessInterpolationRestraint
3086 __del__ =
lambda self :
None;
3088 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3089 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3092 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3093 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3096 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3097 get_from = staticmethod(get_from)
3099 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3100 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3103 """Proxy of C++ IMP::isd::MolecularDynamics class"""
3104 __swig_setmethods__ = {}
3106 __setattr__ =
lambda self, name, value: _swig_setattr(self, MolecularDynamics, name, value)
3107 __swig_getmethods__ = {}
3109 __getattr__ =
lambda self, name: _swig_getattr(self, MolecularDynamics, name)
3110 def __init__(self, *args):
3112 __init__(IMP::isd::MolecularDynamics self, Model m=nullptr) -> MolecularDynamics
3113 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3115 this = _IMP_isd.new_MolecularDynamics(*args)
3116 try: self.this.append(this)
3117 except: self.this = this
3119 """__str__(MolecularDynamics self) -> std::string"""
3120 return _IMP_isd.MolecularDynamics___str__(self)
3123 """__repr__(MolecularDynamics self) -> std::string"""
3124 return _IMP_isd.MolecularDynamics___repr__(self)
3127 return _object_cast_to_MolecularDynamics(o)
3128 get_from = staticmethod(get_from)
3130 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3131 __del__ =
lambda self :
None;
3132 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3133 MolecularDynamics_swigregister(MolecularDynamics)
3136 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3137 __swig_setmethods__ = {}
3139 __setattr__ =
lambda self, name, value: _swig_setattr(self, MolecularDynamicsMover, name, value)
3140 __swig_getmethods__ = {}
3142 __getattr__ =
lambda self, name: _swig_getattr(self, MolecularDynamicsMover, name)
3143 def __init__(self, *args):
3145 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3146 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3147 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3149 this = _IMP_isd.new_MolecularDynamicsMover(*args)
3150 try: self.this.append(this)
3151 except: self.this = this
3153 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3154 return _IMP_isd.MolecularDynamicsMover_get_md(self)
3156 def get_number_of_md_steps(self):
3157 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3158 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3160 def set_number_of_md_steps(self, *args):
3161 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3162 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, *args)
3164 def get_version_info(self):
3165 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3166 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3168 __swig_destroy__ = _IMP_isd.delete_MolecularDynamicsMover
3169 __del__ =
lambda self :
None;
3171 """__str__(MolecularDynamicsMover self) -> std::string"""
3172 return _IMP_isd.MolecularDynamicsMover___str__(self)
3175 """__repr__(MolecularDynamicsMover self) -> std::string"""
3176 return _IMP_isd.MolecularDynamicsMover___repr__(self)
3179 return _object_cast_to_MolecularDynamicsMover(o)
3180 get_from = staticmethod(get_from)
3182 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3183 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3186 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3187 __swig_setmethods__ = {}
3188 for _s
in [
IMP.core.MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3189 __setattr__ =
lambda self, name, value: _swig_setattr(self, HybridMonteCarlo, name, value)
3190 __swig_getmethods__ = {}
3191 for _s
in [
IMP.core.MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3192 __getattr__ =
lambda self, name: _swig_getattr(self, HybridMonteCarlo, name)
3193 def __init__(self, *args):
3195 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0, unsigned int persistence=1) -> HybridMonteCarlo
3196 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3197 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3198 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3199 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3201 this = _IMP_isd.new_HybridMonteCarlo(*args)
3202 try: self.this.append(this)
3203 except: self.this = this
3204 def get_kinetic_energy(self):
3205 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3206 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3208 def get_potential_energy(self):
3209 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3210 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3212 def get_total_energy(self):
3213 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3214 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3216 def set_timestep(self, *args):
3217 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3218 return _IMP_isd.HybridMonteCarlo_set_timestep(self, *args)
3220 def get_timestep(self):
3221 """get_timestep(HybridMonteCarlo self) -> double"""
3222 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3224 def set_number_of_md_steps(self, *args):
3225 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3226 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, *args)
3228 def get_number_of_md_steps(self):
3229 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3230 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3232 def set_persistence(self, persistence=1):
3234 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3235 set_persistence(HybridMonteCarlo self)
3237 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3239 def get_persistence(self):
3240 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3241 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3244 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3245 return _IMP_isd.HybridMonteCarlo_get_md(self)
3247 def do_evaluate(self, *args):
3248 """do_evaluate(HybridMonteCarlo self, IMP::kernel::ParticleIndexes const & arg2) -> double"""
3249 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, *args)
3252 """do_step(HybridMonteCarlo self)"""
3253 return _IMP_isd.HybridMonteCarlo_do_step(self)
3255 __swig_destroy__ = _IMP_isd.delete_HybridMonteCarlo
3256 __del__ =
lambda self :
None;
3258 """__str__(HybridMonteCarlo self) -> std::string"""
3259 return _IMP_isd.HybridMonteCarlo___str__(self)
3262 """__repr__(HybridMonteCarlo self) -> std::string"""
3263 return _IMP_isd.HybridMonteCarlo___repr__(self)
3266 return _object_cast_to_HybridMonteCarlo(o)
3267 get_from = staticmethod(get_from)
3269 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3270 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3273 """Proxy of C++ IMP::isd::FretData class"""
3274 __swig_setmethods__ = {}
3275 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3276 __setattr__ =
lambda self, name, value: _swig_setattr(self, FretData, name, value)
3277 __swig_getmethods__ = {}
3278 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3279 __getattr__ =
lambda self, name: _swig_getattr(self, FretData, name)
3280 def __init__(self, *args):
3282 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3283 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax, bool do_limit=True) -> FretData
3284 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3285 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax) -> FretData
3287 this = _IMP_isd.new_FretData(*args)
3288 try: self.this.append(this)
3289 except: self.this = this
3290 def get_closest(self, *args):
3291 """get_closest(FretData self, DistBase vec, double value) -> int"""
3292 return _IMP_isd.FretData_get_closest(self, *args)
3294 def get_probability(self, *args):
3295 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
3296 return _IMP_isd.FretData_get_probability(self, *args)
3298 def get_kernel(self, *args):
3299 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
3300 return _IMP_isd.FretData_get_kernel(self, *args)
3302 def get_marginal_element(self, *args):
3303 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
3304 return _IMP_isd.FretData_get_marginal_element(self, *args)
3306 def get_version_info(self):
3307 """get_version_info(FretData self) -> VersionInfo"""
3308 return _IMP_isd.FretData_get_version_info(self)
3310 __swig_destroy__ = _IMP_isd.delete_FretData
3311 __del__ =
lambda self :
None;
3313 """__str__(FretData self) -> std::string"""
3314 return _IMP_isd.FretData___str__(self)
3317 """__repr__(FretData self) -> std::string"""
3318 return _IMP_isd.FretData___repr__(self)
3321 return _object_cast_to_FretData(o)
3322 get_from = staticmethod(get_from)
3324 FretData_swigregister = _IMP_isd.FretData_swigregister
3325 FretData_swigregister(FretData)
3328 """Proxy of C++ IMP::isd::FretRestraint class"""
3329 __swig_setmethods__ = {}
3330 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3331 __setattr__ =
lambda self, name, value: _swig_setattr(self, FretRestraint, name, value)
3332 __swig_getmethods__ = {}
3333 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3334 __getattr__ =
lambda self, name: _swig_getattr(self, FretRestraint, name)
3335 def __init__(self, *args):
3337 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3338 Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0, double m_a=1.0) -> FretRestraint
3339 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3340 Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0) -> FretRestraint
3341 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3342 Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3343 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3344 __init__(IMP::isd::FretRestraint self, Particle prd, Vector3D GMMterd, IMP::algebra::Vector3Ds GMMctrd, IMP::Floats GMMwd,
3345 IMP::Floats GMMsigd, Particle pra, Vector3D GMMtera, IMP::algebra::Vector3Ds GMMctra,
3346 IMP::Floats GMMwa, IMP::Floats GMMsiga, Particle kda, Particle Ida,
3347 Particle sigma0, Particle Pbl, FretData data, double fexp) -> FretRestraint
3349 this = _IMP_isd.new_FretRestraint(*args)
3350 try: self.this.append(this)
3351 except: self.this = this
3352 def get_sumFi(self):
3353 """get_sumFi(FretRestraint self) -> double"""
3354 return _IMP_isd.FretRestraint_get_sumFi(self)
3356 def get_average_sigma(self, *args):
3357 """get_average_sigma(FretRestraint self, double fmod) -> double"""
3358 return _IMP_isd.FretRestraint_get_average_sigma(self, *args)
3360 def get_standard_error(self):
3361 """get_standard_error(FretRestraint self) -> double"""
3362 return _IMP_isd.FretRestraint_get_standard_error(self)
3364 def get_model_fretr(self):
3365 """get_model_fretr(FretRestraint self) -> double"""
3366 return _IMP_isd.FretRestraint_get_model_fretr(self)
3368 def get_probability(self):
3369 """get_probability(FretRestraint self) -> double"""
3370 return _IMP_isd.FretRestraint_get_probability(self)
3372 def get_experimental_value(self):
3373 """get_experimental_value(FretRestraint self) -> double"""
3374 return _IMP_isd.FretRestraint_get_experimental_value(self)
3376 def set_experimental_value(self, *args):
3377 """set_experimental_value(FretRestraint self, double fexp)"""
3378 return _IMP_isd.FretRestraint_set_experimental_value(self, *args)
3380 def do_get_inputs(self):
3381 """do_get_inputs(FretRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3382 return _IMP_isd.FretRestraint_do_get_inputs(self)
3384 def get_version_info(self):
3385 """get_version_info(FretRestraint self) -> VersionInfo"""
3386 return _IMP_isd.FretRestraint_get_version_info(self)
3388 __swig_destroy__ = _IMP_isd.delete_FretRestraint
3389 __del__ =
lambda self :
None;
3391 """__str__(FretRestraint self) -> std::string"""
3392 return _IMP_isd.FretRestraint___str__(self)
3395 """__repr__(FretRestraint self) -> std::string"""
3396 return _IMP_isd.FretRestraint___repr__(self)
3399 return _object_cast_to_FretRestraint(o)
3400 get_from = staticmethod(get_from)
3402 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
3403 FretRestraint_swigregister(FretRestraint)
3406 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
3407 __swig_setmethods__ = {}
3408 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3409 __setattr__ =
lambda self, name, value: _swig_setattr(self, CysteineCrossLinkData, name, value)
3410 __swig_getmethods__ = {}
3411 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3412 __getattr__ =
lambda self, name: _swig_getattr(self, CysteineCrossLinkData, name)
3413 def __init__(self, *args):
3415 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid,
3416 int prior_type=3) -> CysteineCrossLinkData
3417 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
3419 this = _IMP_isd.new_CysteineCrossLinkData(*args)
3420 try: self.this.append(this)
3421 except: self.this = this
3422 def get_closest(self, *args):
3423 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
3424 return _IMP_isd.CysteineCrossLinkData_get_closest(self, *args)
3426 def get_omegas(self, *args):
3427 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3428 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, *args)
3430 def get_nonmarginal_elements(self, *args):
3431 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
3432 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, *args)
3434 def get_marginal_elements(self, *args):
3435 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3436 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, *args)
3438 def get_omega(self, *args):
3439 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3440 return _IMP_isd.CysteineCrossLinkData_get_omega(self, *args)
3442 def get_standard_deviation(self, *args):
3443 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3444 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, *args)
3446 def get_nonmarginal_element(self, *args):
3447 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
3448 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, *args)
3450 def get_marginal_element(self, *args):
3451 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3452 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, *args)
3454 def get_version_info(self):
3455 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
3456 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
3458 __swig_destroy__ = _IMP_isd.delete_CysteineCrossLinkData
3459 __del__ =
lambda self :
None;
3461 """__str__(CysteineCrossLinkData self) -> std::string"""
3462 return _IMP_isd.CysteineCrossLinkData___str__(self)
3465 """__repr__(CysteineCrossLinkData self) -> std::string"""
3466 return _IMP_isd.CysteineCrossLinkData___repr__(self)
3469 return _object_cast_to_CysteineCrossLinkData(o)
3470 get_from = staticmethod(get_from)
3472 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
3473 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
3476 """Proxy of C++ IMP::isd::CrossLinkData class"""
3477 __swig_setmethods__ = {}
3478 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3479 __setattr__ =
lambda self, name, value: _swig_setattr(self, CrossLinkData, name, value)
3480 __swig_getmethods__ = {}
3481 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3482 __getattr__ =
lambda self, name: _swig_getattr(self, CrossLinkData, name)
3483 def __init__(self, *args):
3485 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3486 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max(),
3487 int prior_type=0) -> CrossLinkData
3488 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3489 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3490 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3491 double don=std::numeric_limits< double >::max()) -> CrossLinkData
3492 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
3493 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3494 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3495 double doff=std::numeric_limits< double >::max(), int prior_type=0) -> CrossLinkData
3496 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3497 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3498 double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3499 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3500 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max()) -> CrossLinkData
3501 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3502 IMP::Floats pot_value_grid) -> CrossLinkData
3504 this = _IMP_isd.new_CrossLinkData(*args)
3505 try: self.this.append(this)
3506 except: self.this = this
3507 def get_closest(self, *args):
3508 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
3509 return _IMP_isd.CrossLinkData_get_closest(self, *args)
3511 def get_omegas(self, *args):
3512 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3513 return _IMP_isd.CrossLinkData_get_omegas(self, *args)
3515 def get_omega_prior(self, *args):
3516 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
3517 return _IMP_isd.CrossLinkData_get_omega_prior(self, *args)
3519 def get_nonmarginal_elements(self, *args):
3520 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
3521 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, *args)
3523 def get_marginal_elements(self, *args):
3524 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3525 return _IMP_isd.CrossLinkData_get_marginal_elements(self, *args)
3527 def get_marginal_maximum(self, *args):
3529 get_marginal_maximum(CrossLinkData self, double sigma) -> double
3530 get_marginal_maximum(CrossLinkData self) -> double
3532 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
3534 def get_version_info(self):
3535 """get_version_info(CrossLinkData self) -> VersionInfo"""
3536 return _IMP_isd.CrossLinkData_get_version_info(self)
3538 __swig_destroy__ = _IMP_isd.delete_CrossLinkData
3539 __del__ =
lambda self :
None;
3541 """__str__(CrossLinkData self) -> std::string"""
3542 return _IMP_isd.CrossLinkData___str__(self)
3545 """__repr__(CrossLinkData self) -> std::string"""
3546 return _IMP_isd.CrossLinkData___repr__(self)
3549 return _object_cast_to_CrossLinkData(o)
3550 get_from = staticmethod(get_from)
3552 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
3553 CrossLinkData_swigregister(CrossLinkData)
3556 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
3557 __swig_setmethods__ = {}
3558 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3559 __setattr__ =
lambda self, name, value: _swig_setattr(self, CysteineCrossLinkRestraint, name, value)
3560 __swig_getmethods__ = {}
3561 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3562 __getattr__ =
lambda self, name: _swig_getattr(self, CysteineCrossLinkRestraint, name)
3563 def __init__(self, *args):
3565 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3566 double fexp) -> CysteineCrossLinkRestraint
3567 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3568 CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
3570 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
3571 try: self.this.append(this)
3572 except: self.this = this
3573 def get_probability(self):
3574 """get_probability(CysteineCrossLinkRestraint self) -> double"""
3575 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
3577 def get_standard_error(self):
3578 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
3579 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
3581 def get_frequencies(self):
3582 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3583 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
3585 def get_model_frequency(self):
3586 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
3587 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
3589 def get_distances(self):
3590 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3591 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
3593 def get_truncated_normalization(self, *args):
3594 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
3595 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, *args)
3597 def get_normal_pdf(self, *args):
3598 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
3599 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, *args)
3601 def add_contribution(self, *args):
3603 add_contribution(CysteineCrossLinkRestraint self, Particle p1, Particle p2)
3604 add_contribution(CysteineCrossLinkRestraint self, IMP::kernel::Particles p1, IMP::kernel::Particles p2)
3606 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
3608 def get_CB_coordinates(self, *args):
3609 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::kernel::Particles const & ps) -> Vector3D"""
3610 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, *args)
3612 def get_number_of_contributions(self):
3613 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
3614 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
3616 def do_get_inputs(self):
3617 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3618 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
3620 def get_version_info(self):
3621 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
3622 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
3624 __swig_destroy__ = _IMP_isd.delete_CysteineCrossLinkRestraint
3625 __del__ =
lambda self :
None;
3627 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
3628 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
3631 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
3632 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
3635 return _object_cast_to_CysteineCrossLinkRestraint(o)
3636 get_from = staticmethod(get_from)
3638 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
3639 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
3642 """Proxy of C++ IMP::isd::WeightMover class"""
3643 __swig_setmethods__ = {}
3645 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightMover, name, value)
3646 __swig_getmethods__ = {}
3648 __getattr__ =
lambda self, name: _swig_getattr(self, WeightMover, name)
3649 def __init__(self, *args):
3650 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
3651 this = _IMP_isd.new_WeightMover(*args)
3652 try: self.this.append(this)
3653 except: self.this = this
3654 def get_version_info(self):
3655 """get_version_info(WeightMover self) -> VersionInfo"""
3656 return _IMP_isd.WeightMover_get_version_info(self)
3658 __swig_destroy__ = _IMP_isd.delete_WeightMover
3659 __del__ =
lambda self :
None;
3661 """__str__(WeightMover self) -> std::string"""
3662 return _IMP_isd.WeightMover___str__(self)
3665 """__repr__(WeightMover self) -> std::string"""
3666 return _IMP_isd.WeightMover___repr__(self)
3669 return _object_cast_to_WeightMover(o)
3670 get_from = staticmethod(get_from)
3672 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
3673 WeightMover_swigregister(WeightMover)
3676 """Proxy of C++ IMP::isd::WeightRestraint class"""
3677 __swig_setmethods__ = {}
3678 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3679 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightRestraint, name, value)
3680 __swig_getmethods__ = {}
3681 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3682 __getattr__ =
lambda self, name: _swig_getattr(self, WeightRestraint, name)
3683 def __init__(self, *args):
3684 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
3685 this = _IMP_isd.new_WeightRestraint(*args)
3686 try: self.this.append(this)
3687 except: self.this = this
3688 def do_get_inputs(self):
3689 """do_get_inputs(WeightRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3690 return _IMP_isd.WeightRestraint_do_get_inputs(self)
3692 def get_version_info(self):
3693 """get_version_info(WeightRestraint self) -> VersionInfo"""
3694 return _IMP_isd.WeightRestraint_get_version_info(self)
3696 __swig_destroy__ = _IMP_isd.delete_WeightRestraint
3697 __del__ =
lambda self :
None;
3699 """__str__(WeightRestraint self) -> std::string"""
3700 return _IMP_isd.WeightRestraint___str__(self)
3703 """__repr__(WeightRestraint self) -> std::string"""
3704 return _IMP_isd.WeightRestraint___repr__(self)
3707 return _object_cast_to_WeightRestraint(o)
3708 get_from = staticmethod(get_from)
3710 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
3711 WeightRestraint_swigregister(WeightRestraint)
3714 def get_module_version():
3715 """get_module_version() -> std::string const"""
3716 return _IMP_isd.get_module_version()
3719 """get_example_path(std::string fname) -> std::string"""
3720 return _IMP_isd.get_example_path(*args)
3723 """get_data_path(std::string fname) -> std::string"""
3724 return _IMP_isd.get_data_path(*args)
3725 import _version_check
3726 _version_check.check_version(get_module_version())
See IMP.container for more information.
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
ParticlesTemp get_input_particles(const ModelObjectsTemp &mos)
See IMP.score_functor for more information.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
See IMP.statistics for more information.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
ContainersTemp get_input_containers(const ModelObjectsTemp &mos)
Simple molecular dynamics optimizer.
A base class for classes which perturb particles.
See IMP.kernel for more information.
A restraint is a term in an IMP ScoringFunction.
See IMP.em for more information.
IMP::base::Vector< Weight > Weights
Class to handle individual model particles.
Common base class for heavy weight IMP objects.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
See IMP.core for more information.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
See IMP.saxs for more information.
Class for storing model, its restraints, constraints, and particles.