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:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_ISD_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
98 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
102 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
103 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
105 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
109 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
110 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
112 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
120 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, *args)
123 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
124 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
127 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
128 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
131 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
132 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
135 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
136 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
140 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
144 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
148 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
152 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
156 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
160 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
165 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
171 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
178 IMP_DEBUG = _IMP_isd.IMP_DEBUG
179 IMP_RELEASE = _IMP_isd.IMP_RELEASE
180 IMP_SILENT = _IMP_isd.IMP_SILENT
181 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
182 IMP_TERSE = _IMP_isd.IMP_TERSE
183 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
184 IMP_MEMORY = _IMP_isd.IMP_MEMORY
185 IMP_NONE = _IMP_isd.IMP_NONE
186 IMP_USAGE = _IMP_isd.IMP_USAGE
187 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_isd.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_isd.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_isd.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_isd.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_isd._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_isd._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_isd.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_isd.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_isd.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_STATISTICS_HAS_IMP_BASE = _IMP_isd.IMP_STATISTICS_HAS_IMP_BASE
279 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
280 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
281 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
282 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
283 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
284 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
285 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
287 IMP_CORE_HAS_IMP_BASE = _IMP_isd.IMP_CORE_HAS_IMP_BASE
288 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
289 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
290 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
291 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
293 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
294 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
295 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
296 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
298 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
299 IMP_CONTAINER_HAS_IMP_BASE = _IMP_isd.IMP_CONTAINER_HAS_IMP_BASE
300 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
301 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
302 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
303 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
304 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
305 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
306 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
307 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
308 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
309 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
310 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
312 IMP_ATOM_HAS_IMP_BASE = _IMP_isd.IMP_ATOM_HAS_IMP_BASE
313 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
314 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
315 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
316 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
317 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
318 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
319 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
320 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
321 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
322 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
323 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
324 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
325 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
327 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
328 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
329 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
330 IMP_EM_HAS_IMP_KERNEL = _IMP_isd.IMP_EM_HAS_IMP_KERNEL
331 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
332 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
333 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
334 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
335 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
336 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
337 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
338 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
339 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
341 IMP_SAXS_HAS_IMP_BASE = _IMP_isd.IMP_SAXS_HAS_IMP_BASE
342 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
343 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
344 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
345 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
346 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
347 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
348 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
349 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
350 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
351 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
352 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
353 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
354 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
356 IMP_ISD_HAS_IMP_BASE = _IMP_isd.IMP_ISD_HAS_IMP_BASE
357 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
358 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
359 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
360 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
361 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
362 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
363 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
364 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
365 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
366 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
367 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
368 _object_types.append(
"CrossLinkMSRestraint")
371 def _object_cast_to_CrossLinkMSRestraint(*args):
372 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
373 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(*args)
374 _object_types.append(
"LogWrapper")
377 def _object_cast_to_LogWrapper(*args):
378 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
379 return _IMP_isd._object_cast_to_LogWrapper(*args)
380 _object_types.append(
"UniformPrior")
383 def _object_cast_to_UniformPrior(*args):
384 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
385 return _IMP_isd._object_cast_to_UniformPrior(*args)
386 _object_types.append(
"JeffreysRestraint")
389 def _object_cast_to_JeffreysRestraint(*args):
390 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
391 return _IMP_isd._object_cast_to_JeffreysRestraint(*args)
392 _object_types.append(
"vonMisesKappaJeffreysRestraint")
395 def _object_cast_to_vonMisesKappaJeffreysRestraint(*args):
396 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
397 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(*args)
398 _object_types.append(
"vonMisesKappaConjugateRestraint")
401 def _object_cast_to_vonMisesKappaConjugateRestraint(*args):
402 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
403 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(*args)
404 _object_types.append(
"FNormal")
407 def _object_cast_to_FNormal(*args):
408 """_object_cast_to_FNormal(Object o) -> FNormal"""
409 return _IMP_isd._object_cast_to_FNormal(*args)
410 _object_types.append(
"vonMises")
413 def _object_cast_to_vonMises(*args):
414 """_object_cast_to_vonMises(Object o) -> vonMises"""
415 return _IMP_isd._object_cast_to_vonMises(*args)
416 _object_types.append(
"vonMisesSufficient")
419 def _object_cast_to_vonMisesSufficient(*args):
420 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
421 return _IMP_isd._object_cast_to_vonMisesSufficient(*args)
423 return [Nuisance(x)
for x
in l]
424 _plural_types.append(
"Nuisances")
426 _value_types.append(
"Nuisance")
429 return [Scale(x)
for x
in l]
430 _plural_types.append(
"Scales")
432 _value_types.append(
"Scale")
434 def Switchings(l=[]):
435 return [Switching(x)
for x
in l]
436 _plural_types.append(
"Switchings")
438 _value_types.append(
"Switching")
440 _object_types.append(
"NOERestraint")
443 def _object_cast_to_NOERestraint(*args):
444 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
445 return _IMP_isd._object_cast_to_NOERestraint(*args)
447 return [Weight(x)
for x
in l]
448 _plural_types.append(
"Weights")
450 _value_types.append(
"Weight")
452 _object_types.append(
"GaussianRestraint")
455 def _object_cast_to_GaussianRestraint(*args):
456 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
457 return _IMP_isd._object_cast_to_GaussianRestraint(*args)
458 _object_types.append(
"LognormalRestraint")
461 def _object_cast_to_LognormalRestraint(*args):
462 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
463 return _IMP_isd._object_cast_to_LognormalRestraint(*args)
464 _object_types.append(
"AmbiguousNOERestraint")
467 def _object_cast_to_AmbiguousNOERestraint(*args):
468 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
469 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(*args)
470 _object_types.append(
"MarginalNOERestraint")
473 def _object_cast_to_MarginalNOERestraint(*args):
474 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
475 return _IMP_isd._object_cast_to_MarginalNOERestraint(*args)
476 _object_types.append(
"MarginalHBondRestraint")
479 def _object_cast_to_MarginalHBondRestraint(*args):
480 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
481 return _IMP_isd._object_cast_to_MarginalHBondRestraint(*args)
482 _object_types.append(
"TALOSRestraint")
485 def _object_cast_to_TALOSRestraint(*args):
486 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
487 return _IMP_isd._object_cast_to_TALOSRestraint(*args)
488 _object_types.append(
"RepulsiveDistancePairScore")
491 def _object_cast_to_RepulsiveDistancePairScore(*args):
492 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
493 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(*args)
494 _object_types.append(
"AmbiguousRestraint")
497 def _object_cast_to_AmbiguousRestraint(*args):
498 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
499 return _IMP_isd._object_cast_to_AmbiguousRestraint(*args)
500 _object_types.append(
"UnivariateFunction")
503 def _object_cast_to_UnivariateFunction(*args):
504 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
505 return _IMP_isd._object_cast_to_UnivariateFunction(*args)
506 _object_types.append(
"Linear1DFunction")
509 def _object_cast_to_Linear1DFunction(*args):
510 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
511 return _IMP_isd._object_cast_to_Linear1DFunction(*args)
512 _object_types.append(
"GeneralizedGuinierPorodFunction")
515 def _object_cast_to_GeneralizedGuinierPorodFunction(*args):
516 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
517 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(*args)
518 _object_types.append(
"BivariateFunction")
521 def _object_cast_to_BivariateFunction(*args):
522 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
523 return _IMP_isd._object_cast_to_BivariateFunction(*args)
524 _object_types.append(
"Covariance1DFunction")
527 def _object_cast_to_Covariance1DFunction(*args):
528 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
529 return _IMP_isd._object_cast_to_Covariance1DFunction(*args)
530 _object_types.append(
"GaussianProcessInterpolation")
533 def _object_cast_to_GaussianProcessInterpolation(*args):
534 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
535 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(*args)
536 _object_types.append(
"GaussianProcessInterpolationRestraint")
539 def _object_cast_to_GaussianProcessInterpolationRestraint(*args):
540 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
541 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(*args)
542 _object_types.append(
"MolecularDynamics")
544 _object_types.append(
"MolecularDynamicsMover")
547 def _object_cast_to_MolecularDynamicsMover(*args):
548 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
549 return _IMP_isd._object_cast_to_MolecularDynamicsMover(*args)
550 _object_types.append(
"HybridMonteCarlo")
553 def _object_cast_to_HybridMonteCarlo(*args):
554 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
555 return _IMP_isd._object_cast_to_HybridMonteCarlo(*args)
556 _object_types.append(
"FretData")
559 def _object_cast_to_FretData(*args):
560 """_object_cast_to_FretData(Object o) -> FretData"""
561 return _IMP_isd._object_cast_to_FretData(*args)
562 _object_types.append(
"FretRestraint")
565 def _object_cast_to_FretRestraint(*args):
566 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
567 return _IMP_isd._object_cast_to_FretRestraint(*args)
568 _object_types.append(
"CrossLinkData")
571 def _object_cast_to_CrossLinkData(*args):
572 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
573 return _IMP_isd._object_cast_to_CrossLinkData(*args)
574 _object_types.append(
"CysteineCrossLinkData")
577 def _object_cast_to_CysteineCrossLinkData(*args):
578 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
579 return _IMP_isd._object_cast_to_CysteineCrossLinkData(*args)
580 _object_types.append(
"CysteineCrossLinkRestraint")
583 def _object_cast_to_CysteineCrossLinkRestraint(*args):
584 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
585 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(*args)
586 _object_types.append(
"WeightMover")
589 def _object_cast_to_WeightMover(*args):
590 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
591 return _IMP_isd._object_cast_to_WeightMover(*args)
592 _object_types.append(
"WeightRestraint")
595 def _object_cast_to_WeightRestraint(*args):
596 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
597 return _IMP_isd._object_cast_to_WeightRestraint(*args)
598 _object_types.append(
"AtomicCrossLinkMSRestraint")
601 def _object_cast_to_AtomicCrossLinkMSRestraint(*args):
602 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
603 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(*args)
604 _object_types.append(
"GaussianEMRestraint")
607 def _object_cast_to_GaussianEMRestraint(*args):
608 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
609 return _IMP_isd._object_cast_to_GaussianEMRestraint(*args)
610 def create_model_and_particles():
615 for i
in range(0,100):
619 d.set_coordinates_are_optimized(
True)
623 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
625 def __init__(self, *args):
627 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
628 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
629 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
630 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
631 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
632 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
634 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
635 try: self.this.append(this)
636 except: self.this = this
637 def add_contribution(self, *args):
639 add_contribution(CrossLinkMSRestraint self, IMP::kernel::ParticleIndexPair const & pps, IMP::kernel::ParticleIndexPair const & sigmas,
640 IMP::kernel::ParticleIndex const & psi)
642 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, *args)
644 def get_probability(self):
645 """get_probability(CrossLinkMSRestraint self) -> double"""
646 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
648 def get_number_of_contributions(self):
649 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
650 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
652 def do_get_inputs(self):
653 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
654 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
656 def get_version_info(self):
657 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
658 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
661 """__str__(CrossLinkMSRestraint self) -> std::string"""
662 return _IMP_isd.CrossLinkMSRestraint___str__(self)
665 """__repr__(CrossLinkMSRestraint self) -> std::string"""
666 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
669 return _object_cast_to_CrossLinkMSRestraint(o)
670 get_from = staticmethod(get_from)
672 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
673 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
676 """Proxy of C++ IMP::isd::LogWrapper class"""
677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
678 def __init__(self, *args):
680 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name="LogWrapper %1%") -> LogWrapper
681 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
682 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name="LogWrapper %1%") -> LogWrapper
683 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
684 __init__(IMP::isd::LogWrapper self, IMP::kernel::RestraintsTemp const & rs, double weight, std::string const & name="LogWrapper %1%") -> LogWrapper
685 __init__(IMP::isd::LogWrapper self, IMP::kernel::RestraintsTemp const & rs, double weight) -> LogWrapper
687 this = _IMP_isd.new_LogWrapper(*args)
688 try: self.this.append(this)
689 except: self.this = this
690 def do_get_inputs(self):
691 """do_get_inputs(LogWrapper self) -> IMP::kernel::ModelObjectsTemp"""
692 return _IMP_isd.LogWrapper_do_get_inputs(self)
694 def get_version_info(self):
695 """get_version_info(LogWrapper self) -> VersionInfo"""
696 return _IMP_isd.LogWrapper_get_version_info(self)
698 def remove_restraint(self, *args):
699 """remove_restraint(LogWrapper self, Restraint d)"""
700 return _IMP_isd.LogWrapper_remove_restraint(self, *args)
702 def remove_restraints(self, *args):
703 """remove_restraints(LogWrapper self, IMP::kernel::Restraints const & d)"""
704 return _IMP_isd.LogWrapper_remove_restraints(self, *args)
706 def set_restraints(self, *args):
707 """set_restraints(LogWrapper self, IMP::kernel::Restraints const & ps)"""
708 return _IMP_isd.LogWrapper_set_restraints(self, *args)
710 def set_restraints_order(self, *args):
711 """set_restraints_order(LogWrapper self, IMP::kernel::Restraints const & objs)"""
712 return _IMP_isd.LogWrapper_set_restraints_order(self, *args)
715 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
716 return _IMP_isd.LogWrapper_add_restraint(self, *args)
719 """add_restraints(LogWrapper self, IMP::kernel::Restraints const & objs)"""
720 return _IMP_isd.LogWrapper_add_restraints(self, *args)
722 def clear_restraints(self):
723 """clear_restraints(LogWrapper self)"""
724 return _IMP_isd.LogWrapper_clear_restraints(self)
726 def get_number_of_restraints(self):
727 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
728 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
730 def get_has_restraints(self):
731 """get_has_restraints(LogWrapper self) -> bool"""
732 return _IMP_isd.LogWrapper_get_has_restraints(self)
734 def get_restraint(self, *args):
735 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
736 return _IMP_isd.LogWrapper_get_restraint(self, *args)
739 """get_restraints(LogWrapper self) -> IMP::kernel::Restraints"""
740 return _IMP_isd.LogWrapper_get_restraints(self)
742 def reserve_restraints(self, *args):
743 """reserve_restraints(LogWrapper self, unsigned int sz)"""
744 return _IMP_isd.LogWrapper_reserve_restraints(self, *args)
747 """__str__(LogWrapper self) -> std::string"""
748 return _IMP_isd.LogWrapper___str__(self)
751 """__repr__(LogWrapper self) -> std::string"""
752 return _IMP_isd.LogWrapper___repr__(self)
755 return _object_cast_to_LogWrapper(o)
756 get_from = staticmethod(get_from)
758 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
759 LogWrapper_swigregister(LogWrapper)
762 """Proxy of C++ IMP::isd::UniformPrior class"""
763 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
764 def __init__(self, *args):
766 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name="UniformPrior%1%") -> UniformPrior
767 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
769 this = _IMP_isd.new_UniformPrior(*args)
770 try: self.this.append(this)
771 except: self.this = this
772 def do_get_inputs(self):
773 """do_get_inputs(UniformPrior self) -> IMP::kernel::ModelObjectsTemp"""
774 return _IMP_isd.UniformPrior_do_get_inputs(self)
776 def get_version_info(self):
777 """get_version_info(UniformPrior self) -> VersionInfo"""
778 return _IMP_isd.UniformPrior_get_version_info(self)
780 def get_probability(self):
781 """get_probability(UniformPrior self) -> double"""
782 return _IMP_isd.UniformPrior_get_probability(self)
785 """__str__(UniformPrior self) -> std::string"""
786 return _IMP_isd.UniformPrior___str__(self)
789 """__repr__(UniformPrior self) -> std::string"""
790 return _IMP_isd.UniformPrior___repr__(self)
793 return _object_cast_to_UniformPrior(o)
794 get_from = staticmethod(get_from)
796 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
797 UniformPrior_swigregister(UniformPrior)
800 """Proxy of C++ IMP::isd::Nuisance class"""
801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
802 def __init__(self, *args):
804 __init__(IMP::isd::Nuisance self) -> Nuisance
805 __init__(IMP::isd::Nuisance self, Model m, ::IMP::kernel::ParticleIndex id) -> Nuisance
806 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
808 this = _IMP_isd.new_Nuisance(*args)
809 try: self.this.append(this)
810 except: self.this = this
811 def show(self, *args):
813 show(Nuisance self, _ostream out=std::cout)
816 return _IMP_isd.Nuisance_show(self, *args)
818 def setup_particle(*args):
820 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
821 setup_particle(_ParticleAdaptor decorator) -> Nuisance
822 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
823 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
825 return _IMP_isd.Nuisance_setup_particle(*args)
827 setup_particle = staticmethod(setup_particle)
828 def get_is_setup(*args):
830 get_is_setup(_ParticleAdaptor p) -> bool
831 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
833 return _IMP_isd.Nuisance_get_is_setup(*args)
835 get_is_setup = staticmethod(get_is_setup)
836 def get_nuisance_key():
837 """get_nuisance_key() -> FloatKey"""
838 return _IMP_isd.Nuisance_get_nuisance_key()
840 get_nuisance_key = staticmethod(get_nuisance_key)
841 def get_nuisance(self):
842 """get_nuisance(Nuisance self) -> IMP::Float"""
843 return _IMP_isd.Nuisance_get_nuisance(self)
845 def set_nuisance(self, *args):
846 """set_nuisance(Nuisance self, IMP::Float d)"""
847 return _IMP_isd.Nuisance_set_nuisance(self, *args)
849 def get_has_lower(self):
850 """get_has_lower(Nuisance self) -> bool"""
851 return _IMP_isd.Nuisance_get_has_lower(self)
854 """get_lower(Nuisance self) -> IMP::Float"""
855 return _IMP_isd.Nuisance_get_lower(self)
858 """get_lower_key() -> FloatKey"""
859 return _IMP_isd.Nuisance_get_lower_key()
861 get_lower_key = staticmethod(get_lower_key)
862 def get_lower_particle_key():
863 """get_lower_particle_key() -> ParticleIndexKey"""
864 return _IMP_isd.Nuisance_get_lower_particle_key()
866 get_lower_particle_key = staticmethod(get_lower_particle_key)
867 def set_lower(self, *args):
869 set_lower(Nuisance self, IMP::Float d)
870 set_lower(Nuisance self, Particle d)
872 return _IMP_isd.Nuisance_set_lower(self, *args)
874 def remove_lower(self):
875 """remove_lower(Nuisance self)"""
876 return _IMP_isd.Nuisance_remove_lower(self)
878 def get_has_upper(self):
879 """get_has_upper(Nuisance self) -> bool"""
880 return _IMP_isd.Nuisance_get_has_upper(self)
883 """get_upper(Nuisance self) -> IMP::Float"""
884 return _IMP_isd.Nuisance_get_upper(self)
887 """get_upper_key() -> FloatKey"""
888 return _IMP_isd.Nuisance_get_upper_key()
890 get_upper_key = staticmethod(get_upper_key)
891 def get_upper_particle_key():
892 """get_upper_particle_key() -> ParticleIndexKey"""
893 return _IMP_isd.Nuisance_get_upper_particle_key()
895 get_upper_particle_key = staticmethod(get_upper_particle_key)
896 def set_upper(self, *args):
898 set_upper(Nuisance self, IMP::Float d)
899 set_upper(Nuisance self, Particle d)
901 return _IMP_isd.Nuisance_set_upper(self, *args)
903 def remove_upper(self):
904 """remove_upper(Nuisance self)"""
905 return _IMP_isd.Nuisance_remove_upper(self)
907 def get_nuisance_derivative(self):
908 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
909 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
911 def add_to_nuisance_derivative(self, *args):
912 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
913 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, *args)
915 def get_nuisance_is_optimized(self):
916 """get_nuisance_is_optimized(Nuisance self) -> bool"""
917 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
919 def set_nuisance_is_optimized(self, *args):
920 """set_nuisance_is_optimized(Nuisance self, bool val)"""
921 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, *args)
923 def add_attribute(self, *args):
925 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
926 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
927 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
928 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
929 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
930 add_attribute(Nuisance self, ObjectKey a0, Object a1)
932 return _IMP_isd.Nuisance_add_attribute(self, *args)
934 def get_value(self, *args):
936 get_value(Nuisance self, FloatKey a0) -> IMP::Float
937 get_value(Nuisance self, IntKey a0) -> IMP::Int
938 get_value(Nuisance self, StringKey a0) -> IMP::String
939 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
940 get_value(Nuisance self, ObjectKey a0) -> Object
942 return _IMP_isd.Nuisance_get_value(self, *args)
944 def set_value(self, *args):
946 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
947 set_value(Nuisance self, IntKey a0, IMP::Int a1)
948 set_value(Nuisance self, StringKey a0, IMP::String a1)
949 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
950 set_value(Nuisance self, ObjectKey a0, Object a1)
952 return _IMP_isd.Nuisance_set_value(self, *args)
954 def remove_attribute(self, *args):
956 remove_attribute(Nuisance self, FloatKey a0)
957 remove_attribute(Nuisance self, IntKey a0)
958 remove_attribute(Nuisance self, StringKey a0)
959 remove_attribute(Nuisance self, ParticleIndexKey a0)
960 remove_attribute(Nuisance self, ObjectKey a0)
962 return _IMP_isd.Nuisance_remove_attribute(self, *args)
964 def has_attribute(self, *args):
966 has_attribute(Nuisance self, FloatKey a0) -> bool
967 has_attribute(Nuisance self, IntKey a0) -> bool
968 has_attribute(Nuisance self, StringKey a0) -> bool
969 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
970 has_attribute(Nuisance self, ObjectKey a0) -> bool
972 return _IMP_isd.Nuisance_has_attribute(self, *args)
974 def get_derivative(self, *args):
975 """get_derivative(Nuisance self, FloatKey a0) -> double"""
976 return _IMP_isd.Nuisance_get_derivative(self, *args)
979 """get_name(Nuisance self) -> std::string"""
980 return _IMP_isd.Nuisance_get_name(self)
982 def clear_caches(self):
983 """clear_caches(Nuisance self)"""
984 return _IMP_isd.Nuisance_clear_caches(self)
986 def set_name(self, *args):
987 """set_name(Nuisance self, std::string a0)"""
988 return _IMP_isd.Nuisance_set_name(self, *args)
991 """set_check_level(Nuisance self, IMP::base::CheckLevel a0)"""
992 return _IMP_isd.Nuisance_set_check_level(self, *args)
994 def add_to_derivative(self, *args):
995 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
996 return _IMP_isd.Nuisance_add_to_derivative(self, *args)
998 def set_is_optimized(self, *args):
999 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1000 return _IMP_isd.Nuisance_set_is_optimized(self, *args)
1002 def get_is_optimized(self, *args):
1003 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1004 return _IMP_isd.Nuisance_get_is_optimized(self, *args)
1007 """get_check_level(Nuisance self) -> IMP::base::CheckLevel"""
1008 return _IMP_isd.Nuisance_get_check_level(self)
1010 def __eq__(self, *args):
1012 __eq__(Nuisance self, Nuisance o) -> bool
1013 __eq__(Nuisance self, Particle d) -> bool
1015 return _IMP_isd.Nuisance___eq__(self, *args)
1017 def __ne__(self, *args):
1019 __ne__(Nuisance self, Nuisance o) -> bool
1020 __ne__(Nuisance self, Particle d) -> bool
1022 return _IMP_isd.Nuisance___ne__(self, *args)
1024 def __le__(self, *args):
1026 __le__(Nuisance self, Nuisance o) -> bool
1027 __le__(Nuisance self, Particle d) -> bool
1029 return _IMP_isd.Nuisance___le__(self, *args)
1031 def __lt__(self, *args):
1033 __lt__(Nuisance self, Nuisance o) -> bool
1034 __lt__(Nuisance self, Particle d) -> bool
1036 return _IMP_isd.Nuisance___lt__(self, *args)
1038 def __ge__(self, *args):
1040 __ge__(Nuisance self, Nuisance o) -> bool
1041 __ge__(Nuisance self, Particle d) -> bool
1043 return _IMP_isd.Nuisance___ge__(self, *args)
1045 def __gt__(self, *args):
1047 __gt__(Nuisance self, Nuisance o) -> bool
1048 __gt__(Nuisance self, Particle d) -> bool
1050 return _IMP_isd.Nuisance___gt__(self, *args)
1053 """__hash__(Nuisance self) -> std::size_t"""
1054 return _IMP_isd.Nuisance___hash__(self)
1057 """__str__(Nuisance self) -> std::string"""
1058 return _IMP_isd.Nuisance___str__(self)
1061 """__repr__(Nuisance self) -> std::string"""
1062 return _IMP_isd.Nuisance___repr__(self)
1064 __swig_destroy__ = _IMP_isd.delete_Nuisance
1065 __del__ =
lambda self :
None;
1066 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1067 Nuisance_swigregister(Nuisance)
1069 def Nuisance_setup_particle(*args):
1071 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
1072 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1073 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
1074 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1076 return _IMP_isd.Nuisance_setup_particle(*args)
1078 def Nuisance_get_is_setup(*args):
1080 get_is_setup(_ParticleAdaptor p) -> bool
1081 Nuisance_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1083 return _IMP_isd.Nuisance_get_is_setup(*args)
1085 def Nuisance_get_nuisance_key():
1086 """Nuisance_get_nuisance_key() -> FloatKey"""
1087 return _IMP_isd.Nuisance_get_nuisance_key()
1089 def Nuisance_get_lower_key():
1090 """Nuisance_get_lower_key() -> FloatKey"""
1091 return _IMP_isd.Nuisance_get_lower_key()
1093 def Nuisance_get_lower_particle_key():
1094 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1095 return _IMP_isd.Nuisance_get_lower_particle_key()
1097 def Nuisance_get_upper_key():
1098 """Nuisance_get_upper_key() -> FloatKey"""
1099 return _IMP_isd.Nuisance_get_upper_key()
1101 def Nuisance_get_upper_particle_key():
1102 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1103 return _IMP_isd.Nuisance_get_upper_particle_key()
1105 class Scale(Nuisance):
1106 """Proxy of C++ IMP::isd::Scale class"""
1107 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1108 def __init__(self, *args):
1110 __init__(IMP::isd::Scale self) -> Scale
1111 __init__(IMP::isd::Scale self, Model m, ::IMP::kernel::ParticleIndex id) -> Scale
1112 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1114 this = _IMP_isd.new_Scale(*args)
1115 try: self.this.append(this)
1116 except: self.this = this
1117 def show(self, *args):
1119 show(Scale self, _ostream out=std::cout)
1122 return _IMP_isd.Scale_show(self, *args)
1124 def setup_particle(*args):
1126 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1127 setup_particle(_ParticleAdaptor decorator) -> Scale
1128 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1129 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1131 return _IMP_isd.Scale_setup_particle(*args)
1133 setup_particle = staticmethod(setup_particle)
1134 def get_is_setup(*args):
1136 get_is_setup(_ParticleAdaptor p) -> bool
1137 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1139 return _IMP_isd.Scale_get_is_setup(*args)
1141 get_is_setup = staticmethod(get_is_setup)
1142 def get_scale(self):
1143 """get_scale(Scale self) -> IMP::Float"""
1144 return _IMP_isd.Scale_get_scale(self)
1146 def set_scale(self, *args):
1147 """set_scale(Scale self, IMP::Float d)"""
1148 return _IMP_isd.Scale_set_scale(self, *args)
1150 def add_to_scale_derivative(self, *args):
1151 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1152 return _IMP_isd.Scale_add_to_scale_derivative(self, *args)
1154 def get_scale_derivative(self):
1155 """get_scale_derivative(Scale self) -> IMP::Float"""
1156 return _IMP_isd.Scale_get_scale_derivative(self)
1158 def get_scale_key():
1159 """get_scale_key() -> FloatKey"""
1160 return _IMP_isd.Scale_get_scale_key()
1162 get_scale_key = staticmethod(get_scale_key)
1163 def get_scale_is_optimized(self):
1164 """get_scale_is_optimized(Scale self) -> bool"""
1165 return _IMP_isd.Scale_get_scale_is_optimized(self)
1167 def set_scale_is_optimized(self, *args):
1168 """set_scale_is_optimized(Scale self, bool val)"""
1169 return _IMP_isd.Scale_set_scale_is_optimized(self, *args)
1171 def add_attribute(self, *args):
1173 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1174 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1175 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1176 add_attribute(Scale self, StringKey a0, IMP::String a1)
1177 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1178 add_attribute(Scale self, ObjectKey a0, Object a1)
1180 return _IMP_isd.Scale_add_attribute(self, *args)
1182 def get_value(self, *args):
1184 get_value(Scale self, FloatKey a0) -> IMP::Float
1185 get_value(Scale self, IntKey a0) -> IMP::Int
1186 get_value(Scale self, StringKey a0) -> IMP::String
1187 get_value(Scale self, ParticleIndexKey a0) -> Particle
1188 get_value(Scale self, ObjectKey a0) -> Object
1190 return _IMP_isd.Scale_get_value(self, *args)
1192 def set_value(self, *args):
1194 set_value(Scale self, FloatKey a0, IMP::Float a1)
1195 set_value(Scale self, IntKey a0, IMP::Int a1)
1196 set_value(Scale self, StringKey a0, IMP::String a1)
1197 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1198 set_value(Scale self, ObjectKey a0, Object a1)
1200 return _IMP_isd.Scale_set_value(self, *args)
1202 def remove_attribute(self, *args):
1204 remove_attribute(Scale self, FloatKey a0)
1205 remove_attribute(Scale self, IntKey a0)
1206 remove_attribute(Scale self, StringKey a0)
1207 remove_attribute(Scale self, ParticleIndexKey a0)
1208 remove_attribute(Scale self, ObjectKey a0)
1210 return _IMP_isd.Scale_remove_attribute(self, *args)
1212 def has_attribute(self, *args):
1214 has_attribute(Scale self, FloatKey a0) -> bool
1215 has_attribute(Scale self, IntKey a0) -> bool
1216 has_attribute(Scale self, StringKey a0) -> bool
1217 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1218 has_attribute(Scale self, ObjectKey a0) -> bool
1220 return _IMP_isd.Scale_has_attribute(self, *args)
1222 def get_derivative(self, *args):
1223 """get_derivative(Scale self, FloatKey a0) -> double"""
1224 return _IMP_isd.Scale_get_derivative(self, *args)
1227 """get_name(Scale self) -> std::string"""
1228 return _IMP_isd.Scale_get_name(self)
1230 def clear_caches(self):
1231 """clear_caches(Scale self)"""
1232 return _IMP_isd.Scale_clear_caches(self)
1234 def set_name(self, *args):
1235 """set_name(Scale self, std::string a0)"""
1236 return _IMP_isd.Scale_set_name(self, *args)
1239 """set_check_level(Scale self, IMP::base::CheckLevel a0)"""
1240 return _IMP_isd.Scale_set_check_level(self, *args)
1242 def add_to_derivative(self, *args):
1243 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1244 return _IMP_isd.Scale_add_to_derivative(self, *args)
1246 def set_is_optimized(self, *args):
1247 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1248 return _IMP_isd.Scale_set_is_optimized(self, *args)
1250 def get_is_optimized(self, *args):
1251 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1252 return _IMP_isd.Scale_get_is_optimized(self, *args)
1255 """get_check_level(Scale self) -> IMP::base::CheckLevel"""
1256 return _IMP_isd.Scale_get_check_level(self)
1258 def __eq__(self, *args):
1260 __eq__(Scale self, Scale o) -> bool
1261 __eq__(Scale self, Particle d) -> bool
1263 return _IMP_isd.Scale___eq__(self, *args)
1265 def __ne__(self, *args):
1267 __ne__(Scale self, Scale o) -> bool
1268 __ne__(Scale self, Particle d) -> bool
1270 return _IMP_isd.Scale___ne__(self, *args)
1272 def __le__(self, *args):
1274 __le__(Scale self, Scale o) -> bool
1275 __le__(Scale self, Particle d) -> bool
1277 return _IMP_isd.Scale___le__(self, *args)
1279 def __lt__(self, *args):
1281 __lt__(Scale self, Scale o) -> bool
1282 __lt__(Scale self, Particle d) -> bool
1284 return _IMP_isd.Scale___lt__(self, *args)
1286 def __ge__(self, *args):
1288 __ge__(Scale self, Scale o) -> bool
1289 __ge__(Scale self, Particle d) -> bool
1291 return _IMP_isd.Scale___ge__(self, *args)
1293 def __gt__(self, *args):
1295 __gt__(Scale self, Scale o) -> bool
1296 __gt__(Scale self, Particle d) -> bool
1298 return _IMP_isd.Scale___gt__(self, *args)
1301 """__hash__(Scale self) -> std::size_t"""
1302 return _IMP_isd.Scale___hash__(self)
1305 """__str__(Scale self) -> std::string"""
1306 return _IMP_isd.Scale___str__(self)
1309 """__repr__(Scale self) -> std::string"""
1310 return _IMP_isd.Scale___repr__(self)
1312 __swig_destroy__ = _IMP_isd.delete_Scale
1313 __del__ =
lambda self :
None;
1314 Scale_swigregister = _IMP_isd.Scale_swigregister
1315 Scale_swigregister(Scale)
1317 def Scale_setup_particle(*args):
1319 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1320 setup_particle(_ParticleAdaptor decorator) -> Scale
1321 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1322 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1324 return _IMP_isd.Scale_setup_particle(*args)
1326 def Scale_get_is_setup(*args):
1328 get_is_setup(_ParticleAdaptor p) -> bool
1329 Scale_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1331 return _IMP_isd.Scale_get_is_setup(*args)
1333 def Scale_get_scale_key():
1334 """Scale_get_scale_key() -> FloatKey"""
1335 return _IMP_isd.Scale_get_scale_key()
1337 class Switching(Nuisance):
1338 """Proxy of C++ IMP::isd::Switching class"""
1339 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1340 def __init__(self, *args):
1342 __init__(IMP::isd::Switching self) -> Switching
1343 __init__(IMP::isd::Switching self, Model m, ::IMP::kernel::ParticleIndex id) -> Switching
1344 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1346 this = _IMP_isd.new_Switching(*args)
1347 try: self.this.append(this)
1348 except: self.this = this
1349 def show(self, *args):
1351 show(Switching self, _ostream out=std::cout)
1352 show(Switching self)
1354 return _IMP_isd.Switching_show(self, *args)
1356 def setup_particle(*args):
1358 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1359 setup_particle(_ParticleAdaptor decorator) -> Switching
1360 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1361 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1363 return _IMP_isd.Switching_setup_particle(*args)
1365 setup_particle = staticmethod(setup_particle)
1366 def get_is_setup(*args):
1368 get_is_setup(_ParticleAdaptor p) -> bool
1369 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1371 return _IMP_isd.Switching_get_is_setup(*args)
1373 get_is_setup = staticmethod(get_is_setup)
1374 def get_switching(self):
1375 """get_switching(Switching self) -> IMP::Float"""
1376 return _IMP_isd.Switching_get_switching(self)
1378 def set_switching(self, *args):
1379 """set_switching(Switching self, IMP::Float d)"""
1380 return _IMP_isd.Switching_set_switching(self, *args)
1382 def add_to_switching_derivative(self, *args):
1383 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1384 return _IMP_isd.Switching_add_to_switching_derivative(self, *args)
1386 def get_switching_derivative(self):
1387 """get_switching_derivative(Switching self) -> IMP::Float"""
1388 return _IMP_isd.Switching_get_switching_derivative(self)
1390 def get_switching_key():
1391 """get_switching_key() -> FloatKey"""
1392 return _IMP_isd.Switching_get_switching_key()
1394 get_switching_key = staticmethod(get_switching_key)
1395 def get_switching_is_optimized(self):
1396 """get_switching_is_optimized(Switching self) -> bool"""
1397 return _IMP_isd.Switching_get_switching_is_optimized(self)
1399 def set_switching_is_optimized(self, *args):
1400 """set_switching_is_optimized(Switching self, bool val)"""
1401 return _IMP_isd.Switching_set_switching_is_optimized(self, *args)
1403 def add_attribute(self, *args):
1405 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1406 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1407 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1408 add_attribute(Switching self, StringKey a0, IMP::String a1)
1409 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1410 add_attribute(Switching self, ObjectKey a0, Object a1)
1412 return _IMP_isd.Switching_add_attribute(self, *args)
1414 def get_value(self, *args):
1416 get_value(Switching self, FloatKey a0) -> IMP::Float
1417 get_value(Switching self, IntKey a0) -> IMP::Int
1418 get_value(Switching self, StringKey a0) -> IMP::String
1419 get_value(Switching self, ParticleIndexKey a0) -> Particle
1420 get_value(Switching self, ObjectKey a0) -> Object
1422 return _IMP_isd.Switching_get_value(self, *args)
1424 def set_value(self, *args):
1426 set_value(Switching self, FloatKey a0, IMP::Float a1)
1427 set_value(Switching self, IntKey a0, IMP::Int a1)
1428 set_value(Switching self, StringKey a0, IMP::String a1)
1429 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1430 set_value(Switching self, ObjectKey a0, Object a1)
1432 return _IMP_isd.Switching_set_value(self, *args)
1434 def remove_attribute(self, *args):
1436 remove_attribute(Switching self, FloatKey a0)
1437 remove_attribute(Switching self, IntKey a0)
1438 remove_attribute(Switching self, StringKey a0)
1439 remove_attribute(Switching self, ParticleIndexKey a0)
1440 remove_attribute(Switching self, ObjectKey a0)
1442 return _IMP_isd.Switching_remove_attribute(self, *args)
1444 def has_attribute(self, *args):
1446 has_attribute(Switching self, FloatKey a0) -> bool
1447 has_attribute(Switching self, IntKey a0) -> bool
1448 has_attribute(Switching self, StringKey a0) -> bool
1449 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1450 has_attribute(Switching self, ObjectKey a0) -> bool
1452 return _IMP_isd.Switching_has_attribute(self, *args)
1454 def get_derivative(self, *args):
1455 """get_derivative(Switching self, FloatKey a0) -> double"""
1456 return _IMP_isd.Switching_get_derivative(self, *args)
1459 """get_name(Switching self) -> std::string"""
1460 return _IMP_isd.Switching_get_name(self)
1462 def clear_caches(self):
1463 """clear_caches(Switching self)"""
1464 return _IMP_isd.Switching_clear_caches(self)
1466 def set_name(self, *args):
1467 """set_name(Switching self, std::string a0)"""
1468 return _IMP_isd.Switching_set_name(self, *args)
1471 """set_check_level(Switching self, IMP::base::CheckLevel a0)"""
1472 return _IMP_isd.Switching_set_check_level(self, *args)
1474 def add_to_derivative(self, *args):
1475 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1476 return _IMP_isd.Switching_add_to_derivative(self, *args)
1478 def set_is_optimized(self, *args):
1479 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1480 return _IMP_isd.Switching_set_is_optimized(self, *args)
1482 def get_is_optimized(self, *args):
1483 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1484 return _IMP_isd.Switching_get_is_optimized(self, *args)
1487 """get_check_level(Switching self) -> IMP::base::CheckLevel"""
1488 return _IMP_isd.Switching_get_check_level(self)
1490 def __eq__(self, *args):
1492 __eq__(Switching self, Switching o) -> bool
1493 __eq__(Switching self, Particle d) -> bool
1495 return _IMP_isd.Switching___eq__(self, *args)
1497 def __ne__(self, *args):
1499 __ne__(Switching self, Switching o) -> bool
1500 __ne__(Switching self, Particle d) -> bool
1502 return _IMP_isd.Switching___ne__(self, *args)
1504 def __le__(self, *args):
1506 __le__(Switching self, Switching o) -> bool
1507 __le__(Switching self, Particle d) -> bool
1509 return _IMP_isd.Switching___le__(self, *args)
1511 def __lt__(self, *args):
1513 __lt__(Switching self, Switching o) -> bool
1514 __lt__(Switching self, Particle d) -> bool
1516 return _IMP_isd.Switching___lt__(self, *args)
1518 def __ge__(self, *args):
1520 __ge__(Switching self, Switching o) -> bool
1521 __ge__(Switching self, Particle d) -> bool
1523 return _IMP_isd.Switching___ge__(self, *args)
1525 def __gt__(self, *args):
1527 __gt__(Switching self, Switching o) -> bool
1528 __gt__(Switching self, Particle d) -> bool
1530 return _IMP_isd.Switching___gt__(self, *args)
1533 """__hash__(Switching self) -> std::size_t"""
1534 return _IMP_isd.Switching___hash__(self)
1537 """__str__(Switching self) -> std::string"""
1538 return _IMP_isd.Switching___str__(self)
1541 """__repr__(Switching self) -> std::string"""
1542 return _IMP_isd.Switching___repr__(self)
1544 __swig_destroy__ = _IMP_isd.delete_Switching
1545 __del__ =
lambda self :
None;
1546 Switching_swigregister = _IMP_isd.Switching_swigregister
1547 Switching_swigregister(Switching)
1549 def Switching_setup_particle(*args):
1551 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1552 setup_particle(_ParticleAdaptor decorator) -> Switching
1553 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1554 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1556 return _IMP_isd.Switching_setup_particle(*args)
1558 def Switching_get_is_setup(*args):
1560 get_is_setup(_ParticleAdaptor p) -> bool
1561 Switching_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1563 return _IMP_isd.Switching_get_is_setup(*args)
1565 def Switching_get_switching_key():
1566 """Switching_get_switching_key() -> FloatKey"""
1567 return _IMP_isd.Switching_get_switching_key()
1570 def __lshift__(*args):
1572 __lshift__(_ostream out, Nuisance n) -> _ostream
1573 __lshift__(_ostream out, Scale n) -> _ostream
1574 __lshift__(_ostream out, Switching n) -> _ostream
1576 return _IMP_isd.__lshift__(*args)
1578 """Proxy of C++ IMP::isd::Weight class"""
1579 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1580 def __init__(self, *args):
1582 __init__(IMP::isd::Weight self) -> Weight
1583 __init__(IMP::isd::Weight self, Model m, ::IMP::kernel::ParticleIndex id) -> Weight
1584 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1586 this = _IMP_isd.new_Weight(*args)
1587 try: self.this.append(this)
1588 except: self.this = this
1589 def show(self, *args):
1591 show(Weight self, _ostream out=std::cout)
1594 return _IMP_isd.Weight_show(self, *args)
1596 def setup_particle(*args):
1598 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1599 setup_particle(_ParticleAdaptor decorator) -> Weight
1601 return _IMP_isd.Weight_setup_particle(*args)
1603 setup_particle = staticmethod(setup_particle)
1604 def get_nstates_key():
1605 """get_nstates_key() -> IntKey"""
1606 return _IMP_isd.Weight_get_nstates_key()
1608 get_nstates_key = staticmethod(get_nstates_key)
1609 def get_weight_key(*args):
1610 """get_weight_key(int i) -> FloatKey"""
1611 return _IMP_isd.Weight_get_weight_key(*args)
1613 get_weight_key = staticmethod(get_weight_key)
1614 def set_weights(self, *args):
1615 """set_weights(Weight self, VectorKD w)"""
1616 return _IMP_isd.Weight_set_weights(self, *args)
1618 def add_weight(self):
1619 """add_weight(Weight self)"""
1620 return _IMP_isd.Weight_add_weight(self)
1622 def get_weight(self, *args):
1623 """get_weight(Weight self, int i) -> IMP::Float"""
1624 return _IMP_isd.Weight_get_weight(self, *args)
1626 def get_weights(self):
1627 """get_weights(Weight self) -> VectorKD"""
1628 return _IMP_isd.Weight_get_weights(self)
1630 def set_weights_are_optimized(self, *args):
1631 """set_weights_are_optimized(Weight self, bool tf)"""
1632 return _IMP_isd.Weight_set_weights_are_optimized(self, *args)
1634 def get_number_of_states(self):
1635 """get_number_of_states(Weight self) -> IMP::Int"""
1636 return _IMP_isd.Weight_get_number_of_states(self)
1638 def get_is_setup(*args):
1640 get_is_setup(_ParticleAdaptor p) -> bool
1641 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1643 return _IMP_isd.Weight_get_is_setup(*args)
1645 get_is_setup = staticmethod(get_is_setup)
1646 def add_attribute(self, *args):
1648 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
1649 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
1650 add_attribute(Weight self, IntKey a0, IMP::Int a1)
1651 add_attribute(Weight self, StringKey a0, IMP::String a1)
1652 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
1653 add_attribute(Weight self, ObjectKey a0, Object a1)
1655 return _IMP_isd.Weight_add_attribute(self, *args)
1657 def get_value(self, *args):
1659 get_value(Weight self, FloatKey a0) -> IMP::Float
1660 get_value(Weight self, IntKey a0) -> IMP::Int
1661 get_value(Weight self, StringKey a0) -> IMP::String
1662 get_value(Weight self, ParticleIndexKey a0) -> Particle
1663 get_value(Weight self, ObjectKey a0) -> Object
1665 return _IMP_isd.Weight_get_value(self, *args)
1667 def set_value(self, *args):
1669 set_value(Weight self, FloatKey a0, IMP::Float a1)
1670 set_value(Weight self, IntKey a0, IMP::Int a1)
1671 set_value(Weight self, StringKey a0, IMP::String a1)
1672 set_value(Weight self, ParticleIndexKey a0, Particle a1)
1673 set_value(Weight self, ObjectKey a0, Object a1)
1675 return _IMP_isd.Weight_set_value(self, *args)
1677 def remove_attribute(self, *args):
1679 remove_attribute(Weight self, FloatKey a0)
1680 remove_attribute(Weight self, IntKey a0)
1681 remove_attribute(Weight self, StringKey a0)
1682 remove_attribute(Weight self, ParticleIndexKey a0)
1683 remove_attribute(Weight self, ObjectKey a0)
1685 return _IMP_isd.Weight_remove_attribute(self, *args)
1687 def has_attribute(self, *args):
1689 has_attribute(Weight self, FloatKey a0) -> bool
1690 has_attribute(Weight self, IntKey a0) -> bool
1691 has_attribute(Weight self, StringKey a0) -> bool
1692 has_attribute(Weight self, ParticleIndexKey a0) -> bool
1693 has_attribute(Weight self, ObjectKey a0) -> bool
1695 return _IMP_isd.Weight_has_attribute(self, *args)
1697 def get_derivative(self, *args):
1698 """get_derivative(Weight self, FloatKey a0) -> double"""
1699 return _IMP_isd.Weight_get_derivative(self, *args)
1702 """get_name(Weight self) -> std::string"""
1703 return _IMP_isd.Weight_get_name(self)
1705 def clear_caches(self):
1706 """clear_caches(Weight self)"""
1707 return _IMP_isd.Weight_clear_caches(self)
1709 def set_name(self, *args):
1710 """set_name(Weight self, std::string a0)"""
1711 return _IMP_isd.Weight_set_name(self, *args)
1714 """set_check_level(Weight self, IMP::base::CheckLevel a0)"""
1715 return _IMP_isd.Weight_set_check_level(self, *args)
1717 def add_to_derivative(self, *args):
1718 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1719 return _IMP_isd.Weight_add_to_derivative(self, *args)
1721 def set_is_optimized(self, *args):
1722 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
1723 return _IMP_isd.Weight_set_is_optimized(self, *args)
1725 def get_is_optimized(self, *args):
1726 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
1727 return _IMP_isd.Weight_get_is_optimized(self, *args)
1730 """get_check_level(Weight self) -> IMP::base::CheckLevel"""
1731 return _IMP_isd.Weight_get_check_level(self)
1733 def __eq__(self, *args):
1735 __eq__(Weight self, Weight o) -> bool
1736 __eq__(Weight self, Particle d) -> bool
1738 return _IMP_isd.Weight___eq__(self, *args)
1740 def __ne__(self, *args):
1742 __ne__(Weight self, Weight o) -> bool
1743 __ne__(Weight self, Particle d) -> bool
1745 return _IMP_isd.Weight___ne__(self, *args)
1747 def __le__(self, *args):
1749 __le__(Weight self, Weight o) -> bool
1750 __le__(Weight self, Particle d) -> bool
1752 return _IMP_isd.Weight___le__(self, *args)
1754 def __lt__(self, *args):
1756 __lt__(Weight self, Weight o) -> bool
1757 __lt__(Weight self, Particle d) -> bool
1759 return _IMP_isd.Weight___lt__(self, *args)
1761 def __ge__(self, *args):
1763 __ge__(Weight self, Weight o) -> bool
1764 __ge__(Weight self, Particle d) -> bool
1766 return _IMP_isd.Weight___ge__(self, *args)
1768 def __gt__(self, *args):
1770 __gt__(Weight self, Weight o) -> bool
1771 __gt__(Weight self, Particle d) -> bool
1773 return _IMP_isd.Weight___gt__(self, *args)
1776 """__hash__(Weight self) -> std::size_t"""
1777 return _IMP_isd.Weight___hash__(self)
1780 """__str__(Weight self) -> std::string"""
1781 return _IMP_isd.Weight___str__(self)
1784 """__repr__(Weight self) -> std::string"""
1785 return _IMP_isd.Weight___repr__(self)
1787 __swig_destroy__ = _IMP_isd.delete_Weight
1788 __del__ =
lambda self :
None;
1789 Weight_swigregister = _IMP_isd.Weight_swigregister
1790 Weight_swigregister(Weight)
1792 def Weight_setup_particle(*args):
1794 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1795 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
1797 return _IMP_isd.Weight_setup_particle(*args)
1799 def Weight_get_nstates_key():
1800 """Weight_get_nstates_key() -> IntKey"""
1801 return _IMP_isd.Weight_get_nstates_key()
1803 def Weight_get_weight_key(*args):
1804 """Weight_get_weight_key(int i) -> FloatKey"""
1805 return _IMP_isd.Weight_get_weight_key(*args)
1807 def Weight_get_is_setup(*args):
1809 get_is_setup(_ParticleAdaptor p) -> bool
1810 Weight_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1812 return _IMP_isd.Weight_get_is_setup(*args)
1815 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
1816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1817 def __init__(self, *args):
1818 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
1819 this = _IMP_isd.new_JeffreysRestraint(*args)
1820 try: self.this.append(this)
1821 except: self.this = this
1822 def do_get_inputs(self):
1823 """do_get_inputs(JeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1824 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
1826 def get_version_info(self):
1827 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
1828 return _IMP_isd.JeffreysRestraint_get_version_info(self)
1830 def get_probability(self):
1831 """get_probability(JeffreysRestraint self) -> double"""
1832 return _IMP_isd.JeffreysRestraint_get_probability(self)
1835 """__str__(JeffreysRestraint self) -> std::string"""
1836 return _IMP_isd.JeffreysRestraint___str__(self)
1839 """__repr__(JeffreysRestraint self) -> std::string"""
1840 return _IMP_isd.JeffreysRestraint___repr__(self)
1843 return _object_cast_to_JeffreysRestraint(o)
1844 get_from = staticmethod(get_from)
1846 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
1847 JeffreysRestraint_swigregister(JeffreysRestraint)
1850 """Proxy of C++ IMP::isd::FNormal class"""
1851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1852 def __init__(self, *args):
1853 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
1854 this = _IMP_isd.new_FNormal(*args)
1855 try: self.this.append(this)
1856 except: self.this = this
1858 """evaluate(FNormal self) -> double"""
1859 return _IMP_isd.FNormal_evaluate(self)
1861 def evaluate_derivative_FA(self):
1862 """evaluate_derivative_FA(FNormal self) -> double"""
1863 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
1865 def evaluate_derivative_JA(self):
1866 """evaluate_derivative_JA(FNormal self) -> double"""
1867 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
1869 def evaluate_derivative_FM(self):
1870 """evaluate_derivative_FM(FNormal self) -> double"""
1871 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
1873 def evaluate_derivative_sigma(self):
1874 """evaluate_derivative_sigma(FNormal self) -> double"""
1875 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
1878 """density(FNormal self) -> double"""
1879 return _IMP_isd.FNormal_density(self)
1881 def set_FA(self, *args):
1882 """set_FA(FNormal self, double f)"""
1883 return _IMP_isd.FNormal_set_FA(self, *args)
1885 def set_JA(self, *args):
1886 """set_JA(FNormal self, double f)"""
1887 return _IMP_isd.FNormal_set_JA(self, *args)
1889 def set_FM(self, *args):
1890 """set_FM(FNormal self, double f)"""
1891 return _IMP_isd.FNormal_set_FM(self, *args)
1893 def set_sigma(self, *args):
1894 """set_sigma(FNormal self, double f)"""
1895 return _IMP_isd.FNormal_set_sigma(self, *args)
1897 def get_version_info(self):
1898 """get_version_info(FNormal self) -> VersionInfo"""
1899 return _IMP_isd.FNormal_get_version_info(self)
1902 """__str__(FNormal self) -> std::string"""
1903 return _IMP_isd.FNormal___str__(self)
1906 """__repr__(FNormal self) -> std::string"""
1907 return _IMP_isd.FNormal___repr__(self)
1910 return _object_cast_to_FNormal(o)
1911 get_from = staticmethod(get_from)
1913 FNormal_swigregister = _IMP_isd.FNormal_swigregister
1914 FNormal_swigregister(FNormal)
1917 """Proxy of C++ IMP::isd::vonMises class"""
1918 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1919 def __init__(self, *args):
1920 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
1921 this = _IMP_isd.new_vonMises(*args)
1922 try: self.this.append(this)
1923 except: self.this = this
1925 """evaluate(vonMises self) -> double"""
1926 return _IMP_isd.vonMises_evaluate(self)
1928 def evaluate_derivative_x(self):
1929 """evaluate_derivative_x(vonMises self) -> double"""
1930 return _IMP_isd.vonMises_evaluate_derivative_x(self)
1932 def evaluate_derivative_mu(self):
1933 """evaluate_derivative_mu(vonMises self) -> double"""
1934 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
1936 def evaluate_derivative_kappa(self):
1937 """evaluate_derivative_kappa(vonMises self) -> double"""
1938 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
1941 """density(vonMises self) -> double"""
1942 return _IMP_isd.vonMises_density(self)
1944 def set_x(self, *args):
1945 """set_x(vonMises self, double x)"""
1946 return _IMP_isd.vonMises_set_x(self, *args)
1948 def set_mu(self, *args):
1949 """set_mu(vonMises self, double mu)"""
1950 return _IMP_isd.vonMises_set_mu(self, *args)
1952 def set_kappa(self, *args):
1953 """set_kappa(vonMises self, double kappa)"""
1954 return _IMP_isd.vonMises_set_kappa(self, *args)
1956 def get_version_info(self):
1957 """get_version_info(vonMises self) -> VersionInfo"""
1958 return _IMP_isd.vonMises_get_version_info(self)
1961 """__str__(vonMises self) -> std::string"""
1962 return _IMP_isd.vonMises___str__(self)
1965 """__repr__(vonMises self) -> std::string"""
1966 return _IMP_isd.vonMises___repr__(self)
1969 return _object_cast_to_vonMises(o)
1970 get_from = staticmethod(get_from)
1972 vonMises_swigregister = _IMP_isd.vonMises_swigregister
1973 vonMises_swigregister(vonMises)
1976 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
1977 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1978 def __init__(self, *args):
1980 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
1981 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
1983 this = _IMP_isd.new_vonMisesSufficient(*args)
1984 try: self.this.append(this)
1985 except: self.this = this
1987 """evaluate(vonMisesSufficient self) -> double"""
1988 return _IMP_isd.vonMisesSufficient_evaluate(self)
1990 def evaluate_derivative_x(self):
1991 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
1992 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
1994 def evaluate_derivative_kappa(self):
1995 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
1996 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
1999 """density(vonMisesSufficient self) -> double"""
2000 return _IMP_isd.vonMisesSufficient_density(self)
2003 """get_x(vonMisesSufficient self) -> double"""
2004 return _IMP_isd.vonMisesSufficient_get_x(self)
2007 """get_R0(vonMisesSufficient self) -> double"""
2008 return _IMP_isd.vonMisesSufficient_get_R0(self)
2010 def get_chiexp(self):
2011 """get_chiexp(vonMisesSufficient self) -> double"""
2012 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2015 """get_N(vonMisesSufficient self) -> double"""
2016 return _IMP_isd.vonMisesSufficient_get_N(self)
2018 def get_kappa(self):
2019 """get_kappa(vonMisesSufficient self) -> double"""
2020 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2022 def set_x(self, *args):
2023 """set_x(vonMisesSufficient self, double x)"""
2024 return _IMP_isd.vonMisesSufficient_set_x(self, *args)
2026 def set_R0(self, *args):
2027 """set_R0(vonMisesSufficient self, double R0)"""
2028 return _IMP_isd.vonMisesSufficient_set_R0(self, *args)
2030 def set_chiexp(self, *args):
2031 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2032 return _IMP_isd.vonMisesSufficient_set_chiexp(self, *args)
2034 def set_N(self, *args):
2035 """set_N(vonMisesSufficient self, unsigned int N)"""
2036 return _IMP_isd.vonMisesSufficient_set_N(self, *args)
2038 def set_kappa(self, *args):
2039 """set_kappa(vonMisesSufficient self, double kappa)"""
2040 return _IMP_isd.vonMisesSufficient_set_kappa(self, *args)
2042 def get_sufficient_statistics(*args):
2043 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2044 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
2046 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2047 def get_version_info(self):
2048 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2049 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2052 """__str__(vonMisesSufficient self) -> std::string"""
2053 return _IMP_isd.vonMisesSufficient___str__(self)
2056 """__repr__(vonMisesSufficient self) -> std::string"""
2057 return _IMP_isd.vonMisesSufficient___repr__(self)
2060 return _object_cast_to_vonMisesSufficient(o)
2061 get_from = staticmethod(get_from)
2063 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2064 vonMisesSufficient_swigregister(vonMisesSufficient)
2066 def vonMisesSufficient_get_sufficient_statistics(*args):
2067 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2068 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
2071 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
2072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2073 def __init__(self, *args):
2074 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2075 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(*args)
2076 try: self.this.append(this)
2077 except: self.this = this
2078 def do_get_inputs(self):
2079 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2080 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2082 def get_version_info(self):
2083 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2084 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2086 def get_probability(self):
2087 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2088 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2091 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2092 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2095 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2096 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2099 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2100 get_from = staticmethod(get_from)
2102 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2103 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2106 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
2107 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2108 def __init__(self, *args):
2110 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2111 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2112 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2114 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(*args)
2115 try: self.this.append(this)
2116 except: self.this = this
2117 def do_get_inputs(self):
2118 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2119 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2121 def get_version_info(self):
2122 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2123 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2125 def get_probability(self):
2126 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2127 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2130 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2131 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2134 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2135 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2138 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2139 get_from = staticmethod(get_from)
2141 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2142 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2145 """Proxy of C++ IMP::isd::NOERestraint class"""
2146 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2147 def __init__(self, *args):
2148 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2149 this = _IMP_isd.new_NOERestraint(*args)
2150 try: self.this.append(this)
2151 except: self.this = this
2152 def get_probability(self):
2153 """get_probability(NOERestraint self) -> double"""
2154 return _IMP_isd.NOERestraint_get_probability(self)
2157 """get_chi(NOERestraint self) -> double"""
2158 return _IMP_isd.NOERestraint_get_chi(self)
2160 def do_get_inputs(self):
2161 """do_get_inputs(NOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2162 return _IMP_isd.NOERestraint_do_get_inputs(self)
2164 def get_version_info(self):
2165 """get_version_info(NOERestraint self) -> VersionInfo"""
2166 return _IMP_isd.NOERestraint_get_version_info(self)
2169 """__str__(NOERestraint self) -> std::string"""
2170 return _IMP_isd.NOERestraint___str__(self)
2173 """__repr__(NOERestraint self) -> std::string"""
2174 return _IMP_isd.NOERestraint___repr__(self)
2177 return _object_cast_to_NOERestraint(o)
2178 get_from = staticmethod(get_from)
2180 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2181 NOERestraint_swigregister(NOERestraint)
2184 """Proxy of C++ IMP::isd::GaussianRestraint class"""
2185 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2186 def __init__(self, *args):
2188 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2189 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2190 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2191 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2192 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2193 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2194 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2196 this = _IMP_isd.new_GaussianRestraint(*args)
2197 try: self.this.append(this)
2198 except: self.this = this
2199 def get_probability(self):
2200 """get_probability(GaussianRestraint self) -> double"""
2201 return _IMP_isd.GaussianRestraint_get_probability(self)
2204 """get_chi(GaussianRestraint self) -> double"""
2205 return _IMP_isd.GaussianRestraint_get_chi(self)
2207 def do_get_inputs(self):
2208 """do_get_inputs(GaussianRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2209 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2211 def get_version_info(self):
2212 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2213 return _IMP_isd.GaussianRestraint_get_version_info(self)
2216 """__str__(GaussianRestraint self) -> std::string"""
2217 return _IMP_isd.GaussianRestraint___str__(self)
2220 """__repr__(GaussianRestraint self) -> std::string"""
2221 return _IMP_isd.GaussianRestraint___repr__(self)
2224 return _object_cast_to_GaussianRestraint(o)
2225 get_from = staticmethod(get_from)
2227 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2228 GaussianRestraint_swigregister(GaussianRestraint)
2231 """Proxy of C++ IMP::isd::LognormalRestraint class"""
2232 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2233 def __init__(self, *args):
2235 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2236 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2237 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2238 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2239 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2240 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2241 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2243 this = _IMP_isd.new_LognormalRestraint(*args)
2244 try: self.this.append(this)
2245 except: self.this = this
2246 def get_probability(self):
2247 """get_probability(LognormalRestraint self) -> double"""
2248 return _IMP_isd.LognormalRestraint_get_probability(self)
2251 """get_chi(LognormalRestraint self) -> double"""
2252 return _IMP_isd.LognormalRestraint_get_chi(self)
2254 def do_get_inputs(self):
2255 """do_get_inputs(LognormalRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2256 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2258 def get_version_info(self):
2259 """get_version_info(LognormalRestraint self) -> VersionInfo"""
2260 return _IMP_isd.LognormalRestraint_get_version_info(self)
2263 """__str__(LognormalRestraint self) -> std::string"""
2264 return _IMP_isd.LognormalRestraint___str__(self)
2267 """__repr__(LognormalRestraint self) -> std::string"""
2268 return _IMP_isd.LognormalRestraint___repr__(self)
2271 return _object_cast_to_LognormalRestraint(o)
2272 get_from = staticmethod(get_from)
2274 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2275 LognormalRestraint_swigregister(LognormalRestraint)
2278 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2280 def __init__(self, *args):
2281 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, Particle sigma, Particle gamma, double Iexp) -> AmbiguousNOERestraint"""
2282 this = _IMP_isd.new_AmbiguousNOERestraint(*args)
2283 try: self.this.append(this)
2284 except: self.this = this
2285 def get_probability(self):
2286 """get_probability(AmbiguousNOERestraint self) -> double"""
2287 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2290 """get_chi(AmbiguousNOERestraint self) -> double"""
2291 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2293 def do_get_inputs(self):
2294 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2295 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2297 def get_version_info(self):
2298 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2299 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2302 """__str__(AmbiguousNOERestraint self) -> std::string"""
2303 return _IMP_isd.AmbiguousNOERestraint___str__(self)
2306 """__repr__(AmbiguousNOERestraint self) -> std::string"""
2307 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2310 return _object_cast_to_AmbiguousNOERestraint(o)
2311 get_from = staticmethod(get_from)
2313 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2314 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2317 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2319 def __init__(self, *args):
2320 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2321 this = _IMP_isd.new_MarginalNOERestraint(*args)
2322 try: self.this.append(this)
2323 except: self.this = this
2324 def add_contribution(self, *args):
2326 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2327 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2329 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2331 def get_log_gammahat(self):
2332 """get_log_gammahat(MarginalNOERestraint self) -> double"""
2333 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2336 """get_SS(MarginalNOERestraint self) -> double"""
2337 return _IMP_isd.MarginalNOERestraint_get_SS(self)
2339 def get_number_of_contributions(self):
2340 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2341 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2343 def get_probability(self):
2344 """get_probability(MarginalNOERestraint self) -> double"""
2345 return _IMP_isd.MarginalNOERestraint_get_probability(self)
2347 def do_get_inputs(self):
2348 """do_get_inputs(MarginalNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2349 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2351 def get_version_info(self):
2352 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2353 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2356 """__str__(MarginalNOERestraint self) -> std::string"""
2357 return _IMP_isd.MarginalNOERestraint___str__(self)
2360 """__repr__(MarginalNOERestraint self) -> std::string"""
2361 return _IMP_isd.MarginalNOERestraint___repr__(self)
2364 return _object_cast_to_MarginalNOERestraint(o)
2365 get_from = staticmethod(get_from)
2367 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
2368 MarginalNOERestraint_swigregister(MarginalNOERestraint)
2371 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
2372 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2373 def __init__(self, *args):
2374 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
2375 this = _IMP_isd.new_MarginalHBondRestraint(*args)
2376 try: self.this.append(this)
2377 except: self.this = this
2378 def add_contribution(self, *args):
2380 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
2381 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
2383 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
2385 def get_logsquares(self):
2386 """get_logsquares(MarginalHBondRestraint self) -> double"""
2387 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
2389 def get_number_of_contributions(self):
2390 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
2391 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
2393 def get_probability(self):
2394 """get_probability(MarginalHBondRestraint self) -> double"""
2395 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
2397 def do_get_inputs(self):
2398 """do_get_inputs(MarginalHBondRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2399 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
2401 def get_version_info(self):
2402 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
2403 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
2406 """__str__(MarginalHBondRestraint self) -> std::string"""
2407 return _IMP_isd.MarginalHBondRestraint___str__(self)
2410 """__repr__(MarginalHBondRestraint self) -> std::string"""
2411 return _IMP_isd.MarginalHBondRestraint___repr__(self)
2414 return _object_cast_to_MarginalHBondRestraint(o)
2415 get_from = staticmethod(get_from)
2417 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
2418 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
2421 """Proxy of C++ IMP::isd::TALOSRestraint class"""
2422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2423 def __init__(self, *args):
2425 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
2426 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
2427 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
2428 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0,
2429 double chiexp, Particle kappa) -> TALOSRestraint
2431 this = _IMP_isd.new_TALOSRestraint(*args)
2432 try: self.this.append(this)
2433 except: self.this = this
2434 def get_probability(self):
2435 """get_probability(TALOSRestraint self) -> double"""
2436 return _IMP_isd.TALOSRestraint_get_probability(self)
2439 """get_R0(TALOSRestraint self) -> double"""
2440 return _IMP_isd.TALOSRestraint_get_R0(self)
2442 def get_chiexp(self):
2443 """get_chiexp(TALOSRestraint self) -> double"""
2444 return _IMP_isd.TALOSRestraint_get_chiexp(self)
2446 def do_get_inputs(self):
2447 """do_get_inputs(TALOSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2448 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
2450 def get_version_info(self):
2451 """get_version_info(TALOSRestraint self) -> VersionInfo"""
2452 return _IMP_isd.TALOSRestraint_get_version_info(self)
2455 """__str__(TALOSRestraint self) -> std::string"""
2456 return _IMP_isd.TALOSRestraint___str__(self)
2459 """__repr__(TALOSRestraint self) -> std::string"""
2460 return _IMP_isd.TALOSRestraint___repr__(self)
2463 return _object_cast_to_TALOSRestraint(o)
2464 get_from = staticmethod(get_from)
2466 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
2467 TALOSRestraint_swigregister(TALOSRestraint)
2470 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
2471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2472 def __init__(self, *args):
2473 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
2474 this = _IMP_isd.new_RepulsiveDistancePairScore(*args)
2475 try: self.this.append(this)
2476 except: self.this = this
2477 def get_rest_length(self):
2478 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
2479 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
2481 def get_stiffness(self):
2482 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
2483 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
2485 def do_get_inputs(self, *args):
2486 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2487 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, *args)
2489 def get_version_info(self):
2490 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
2491 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
2494 """__str__(RepulsiveDistancePairScore self) -> std::string"""
2495 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
2498 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
2499 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
2502 return _object_cast_to_RepulsiveDistancePairScore(o)
2503 get_from = staticmethod(get_from)
2505 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
2506 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
2509 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
2510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2511 def __init__(self, *args):
2513 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
2514 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::kernel::Restraints rs) -> AmbiguousRestraint
2516 this = _IMP_isd.new_AmbiguousRestraint(*args)
2517 try: self.this.append(this)
2518 except: self.this = this
2519 def get_probability(self):
2520 """get_probability(AmbiguousRestraint self) -> double"""
2521 return _IMP_isd.AmbiguousRestraint_get_probability(self)
2523 def do_get_inputs(self):
2524 """do_get_inputs(AmbiguousRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2525 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
2527 def get_version_info(self):
2528 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
2529 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
2532 """__str__(AmbiguousRestraint self) -> std::string"""
2533 return _IMP_isd.AmbiguousRestraint___str__(self)
2536 """__repr__(AmbiguousRestraint self) -> std::string"""
2537 return _IMP_isd.AmbiguousRestraint___repr__(self)
2540 return _object_cast_to_AmbiguousRestraint(o)
2541 get_from = staticmethod(get_from)
2543 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
2544 AmbiguousRestraint_swigregister(AmbiguousRestraint)
2546 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
2548 """Proxy of C++ IMP::isd::UnivariateFunction class"""
2549 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2550 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2551 def __call__(self, *args):
2553 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
2554 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2555 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2557 return _IMP_isd.UnivariateFunction___call__(self, *args)
2559 def has_changed(self):
2560 """has_changed(UnivariateFunction self) -> bool"""
2561 return _IMP_isd.UnivariateFunction_has_changed(self)
2564 """update(UnivariateFunction self)"""
2565 return _IMP_isd.UnivariateFunction_update(self)
2567 def add_to_derivatives(self, *args):
2568 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
2569 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, *args)
2571 def add_to_particle_derivative(self, *args):
2572 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2573 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, *args)
2575 def get_derivative_vector(self, *args):
2576 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
2577 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, *args)
2579 def get_derivative_matrix(self, *args):
2580 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
2581 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, *args)
2583 def get_second_derivative_vector(self, *args):
2585 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2586 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2587 bool stupid) -> IMP::FloatsList
2589 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
2591 def get_ndims_x(self):
2592 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
2593 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
2595 def get_ndims_y(self):
2596 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
2597 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
2599 def get_number_of_particles(self):
2600 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
2601 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
2603 def get_particle_is_optimized(self, *args):
2604 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
2605 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, *args)
2607 def get_number_of_optimized_particles(self):
2608 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
2609 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
2612 """get_input_particles(UnivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2613 return _IMP_isd.UnivariateFunction_get_input_particles(self)
2616 """get_input_containers(UnivariateFunction self) -> IMP::kernel::ContainersTemp"""
2617 return _IMP_isd.UnivariateFunction_get_input_containers(self)
2619 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
2620 __del__ =
lambda self :
None;
2622 """__str__(UnivariateFunction self) -> std::string"""
2623 return _IMP_isd.UnivariateFunction___str__(self)
2626 """__repr__(UnivariateFunction self) -> std::string"""
2627 return _IMP_isd.UnivariateFunction___repr__(self)
2630 return _object_cast_to_UnivariateFunction(o)
2631 get_from = staticmethod(get_from)
2633 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
2634 UnivariateFunction_swigregister(UnivariateFunction)
2636 class Linear1DFunction(UnivariateFunction):
2637 """Proxy of C++ IMP::isd::Linear1DFunction class"""
2638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2639 def __init__(self, *args):
2640 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
2641 this = _IMP_isd.new_Linear1DFunction(*args)
2642 try: self.this.append(this)
2643 except: self.this = this
2644 def __call__(self, *args):
2646 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
2647 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2648 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2650 return _IMP_isd.Linear1DFunction___call__(self, *args)
2652 def get_second_derivative_vector(self, *args):
2654 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2655 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2656 bool arg5) -> IMP::FloatsList
2658 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
2660 def get_version_info(self):
2661 """get_version_info(Linear1DFunction self) -> VersionInfo"""
2662 return _IMP_isd.Linear1DFunction_get_version_info(self)
2665 """__str__(Linear1DFunction self) -> std::string"""
2666 return _IMP_isd.Linear1DFunction___str__(self)
2669 """__repr__(Linear1DFunction self) -> std::string"""
2670 return _IMP_isd.Linear1DFunction___repr__(self)
2673 return _object_cast_to_Linear1DFunction(o)
2674 get_from = staticmethod(get_from)
2676 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
2677 Linear1DFunction_swigregister(Linear1DFunction)
2679 class GeneralizedGuinierPorodFunction(UnivariateFunction):
2680 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
2681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2682 def __init__(self, *args):
2683 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
2684 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(*args)
2685 try: self.this.append(this)
2686 except: self.this = this
2687 def __call__(self, *args):
2689 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
2690 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2691 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2693 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
2695 def get_second_derivative_vector(self, *args):
2697 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2698 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2699 bool arg5) -> IMP::FloatsList
2701 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
2703 def get_version_info(self):
2704 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
2705 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
2708 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
2709 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
2712 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
2713 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
2716 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
2717 get_from = staticmethod(get_from)
2719 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
2720 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
2722 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
2724 """Proxy of C++ IMP::isd::BivariateFunction class"""
2725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2726 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2727 def __call__(self, *args):
2729 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2730 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2731 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2733 return _IMP_isd.BivariateFunction___call__(self, *args)
2735 def has_changed(self):
2736 """has_changed(BivariateFunction self) -> bool"""
2737 return _IMP_isd.BivariateFunction_has_changed(self)
2740 """update(BivariateFunction self)"""
2741 return _IMP_isd.BivariateFunction_update(self)
2743 def add_to_derivatives(self, *args):
2744 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
2745 return _IMP_isd.BivariateFunction_add_to_derivatives(self, *args)
2747 def add_to_particle_derivative(self, *args):
2748 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2749 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, *args)
2751 def get_derivative_matrix(self, *args):
2753 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2754 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2756 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
2758 def get_second_derivative_matrix(self, *args):
2760 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2761 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2762 bool stupid) -> IMP::FloatsList
2764 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
2766 def get_ndims_x1(self):
2767 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
2768 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
2770 def get_ndims_x2(self):
2771 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
2772 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
2774 def get_ndims_y(self):
2775 """get_ndims_y(BivariateFunction self) -> unsigned int"""
2776 return _IMP_isd.BivariateFunction_get_ndims_y(self)
2778 def get_number_of_particles(self):
2779 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
2780 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
2782 def get_particle_is_optimized(self, *args):
2783 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
2784 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, *args)
2786 def get_number_of_optimized_particles(self):
2787 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
2788 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
2791 """get_input_particles(BivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2792 return _IMP_isd.BivariateFunction_get_input_particles(self)
2795 """get_input_containers(BivariateFunction self) -> IMP::kernel::ContainersTemp"""
2796 return _IMP_isd.BivariateFunction_get_input_containers(self)
2798 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
2799 __del__ =
lambda self :
None;
2801 """__str__(BivariateFunction self) -> std::string"""
2802 return _IMP_isd.BivariateFunction___str__(self)
2805 """__repr__(BivariateFunction self) -> std::string"""
2806 return _IMP_isd.BivariateFunction___repr__(self)
2809 return _object_cast_to_BivariateFunction(o)
2810 get_from = staticmethod(get_from)
2812 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
2813 BivariateFunction_swigregister(BivariateFunction)
2815 class Covariance1DFunction(BivariateFunction):
2816 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
2817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2818 def __init__(self, *args):
2820 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
2821 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
2822 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
2823 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
2825 this = _IMP_isd.new_Covariance1DFunction(*args)
2826 try: self.this.append(this)
2827 except: self.this = this
2828 def __call__(self, *args):
2830 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2831 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2832 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2834 return _IMP_isd.Covariance1DFunction___call__(self, *args)
2836 def get_derivative_matrix(self, *args):
2838 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2839 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
2841 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
2843 def get_second_derivative_matrix(self, *args):
2845 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2846 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2847 bool arg5) -> IMP::FloatsList
2849 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
2851 def get_version_info(self):
2852 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
2853 return _IMP_isd.Covariance1DFunction_get_version_info(self)
2856 """__str__(Covariance1DFunction self) -> std::string"""
2857 return _IMP_isd.Covariance1DFunction___str__(self)
2860 """__repr__(Covariance1DFunction self) -> std::string"""
2861 return _IMP_isd.Covariance1DFunction___repr__(self)
2864 return _object_cast_to_Covariance1DFunction(o)
2865 get_from = staticmethod(get_from)
2867 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
2868 Covariance1DFunction_swigregister(Covariance1DFunction)
2871 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
2872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2873 def __init__(self, *args):
2875 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2876 UnivariateFunction mean_function, BivariateFunction covariance_function,
2877 Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
2878 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2879 UnivariateFunction mean_function, BivariateFunction covariance_function,
2880 Particle sigma) -> GaussianProcessInterpolation
2882 this = _IMP_isd.new_GaussianProcessInterpolation(*args)
2883 try: self.this.append(this)
2884 except: self.this = this
2885 def get_posterior_mean(self, *args):
2886 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
2887 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, *args)
2889 def get_posterior_covariance(self, *args):
2890 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
2891 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, *args)
2893 def get_posterior_covariance_matrix(self, *args):
2894 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
2895 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, *args)
2897 def get_posterior_covariance_derivative(self, *args):
2898 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
2899 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, *args)
2901 def get_posterior_covariance_hessian(self, *args):
2902 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
2903 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, *args)
2906 """get_input_particles(GaussianProcessInterpolation self) -> IMP::kernel::ParticlesTemp"""
2907 return _IMP_isd.GaussianProcessInterpolation_get_input_particles(self)
2910 """get_input_containers(GaussianProcessInterpolation self) -> IMP::kernel::ContainersTemp"""
2911 return _IMP_isd.GaussianProcessInterpolation_get_input_containers(self)
2913 def force_mean_update(self):
2914 """force_mean_update(GaussianProcessInterpolation self)"""
2915 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
2917 def force_covariance_update(self):
2918 """force_covariance_update(GaussianProcessInterpolation self)"""
2919 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
2921 def get_number_of_m_particles(self):
2922 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
2923 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
2925 def get_m_particle_is_optimized(self, *args):
2926 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2927 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, *args)
2929 def get_number_of_Omega_particles(self):
2930 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
2931 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
2933 def get_Omega_particle_is_optimized(self, *args):
2934 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2935 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, *args)
2937 def get_data_abscissa(self):
2938 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2939 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
2941 def get_data_mean(self):
2942 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
2943 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
2945 def get_data_variance(self):
2946 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2947 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
2949 def get_version_info(self):
2950 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
2951 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
2954 """__str__(GaussianProcessInterpolation self) -> std::string"""
2955 return _IMP_isd.GaussianProcessInterpolation___str__(self)
2958 """__repr__(GaussianProcessInterpolation self) -> std::string"""
2959 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
2962 return _object_cast_to_GaussianProcessInterpolation(o)
2963 get_from = staticmethod(get_from)
2965 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
2966 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
2969 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
2970 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2971 def __init__(self, *args):
2972 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
2973 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(*args)
2974 try: self.this.append(this)
2975 except: self.this = this
2976 def get_probability(self):
2977 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
2978 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
2981 """stats(GaussianProcessInterpolationRestraint self)"""
2982 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
2984 def set_use_cg(self, *args):
2985 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
2986 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, *args)
2988 def get_minus_log_normalization(self):
2989 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
2990 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
2992 def get_minus_exponent(self):
2993 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
2994 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
2996 def get_logdet_hessian(self):
2997 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
2998 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3000 def get_hessian(self, *args):
3002 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
3003 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3005 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3007 def do_get_inputs(self):
3008 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3009 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3011 def get_version_info(self):
3012 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3013 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3016 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3017 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3020 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3021 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3024 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3025 get_from = staticmethod(get_from)
3027 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3028 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3031 """Proxy of C++ IMP::isd::MolecularDynamics class"""
3032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3033 def __init__(self, m=None):
3035 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
3036 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3038 this = _IMP_isd.new_MolecularDynamics(m)
3039 try: self.this.append(this)
3040 except: self.this = this
3042 """__str__(MolecularDynamics self) -> std::string"""
3043 return _IMP_isd.MolecularDynamics___str__(self)
3046 """__repr__(MolecularDynamics self) -> std::string"""
3047 return _IMP_isd.MolecularDynamics___repr__(self)
3050 return _object_cast_to_MolecularDynamics(o)
3051 get_from = staticmethod(get_from)
3053 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3054 __del__ =
lambda self :
None;
3055 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3056 MolecularDynamics_swigregister(MolecularDynamics)
3059 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3061 def __init__(self, *args):
3063 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3064 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3065 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3067 this = _IMP_isd.new_MolecularDynamicsMover(*args)
3068 try: self.this.append(this)
3069 except: self.this = this
3071 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3072 return _IMP_isd.MolecularDynamicsMover_get_md(self)
3074 def get_number_of_md_steps(self):
3075 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3076 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3078 def set_number_of_md_steps(self, *args):
3079 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3080 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, *args)
3082 def get_version_info(self):
3083 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3084 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3087 """__str__(MolecularDynamicsMover self) -> std::string"""
3088 return _IMP_isd.MolecularDynamicsMover___str__(self)
3091 """__repr__(MolecularDynamicsMover self) -> std::string"""
3092 return _IMP_isd.MolecularDynamicsMover___repr__(self)
3095 return _object_cast_to_MolecularDynamicsMover(o)
3096 get_from = staticmethod(get_from)
3098 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3099 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3102 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3103 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3104 def __init__(self, *args):
3106 __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
3107 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3108 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3109 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3110 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3112 this = _IMP_isd.new_HybridMonteCarlo(*args)
3113 try: self.this.append(this)
3114 except: self.this = this
3115 def get_kinetic_energy(self):
3116 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3117 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3119 def get_potential_energy(self):
3120 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3121 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3123 def get_total_energy(self):
3124 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3125 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3127 def set_timestep(self, *args):
3128 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3129 return _IMP_isd.HybridMonteCarlo_set_timestep(self, *args)
3131 def get_timestep(self):
3132 """get_timestep(HybridMonteCarlo self) -> double"""
3133 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3135 def set_number_of_md_steps(self, *args):
3136 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3137 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, *args)
3139 def get_number_of_md_steps(self):
3140 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3141 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3143 def set_persistence(self, persistence=1):
3145 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3146 set_persistence(HybridMonteCarlo self)
3148 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3150 def get_persistence(self):
3151 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3152 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3155 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3156 return _IMP_isd.HybridMonteCarlo_get_md(self)
3158 def do_evaluate(self, *args):
3159 """do_evaluate(HybridMonteCarlo self, IMP::kernel::ParticleIndexes const & arg2) -> double"""
3160 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, *args)
3163 """do_step(HybridMonteCarlo self)"""
3164 return _IMP_isd.HybridMonteCarlo_do_step(self)
3167 """__str__(HybridMonteCarlo self) -> std::string"""
3168 return _IMP_isd.HybridMonteCarlo___str__(self)
3171 """__repr__(HybridMonteCarlo self) -> std::string"""
3172 return _IMP_isd.HybridMonteCarlo___repr__(self)
3175 return _object_cast_to_HybridMonteCarlo(o)
3176 get_from = staticmethod(get_from)
3178 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3179 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3182 """Proxy of C++ IMP::isd::FretData class"""
3183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3184 def __init__(self, *args):
3186 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3187 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax, bool do_limit=True) -> FretData
3188 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3189 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax) -> FretData
3191 this = _IMP_isd.new_FretData(*args)
3192 try: self.this.append(this)
3193 except: self.this = this
3194 def get_closest(self, *args):
3195 """get_closest(FretData self, DistBase vec, double value) -> int"""
3196 return _IMP_isd.FretData_get_closest(self, *args)
3198 def get_probability(self, *args):
3199 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
3200 return _IMP_isd.FretData_get_probability(self, *args)
3202 def get_kernel(self, *args):
3203 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
3204 return _IMP_isd.FretData_get_kernel(self, *args)
3206 def get_marginal_element(self, *args):
3207 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
3208 return _IMP_isd.FretData_get_marginal_element(self, *args)
3210 def get_version_info(self):
3211 """get_version_info(FretData self) -> VersionInfo"""
3212 return _IMP_isd.FretData_get_version_info(self)
3215 """__str__(FretData self) -> std::string"""
3216 return _IMP_isd.FretData___str__(self)
3219 """__repr__(FretData self) -> std::string"""
3220 return _IMP_isd.FretData___repr__(self)
3223 return _object_cast_to_FretData(o)
3224 get_from = staticmethod(get_from)
3226 FretData_swigregister = _IMP_isd.FretData_swigregister
3227 FretData_swigregister(FretData)
3230 """Proxy of C++ IMP::isd::FretRestraint class"""
3231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3232 def __init__(self, *args):
3234 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3235 Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0, double m_a=1.0) -> FretRestraint
3236 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3237 Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0) -> FretRestraint
3238 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3239 Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3240 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3241 __init__(IMP::isd::FretRestraint self, Particle prd, Vector3D GMMterd, IMP::algebra::Vector3Ds GMMctrd, IMP::Floats GMMwd,
3242 IMP::Floats GMMsigd, Particle pra, Vector3D GMMtera, IMP::algebra::Vector3Ds GMMctra,
3243 IMP::Floats GMMwa, IMP::Floats GMMsiga, Particle kda, Particle Ida,
3244 Particle sigma0, Particle Pbl, FretData data, double fexp) -> FretRestraint
3246 this = _IMP_isd.new_FretRestraint(*args)
3247 try: self.this.append(this)
3248 except: self.this = this
3249 def get_sumFi(self):
3250 """get_sumFi(FretRestraint self) -> double"""
3251 return _IMP_isd.FretRestraint_get_sumFi(self)
3253 def get_average_sigma(self, *args):
3254 """get_average_sigma(FretRestraint self, double fmod) -> double"""
3255 return _IMP_isd.FretRestraint_get_average_sigma(self, *args)
3257 def get_standard_error(self):
3258 """get_standard_error(FretRestraint self) -> double"""
3259 return _IMP_isd.FretRestraint_get_standard_error(self)
3261 def get_model_fretr(self):
3262 """get_model_fretr(FretRestraint self) -> double"""
3263 return _IMP_isd.FretRestraint_get_model_fretr(self)
3265 def get_probability(self):
3266 """get_probability(FretRestraint self) -> double"""
3267 return _IMP_isd.FretRestraint_get_probability(self)
3269 def get_experimental_value(self):
3270 """get_experimental_value(FretRestraint self) -> double"""
3271 return _IMP_isd.FretRestraint_get_experimental_value(self)
3273 def set_experimental_value(self, *args):
3274 """set_experimental_value(FretRestraint self, double fexp)"""
3275 return _IMP_isd.FretRestraint_set_experimental_value(self, *args)
3277 def do_get_inputs(self):
3278 """do_get_inputs(FretRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3279 return _IMP_isd.FretRestraint_do_get_inputs(self)
3281 def get_version_info(self):
3282 """get_version_info(FretRestraint self) -> VersionInfo"""
3283 return _IMP_isd.FretRestraint_get_version_info(self)
3286 """__str__(FretRestraint self) -> std::string"""
3287 return _IMP_isd.FretRestraint___str__(self)
3290 """__repr__(FretRestraint self) -> std::string"""
3291 return _IMP_isd.FretRestraint___repr__(self)
3294 return _object_cast_to_FretRestraint(o)
3295 get_from = staticmethod(get_from)
3297 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
3298 FretRestraint_swigregister(FretRestraint)
3301 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
3302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3303 def __init__(self, *args):
3305 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid,
3306 int prior_type=3) -> CysteineCrossLinkData
3307 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
3309 this = _IMP_isd.new_CysteineCrossLinkData(*args)
3310 try: self.this.append(this)
3311 except: self.this = this
3312 def get_closest(self, *args):
3313 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
3314 return _IMP_isd.CysteineCrossLinkData_get_closest(self, *args)
3316 def get_omegas(self, *args):
3317 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3318 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, *args)
3320 def get_nonmarginal_elements(self, *args):
3321 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
3322 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, *args)
3324 def get_marginal_elements(self, *args):
3325 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3326 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, *args)
3328 def get_omega(self, *args):
3329 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3330 return _IMP_isd.CysteineCrossLinkData_get_omega(self, *args)
3332 def get_standard_deviation(self, *args):
3333 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3334 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, *args)
3336 def get_nonmarginal_element(self, *args):
3337 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
3338 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, *args)
3340 def get_marginal_element(self, *args):
3341 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3342 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, *args)
3344 def get_version_info(self):
3345 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
3346 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
3349 """__str__(CysteineCrossLinkData self) -> std::string"""
3350 return _IMP_isd.CysteineCrossLinkData___str__(self)
3353 """__repr__(CysteineCrossLinkData self) -> std::string"""
3354 return _IMP_isd.CysteineCrossLinkData___repr__(self)
3357 return _object_cast_to_CysteineCrossLinkData(o)
3358 get_from = staticmethod(get_from)
3360 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
3361 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
3364 """Proxy of C++ IMP::isd::CrossLinkData class"""
3365 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3366 def __init__(self, *args):
3368 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3369 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max(),
3370 int prior_type=0) -> CrossLinkData
3371 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3372 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3373 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3374 double don=std::numeric_limits< double >::max()) -> CrossLinkData
3375 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
3376 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3377 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3378 double doff=std::numeric_limits< double >::max(), int prior_type=0) -> CrossLinkData
3379 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3380 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3381 double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3382 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3383 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max()) -> CrossLinkData
3384 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3385 IMP::Floats pot_value_grid) -> CrossLinkData
3387 this = _IMP_isd.new_CrossLinkData(*args)
3388 try: self.this.append(this)
3389 except: self.this = this
3390 def get_closest(self, *args):
3391 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
3392 return _IMP_isd.CrossLinkData_get_closest(self, *args)
3394 def get_omegas(self, *args):
3395 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3396 return _IMP_isd.CrossLinkData_get_omegas(self, *args)
3398 def get_omega_prior(self, *args):
3399 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
3400 return _IMP_isd.CrossLinkData_get_omega_prior(self, *args)
3402 def get_nonmarginal_elements(self, *args):
3403 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
3404 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, *args)
3406 def get_marginal_elements(self, *args):
3407 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3408 return _IMP_isd.CrossLinkData_get_marginal_elements(self, *args)
3410 def get_marginal_maximum(self, *args):
3412 get_marginal_maximum(CrossLinkData self, double sigma) -> double
3413 get_marginal_maximum(CrossLinkData self) -> double
3415 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
3417 def get_version_info(self):
3418 """get_version_info(CrossLinkData self) -> VersionInfo"""
3419 return _IMP_isd.CrossLinkData_get_version_info(self)
3422 """__str__(CrossLinkData self) -> std::string"""
3423 return _IMP_isd.CrossLinkData___str__(self)
3426 """__repr__(CrossLinkData self) -> std::string"""
3427 return _IMP_isd.CrossLinkData___repr__(self)
3430 return _object_cast_to_CrossLinkData(o)
3431 get_from = staticmethod(get_from)
3433 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
3434 CrossLinkData_swigregister(CrossLinkData)
3437 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
3438 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3439 def __init__(self, *args):
3441 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3442 double fexp) -> CysteineCrossLinkRestraint
3443 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3444 CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
3446 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
3447 try: self.this.append(this)
3448 except: self.this = this
3449 def get_probability(self):
3450 """get_probability(CysteineCrossLinkRestraint self) -> double"""
3451 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
3453 def get_standard_error(self):
3454 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
3455 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
3457 def get_frequencies(self):
3458 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3459 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
3461 def get_model_frequency(self):
3462 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
3463 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
3465 def get_distances(self):
3466 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3467 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
3469 def get_truncated_normalization(self, *args):
3470 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
3471 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, *args)
3473 def get_normal_pdf(self, *args):
3474 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
3475 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, *args)
3477 def add_contribution(self, *args):
3479 add_contribution(CysteineCrossLinkRestraint self, Particle p1, Particle p2)
3480 add_contribution(CysteineCrossLinkRestraint self, IMP::kernel::Particles p1, IMP::kernel::Particles p2)
3482 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
3484 def get_CB_coordinates(self, *args):
3485 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::kernel::Particles const & ps) -> Vector3D"""
3486 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, *args)
3488 def get_number_of_contributions(self):
3489 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
3490 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
3492 def do_get_inputs(self):
3493 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3494 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
3496 def get_version_info(self):
3497 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
3498 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
3501 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
3502 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
3505 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
3506 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
3509 return _object_cast_to_CysteineCrossLinkRestraint(o)
3510 get_from = staticmethod(get_from)
3512 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
3513 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
3516 """Proxy of C++ IMP::isd::WeightMover class"""
3517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3518 def __init__(self, *args):
3519 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
3520 this = _IMP_isd.new_WeightMover(*args)
3521 try: self.this.append(this)
3522 except: self.this = this
3523 def set_radius(self, *args):
3524 """set_radius(WeightMover self, IMP::Float radius)"""
3525 return _IMP_isd.WeightMover_set_radius(self, *args)
3527 def get_radius(self):
3528 """get_radius(WeightMover self) -> IMP::Float"""
3529 return _IMP_isd.WeightMover_get_radius(self)
3531 def get_version_info(self):
3532 """get_version_info(WeightMover self) -> VersionInfo"""
3533 return _IMP_isd.WeightMover_get_version_info(self)
3536 """__str__(WeightMover self) -> std::string"""
3537 return _IMP_isd.WeightMover___str__(self)
3540 """__repr__(WeightMover self) -> std::string"""
3541 return _IMP_isd.WeightMover___repr__(self)
3544 return _object_cast_to_WeightMover(o)
3545 get_from = staticmethod(get_from)
3547 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
3548 WeightMover_swigregister(WeightMover)
3551 """Proxy of C++ IMP::isd::WeightRestraint class"""
3552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3553 def __init__(self, *args):
3554 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
3555 this = _IMP_isd.new_WeightRestraint(*args)
3556 try: self.this.append(this)
3557 except: self.this = this
3558 def do_get_inputs(self):
3559 """do_get_inputs(WeightRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3560 return _IMP_isd.WeightRestraint_do_get_inputs(self)
3562 def get_version_info(self):
3563 """get_version_info(WeightRestraint self) -> VersionInfo"""
3564 return _IMP_isd.WeightRestraint_get_version_info(self)
3567 """__str__(WeightRestraint self) -> std::string"""
3568 return _IMP_isd.WeightRestraint___str__(self)
3571 """__repr__(WeightRestraint self) -> std::string"""
3572 return _IMP_isd.WeightRestraint___repr__(self)
3575 return _object_cast_to_WeightRestraint(o)
3576 get_from = staticmethod(get_from)
3578 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
3579 WeightRestraint_swigregister(WeightRestraint)
3582 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
3583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3584 def __init__(self, *args):
3586 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, IMP::kernel::ParticleIndex const & psi, IMP::Float slope=0.0,
3587 bool part_of_log_score=False, std::string name="AtomicCrossLinkMSRestraint%1%") -> AtomicCrossLinkMSRestraint
3588 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, IMP::kernel::ParticleIndex const & psi, IMP::Float slope=0.0,
3589 bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
3590 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, IMP::kernel::ParticleIndex const & psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
3591 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, IMP::kernel::ParticleIndex const & psi) -> AtomicCrossLinkMSRestraint
3593 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
3594 try: self.this.append(this)
3595 except: self.this = this
3596 def add_contribution(self, *args):
3597 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::kernel::ParticleIndexPair const & ppi, IMP::kernel::ParticleIndexPair const & sigmas)"""
3598 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, *args)
3600 def evaluate_for_contributions(self, *args):
3601 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
3602 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, *args)
3604 def get_number_of_contributions(self):
3605 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
3606 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
3608 def get_contribution(self, *args):
3609 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::kernel::ParticleIndexPair"""
3610 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, *args)
3612 def get_contribution_sigmas(self, *args):
3613 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::kernel::ParticleIndexPair"""
3614 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, *args)
3617 """get_psi(AtomicCrossLinkMSRestraint self) -> IMP::kernel::ParticleIndex"""
3618 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
3620 def do_get_inputs(self):
3621 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
3622 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
3624 def show(self, *args):
3625 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
3626 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, *args)
3628 def set_slope(self, *args):
3629 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
3630 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, *args)
3632 def set_part_of_log_score(self, *args):
3633 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
3634 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, *args)
3636 def get_version_info(self):
3637 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
3638 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
3641 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
3642 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
3645 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
3646 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
3649 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
3650 get_from = staticmethod(get_from)
3652 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
3653 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
3656 """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
3657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3658 def __init__(self, *args):
3660 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::kernel::ParticleIndexes model_ps, IMP::kernel::ParticleIndexes density_ps,
3661 IMP::kernel::ParticleIndex global_sigma, IMP::Float model_cutoff_dist,
3662 IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True,
3663 bool backbone_slope=False, std::string name="GaussianEMRestraint%1%") -> GaussianEMRestraint
3664 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::kernel::ParticleIndexes model_ps, IMP::kernel::ParticleIndexes density_ps,
3665 IMP::kernel::ParticleIndex global_sigma, IMP::Float model_cutoff_dist,
3666 IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True,
3667 bool backbone_slope=False) -> GaussianEMRestraint
3668 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::kernel::ParticleIndexes model_ps, IMP::kernel::ParticleIndexes density_ps,
3669 IMP::kernel::ParticleIndex global_sigma, IMP::Float model_cutoff_dist,
3670 IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True) -> GaussianEMRestraint
3671 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::kernel::ParticleIndexes model_ps, IMP::kernel::ParticleIndexes density_ps,
3672 IMP::kernel::ParticleIndex global_sigma, IMP::Float model_cutoff_dist,
3673 IMP::Float density_cutoff_dist, IMP::Float slope) -> GaussianEMRestraint
3675 this = _IMP_isd.new_GaussianEMRestraint(*args)
3676 try: self.this.append(this)
3677 except: self.this = this
3678 def get_probability(self):
3679 """get_probability(GaussianEMRestraint self) -> double"""
3680 return _IMP_isd.GaussianEMRestraint_get_probability(self)
3682 def compute_initial_scores(self):
3683 """compute_initial_scores(GaussianEMRestraint self)"""
3684 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
3686 def set_slope(self, *args):
3687 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
3688 return _IMP_isd.GaussianEMRestraint_set_slope(self, *args)
3690 def get_slope(self):
3691 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
3692 return _IMP_isd.GaussianEMRestraint_get_slope(self)
3694 def do_get_inputs(self):
3695 """do_get_inputs(GaussianEMRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3696 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
3698 def show(self, *args):
3699 """show(GaussianEMRestraint self, _ostream out)"""
3700 return _IMP_isd.GaussianEMRestraint_show(self, *args)
3702 def get_version_info(self):
3703 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
3704 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
3707 """__str__(GaussianEMRestraint self) -> std::string"""
3708 return _IMP_isd.GaussianEMRestraint___str__(self)
3711 """__repr__(GaussianEMRestraint self) -> std::string"""
3712 return _IMP_isd.GaussianEMRestraint___repr__(self)
3715 return _object_cast_to_GaussianEMRestraint(o)
3716 get_from = staticmethod(get_from)
3718 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
3719 GaussianEMRestraint_swigregister(GaussianEMRestraint)
3722 def sample_points_from_density(*args):
3724 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
3725 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
3727 return _IMP_isd.sample_points_from_density(*args)
3729 def get_module_version():
3730 """get_module_version() -> std::string const"""
3731 return _IMP_isd.get_module_version()
3734 """get_example_path(std::string fname) -> std::string"""
3735 return _IMP_isd.get_example_path(*args)
3738 """get_data_path(std::string fname) -> std::string"""
3739 return _IMP_isd.get_data_path(*args)
3740 from .
import _version_check
3741 _version_check.check_version(get_module_version())
Various classes to hold sets of particles.
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_data_path(std::string file_name)
Return the full path to installed data.
ParticlesTemp get_input_particles(const ModelObjectsTemp &mos)
Return all the input particles for a given ModelObject.
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Abstract class for scoring object(s) of type ParticlePair.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
ContainersTemp get_input_containers(const ModelObjectsTemp &mos)
Return all the input particles for a given ModelObject.
Simple molecular dynamics optimizer.
Store a kernel::ParticleIndexes.
A base class for classes which perturb particles.
Base functionality and abstract base classes for representation, scoring and sampling.
A restraint is a term in an IMP ScoringFunction.
Basic utilities for handling cryo-electron microscopy 3D density maps.
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.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
CheckLevel get_check_level()
Get the current audit mode.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
Support for small angle X-ray scattering (SAXS) data.
Class for storing model, its restraints, constraints, and particles.