11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
28 _IMP_isd = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_ISD_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_ISD_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_ISD_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
91 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
95 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
96 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
98 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
102 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
103 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
105 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
113 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, *args)
116 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
117 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
120 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
121 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
124 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
128 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
129 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
133 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
137 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
141 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
145 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
149 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
153 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
158 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
164 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
171 IMP_DEBUG = _IMP_isd.IMP_DEBUG
172 IMP_RELEASE = _IMP_isd.IMP_RELEASE
173 IMP_SILENT = _IMP_isd.IMP_SILENT
174 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
175 IMP_TERSE = _IMP_isd.IMP_TERSE
176 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
177 IMP_MEMORY = _IMP_isd.IMP_MEMORY
178 IMP_NONE = _IMP_isd.IMP_NONE
179 IMP_USAGE = _IMP_isd.IMP_USAGE
180 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_isd.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_isd.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_isd.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_isd.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_isd.DEFAULT_CHECK
217 USAGE = _IMP_isd.USAGE
218 USAGE_AND_INTERNAL = _IMP_isd.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_isd.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_isd.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_isd._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_isd._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_isd.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_isd.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_isd.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
286 IMP_STATISTICS_HAS_IMP_BASE = _IMP_isd.IMP_STATISTICS_HAS_IMP_BASE
287 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
288 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
289 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
290 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
291 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
292 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
293 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
295 IMP_CORE_HAS_IMP_BASE = _IMP_isd.IMP_CORE_HAS_IMP_BASE
296 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
297 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
298 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
299 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
300 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
301 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
302 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
303 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
304 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
306 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
307 IMP_CONTAINER_HAS_IMP_BASE = _IMP_isd.IMP_CONTAINER_HAS_IMP_BASE
308 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
309 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
310 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
311 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
312 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
313 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
314 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
315 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
316 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
317 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
318 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
320 IMP_ATOM_HAS_IMP_BASE = _IMP_isd.IMP_ATOM_HAS_IMP_BASE
321 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
322 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
323 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
324 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
325 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
326 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
327 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
328 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
329 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
330 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
331 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
332 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
333 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
335 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
336 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
337 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
338 IMP_EM_HAS_IMP_KERNEL = _IMP_isd.IMP_EM_HAS_IMP_KERNEL
339 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
340 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
341 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
342 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
343 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
344 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
345 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
346 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
347 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
349 IMP_SAXS_HAS_IMP_BASE = _IMP_isd.IMP_SAXS_HAS_IMP_BASE
350 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
351 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
352 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
353 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
354 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
355 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
356 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
357 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
358 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
359 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
360 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
361 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
362 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
364 IMP_ISD_HAS_IMP_BASE = _IMP_isd.IMP_ISD_HAS_IMP_BASE
365 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
366 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
367 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
368 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
369 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
370 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
371 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
372 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
373 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
374 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
375 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
376 _object_types.append(
"JeffreysRestraint")
379 def _object_cast_to_JeffreysRestraint(*args):
380 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
381 return _IMP_isd._object_cast_to_JeffreysRestraint(*args)
382 _object_types.append(
"vonMisesKappaJeffreysRestraint")
385 def _object_cast_to_vonMisesKappaJeffreysRestraint(*args):
386 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
387 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(*args)
388 _object_types.append(
"vonMisesKappaConjugateRestraint")
391 def _object_cast_to_vonMisesKappaConjugateRestraint(*args):
392 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
393 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(*args)
394 _object_types.append(
"FNormal")
397 def _object_cast_to_FNormal(*args):
398 """_object_cast_to_FNormal(Object o) -> FNormal"""
399 return _IMP_isd._object_cast_to_FNormal(*args)
400 _object_types.append(
"vonMises")
403 def _object_cast_to_vonMises(*args):
404 """_object_cast_to_vonMises(Object o) -> vonMises"""
405 return _IMP_isd._object_cast_to_vonMises(*args)
406 _object_types.append(
"vonMisesSufficient")
409 def _object_cast_to_vonMisesSufficient(*args):
410 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
411 return _IMP_isd._object_cast_to_vonMisesSufficient(*args)
413 return [Nuisance(x)
for x
in l]
414 _plural_types.append(
"Nuisances")
416 _value_types.append(
"Nuisance")
419 return [Scale(x)
for x
in l]
420 _plural_types.append(
"Scales")
422 _value_types.append(
"Scale")
424 def Switchings(l=[]):
425 return [Switching(x)
for x
in l]
426 _plural_types.append(
"Switchings")
428 _value_types.append(
"Switching")
430 _object_types.append(
"NOERestraint")
433 def _object_cast_to_NOERestraint(*args):
434 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
435 return _IMP_isd._object_cast_to_NOERestraint(*args)
437 return [Weight(x)
for x
in l]
438 _plural_types.append(
"Weights")
440 _value_types.append(
"Weight")
442 _object_types.append(
"GaussianRestraint")
445 def _object_cast_to_GaussianRestraint(*args):
446 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
447 return _IMP_isd._object_cast_to_GaussianRestraint(*args)
448 _object_types.append(
"LognormalRestraint")
451 def _object_cast_to_LognormalRestraint(*args):
452 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
453 return _IMP_isd._object_cast_to_LognormalRestraint(*args)
454 _object_types.append(
"AmbiguousNOERestraint")
457 def _object_cast_to_AmbiguousNOERestraint(*args):
458 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
459 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(*args)
460 _object_types.append(
"MarginalNOERestraint")
463 def _object_cast_to_MarginalNOERestraint(*args):
464 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
465 return _IMP_isd._object_cast_to_MarginalNOERestraint(*args)
466 _object_types.append(
"MarginalHBondRestraint")
469 def _object_cast_to_MarginalHBondRestraint(*args):
470 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
471 return _IMP_isd._object_cast_to_MarginalHBondRestraint(*args)
472 _object_types.append(
"TALOSRestraint")
475 def _object_cast_to_TALOSRestraint(*args):
476 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
477 return _IMP_isd._object_cast_to_TALOSRestraint(*args)
478 _object_types.append(
"RepulsiveDistancePairScore")
481 def _object_cast_to_RepulsiveDistancePairScore(*args):
482 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
483 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(*args)
484 _object_types.append(
"AmbiguousRestraint")
487 def _object_cast_to_AmbiguousRestraint(*args):
488 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
489 return _IMP_isd._object_cast_to_AmbiguousRestraint(*args)
490 _object_types.append(
"UnivariateFunction")
493 def _object_cast_to_UnivariateFunction(*args):
494 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
495 return _IMP_isd._object_cast_to_UnivariateFunction(*args)
496 _object_types.append(
"Linear1DFunction")
499 def _object_cast_to_Linear1DFunction(*args):
500 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
501 return _IMP_isd._object_cast_to_Linear1DFunction(*args)
502 _object_types.append(
"GeneralizedGuinierPorodFunction")
505 def _object_cast_to_GeneralizedGuinierPorodFunction(*args):
506 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
507 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(*args)
508 _object_types.append(
"BivariateFunction")
511 def _object_cast_to_BivariateFunction(*args):
512 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
513 return _IMP_isd._object_cast_to_BivariateFunction(*args)
514 _object_types.append(
"Covariance1DFunction")
517 def _object_cast_to_Covariance1DFunction(*args):
518 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
519 return _IMP_isd._object_cast_to_Covariance1DFunction(*args)
520 _object_types.append(
"GaussianProcessInterpolation")
523 def _object_cast_to_GaussianProcessInterpolation(*args):
524 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
525 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(*args)
526 _object_types.append(
"GaussianProcessInterpolationRestraint")
529 def _object_cast_to_GaussianProcessInterpolationRestraint(*args):
530 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
531 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(*args)
532 _object_types.append(
"MolecularDynamics")
534 _object_types.append(
"MolecularDynamicsMover")
537 def _object_cast_to_MolecularDynamicsMover(*args):
538 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
539 return _IMP_isd._object_cast_to_MolecularDynamicsMover(*args)
540 _object_types.append(
"HybridMonteCarlo")
543 def _object_cast_to_HybridMonteCarlo(*args):
544 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
545 return _IMP_isd._object_cast_to_HybridMonteCarlo(*args)
546 _object_types.append(
"FretData")
549 def _object_cast_to_FretData(*args):
550 """_object_cast_to_FretData(Object o) -> FretData"""
551 return _IMP_isd._object_cast_to_FretData(*args)
552 _object_types.append(
"FretRestraint")
555 def _object_cast_to_FretRestraint(*args):
556 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
557 return _IMP_isd._object_cast_to_FretRestraint(*args)
558 _object_types.append(
"CrossLinkData")
561 def _object_cast_to_CrossLinkData(*args):
562 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
563 return _IMP_isd._object_cast_to_CrossLinkData(*args)
564 _object_types.append(
"CysteineCrossLinkData")
567 def _object_cast_to_CysteineCrossLinkData(*args):
568 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
569 return _IMP_isd._object_cast_to_CysteineCrossLinkData(*args)
570 _object_types.append(
"CysteineCrossLinkRestraint")
573 def _object_cast_to_CysteineCrossLinkRestraint(*args):
574 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
575 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(*args)
576 _object_types.append(
"WeightMover")
579 def _object_cast_to_WeightMover(*args):
580 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
581 return _IMP_isd._object_cast_to_WeightMover(*args)
582 _object_types.append(
"WeightRestraint")
585 def _object_cast_to_WeightRestraint(*args):
586 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
587 return _IMP_isd._object_cast_to_WeightRestraint(*args)
588 def create_model_and_particles():
593 for i
in range(0,100):
597 d.set_coordinates_are_optimized(
True)
601 """Proxy of C++ IMP::isd::Nuisance class"""
602 __swig_setmethods__ = {}
603 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
604 __setattr__ =
lambda self, name, value: _swig_setattr(self, Nuisance, name, value)
605 __swig_getmethods__ = {}
606 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
607 __getattr__ =
lambda self, name: _swig_getattr(self, Nuisance, name)
608 def __init__(self, *args):
610 __init__(IMP::isd::Nuisance self) -> Nuisance
611 __init__(IMP::isd::Nuisance self, Model m, ::IMP::kernel::ParticleIndex id) -> Nuisance
612 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
614 this = _IMP_isd.new_Nuisance(*args)
615 try: self.this.append(this)
616 except: self.this = this
617 def decorate_particle(*args):
618 """decorate_particle(Particle p) -> Nuisance"""
619 return _IMP_isd.Nuisance_decorate_particle(*args)
621 if _newclass:decorate_particle = staticmethod(decorate_particle)
622 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
623 def show(self, *args):
625 show(Nuisance self, _ostream out=std::cout)
628 return _IMP_isd.Nuisance_show(self, *args)
630 def setup_particle(*args):
632 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
633 setup_particle(_ParticleAdaptor decorator) -> Nuisance
634 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
635 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
637 return _IMP_isd.Nuisance_setup_particle(*args)
639 if _newclass:setup_particle = staticmethod(setup_particle)
640 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
641 def get_is_setup(*args):
643 get_is_setup(_ParticleAdaptor p) -> bool
644 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
646 return _IMP_isd.Nuisance_get_is_setup(*args)
648 if _newclass:get_is_setup = staticmethod(get_is_setup)
649 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
650 def get_nuisance_key():
651 """get_nuisance_key() -> FloatKey"""
652 return _IMP_isd.Nuisance_get_nuisance_key()
654 if _newclass:get_nuisance_key = staticmethod(get_nuisance_key)
655 __swig_getmethods__[
"get_nuisance_key"] =
lambda x: get_nuisance_key
656 def get_nuisance(self):
657 """get_nuisance(Nuisance self) -> IMP::Float"""
658 return _IMP_isd.Nuisance_get_nuisance(self)
660 def set_nuisance(self, *args):
661 """set_nuisance(Nuisance self, IMP::Float d)"""
662 return _IMP_isd.Nuisance_set_nuisance(self, *args)
664 def get_has_lower(self):
665 """get_has_lower(Nuisance self) -> bool"""
666 return _IMP_isd.Nuisance_get_has_lower(self)
669 """get_lower(Nuisance self) -> IMP::Float"""
670 return _IMP_isd.Nuisance_get_lower(self)
673 """get_lower_key() -> FloatKey"""
674 return _IMP_isd.Nuisance_get_lower_key()
676 if _newclass:get_lower_key = staticmethod(get_lower_key)
677 __swig_getmethods__[
"get_lower_key"] =
lambda x: get_lower_key
678 def get_lower_particle_key():
679 """get_lower_particle_key() -> ParticleIndexKey"""
680 return _IMP_isd.Nuisance_get_lower_particle_key()
682 if _newclass:get_lower_particle_key = staticmethod(get_lower_particle_key)
683 __swig_getmethods__[
"get_lower_particle_key"] =
lambda x: get_lower_particle_key
684 def set_lower(self, *args):
686 set_lower(Nuisance self, IMP::Float d)
687 set_lower(Nuisance self, Particle d)
689 return _IMP_isd.Nuisance_set_lower(self, *args)
691 def remove_lower(self):
692 """remove_lower(Nuisance self)"""
693 return _IMP_isd.Nuisance_remove_lower(self)
695 def get_has_upper(self):
696 """get_has_upper(Nuisance self) -> bool"""
697 return _IMP_isd.Nuisance_get_has_upper(self)
700 """get_upper(Nuisance self) -> IMP::Float"""
701 return _IMP_isd.Nuisance_get_upper(self)
704 """get_upper_key() -> FloatKey"""
705 return _IMP_isd.Nuisance_get_upper_key()
707 if _newclass:get_upper_key = staticmethod(get_upper_key)
708 __swig_getmethods__[
"get_upper_key"] =
lambda x: get_upper_key
709 def get_upper_particle_key():
710 """get_upper_particle_key() -> ParticleIndexKey"""
711 return _IMP_isd.Nuisance_get_upper_particle_key()
713 if _newclass:get_upper_particle_key = staticmethod(get_upper_particle_key)
714 __swig_getmethods__[
"get_upper_particle_key"] =
lambda x: get_upper_particle_key
715 def set_upper(self, *args):
717 set_upper(Nuisance self, IMP::Float d)
718 set_upper(Nuisance self, Particle d)
720 return _IMP_isd.Nuisance_set_upper(self, *args)
722 def remove_upper(self):
723 """remove_upper(Nuisance self)"""
724 return _IMP_isd.Nuisance_remove_upper(self)
726 def get_nuisance_derivative(self):
727 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
728 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
730 def add_to_nuisance_derivative(self, *args):
731 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
732 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, *args)
734 def get_nuisance_is_optimized(self):
735 """get_nuisance_is_optimized(Nuisance self) -> bool"""
736 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
738 def set_nuisance_is_optimized(self, *args):
739 """set_nuisance_is_optimized(Nuisance self, bool val)"""
740 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, *args)
742 def add_attribute(self, *args):
744 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
745 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
746 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
747 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
748 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
749 add_attribute(Nuisance self, ObjectKey a0, Object a1)
751 return _IMP_isd.Nuisance_add_attribute(self, *args)
753 def get_value(self, *args):
755 get_value(Nuisance self, FloatKey a0) -> IMP::Float
756 get_value(Nuisance self, IntKey a0) -> IMP::Int
757 get_value(Nuisance self, StringKey a0) -> IMP::String
758 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
759 get_value(Nuisance self, ObjectKey a0) -> Object
761 return _IMP_isd.Nuisance_get_value(self, *args)
763 def set_value(self, *args):
765 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
766 set_value(Nuisance self, IntKey a0, IMP::Int a1)
767 set_value(Nuisance self, StringKey a0, IMP::String a1)
768 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
769 set_value(Nuisance self, ObjectKey a0, Object a1)
771 return _IMP_isd.Nuisance_set_value(self, *args)
773 def remove_attribute(self, *args):
775 remove_attribute(Nuisance self, FloatKey a0)
776 remove_attribute(Nuisance self, IntKey a0)
777 remove_attribute(Nuisance self, StringKey a0)
778 remove_attribute(Nuisance self, ParticleIndexKey a0)
779 remove_attribute(Nuisance self, ObjectKey a0)
781 return _IMP_isd.Nuisance_remove_attribute(self, *args)
783 def has_attribute(self, *args):
785 has_attribute(Nuisance self, FloatKey a0) -> bool
786 has_attribute(Nuisance self, IntKey a0) -> bool
787 has_attribute(Nuisance self, StringKey a0) -> bool
788 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
789 has_attribute(Nuisance self, ObjectKey a0) -> bool
791 return _IMP_isd.Nuisance_has_attribute(self, *args)
793 def get_derivative(self, *args):
794 """get_derivative(Nuisance self, FloatKey a0) -> double"""
795 return _IMP_isd.Nuisance_get_derivative(self, *args)
798 """get_name(Nuisance self) -> std::string"""
799 return _IMP_isd.Nuisance_get_name(self)
801 def clear_caches(self):
802 """clear_caches(Nuisance self)"""
803 return _IMP_isd.Nuisance_clear_caches(self)
805 def set_name(self, *args):
806 """set_name(Nuisance self, std::string a0)"""
807 return _IMP_isd.Nuisance_set_name(self, *args)
810 """set_check_level(Nuisance self, IMP::base::CheckLevel a0)"""
811 return _IMP_isd.Nuisance_set_check_level(self, *args)
813 def add_to_derivative(self, *args):
814 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
815 return _IMP_isd.Nuisance_add_to_derivative(self, *args)
817 def set_is_optimized(self, *args):
818 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
819 return _IMP_isd.Nuisance_set_is_optimized(self, *args)
821 def get_is_optimized(self, *args):
822 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
823 return _IMP_isd.Nuisance_get_is_optimized(self, *args)
826 """get_check_level(Nuisance self) -> IMP::base::CheckLevel"""
827 return _IMP_isd.Nuisance_get_check_level(self)
829 def __eq__(self, *args):
831 __eq__(Nuisance self, Nuisance o) -> bool
832 __eq__(Nuisance self, Particle d) -> bool
834 return _IMP_isd.Nuisance___eq__(self, *args)
836 def __ne__(self, *args):
838 __ne__(Nuisance self, Nuisance o) -> bool
839 __ne__(Nuisance self, Particle d) -> bool
841 return _IMP_isd.Nuisance___ne__(self, *args)
843 def __le__(self, *args):
845 __le__(Nuisance self, Nuisance o) -> bool
846 __le__(Nuisance self, Particle d) -> bool
848 return _IMP_isd.Nuisance___le__(self, *args)
850 def __lt__(self, *args):
852 __lt__(Nuisance self, Nuisance o) -> bool
853 __lt__(Nuisance self, Particle d) -> bool
855 return _IMP_isd.Nuisance___lt__(self, *args)
857 def __ge__(self, *args):
859 __ge__(Nuisance self, Nuisance o) -> bool
860 __ge__(Nuisance self, Particle d) -> bool
862 return _IMP_isd.Nuisance___ge__(self, *args)
864 def __gt__(self, *args):
866 __gt__(Nuisance self, Nuisance o) -> bool
867 __gt__(Nuisance self, Particle d) -> bool
869 return _IMP_isd.Nuisance___gt__(self, *args)
872 """__str__(Nuisance self) -> std::string"""
873 return _IMP_isd.Nuisance___str__(self)
876 """__repr__(Nuisance self) -> std::string"""
877 return _IMP_isd.Nuisance___repr__(self)
879 __swig_destroy__ = _IMP_isd.delete_Nuisance
880 __del__ =
lambda self :
None;
881 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
882 Nuisance_swigregister(Nuisance)
884 def Nuisance_decorate_particle(*args):
885 """Nuisance_decorate_particle(Particle p) -> Nuisance"""
886 return _IMP_isd.Nuisance_decorate_particle(*args)
888 def Nuisance_setup_particle(*args):
890 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
891 setup_particle(_ParticleAdaptor decorator) -> Nuisance
892 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
893 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
895 return _IMP_isd.Nuisance_setup_particle(*args)
897 def Nuisance_get_is_setup(*args):
899 get_is_setup(_ParticleAdaptor p) -> bool
900 Nuisance_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
902 return _IMP_isd.Nuisance_get_is_setup(*args)
904 def Nuisance_get_nuisance_key():
905 """Nuisance_get_nuisance_key() -> FloatKey"""
906 return _IMP_isd.Nuisance_get_nuisance_key()
908 def Nuisance_get_lower_key():
909 """Nuisance_get_lower_key() -> FloatKey"""
910 return _IMP_isd.Nuisance_get_lower_key()
912 def Nuisance_get_lower_particle_key():
913 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
914 return _IMP_isd.Nuisance_get_lower_particle_key()
916 def Nuisance_get_upper_key():
917 """Nuisance_get_upper_key() -> FloatKey"""
918 return _IMP_isd.Nuisance_get_upper_key()
920 def Nuisance_get_upper_particle_key():
921 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
922 return _IMP_isd.Nuisance_get_upper_particle_key()
924 class Scale(Nuisance):
925 """Proxy of C++ IMP::isd::Scale class"""
926 __swig_setmethods__ = {}
927 for _s
in [Nuisance]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
928 __setattr__ =
lambda self, name, value: _swig_setattr(self, Scale, name, value)
929 __swig_getmethods__ = {}
930 for _s
in [Nuisance]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
931 __getattr__ =
lambda self, name: _swig_getattr(self, Scale, name)
932 def __init__(self, *args):
934 __init__(IMP::isd::Scale self) -> Scale
935 __init__(IMP::isd::Scale self, Model m, ::IMP::kernel::ParticleIndex id) -> Scale
936 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
938 this = _IMP_isd.new_Scale(*args)
939 try: self.this.append(this)
940 except: self.this = this
941 def decorate_particle(*args):
942 """decorate_particle(Particle p) -> Scale"""
943 return _IMP_isd.Scale_decorate_particle(*args)
945 if _newclass:decorate_particle = staticmethod(decorate_particle)
946 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
947 def show(self, *args):
949 show(Scale self, _ostream out=std::cout)
952 return _IMP_isd.Scale_show(self, *args)
954 def setup_particle(*args):
956 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
957 setup_particle(_ParticleAdaptor decorator) -> Scale
958 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
959 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
961 return _IMP_isd.Scale_setup_particle(*args)
963 if _newclass:setup_particle = staticmethod(setup_particle)
964 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
965 def get_is_setup(*args):
967 get_is_setup(_ParticleAdaptor p) -> bool
968 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
970 return _IMP_isd.Scale_get_is_setup(*args)
972 if _newclass:get_is_setup = staticmethod(get_is_setup)
973 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
975 """get_scale(Scale self) -> IMP::Float"""
976 return _IMP_isd.Scale_get_scale(self)
978 def set_scale(self, *args):
979 """set_scale(Scale self, IMP::Float d)"""
980 return _IMP_isd.Scale_set_scale(self, *args)
982 def add_to_scale_derivative(self, *args):
983 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
984 return _IMP_isd.Scale_add_to_scale_derivative(self, *args)
986 def get_scale_derivative(self):
987 """get_scale_derivative(Scale self) -> IMP::Float"""
988 return _IMP_isd.Scale_get_scale_derivative(self)
991 """get_scale_key() -> FloatKey"""
992 return _IMP_isd.Scale_get_scale_key()
994 if _newclass:get_scale_key = staticmethod(get_scale_key)
995 __swig_getmethods__[
"get_scale_key"] =
lambda x: get_scale_key
996 def get_scale_is_optimized(self):
997 """get_scale_is_optimized(Scale self) -> bool"""
998 return _IMP_isd.Scale_get_scale_is_optimized(self)
1000 def set_scale_is_optimized(self, *args):
1001 """set_scale_is_optimized(Scale self, bool val)"""
1002 return _IMP_isd.Scale_set_scale_is_optimized(self, *args)
1004 def add_attribute(self, *args):
1006 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1007 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1008 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1009 add_attribute(Scale self, StringKey a0, IMP::String a1)
1010 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1011 add_attribute(Scale self, ObjectKey a0, Object a1)
1013 return _IMP_isd.Scale_add_attribute(self, *args)
1015 def get_value(self, *args):
1017 get_value(Scale self, FloatKey a0) -> IMP::Float
1018 get_value(Scale self, IntKey a0) -> IMP::Int
1019 get_value(Scale self, StringKey a0) -> IMP::String
1020 get_value(Scale self, ParticleIndexKey a0) -> Particle
1021 get_value(Scale self, ObjectKey a0) -> Object
1023 return _IMP_isd.Scale_get_value(self, *args)
1025 def set_value(self, *args):
1027 set_value(Scale self, FloatKey a0, IMP::Float a1)
1028 set_value(Scale self, IntKey a0, IMP::Int a1)
1029 set_value(Scale self, StringKey a0, IMP::String a1)
1030 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1031 set_value(Scale self, ObjectKey a0, Object a1)
1033 return _IMP_isd.Scale_set_value(self, *args)
1035 def remove_attribute(self, *args):
1037 remove_attribute(Scale self, FloatKey a0)
1038 remove_attribute(Scale self, IntKey a0)
1039 remove_attribute(Scale self, StringKey a0)
1040 remove_attribute(Scale self, ParticleIndexKey a0)
1041 remove_attribute(Scale self, ObjectKey a0)
1043 return _IMP_isd.Scale_remove_attribute(self, *args)
1045 def has_attribute(self, *args):
1047 has_attribute(Scale self, FloatKey a0) -> bool
1048 has_attribute(Scale self, IntKey a0) -> bool
1049 has_attribute(Scale self, StringKey a0) -> bool
1050 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1051 has_attribute(Scale self, ObjectKey a0) -> bool
1053 return _IMP_isd.Scale_has_attribute(self, *args)
1055 def get_derivative(self, *args):
1056 """get_derivative(Scale self, FloatKey a0) -> double"""
1057 return _IMP_isd.Scale_get_derivative(self, *args)
1060 """get_name(Scale self) -> std::string"""
1061 return _IMP_isd.Scale_get_name(self)
1063 def clear_caches(self):
1064 """clear_caches(Scale self)"""
1065 return _IMP_isd.Scale_clear_caches(self)
1067 def set_name(self, *args):
1068 """set_name(Scale self, std::string a0)"""
1069 return _IMP_isd.Scale_set_name(self, *args)
1072 """set_check_level(Scale self, IMP::base::CheckLevel a0)"""
1073 return _IMP_isd.Scale_set_check_level(self, *args)
1075 def add_to_derivative(self, *args):
1076 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1077 return _IMP_isd.Scale_add_to_derivative(self, *args)
1079 def set_is_optimized(self, *args):
1080 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1081 return _IMP_isd.Scale_set_is_optimized(self, *args)
1083 def get_is_optimized(self, *args):
1084 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1085 return _IMP_isd.Scale_get_is_optimized(self, *args)
1088 """get_check_level(Scale self) -> IMP::base::CheckLevel"""
1089 return _IMP_isd.Scale_get_check_level(self)
1091 def __eq__(self, *args):
1093 __eq__(Scale self, Scale o) -> bool
1094 __eq__(Scale self, Particle d) -> bool
1096 return _IMP_isd.Scale___eq__(self, *args)
1098 def __ne__(self, *args):
1100 __ne__(Scale self, Scale o) -> bool
1101 __ne__(Scale self, Particle d) -> bool
1103 return _IMP_isd.Scale___ne__(self, *args)
1105 def __le__(self, *args):
1107 __le__(Scale self, Scale o) -> bool
1108 __le__(Scale self, Particle d) -> bool
1110 return _IMP_isd.Scale___le__(self, *args)
1112 def __lt__(self, *args):
1114 __lt__(Scale self, Scale o) -> bool
1115 __lt__(Scale self, Particle d) -> bool
1117 return _IMP_isd.Scale___lt__(self, *args)
1119 def __ge__(self, *args):
1121 __ge__(Scale self, Scale o) -> bool
1122 __ge__(Scale self, Particle d) -> bool
1124 return _IMP_isd.Scale___ge__(self, *args)
1126 def __gt__(self, *args):
1128 __gt__(Scale self, Scale o) -> bool
1129 __gt__(Scale self, Particle d) -> bool
1131 return _IMP_isd.Scale___gt__(self, *args)
1134 """__str__(Scale self) -> std::string"""
1135 return _IMP_isd.Scale___str__(self)
1138 """__repr__(Scale self) -> std::string"""
1139 return _IMP_isd.Scale___repr__(self)
1141 __swig_destroy__ = _IMP_isd.delete_Scale
1142 __del__ =
lambda self :
None;
1143 Scale_swigregister = _IMP_isd.Scale_swigregister
1144 Scale_swigregister(Scale)
1146 def Scale_decorate_particle(*args):
1147 """Scale_decorate_particle(Particle p) -> Scale"""
1148 return _IMP_isd.Scale_decorate_particle(*args)
1150 def Scale_setup_particle(*args):
1152 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1153 setup_particle(_ParticleAdaptor decorator) -> Scale
1154 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1155 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1157 return _IMP_isd.Scale_setup_particle(*args)
1159 def Scale_get_is_setup(*args):
1161 get_is_setup(_ParticleAdaptor p) -> bool
1162 Scale_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1164 return _IMP_isd.Scale_get_is_setup(*args)
1166 def Scale_get_scale_key():
1167 """Scale_get_scale_key() -> FloatKey"""
1168 return _IMP_isd.Scale_get_scale_key()
1170 class Switching(Nuisance):
1171 """Proxy of C++ IMP::isd::Switching class"""
1172 __swig_setmethods__ = {}
1173 for _s
in [Nuisance]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1174 __setattr__ =
lambda self, name, value: _swig_setattr(self, Switching, name, value)
1175 __swig_getmethods__ = {}
1176 for _s
in [Nuisance]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1177 __getattr__ =
lambda self, name: _swig_getattr(self, Switching, name)
1178 def __init__(self, *args):
1180 __init__(IMP::isd::Switching self) -> Switching
1181 __init__(IMP::isd::Switching self, Model m, ::IMP::kernel::ParticleIndex id) -> Switching
1182 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1184 this = _IMP_isd.new_Switching(*args)
1185 try: self.this.append(this)
1186 except: self.this = this
1187 def decorate_particle(*args):
1188 """decorate_particle(Particle p) -> Switching"""
1189 return _IMP_isd.Switching_decorate_particle(*args)
1191 if _newclass:decorate_particle = staticmethod(decorate_particle)
1192 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1193 def show(self, *args):
1195 show(Switching self, _ostream out=std::cout)
1196 show(Switching self)
1198 return _IMP_isd.Switching_show(self, *args)
1200 def setup_particle(*args):
1202 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1203 setup_particle(_ParticleAdaptor decorator) -> Switching
1204 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1205 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1207 return _IMP_isd.Switching_setup_particle(*args)
1209 if _newclass:setup_particle = staticmethod(setup_particle)
1210 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1211 def get_is_setup(*args):
1213 get_is_setup(_ParticleAdaptor p) -> bool
1214 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1216 return _IMP_isd.Switching_get_is_setup(*args)
1218 if _newclass:get_is_setup = staticmethod(get_is_setup)
1219 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1220 def get_switching(self):
1221 """get_switching(Switching self) -> IMP::Float"""
1222 return _IMP_isd.Switching_get_switching(self)
1224 def set_switching(self, *args):
1225 """set_switching(Switching self, IMP::Float d)"""
1226 return _IMP_isd.Switching_set_switching(self, *args)
1228 def add_to_switching_derivative(self, *args):
1229 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1230 return _IMP_isd.Switching_add_to_switching_derivative(self, *args)
1232 def get_switching_derivative(self):
1233 """get_switching_derivative(Switching self) -> IMP::Float"""
1234 return _IMP_isd.Switching_get_switching_derivative(self)
1236 def get_switching_key():
1237 """get_switching_key() -> FloatKey"""
1238 return _IMP_isd.Switching_get_switching_key()
1240 if _newclass:get_switching_key = staticmethod(get_switching_key)
1241 __swig_getmethods__[
"get_switching_key"] =
lambda x: get_switching_key
1242 def get_switching_is_optimized(self):
1243 """get_switching_is_optimized(Switching self) -> bool"""
1244 return _IMP_isd.Switching_get_switching_is_optimized(self)
1246 def set_switching_is_optimized(self, *args):
1247 """set_switching_is_optimized(Switching self, bool val)"""
1248 return _IMP_isd.Switching_set_switching_is_optimized(self, *args)
1250 def add_attribute(self, *args):
1252 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1253 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1254 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1255 add_attribute(Switching self, StringKey a0, IMP::String a1)
1256 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1257 add_attribute(Switching self, ObjectKey a0, Object a1)
1259 return _IMP_isd.Switching_add_attribute(self, *args)
1261 def get_value(self, *args):
1263 get_value(Switching self, FloatKey a0) -> IMP::Float
1264 get_value(Switching self, IntKey a0) -> IMP::Int
1265 get_value(Switching self, StringKey a0) -> IMP::String
1266 get_value(Switching self, ParticleIndexKey a0) -> Particle
1267 get_value(Switching self, ObjectKey a0) -> Object
1269 return _IMP_isd.Switching_get_value(self, *args)
1271 def set_value(self, *args):
1273 set_value(Switching self, FloatKey a0, IMP::Float a1)
1274 set_value(Switching self, IntKey a0, IMP::Int a1)
1275 set_value(Switching self, StringKey a0, IMP::String a1)
1276 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1277 set_value(Switching self, ObjectKey a0, Object a1)
1279 return _IMP_isd.Switching_set_value(self, *args)
1281 def remove_attribute(self, *args):
1283 remove_attribute(Switching self, FloatKey a0)
1284 remove_attribute(Switching self, IntKey a0)
1285 remove_attribute(Switching self, StringKey a0)
1286 remove_attribute(Switching self, ParticleIndexKey a0)
1287 remove_attribute(Switching self, ObjectKey a0)
1289 return _IMP_isd.Switching_remove_attribute(self, *args)
1291 def has_attribute(self, *args):
1293 has_attribute(Switching self, FloatKey a0) -> bool
1294 has_attribute(Switching self, IntKey a0) -> bool
1295 has_attribute(Switching self, StringKey a0) -> bool
1296 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1297 has_attribute(Switching self, ObjectKey a0) -> bool
1299 return _IMP_isd.Switching_has_attribute(self, *args)
1301 def get_derivative(self, *args):
1302 """get_derivative(Switching self, FloatKey a0) -> double"""
1303 return _IMP_isd.Switching_get_derivative(self, *args)
1306 """get_name(Switching self) -> std::string"""
1307 return _IMP_isd.Switching_get_name(self)
1309 def clear_caches(self):
1310 """clear_caches(Switching self)"""
1311 return _IMP_isd.Switching_clear_caches(self)
1313 def set_name(self, *args):
1314 """set_name(Switching self, std::string a0)"""
1315 return _IMP_isd.Switching_set_name(self, *args)
1318 """set_check_level(Switching self, IMP::base::CheckLevel a0)"""
1319 return _IMP_isd.Switching_set_check_level(self, *args)
1321 def add_to_derivative(self, *args):
1322 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1323 return _IMP_isd.Switching_add_to_derivative(self, *args)
1325 def set_is_optimized(self, *args):
1326 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1327 return _IMP_isd.Switching_set_is_optimized(self, *args)
1329 def get_is_optimized(self, *args):
1330 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1331 return _IMP_isd.Switching_get_is_optimized(self, *args)
1334 """get_check_level(Switching self) -> IMP::base::CheckLevel"""
1335 return _IMP_isd.Switching_get_check_level(self)
1337 def __eq__(self, *args):
1339 __eq__(Switching self, Switching o) -> bool
1340 __eq__(Switching self, Particle d) -> bool
1342 return _IMP_isd.Switching___eq__(self, *args)
1344 def __ne__(self, *args):
1346 __ne__(Switching self, Switching o) -> bool
1347 __ne__(Switching self, Particle d) -> bool
1349 return _IMP_isd.Switching___ne__(self, *args)
1351 def __le__(self, *args):
1353 __le__(Switching self, Switching o) -> bool
1354 __le__(Switching self, Particle d) -> bool
1356 return _IMP_isd.Switching___le__(self, *args)
1358 def __lt__(self, *args):
1360 __lt__(Switching self, Switching o) -> bool
1361 __lt__(Switching self, Particle d) -> bool
1363 return _IMP_isd.Switching___lt__(self, *args)
1365 def __ge__(self, *args):
1367 __ge__(Switching self, Switching o) -> bool
1368 __ge__(Switching self, Particle d) -> bool
1370 return _IMP_isd.Switching___ge__(self, *args)
1372 def __gt__(self, *args):
1374 __gt__(Switching self, Switching o) -> bool
1375 __gt__(Switching self, Particle d) -> bool
1377 return _IMP_isd.Switching___gt__(self, *args)
1380 """__str__(Switching self) -> std::string"""
1381 return _IMP_isd.Switching___str__(self)
1384 """__repr__(Switching self) -> std::string"""
1385 return _IMP_isd.Switching___repr__(self)
1387 __swig_destroy__ = _IMP_isd.delete_Switching
1388 __del__ =
lambda self :
None;
1389 Switching_swigregister = _IMP_isd.Switching_swigregister
1390 Switching_swigregister(Switching)
1392 def Switching_decorate_particle(*args):
1393 """Switching_decorate_particle(Particle p) -> Switching"""
1394 return _IMP_isd.Switching_decorate_particle(*args)
1396 def Switching_setup_particle(*args):
1398 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1399 setup_particle(_ParticleAdaptor decorator) -> Switching
1400 setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1401 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1403 return _IMP_isd.Switching_setup_particle(*args)
1405 def Switching_get_is_setup(*args):
1407 get_is_setup(_ParticleAdaptor p) -> bool
1408 Switching_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1410 return _IMP_isd.Switching_get_is_setup(*args)
1412 def Switching_get_switching_key():
1413 """Switching_get_switching_key() -> FloatKey"""
1414 return _IMP_isd.Switching_get_switching_key()
1417 def __lshift__(*args):
1419 __lshift__(_ostream out, Nuisance n) -> _ostream
1420 __lshift__(_ostream out, Scale n) -> _ostream
1421 __lshift__(_ostream out, Switching n) -> _ostream
1423 return _IMP_isd.__lshift__(*args)
1425 """Proxy of C++ IMP::isd::Weight class"""
1426 __swig_setmethods__ = {}
1427 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1428 __setattr__ =
lambda self, name, value: _swig_setattr(self, Weight, name, value)
1429 __swig_getmethods__ = {}
1430 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1431 __getattr__ =
lambda self, name: _swig_getattr(self, Weight, name)
1432 def __init__(self, *args):
1434 __init__(IMP::isd::Weight self) -> Weight
1435 __init__(IMP::isd::Weight self, Model m, ::IMP::kernel::ParticleIndex id) -> Weight
1436 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1438 this = _IMP_isd.new_Weight(*args)
1439 try: self.this.append(this)
1440 except: self.this = this
1441 def decorate_particle(*args):
1442 """decorate_particle(Particle p) -> Weight"""
1443 return _IMP_isd.Weight_decorate_particle(*args)
1445 if _newclass:decorate_particle = staticmethod(decorate_particle)
1446 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1447 def show(self, *args):
1449 show(Weight self, _ostream out=std::cout)
1452 return _IMP_isd.Weight_show(self, *args)
1454 def setup_particle(*args):
1456 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1457 setup_particle(_ParticleAdaptor decorator) -> Weight
1459 return _IMP_isd.Weight_setup_particle(*args)
1461 if _newclass:setup_particle = staticmethod(setup_particle)
1462 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1463 def get_nstates_key():
1464 """get_nstates_key() -> IntKey"""
1465 return _IMP_isd.Weight_get_nstates_key()
1467 if _newclass:get_nstates_key = staticmethod(get_nstates_key)
1468 __swig_getmethods__[
"get_nstates_key"] =
lambda x: get_nstates_key
1469 def get_weight_key(*args):
1470 """get_weight_key(int i) -> FloatKey"""
1471 return _IMP_isd.Weight_get_weight_key(*args)
1473 if _newclass:get_weight_key = staticmethod(get_weight_key)
1474 __swig_getmethods__[
"get_weight_key"] =
lambda x: get_weight_key
1475 def set_weights(self, *args):
1476 """set_weights(Weight self, VectorKD w)"""
1477 return _IMP_isd.Weight_set_weights(self, *args)
1479 def add_weight(self):
1480 """add_weight(Weight self)"""
1481 return _IMP_isd.Weight_add_weight(self)
1483 def get_weight(self, *args):
1484 """get_weight(Weight self, int i) -> IMP::Float"""
1485 return _IMP_isd.Weight_get_weight(self, *args)
1487 def get_weights(self):
1488 """get_weights(Weight self) -> VectorKD"""
1489 return _IMP_isd.Weight_get_weights(self)
1491 def set_weights_are_optimized(self, *args):
1492 """set_weights_are_optimized(Weight self, bool tf)"""
1493 return _IMP_isd.Weight_set_weights_are_optimized(self, *args)
1495 def get_number_of_states(self):
1496 """get_number_of_states(Weight self) -> IMP::Int"""
1497 return _IMP_isd.Weight_get_number_of_states(self)
1499 def get_is_setup(*args):
1501 get_is_setup(_ParticleAdaptor p) -> bool
1502 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1504 return _IMP_isd.Weight_get_is_setup(*args)
1506 if _newclass:get_is_setup = staticmethod(get_is_setup)
1507 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1508 def add_attribute(self, *args):
1510 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
1511 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
1512 add_attribute(Weight self, IntKey a0, IMP::Int a1)
1513 add_attribute(Weight self, StringKey a0, IMP::String a1)
1514 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
1515 add_attribute(Weight self, ObjectKey a0, Object a1)
1517 return _IMP_isd.Weight_add_attribute(self, *args)
1519 def get_value(self, *args):
1521 get_value(Weight self, FloatKey a0) -> IMP::Float
1522 get_value(Weight self, IntKey a0) -> IMP::Int
1523 get_value(Weight self, StringKey a0) -> IMP::String
1524 get_value(Weight self, ParticleIndexKey a0) -> Particle
1525 get_value(Weight self, ObjectKey a0) -> Object
1527 return _IMP_isd.Weight_get_value(self, *args)
1529 def set_value(self, *args):
1531 set_value(Weight self, FloatKey a0, IMP::Float a1)
1532 set_value(Weight self, IntKey a0, IMP::Int a1)
1533 set_value(Weight self, StringKey a0, IMP::String a1)
1534 set_value(Weight self, ParticleIndexKey a0, Particle a1)
1535 set_value(Weight self, ObjectKey a0, Object a1)
1537 return _IMP_isd.Weight_set_value(self, *args)
1539 def remove_attribute(self, *args):
1541 remove_attribute(Weight self, FloatKey a0)
1542 remove_attribute(Weight self, IntKey a0)
1543 remove_attribute(Weight self, StringKey a0)
1544 remove_attribute(Weight self, ParticleIndexKey a0)
1545 remove_attribute(Weight self, ObjectKey a0)
1547 return _IMP_isd.Weight_remove_attribute(self, *args)
1549 def has_attribute(self, *args):
1551 has_attribute(Weight self, FloatKey a0) -> bool
1552 has_attribute(Weight self, IntKey a0) -> bool
1553 has_attribute(Weight self, StringKey a0) -> bool
1554 has_attribute(Weight self, ParticleIndexKey a0) -> bool
1555 has_attribute(Weight self, ObjectKey a0) -> bool
1557 return _IMP_isd.Weight_has_attribute(self, *args)
1559 def get_derivative(self, *args):
1560 """get_derivative(Weight self, FloatKey a0) -> double"""
1561 return _IMP_isd.Weight_get_derivative(self, *args)
1564 """get_name(Weight self) -> std::string"""
1565 return _IMP_isd.Weight_get_name(self)
1567 def clear_caches(self):
1568 """clear_caches(Weight self)"""
1569 return _IMP_isd.Weight_clear_caches(self)
1571 def set_name(self, *args):
1572 """set_name(Weight self, std::string a0)"""
1573 return _IMP_isd.Weight_set_name(self, *args)
1576 """set_check_level(Weight self, IMP::base::CheckLevel a0)"""
1577 return _IMP_isd.Weight_set_check_level(self, *args)
1579 def add_to_derivative(self, *args):
1580 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1581 return _IMP_isd.Weight_add_to_derivative(self, *args)
1583 def set_is_optimized(self, *args):
1584 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
1585 return _IMP_isd.Weight_set_is_optimized(self, *args)
1587 def get_is_optimized(self, *args):
1588 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
1589 return _IMP_isd.Weight_get_is_optimized(self, *args)
1592 """get_check_level(Weight self) -> IMP::base::CheckLevel"""
1593 return _IMP_isd.Weight_get_check_level(self)
1595 def __eq__(self, *args):
1597 __eq__(Weight self, Weight o) -> bool
1598 __eq__(Weight self, Particle d) -> bool
1600 return _IMP_isd.Weight___eq__(self, *args)
1602 def __ne__(self, *args):
1604 __ne__(Weight self, Weight o) -> bool
1605 __ne__(Weight self, Particle d) -> bool
1607 return _IMP_isd.Weight___ne__(self, *args)
1609 def __le__(self, *args):
1611 __le__(Weight self, Weight o) -> bool
1612 __le__(Weight self, Particle d) -> bool
1614 return _IMP_isd.Weight___le__(self, *args)
1616 def __lt__(self, *args):
1618 __lt__(Weight self, Weight o) -> bool
1619 __lt__(Weight self, Particle d) -> bool
1621 return _IMP_isd.Weight___lt__(self, *args)
1623 def __ge__(self, *args):
1625 __ge__(Weight self, Weight o) -> bool
1626 __ge__(Weight self, Particle d) -> bool
1628 return _IMP_isd.Weight___ge__(self, *args)
1630 def __gt__(self, *args):
1632 __gt__(Weight self, Weight o) -> bool
1633 __gt__(Weight self, Particle d) -> bool
1635 return _IMP_isd.Weight___gt__(self, *args)
1638 """__str__(Weight self) -> std::string"""
1639 return _IMP_isd.Weight___str__(self)
1642 """__repr__(Weight self) -> std::string"""
1643 return _IMP_isd.Weight___repr__(self)
1645 __swig_destroy__ = _IMP_isd.delete_Weight
1646 __del__ =
lambda self :
None;
1647 Weight_swigregister = _IMP_isd.Weight_swigregister
1648 Weight_swigregister(Weight)
1650 def Weight_decorate_particle(*args):
1651 """Weight_decorate_particle(Particle p) -> Weight"""
1652 return _IMP_isd.Weight_decorate_particle(*args)
1654 def Weight_setup_particle(*args):
1656 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1657 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
1659 return _IMP_isd.Weight_setup_particle(*args)
1661 def Weight_get_nstates_key():
1662 """Weight_get_nstates_key() -> IntKey"""
1663 return _IMP_isd.Weight_get_nstates_key()
1665 def Weight_get_weight_key(*args):
1666 """Weight_get_weight_key(int i) -> FloatKey"""
1667 return _IMP_isd.Weight_get_weight_key(*args)
1669 def Weight_get_is_setup(*args):
1671 get_is_setup(_ParticleAdaptor p) -> bool
1672 Weight_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1674 return _IMP_isd.Weight_get_is_setup(*args)
1677 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
1678 __swig_setmethods__ = {}
1679 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1680 __setattr__ =
lambda self, name, value: _swig_setattr(self, JeffreysRestraint, name, value)
1681 __swig_getmethods__ = {}
1682 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1683 __getattr__ =
lambda self, name: _swig_getattr(self, JeffreysRestraint, name)
1684 def __init__(self, *args):
1685 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
1686 this = _IMP_isd.new_JeffreysRestraint(*args)
1687 try: self.this.append(this)
1688 except: self.this = this
1689 def do_get_inputs(self):
1690 """do_get_inputs(JeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1691 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
1693 def get_version_info(self):
1694 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
1695 return _IMP_isd.JeffreysRestraint_get_version_info(self)
1697 def get_probability(self):
1698 """get_probability(JeffreysRestraint self) -> double"""
1699 return _IMP_isd.JeffreysRestraint_get_probability(self)
1702 """__str__(JeffreysRestraint self) -> std::string"""
1703 return _IMP_isd.JeffreysRestraint___str__(self)
1706 """__repr__(JeffreysRestraint self) -> std::string"""
1707 return _IMP_isd.JeffreysRestraint___repr__(self)
1710 return _object_cast_to_JeffreysRestraint(o)
1711 get_from = staticmethod(get_from)
1713 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
1714 JeffreysRestraint_swigregister(JeffreysRestraint)
1717 """Proxy of C++ IMP::isd::FNormal class"""
1718 __swig_setmethods__ = {}
1719 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1720 __setattr__ =
lambda self, name, value: _swig_setattr(self, FNormal, name, value)
1721 __swig_getmethods__ = {}
1722 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1723 __getattr__ =
lambda self, name: _swig_getattr(self, FNormal, name)
1724 def __init__(self, *args):
1725 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
1726 this = _IMP_isd.new_FNormal(*args)
1727 try: self.this.append(this)
1728 except: self.this = this
1730 """evaluate(FNormal self) -> double"""
1731 return _IMP_isd.FNormal_evaluate(self)
1733 def evaluate_derivative_FA(self):
1734 """evaluate_derivative_FA(FNormal self) -> double"""
1735 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
1737 def evaluate_derivative_JA(self):
1738 """evaluate_derivative_JA(FNormal self) -> double"""
1739 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
1741 def evaluate_derivative_FM(self):
1742 """evaluate_derivative_FM(FNormal self) -> double"""
1743 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
1745 def evaluate_derivative_sigma(self):
1746 """evaluate_derivative_sigma(FNormal self) -> double"""
1747 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
1750 """density(FNormal self) -> double"""
1751 return _IMP_isd.FNormal_density(self)
1753 def set_FA(self, *args):
1754 """set_FA(FNormal self, double f)"""
1755 return _IMP_isd.FNormal_set_FA(self, *args)
1757 def set_JA(self, *args):
1758 """set_JA(FNormal self, double f)"""
1759 return _IMP_isd.FNormal_set_JA(self, *args)
1761 def set_FM(self, *args):
1762 """set_FM(FNormal self, double f)"""
1763 return _IMP_isd.FNormal_set_FM(self, *args)
1765 def set_sigma(self, *args):
1766 """set_sigma(FNormal self, double f)"""
1767 return _IMP_isd.FNormal_set_sigma(self, *args)
1769 def get_version_info(self):
1770 """get_version_info(FNormal self) -> VersionInfo"""
1771 return _IMP_isd.FNormal_get_version_info(self)
1774 """__str__(FNormal self) -> std::string"""
1775 return _IMP_isd.FNormal___str__(self)
1778 """__repr__(FNormal self) -> std::string"""
1779 return _IMP_isd.FNormal___repr__(self)
1782 return _object_cast_to_FNormal(o)
1783 get_from = staticmethod(get_from)
1785 FNormal_swigregister = _IMP_isd.FNormal_swigregister
1786 FNormal_swigregister(FNormal)
1789 """Proxy of C++ IMP::isd::vonMises class"""
1790 __swig_setmethods__ = {}
1791 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1792 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMises, name, value)
1793 __swig_getmethods__ = {}
1794 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1795 __getattr__ =
lambda self, name: _swig_getattr(self, vonMises, name)
1796 def __init__(self, *args):
1797 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
1798 this = _IMP_isd.new_vonMises(*args)
1799 try: self.this.append(this)
1800 except: self.this = this
1802 """evaluate(vonMises self) -> double"""
1803 return _IMP_isd.vonMises_evaluate(self)
1805 def evaluate_derivative_x(self):
1806 """evaluate_derivative_x(vonMises self) -> double"""
1807 return _IMP_isd.vonMises_evaluate_derivative_x(self)
1809 def evaluate_derivative_mu(self):
1810 """evaluate_derivative_mu(vonMises self) -> double"""
1811 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
1813 def evaluate_derivative_kappa(self):
1814 """evaluate_derivative_kappa(vonMises self) -> double"""
1815 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
1818 """density(vonMises self) -> double"""
1819 return _IMP_isd.vonMises_density(self)
1821 def set_x(self, *args):
1822 """set_x(vonMises self, double x)"""
1823 return _IMP_isd.vonMises_set_x(self, *args)
1825 def set_mu(self, *args):
1826 """set_mu(vonMises self, double mu)"""
1827 return _IMP_isd.vonMises_set_mu(self, *args)
1829 def set_kappa(self, *args):
1830 """set_kappa(vonMises self, double kappa)"""
1831 return _IMP_isd.vonMises_set_kappa(self, *args)
1833 def get_version_info(self):
1834 """get_version_info(vonMises self) -> VersionInfo"""
1835 return _IMP_isd.vonMises_get_version_info(self)
1838 """__str__(vonMises self) -> std::string"""
1839 return _IMP_isd.vonMises___str__(self)
1842 """__repr__(vonMises self) -> std::string"""
1843 return _IMP_isd.vonMises___repr__(self)
1846 return _object_cast_to_vonMises(o)
1847 get_from = staticmethod(get_from)
1849 vonMises_swigregister = _IMP_isd.vonMises_swigregister
1850 vonMises_swigregister(vonMises)
1853 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
1854 __swig_setmethods__ = {}
1855 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1856 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesSufficient, name, value)
1857 __swig_getmethods__ = {}
1858 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1859 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesSufficient, name)
1860 def __init__(self, *args):
1862 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
1863 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
1865 this = _IMP_isd.new_vonMisesSufficient(*args)
1866 try: self.this.append(this)
1867 except: self.this = this
1869 """evaluate(vonMisesSufficient self) -> double"""
1870 return _IMP_isd.vonMisesSufficient_evaluate(self)
1872 def evaluate_derivative_x(self):
1873 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
1874 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
1876 def evaluate_derivative_kappa(self):
1877 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
1878 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
1881 """density(vonMisesSufficient self) -> double"""
1882 return _IMP_isd.vonMisesSufficient_density(self)
1885 """get_x(vonMisesSufficient self) -> double"""
1886 return _IMP_isd.vonMisesSufficient_get_x(self)
1889 """get_R0(vonMisesSufficient self) -> double"""
1890 return _IMP_isd.vonMisesSufficient_get_R0(self)
1892 def get_chiexp(self):
1893 """get_chiexp(vonMisesSufficient self) -> double"""
1894 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
1897 """get_N(vonMisesSufficient self) -> double"""
1898 return _IMP_isd.vonMisesSufficient_get_N(self)
1900 def get_kappa(self):
1901 """get_kappa(vonMisesSufficient self) -> double"""
1902 return _IMP_isd.vonMisesSufficient_get_kappa(self)
1904 def set_x(self, *args):
1905 """set_x(vonMisesSufficient self, double x)"""
1906 return _IMP_isd.vonMisesSufficient_set_x(self, *args)
1908 def set_R0(self, *args):
1909 """set_R0(vonMisesSufficient self, double R0)"""
1910 return _IMP_isd.vonMisesSufficient_set_R0(self, *args)
1912 def set_chiexp(self, *args):
1913 """set_chiexp(vonMisesSufficient self, double chiexp)"""
1914 return _IMP_isd.vonMisesSufficient_set_chiexp(self, *args)
1916 def set_N(self, *args):
1917 """set_N(vonMisesSufficient self, unsigned int N)"""
1918 return _IMP_isd.vonMisesSufficient_set_N(self, *args)
1920 def set_kappa(self, *args):
1921 """set_kappa(vonMisesSufficient self, double kappa)"""
1922 return _IMP_isd.vonMisesSufficient_set_kappa(self, *args)
1924 def get_sufficient_statistics(*args):
1925 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
1926 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
1928 if _newclass:get_sufficient_statistics = staticmethod(get_sufficient_statistics)
1929 __swig_getmethods__[
"get_sufficient_statistics"] =
lambda x: get_sufficient_statistics
1930 def get_version_info(self):
1931 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
1932 return _IMP_isd.vonMisesSufficient_get_version_info(self)
1935 """__str__(vonMisesSufficient self) -> std::string"""
1936 return _IMP_isd.vonMisesSufficient___str__(self)
1939 """__repr__(vonMisesSufficient self) -> std::string"""
1940 return _IMP_isd.vonMisesSufficient___repr__(self)
1943 return _object_cast_to_vonMisesSufficient(o)
1944 get_from = staticmethod(get_from)
1946 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
1947 vonMisesSufficient_swigregister(vonMisesSufficient)
1949 def vonMisesSufficient_get_sufficient_statistics(*args):
1950 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
1951 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
1954 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
1955 __swig_setmethods__ = {}
1956 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1957 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesKappaJeffreysRestraint, name, value)
1958 __swig_getmethods__ = {}
1959 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1960 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesKappaJeffreysRestraint, name)
1961 def __init__(self, *args):
1962 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
1963 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(*args)
1964 try: self.this.append(this)
1965 except: self.this = this
1966 def do_get_inputs(self):
1967 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1968 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
1970 def get_version_info(self):
1971 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
1972 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
1974 def get_probability(self):
1975 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
1976 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
1979 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
1980 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
1983 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
1984 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
1987 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
1988 get_from = staticmethod(get_from)
1990 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
1991 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
1994 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
1995 __swig_setmethods__ = {}
1996 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1997 __setattr__ =
lambda self, name, value: _swig_setattr(self, vonMisesKappaConjugateRestraint, name, value)
1998 __swig_getmethods__ = {}
1999 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2000 __getattr__ =
lambda self, name: _swig_getattr(self, vonMisesKappaConjugateRestraint, name)
2001 def __init__(self, *args):
2003 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2004 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2005 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2007 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(*args)
2008 try: self.this.append(this)
2009 except: self.this = this
2010 def do_get_inputs(self):
2011 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2012 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2014 def get_version_info(self):
2015 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2016 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2018 def get_probability(self):
2019 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2020 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2023 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2024 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2027 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2028 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2031 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2032 get_from = staticmethod(get_from)
2034 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2035 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2038 """Proxy of C++ IMP::isd::NOERestraint class"""
2039 __swig_setmethods__ = {}
2040 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2041 __setattr__ =
lambda self, name, value: _swig_setattr(self, NOERestraint, name, value)
2042 __swig_getmethods__ = {}
2043 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2044 __getattr__ =
lambda self, name: _swig_getattr(self, NOERestraint, name)
2045 def __init__(self, *args):
2046 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2047 this = _IMP_isd.new_NOERestraint(*args)
2048 try: self.this.append(this)
2049 except: self.this = this
2050 def get_probability(self):
2051 """get_probability(NOERestraint self) -> double"""
2052 return _IMP_isd.NOERestraint_get_probability(self)
2055 """get_chi(NOERestraint self) -> double"""
2056 return _IMP_isd.NOERestraint_get_chi(self)
2058 def do_get_inputs(self):
2059 """do_get_inputs(NOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2060 return _IMP_isd.NOERestraint_do_get_inputs(self)
2062 def get_version_info(self):
2063 """get_version_info(NOERestraint self) -> VersionInfo"""
2064 return _IMP_isd.NOERestraint_get_version_info(self)
2067 """__str__(NOERestraint self) -> std::string"""
2068 return _IMP_isd.NOERestraint___str__(self)
2071 """__repr__(NOERestraint self) -> std::string"""
2072 return _IMP_isd.NOERestraint___repr__(self)
2075 return _object_cast_to_NOERestraint(o)
2076 get_from = staticmethod(get_from)
2078 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2079 NOERestraint_swigregister(NOERestraint)
2082 """Proxy of C++ IMP::isd::GaussianRestraint class"""
2083 __swig_setmethods__ = {}
2084 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2085 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianRestraint, name, value)
2086 __swig_getmethods__ = {}
2087 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2088 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianRestraint, name)
2089 def __init__(self, *args):
2091 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2092 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2093 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2094 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2095 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2096 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2097 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2099 this = _IMP_isd.new_GaussianRestraint(*args)
2100 try: self.this.append(this)
2101 except: self.this = this
2102 def get_probability(self):
2103 """get_probability(GaussianRestraint self) -> double"""
2104 return _IMP_isd.GaussianRestraint_get_probability(self)
2107 """get_chi(GaussianRestraint self) -> double"""
2108 return _IMP_isd.GaussianRestraint_get_chi(self)
2110 def do_get_inputs(self):
2111 """do_get_inputs(GaussianRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2112 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2114 def get_version_info(self):
2115 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2116 return _IMP_isd.GaussianRestraint_get_version_info(self)
2119 """__str__(GaussianRestraint self) -> std::string"""
2120 return _IMP_isd.GaussianRestraint___str__(self)
2123 """__repr__(GaussianRestraint self) -> std::string"""
2124 return _IMP_isd.GaussianRestraint___repr__(self)
2127 return _object_cast_to_GaussianRestraint(o)
2128 get_from = staticmethod(get_from)
2130 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2131 GaussianRestraint_swigregister(GaussianRestraint)
2134 """Proxy of C++ IMP::isd::LognormalRestraint class"""
2135 __swig_setmethods__ = {}
2136 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2137 __setattr__ =
lambda self, name, value: _swig_setattr(self, LognormalRestraint, name, value)
2138 __swig_getmethods__ = {}
2139 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2140 __getattr__ =
lambda self, name: _swig_getattr(self, LognormalRestraint, name)
2141 def __init__(self, *args):
2143 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2144 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2145 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2146 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2147 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2148 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2149 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2151 this = _IMP_isd.new_LognormalRestraint(*args)
2152 try: self.this.append(this)
2153 except: self.this = this
2154 def get_probability(self):
2155 """get_probability(LognormalRestraint self) -> double"""
2156 return _IMP_isd.LognormalRestraint_get_probability(self)
2159 """get_chi(LognormalRestraint self) -> double"""
2160 return _IMP_isd.LognormalRestraint_get_chi(self)
2162 def do_get_inputs(self):
2163 """do_get_inputs(LognormalRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2164 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2166 def get_version_info(self):
2167 """get_version_info(LognormalRestraint self) -> VersionInfo"""
2168 return _IMP_isd.LognormalRestraint_get_version_info(self)
2171 """__str__(LognormalRestraint self) -> std::string"""
2172 return _IMP_isd.LognormalRestraint___str__(self)
2175 """__repr__(LognormalRestraint self) -> std::string"""
2176 return _IMP_isd.LognormalRestraint___repr__(self)
2179 return _object_cast_to_LognormalRestraint(o)
2180 get_from = staticmethod(get_from)
2182 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2183 LognormalRestraint_swigregister(LognormalRestraint)
2186 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2187 __swig_setmethods__ = {}
2188 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2189 __setattr__ =
lambda self, name, value: _swig_setattr(self, AmbiguousNOERestraint, name, value)
2190 __swig_getmethods__ = {}
2191 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2192 __getattr__ =
lambda self, name: _swig_getattr(self, AmbiguousNOERestraint, name)
2193 def __init__(self, *args):
2194 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, Particle sigma, Particle gamma, double Iexp) -> AmbiguousNOERestraint"""
2195 this = _IMP_isd.new_AmbiguousNOERestraint(*args)
2196 try: self.this.append(this)
2197 except: self.this = this
2198 def get_probability(self):
2199 """get_probability(AmbiguousNOERestraint self) -> double"""
2200 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2203 """get_chi(AmbiguousNOERestraint self) -> double"""
2204 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2206 def do_get_inputs(self):
2207 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2208 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2210 def get_version_info(self):
2211 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2212 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2215 """__str__(AmbiguousNOERestraint self) -> std::string"""
2216 return _IMP_isd.AmbiguousNOERestraint___str__(self)
2219 """__repr__(AmbiguousNOERestraint self) -> std::string"""
2220 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2223 return _object_cast_to_AmbiguousNOERestraint(o)
2224 get_from = staticmethod(get_from)
2226 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2227 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2230 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2231 __swig_setmethods__ = {}
2232 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2233 __setattr__ =
lambda self, name, value: _swig_setattr(self, MarginalNOERestraint, name, value)
2234 __swig_getmethods__ = {}
2235 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2236 __getattr__ =
lambda self, name: _swig_getattr(self, MarginalNOERestraint, name)
2237 def __init__(self, *args):
2238 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2239 this = _IMP_isd.new_MarginalNOERestraint(*args)
2240 try: self.this.append(this)
2241 except: self.this = this
2242 def add_contribution(self, *args):
2244 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2245 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2247 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2249 def get_log_gammahat(self):
2250 """get_log_gammahat(MarginalNOERestraint self) -> double"""
2251 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2254 """get_SS(MarginalNOERestraint self) -> double"""
2255 return _IMP_isd.MarginalNOERestraint_get_SS(self)
2257 def get_number_of_contributions(self):
2258 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2259 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2261 def get_probability(self):
2262 """get_probability(MarginalNOERestraint self) -> double"""
2263 return _IMP_isd.MarginalNOERestraint_get_probability(self)
2265 def do_get_inputs(self):
2266 """do_get_inputs(MarginalNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2267 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2269 def get_version_info(self):
2270 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2271 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2274 """__str__(MarginalNOERestraint self) -> std::string"""
2275 return _IMP_isd.MarginalNOERestraint___str__(self)
2278 """__repr__(MarginalNOERestraint self) -> std::string"""
2279 return _IMP_isd.MarginalNOERestraint___repr__(self)
2282 return _object_cast_to_MarginalNOERestraint(o)
2283 get_from = staticmethod(get_from)
2285 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
2286 MarginalNOERestraint_swigregister(MarginalNOERestraint)
2289 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
2290 __swig_setmethods__ = {}
2291 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2292 __setattr__ =
lambda self, name, value: _swig_setattr(self, MarginalHBondRestraint, name, value)
2293 __swig_getmethods__ = {}
2294 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2295 __getattr__ =
lambda self, name: _swig_getattr(self, MarginalHBondRestraint, name)
2296 def __init__(self, *args):
2297 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
2298 this = _IMP_isd.new_MarginalHBondRestraint(*args)
2299 try: self.this.append(this)
2300 except: self.this = this
2301 def add_contribution(self, *args):
2303 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
2304 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
2306 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
2308 def get_logsquares(self):
2309 """get_logsquares(MarginalHBondRestraint self) -> double"""
2310 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
2312 def get_number_of_contributions(self):
2313 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
2314 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
2316 def get_probability(self):
2317 """get_probability(MarginalHBondRestraint self) -> double"""
2318 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
2320 def do_get_inputs(self):
2321 """do_get_inputs(MarginalHBondRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2322 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
2324 def get_version_info(self):
2325 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
2326 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
2329 """__str__(MarginalHBondRestraint self) -> std::string"""
2330 return _IMP_isd.MarginalHBondRestraint___str__(self)
2333 """__repr__(MarginalHBondRestraint self) -> std::string"""
2334 return _IMP_isd.MarginalHBondRestraint___repr__(self)
2337 return _object_cast_to_MarginalHBondRestraint(o)
2338 get_from = staticmethod(get_from)
2340 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
2341 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
2344 """Proxy of C++ IMP::isd::TALOSRestraint class"""
2345 __swig_setmethods__ = {}
2346 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2347 __setattr__ =
lambda self, name, value: _swig_setattr(self, TALOSRestraint, name, value)
2348 __swig_getmethods__ = {}
2349 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2350 __getattr__ =
lambda self, name: _swig_getattr(self, TALOSRestraint, name)
2351 def __init__(self, *args):
2353 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
2354 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
2355 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
2356 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0,
2357 double chiexp, Particle kappa) -> TALOSRestraint
2359 this = _IMP_isd.new_TALOSRestraint(*args)
2360 try: self.this.append(this)
2361 except: self.this = this
2362 def get_probability(self):
2363 """get_probability(TALOSRestraint self) -> double"""
2364 return _IMP_isd.TALOSRestraint_get_probability(self)
2367 """get_R0(TALOSRestraint self) -> double"""
2368 return _IMP_isd.TALOSRestraint_get_R0(self)
2370 def get_chiexp(self):
2371 """get_chiexp(TALOSRestraint self) -> double"""
2372 return _IMP_isd.TALOSRestraint_get_chiexp(self)
2374 def do_get_inputs(self):
2375 """do_get_inputs(TALOSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2376 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
2378 def get_version_info(self):
2379 """get_version_info(TALOSRestraint self) -> VersionInfo"""
2380 return _IMP_isd.TALOSRestraint_get_version_info(self)
2383 """__str__(TALOSRestraint self) -> std::string"""
2384 return _IMP_isd.TALOSRestraint___str__(self)
2387 """__repr__(TALOSRestraint self) -> std::string"""
2388 return _IMP_isd.TALOSRestraint___repr__(self)
2391 return _object_cast_to_TALOSRestraint(o)
2392 get_from = staticmethod(get_from)
2394 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
2395 TALOSRestraint_swigregister(TALOSRestraint)
2398 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
2399 __swig_setmethods__ = {}
2400 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2401 __setattr__ =
lambda self, name, value: _swig_setattr(self, RepulsiveDistancePairScore, name, value)
2402 __swig_getmethods__ = {}
2403 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2404 __getattr__ =
lambda self, name: _swig_getattr(self, RepulsiveDistancePairScore, name)
2405 def __init__(self, *args):
2406 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
2407 this = _IMP_isd.new_RepulsiveDistancePairScore(*args)
2408 try: self.this.append(this)
2409 except: self.this = this
2410 def get_rest_length(self):
2411 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
2412 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
2414 def get_stiffness(self):
2415 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
2416 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
2418 def do_get_inputs(self, *args):
2419 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2420 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, *args)
2422 def get_version_info(self):
2423 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
2424 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
2427 """__str__(RepulsiveDistancePairScore self) -> std::string"""
2428 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
2431 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
2432 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
2435 return _object_cast_to_RepulsiveDistancePairScore(o)
2436 get_from = staticmethod(get_from)
2438 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
2439 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
2442 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
2443 __swig_setmethods__ = {}
2444 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2445 __setattr__ =
lambda self, name, value: _swig_setattr(self, AmbiguousRestraint, name, value)
2446 __swig_getmethods__ = {}
2447 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2448 __getattr__ =
lambda self, name: _swig_getattr(self, AmbiguousRestraint, name)
2449 def __init__(self, *args):
2451 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
2452 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::kernel::Restraints rs) -> AmbiguousRestraint
2454 this = _IMP_isd.new_AmbiguousRestraint(*args)
2455 try: self.this.append(this)
2456 except: self.this = this
2457 def get_probability(self):
2458 """get_probability(AmbiguousRestraint self) -> double"""
2459 return _IMP_isd.AmbiguousRestraint_get_probability(self)
2461 def do_get_inputs(self):
2462 """do_get_inputs(AmbiguousRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2463 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
2465 def get_version_info(self):
2466 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
2467 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
2470 """__str__(AmbiguousRestraint self) -> std::string"""
2471 return _IMP_isd.AmbiguousRestraint___str__(self)
2474 """__repr__(AmbiguousRestraint self) -> std::string"""
2475 return _IMP_isd.AmbiguousRestraint___repr__(self)
2478 return _object_cast_to_AmbiguousRestraint(o)
2479 get_from = staticmethod(get_from)
2481 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
2482 AmbiguousRestraint_swigregister(AmbiguousRestraint)
2484 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
2486 """Proxy of C++ IMP::isd::UnivariateFunction class"""
2487 __swig_setmethods__ = {}
2488 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2489 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnivariateFunction, name, value)
2490 __swig_getmethods__ = {}
2491 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2492 __getattr__ =
lambda self, name: _swig_getattr(self, UnivariateFunction, name)
2493 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2494 def __call__(self, *args):
2496 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
2497 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2498 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2500 return _IMP_isd.UnivariateFunction___call__(self, *args)
2502 def has_changed(self):
2503 """has_changed(UnivariateFunction self) -> bool"""
2504 return _IMP_isd.UnivariateFunction_has_changed(self)
2507 """update(UnivariateFunction self)"""
2508 return _IMP_isd.UnivariateFunction_update(self)
2510 def add_to_derivatives(self, *args):
2511 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
2512 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, *args)
2514 def add_to_particle_derivative(self, *args):
2515 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2516 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, *args)
2518 def get_derivative_vector(self, *args):
2519 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
2520 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, *args)
2522 def get_derivative_matrix(self, *args):
2523 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
2524 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, *args)
2526 def get_second_derivative_vector(self, *args):
2528 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2529 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2530 bool stupid) -> IMP::FloatsList
2532 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
2534 def get_ndims_x(self):
2535 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
2536 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
2538 def get_ndims_y(self):
2539 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
2540 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
2542 def get_number_of_particles(self):
2543 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
2544 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
2546 def get_particle_is_optimized(self, *args):
2547 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
2548 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, *args)
2550 def get_number_of_optimized_particles(self):
2551 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
2552 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
2555 """get_input_particles(UnivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2556 return _IMP_isd.UnivariateFunction_get_input_particles(self)
2559 """get_input_containers(UnivariateFunction self) -> IMP::kernel::ContainersTemp"""
2560 return _IMP_isd.UnivariateFunction_get_input_containers(self)
2562 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
2563 __del__ =
lambda self :
None;
2565 """__str__(UnivariateFunction self) -> std::string"""
2566 return _IMP_isd.UnivariateFunction___str__(self)
2569 """__repr__(UnivariateFunction self) -> std::string"""
2570 return _IMP_isd.UnivariateFunction___repr__(self)
2573 return _object_cast_to_UnivariateFunction(o)
2574 get_from = staticmethod(get_from)
2576 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
2577 UnivariateFunction_swigregister(UnivariateFunction)
2579 class Linear1DFunction(UnivariateFunction):
2580 """Proxy of C++ IMP::isd::Linear1DFunction class"""
2581 __swig_setmethods__ = {}
2582 for _s
in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2583 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear1DFunction, name, value)
2584 __swig_getmethods__ = {}
2585 for _s
in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2586 __getattr__ =
lambda self, name: _swig_getattr(self, Linear1DFunction, name)
2587 def __init__(self, *args):
2588 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
2589 this = _IMP_isd.new_Linear1DFunction(*args)
2590 try: self.this.append(this)
2591 except: self.this = this
2592 def __call__(self, *args):
2594 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
2595 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2596 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2598 return _IMP_isd.Linear1DFunction___call__(self, *args)
2600 def get_second_derivative_vector(self, *args):
2602 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2603 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2604 bool arg5) -> IMP::FloatsList
2606 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
2608 def get_version_info(self):
2609 """get_version_info(Linear1DFunction self) -> VersionInfo"""
2610 return _IMP_isd.Linear1DFunction_get_version_info(self)
2613 """__str__(Linear1DFunction self) -> std::string"""
2614 return _IMP_isd.Linear1DFunction___str__(self)
2617 """__repr__(Linear1DFunction self) -> std::string"""
2618 return _IMP_isd.Linear1DFunction___repr__(self)
2621 return _object_cast_to_Linear1DFunction(o)
2622 get_from = staticmethod(get_from)
2624 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
2625 Linear1DFunction_swigregister(Linear1DFunction)
2627 class GeneralizedGuinierPorodFunction(UnivariateFunction):
2628 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
2629 __swig_setmethods__ = {}
2630 for _s
in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2631 __setattr__ =
lambda self, name, value: _swig_setattr(self, GeneralizedGuinierPorodFunction, name, value)
2632 __swig_getmethods__ = {}
2633 for _s
in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2634 __getattr__ =
lambda self, name: _swig_getattr(self, GeneralizedGuinierPorodFunction, name)
2635 def __init__(self, *args):
2636 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
2637 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(*args)
2638 try: self.this.append(this)
2639 except: self.this = this
2640 def __call__(self, *args):
2642 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
2643 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2644 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2646 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
2648 def get_second_derivative_vector(self, *args):
2650 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2651 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2652 bool arg5) -> IMP::FloatsList
2654 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
2656 def get_version_info(self):
2657 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
2658 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
2661 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
2662 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
2665 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
2666 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
2669 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
2670 get_from = staticmethod(get_from)
2672 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
2673 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
2675 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
2677 """Proxy of C++ IMP::isd::BivariateFunction class"""
2678 __swig_setmethods__ = {}
2679 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2680 __setattr__ =
lambda self, name, value: _swig_setattr(self, BivariateFunction, name, value)
2681 __swig_getmethods__ = {}
2682 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2683 __getattr__ =
lambda self, name: _swig_getattr(self, BivariateFunction, name)
2684 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2685 def __call__(self, *args):
2687 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2688 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2689 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2691 return _IMP_isd.BivariateFunction___call__(self, *args)
2693 def has_changed(self):
2694 """has_changed(BivariateFunction self) -> bool"""
2695 return _IMP_isd.BivariateFunction_has_changed(self)
2698 """update(BivariateFunction self)"""
2699 return _IMP_isd.BivariateFunction_update(self)
2701 def add_to_derivatives(self, *args):
2702 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
2703 return _IMP_isd.BivariateFunction_add_to_derivatives(self, *args)
2705 def add_to_particle_derivative(self, *args):
2706 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2707 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, *args)
2709 def get_derivative_matrix(self, *args):
2711 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2712 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2714 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
2716 def get_second_derivative_matrix(self, *args):
2718 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2719 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2720 bool stupid) -> IMP::FloatsList
2722 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
2724 def get_ndims_x1(self):
2725 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
2726 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
2728 def get_ndims_x2(self):
2729 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
2730 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
2732 def get_ndims_y(self):
2733 """get_ndims_y(BivariateFunction self) -> unsigned int"""
2734 return _IMP_isd.BivariateFunction_get_ndims_y(self)
2736 def get_number_of_particles(self):
2737 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
2738 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
2740 def get_particle_is_optimized(self, *args):
2741 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
2742 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, *args)
2744 def get_number_of_optimized_particles(self):
2745 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
2746 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
2749 """get_input_particles(BivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2750 return _IMP_isd.BivariateFunction_get_input_particles(self)
2753 """get_input_containers(BivariateFunction self) -> IMP::kernel::ContainersTemp"""
2754 return _IMP_isd.BivariateFunction_get_input_containers(self)
2756 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
2757 __del__ =
lambda self :
None;
2759 """__str__(BivariateFunction self) -> std::string"""
2760 return _IMP_isd.BivariateFunction___str__(self)
2763 """__repr__(BivariateFunction self) -> std::string"""
2764 return _IMP_isd.BivariateFunction___repr__(self)
2767 return _object_cast_to_BivariateFunction(o)
2768 get_from = staticmethod(get_from)
2770 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
2771 BivariateFunction_swigregister(BivariateFunction)
2773 class Covariance1DFunction(BivariateFunction):
2774 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
2775 __swig_setmethods__ = {}
2776 for _s
in [BivariateFunction]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2777 __setattr__ =
lambda self, name, value: _swig_setattr(self, Covariance1DFunction, name, value)
2778 __swig_getmethods__ = {}
2779 for _s
in [BivariateFunction]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2780 __getattr__ =
lambda self, name: _swig_getattr(self, Covariance1DFunction, name)
2781 def __init__(self, *args):
2783 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
2784 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
2785 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
2786 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
2788 this = _IMP_isd.new_Covariance1DFunction(*args)
2789 try: self.this.append(this)
2790 except: self.this = this
2791 def __call__(self, *args):
2793 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2794 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2795 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2797 return _IMP_isd.Covariance1DFunction___call__(self, *args)
2799 def get_derivative_matrix(self, *args):
2801 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2802 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
2804 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
2806 def get_second_derivative_matrix(self, *args):
2808 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2809 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2810 bool arg5) -> IMP::FloatsList
2812 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
2814 def get_version_info(self):
2815 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
2816 return _IMP_isd.Covariance1DFunction_get_version_info(self)
2819 """__str__(Covariance1DFunction self) -> std::string"""
2820 return _IMP_isd.Covariance1DFunction___str__(self)
2823 """__repr__(Covariance1DFunction self) -> std::string"""
2824 return _IMP_isd.Covariance1DFunction___repr__(self)
2827 return _object_cast_to_Covariance1DFunction(o)
2828 get_from = staticmethod(get_from)
2830 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
2831 Covariance1DFunction_swigregister(Covariance1DFunction)
2834 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
2835 __swig_setmethods__ = {}
2836 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2837 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolation, name, value)
2838 __swig_getmethods__ = {}
2839 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2840 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianProcessInterpolation, name)
2841 def __init__(self, *args):
2843 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2844 UnivariateFunction mean_function, BivariateFunction covariance_function,
2845 Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
2846 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2847 UnivariateFunction mean_function, BivariateFunction covariance_function,
2848 Particle sigma) -> GaussianProcessInterpolation
2850 this = _IMP_isd.new_GaussianProcessInterpolation(*args)
2851 try: self.this.append(this)
2852 except: self.this = this
2853 def get_posterior_mean(self, *args):
2854 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
2855 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, *args)
2857 def get_posterior_covariance(self, *args):
2858 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
2859 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, *args)
2861 def get_posterior_covariance_matrix(self, *args):
2862 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
2863 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, *args)
2865 def get_posterior_covariance_derivative(self, *args):
2866 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
2867 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, *args)
2869 def get_posterior_covariance_hessian(self, *args):
2870 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
2871 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, *args)
2874 """get_input_particles(GaussianProcessInterpolation self) -> IMP::kernel::ParticlesTemp"""
2875 return _IMP_isd.GaussianProcessInterpolation_get_input_particles(self)
2878 """get_input_containers(GaussianProcessInterpolation self) -> IMP::kernel::ContainersTemp"""
2879 return _IMP_isd.GaussianProcessInterpolation_get_input_containers(self)
2881 def force_mean_update(self):
2882 """force_mean_update(GaussianProcessInterpolation self)"""
2883 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
2885 def force_covariance_update(self):
2886 """force_covariance_update(GaussianProcessInterpolation self)"""
2887 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
2889 def get_number_of_m_particles(self):
2890 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
2891 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
2893 def get_m_particle_is_optimized(self, *args):
2894 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2895 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, *args)
2897 def get_number_of_Omega_particles(self):
2898 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
2899 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
2901 def get_Omega_particle_is_optimized(self, *args):
2902 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2903 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, *args)
2905 def get_data_abscissa(self):
2906 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2907 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
2909 def get_data_mean(self):
2910 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
2911 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
2913 def get_data_variance(self):
2914 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2915 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
2917 def get_version_info(self):
2918 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
2919 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
2922 """__str__(GaussianProcessInterpolation self) -> std::string"""
2923 return _IMP_isd.GaussianProcessInterpolation___str__(self)
2926 """__repr__(GaussianProcessInterpolation self) -> std::string"""
2927 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
2930 return _object_cast_to_GaussianProcessInterpolation(o)
2931 get_from = staticmethod(get_from)
2933 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
2934 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
2937 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
2938 __swig_setmethods__ = {}
2939 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2940 __setattr__ =
lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolationRestraint, name, value)
2941 __swig_getmethods__ = {}
2942 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2943 __getattr__ =
lambda self, name: _swig_getattr(self, GaussianProcessInterpolationRestraint, name)
2944 def __init__(self, *args):
2945 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
2946 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(*args)
2947 try: self.this.append(this)
2948 except: self.this = this
2949 def get_probability(self):
2950 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
2951 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
2954 """stats(GaussianProcessInterpolationRestraint self)"""
2955 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
2957 def set_use_cg(self, *args):
2958 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
2959 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, *args)
2961 def get_minus_log_normalization(self):
2962 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
2963 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
2965 def get_minus_exponent(self):
2966 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
2967 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
2969 def get_logdet_hessian(self):
2970 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
2971 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
2973 def get_hessian(self, *args):
2975 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
2976 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
2978 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
2980 def do_get_inputs(self):
2981 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2982 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
2984 def get_version_info(self):
2985 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
2986 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
2989 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
2990 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
2993 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
2994 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
2997 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
2998 get_from = staticmethod(get_from)
3000 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3001 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3004 """Proxy of C++ IMP::isd::MolecularDynamics class"""
3005 __swig_setmethods__ = {}
3007 __setattr__ =
lambda self, name, value: _swig_setattr(self, MolecularDynamics, name, value)
3008 __swig_getmethods__ = {}
3010 __getattr__ =
lambda self, name: _swig_getattr(self, MolecularDynamics, name)
3011 def __init__(self, m=None):
3013 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
3014 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3016 this = _IMP_isd.new_MolecularDynamics(m)
3017 try: self.this.append(this)
3018 except: self.this = this
3020 """__str__(MolecularDynamics self) -> std::string"""
3021 return _IMP_isd.MolecularDynamics___str__(self)
3024 """__repr__(MolecularDynamics self) -> std::string"""
3025 return _IMP_isd.MolecularDynamics___repr__(self)
3028 return _object_cast_to_MolecularDynamics(o)
3029 get_from = staticmethod(get_from)
3031 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3032 __del__ =
lambda self :
None;
3033 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3034 MolecularDynamics_swigregister(MolecularDynamics)
3037 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3038 __swig_setmethods__ = {}
3040 __setattr__ =
lambda self, name, value: _swig_setattr(self, MolecularDynamicsMover, name, value)
3041 __swig_getmethods__ = {}
3043 __getattr__ =
lambda self, name: _swig_getattr(self, MolecularDynamicsMover, name)
3044 def __init__(self, *args):
3046 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3047 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3048 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3050 this = _IMP_isd.new_MolecularDynamicsMover(*args)
3051 try: self.this.append(this)
3052 except: self.this = this
3054 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3055 return _IMP_isd.MolecularDynamicsMover_get_md(self)
3057 def get_number_of_md_steps(self):
3058 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3059 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3061 def set_number_of_md_steps(self, *args):
3062 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3063 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, *args)
3065 def get_version_info(self):
3066 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3067 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3070 """__str__(MolecularDynamicsMover self) -> std::string"""
3071 return _IMP_isd.MolecularDynamicsMover___str__(self)
3074 """__repr__(MolecularDynamicsMover self) -> std::string"""
3075 return _IMP_isd.MolecularDynamicsMover___repr__(self)
3078 return _object_cast_to_MolecularDynamicsMover(o)
3079 get_from = staticmethod(get_from)
3081 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3082 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3085 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3086 __swig_setmethods__ = {}
3087 for _s
in [
IMP.core.MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3088 __setattr__ =
lambda self, name, value: _swig_setattr(self, HybridMonteCarlo, name, value)
3089 __swig_getmethods__ = {}
3090 for _s
in [
IMP.core.MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3091 __getattr__ =
lambda self, name: _swig_getattr(self, HybridMonteCarlo, name)
3092 def __init__(self, *args):
3094 __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
3095 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3096 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3097 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3098 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3100 this = _IMP_isd.new_HybridMonteCarlo(*args)
3101 try: self.this.append(this)
3102 except: self.this = this
3103 def get_kinetic_energy(self):
3104 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3105 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3107 def get_potential_energy(self):
3108 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3109 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3111 def get_total_energy(self):
3112 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3113 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3115 def set_timestep(self, *args):
3116 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3117 return _IMP_isd.HybridMonteCarlo_set_timestep(self, *args)
3119 def get_timestep(self):
3120 """get_timestep(HybridMonteCarlo self) -> double"""
3121 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3123 def set_number_of_md_steps(self, *args):
3124 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3125 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, *args)
3127 def get_number_of_md_steps(self):
3128 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3129 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3131 def set_persistence(self, persistence=1):
3133 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3134 set_persistence(HybridMonteCarlo self)
3136 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3138 def get_persistence(self):
3139 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3140 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3143 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3144 return _IMP_isd.HybridMonteCarlo_get_md(self)
3146 def do_evaluate(self, *args):
3147 """do_evaluate(HybridMonteCarlo self, IMP::kernel::ParticleIndexes const & arg2) -> double"""
3148 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, *args)
3151 """do_step(HybridMonteCarlo self)"""
3152 return _IMP_isd.HybridMonteCarlo_do_step(self)
3155 """__str__(HybridMonteCarlo self) -> std::string"""
3156 return _IMP_isd.HybridMonteCarlo___str__(self)
3159 """__repr__(HybridMonteCarlo self) -> std::string"""
3160 return _IMP_isd.HybridMonteCarlo___repr__(self)
3163 return _object_cast_to_HybridMonteCarlo(o)
3164 get_from = staticmethod(get_from)
3166 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3167 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3170 """Proxy of C++ IMP::isd::FretData class"""
3171 __swig_setmethods__ = {}
3172 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3173 __setattr__ =
lambda self, name, value: _swig_setattr(self, FretData, name, value)
3174 __swig_getmethods__ = {}
3175 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3176 __getattr__ =
lambda self, name: _swig_getattr(self, FretData, name)
3177 def __init__(self, *args):
3179 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3180 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax, bool do_limit=True) -> FretData
3181 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3182 IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax) -> FretData
3184 this = _IMP_isd.new_FretData(*args)
3185 try: self.this.append(this)
3186 except: self.this = this
3187 def get_closest(self, *args):
3188 """get_closest(FretData self, DistBase vec, double value) -> int"""
3189 return _IMP_isd.FretData_get_closest(self, *args)
3191 def get_probability(self, *args):
3192 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
3193 return _IMP_isd.FretData_get_probability(self, *args)
3195 def get_kernel(self, *args):
3196 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
3197 return _IMP_isd.FretData_get_kernel(self, *args)
3199 def get_marginal_element(self, *args):
3200 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
3201 return _IMP_isd.FretData_get_marginal_element(self, *args)
3203 def get_version_info(self):
3204 """get_version_info(FretData self) -> VersionInfo"""
3205 return _IMP_isd.FretData_get_version_info(self)
3208 """__str__(FretData self) -> std::string"""
3209 return _IMP_isd.FretData___str__(self)
3212 """__repr__(FretData self) -> std::string"""
3213 return _IMP_isd.FretData___repr__(self)
3216 return _object_cast_to_FretData(o)
3217 get_from = staticmethod(get_from)
3219 FretData_swigregister = _IMP_isd.FretData_swigregister
3220 FretData_swigregister(FretData)
3223 """Proxy of C++ IMP::isd::FretRestraint class"""
3224 __swig_setmethods__ = {}
3225 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3226 __setattr__ =
lambda self, name, value: _swig_setattr(self, FretRestraint, name, value)
3227 __swig_getmethods__ = {}
3228 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3229 __getattr__ =
lambda self, name: _swig_getattr(self, FretRestraint, name)
3230 def __init__(self, *args):
3232 __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3233 Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0, double m_a=1.0) -> FretRestraint
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) -> 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) -> FretRestraint
3238 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3239 __init__(IMP::isd::FretRestraint self, Particle prd, Vector3D GMMterd, IMP::algebra::Vector3Ds GMMctrd, IMP::Floats GMMwd,
3240 IMP::Floats GMMsigd, Particle pra, Vector3D GMMtera, IMP::algebra::Vector3Ds GMMctra,
3241 IMP::Floats GMMwa, IMP::Floats GMMsiga, Particle kda, Particle Ida,
3242 Particle sigma0, Particle Pbl, FretData data, double fexp) -> FretRestraint
3244 this = _IMP_isd.new_FretRestraint(*args)
3245 try: self.this.append(this)
3246 except: self.this = this
3247 def get_sumFi(self):
3248 """get_sumFi(FretRestraint self) -> double"""
3249 return _IMP_isd.FretRestraint_get_sumFi(self)
3251 def get_average_sigma(self, *args):
3252 """get_average_sigma(FretRestraint self, double fmod) -> double"""
3253 return _IMP_isd.FretRestraint_get_average_sigma(self, *args)
3255 def get_standard_error(self):
3256 """get_standard_error(FretRestraint self) -> double"""
3257 return _IMP_isd.FretRestraint_get_standard_error(self)
3259 def get_model_fretr(self):
3260 """get_model_fretr(FretRestraint self) -> double"""
3261 return _IMP_isd.FretRestraint_get_model_fretr(self)
3263 def get_probability(self):
3264 """get_probability(FretRestraint self) -> double"""
3265 return _IMP_isd.FretRestraint_get_probability(self)
3267 def get_experimental_value(self):
3268 """get_experimental_value(FretRestraint self) -> double"""
3269 return _IMP_isd.FretRestraint_get_experimental_value(self)
3271 def set_experimental_value(self, *args):
3272 """set_experimental_value(FretRestraint self, double fexp)"""
3273 return _IMP_isd.FretRestraint_set_experimental_value(self, *args)
3275 def do_get_inputs(self):
3276 """do_get_inputs(FretRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3277 return _IMP_isd.FretRestraint_do_get_inputs(self)
3279 def get_version_info(self):
3280 """get_version_info(FretRestraint self) -> VersionInfo"""
3281 return _IMP_isd.FretRestraint_get_version_info(self)
3284 """__str__(FretRestraint self) -> std::string"""
3285 return _IMP_isd.FretRestraint___str__(self)
3288 """__repr__(FretRestraint self) -> std::string"""
3289 return _IMP_isd.FretRestraint___repr__(self)
3292 return _object_cast_to_FretRestraint(o)
3293 get_from = staticmethod(get_from)
3295 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
3296 FretRestraint_swigregister(FretRestraint)
3299 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
3300 __swig_setmethods__ = {}
3301 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3302 __setattr__ =
lambda self, name, value: _swig_setattr(self, CysteineCrossLinkData, name, value)
3303 __swig_getmethods__ = {}
3304 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3305 __getattr__ =
lambda self, name: _swig_getattr(self, CysteineCrossLinkData, name)
3306 def __init__(self, *args):
3308 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid,
3309 int prior_type=3) -> CysteineCrossLinkData
3310 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
3312 this = _IMP_isd.new_CysteineCrossLinkData(*args)
3313 try: self.this.append(this)
3314 except: self.this = this
3315 def get_closest(self, *args):
3316 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
3317 return _IMP_isd.CysteineCrossLinkData_get_closest(self, *args)
3319 def get_omegas(self, *args):
3320 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3321 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, *args)
3323 def get_nonmarginal_elements(self, *args):
3324 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
3325 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, *args)
3327 def get_marginal_elements(self, *args):
3328 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3329 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, *args)
3331 def get_omega(self, *args):
3332 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3333 return _IMP_isd.CysteineCrossLinkData_get_omega(self, *args)
3335 def get_standard_deviation(self, *args):
3336 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3337 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, *args)
3339 def get_nonmarginal_element(self, *args):
3340 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
3341 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, *args)
3343 def get_marginal_element(self, *args):
3344 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3345 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, *args)
3347 def get_version_info(self):
3348 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
3349 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
3352 """__str__(CysteineCrossLinkData self) -> std::string"""
3353 return _IMP_isd.CysteineCrossLinkData___str__(self)
3356 """__repr__(CysteineCrossLinkData self) -> std::string"""
3357 return _IMP_isd.CysteineCrossLinkData___repr__(self)
3360 return _object_cast_to_CysteineCrossLinkData(o)
3361 get_from = staticmethod(get_from)
3363 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
3364 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
3367 """Proxy of C++ IMP::isd::CrossLinkData class"""
3368 __swig_setmethods__ = {}
3369 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3370 __setattr__ =
lambda self, name, value: _swig_setattr(self, CrossLinkData, name, value)
3371 __swig_getmethods__ = {}
3372 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3373 __getattr__ =
lambda self, name: _swig_getattr(self, CrossLinkData, name)
3374 def __init__(self, *args):
3376 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3377 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max(),
3378 int prior_type=0) -> CrossLinkData
3379 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3380 double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3381 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3382 double don=std::numeric_limits< double >::max()) -> CrossLinkData
3383 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> 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, double don=std::numeric_limits< double >::max(),
3386 double doff=std::numeric_limits< double >::max(), int prior_type=0) -> CrossLinkData
3387 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3388 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3389 double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3390 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3391 IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max()) -> CrossLinkData
3392 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3393 IMP::Floats pot_value_grid) -> CrossLinkData
3395 this = _IMP_isd.new_CrossLinkData(*args)
3396 try: self.this.append(this)
3397 except: self.this = this
3398 def get_closest(self, *args):
3399 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
3400 return _IMP_isd.CrossLinkData_get_closest(self, *args)
3402 def get_omegas(self, *args):
3403 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3404 return _IMP_isd.CrossLinkData_get_omegas(self, *args)
3406 def get_omega_prior(self, *args):
3407 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
3408 return _IMP_isd.CrossLinkData_get_omega_prior(self, *args)
3410 def get_nonmarginal_elements(self, *args):
3411 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
3412 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, *args)
3414 def get_marginal_elements(self, *args):
3415 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3416 return _IMP_isd.CrossLinkData_get_marginal_elements(self, *args)
3418 def get_marginal_maximum(self, *args):
3420 get_marginal_maximum(CrossLinkData self, double sigma) -> double
3421 get_marginal_maximum(CrossLinkData self) -> double
3423 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
3425 def get_version_info(self):
3426 """get_version_info(CrossLinkData self) -> VersionInfo"""
3427 return _IMP_isd.CrossLinkData_get_version_info(self)
3430 """__str__(CrossLinkData self) -> std::string"""
3431 return _IMP_isd.CrossLinkData___str__(self)
3434 """__repr__(CrossLinkData self) -> std::string"""
3435 return _IMP_isd.CrossLinkData___repr__(self)
3438 return _object_cast_to_CrossLinkData(o)
3439 get_from = staticmethod(get_from)
3441 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
3442 CrossLinkData_swigregister(CrossLinkData)
3445 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
3446 __swig_setmethods__ = {}
3447 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3448 __setattr__ =
lambda self, name, value: _swig_setattr(self, CysteineCrossLinkRestraint, name, value)
3449 __swig_getmethods__ = {}
3450 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3451 __getattr__ =
lambda self, name: _swig_getattr(self, CysteineCrossLinkRestraint, name)
3452 def __init__(self, *args):
3454 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3455 double fexp) -> CysteineCrossLinkRestraint
3456 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3457 CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
3459 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
3460 try: self.this.append(this)
3461 except: self.this = this
3462 def get_probability(self):
3463 """get_probability(CysteineCrossLinkRestraint self) -> double"""
3464 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
3466 def get_standard_error(self):
3467 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
3468 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
3470 def get_frequencies(self):
3471 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3472 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
3474 def get_model_frequency(self):
3475 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
3476 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
3478 def get_distances(self):
3479 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3480 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
3482 def get_truncated_normalization(self, *args):
3483 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
3484 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, *args)
3486 def get_normal_pdf(self, *args):
3487 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
3488 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, *args)
3490 def add_contribution(self, *args):
3492 add_contribution(CysteineCrossLinkRestraint self, Particle p1, Particle p2)
3493 add_contribution(CysteineCrossLinkRestraint self, IMP::kernel::Particles p1, IMP::kernel::Particles p2)
3495 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
3497 def get_CB_coordinates(self, *args):
3498 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::kernel::Particles const & ps) -> Vector3D"""
3499 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, *args)
3501 def get_number_of_contributions(self):
3502 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
3503 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
3505 def do_get_inputs(self):
3506 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3507 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
3509 def get_version_info(self):
3510 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
3511 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
3514 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
3515 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
3518 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
3519 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
3522 return _object_cast_to_CysteineCrossLinkRestraint(o)
3523 get_from = staticmethod(get_from)
3525 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
3526 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
3529 """Proxy of C++ IMP::isd::WeightMover class"""
3530 __swig_setmethods__ = {}
3532 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightMover, name, value)
3533 __swig_getmethods__ = {}
3535 __getattr__ =
lambda self, name: _swig_getattr(self, WeightMover, name)
3536 def __init__(self, *args):
3537 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
3538 this = _IMP_isd.new_WeightMover(*args)
3539 try: self.this.append(this)
3540 except: self.this = this
3541 def set_radius(self, *args):
3542 """set_radius(WeightMover self, IMP::Float radius)"""
3543 return _IMP_isd.WeightMover_set_radius(self, *args)
3545 def get_radius(self):
3546 """get_radius(WeightMover self) -> IMP::Float"""
3547 return _IMP_isd.WeightMover_get_radius(self)
3549 def get_version_info(self):
3550 """get_version_info(WeightMover self) -> VersionInfo"""
3551 return _IMP_isd.WeightMover_get_version_info(self)
3554 """__str__(WeightMover self) -> std::string"""
3555 return _IMP_isd.WeightMover___str__(self)
3558 """__repr__(WeightMover self) -> std::string"""
3559 return _IMP_isd.WeightMover___repr__(self)
3562 return _object_cast_to_WeightMover(o)
3563 get_from = staticmethod(get_from)
3565 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
3566 WeightMover_swigregister(WeightMover)
3569 """Proxy of C++ IMP::isd::WeightRestraint class"""
3570 __swig_setmethods__ = {}
3571 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3572 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightRestraint, name, value)
3573 __swig_getmethods__ = {}
3574 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3575 __getattr__ =
lambda self, name: _swig_getattr(self, WeightRestraint, name)
3576 def __init__(self, *args):
3577 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
3578 this = _IMP_isd.new_WeightRestraint(*args)
3579 try: self.this.append(this)
3580 except: self.this = this
3581 def do_get_inputs(self):
3582 """do_get_inputs(WeightRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3583 return _IMP_isd.WeightRestraint_do_get_inputs(self)
3585 def get_version_info(self):
3586 """get_version_info(WeightRestraint self) -> VersionInfo"""
3587 return _IMP_isd.WeightRestraint_get_version_info(self)
3590 """__str__(WeightRestraint self) -> std::string"""
3591 return _IMP_isd.WeightRestraint___str__(self)
3594 """__repr__(WeightRestraint self) -> std::string"""
3595 return _IMP_isd.WeightRestraint___repr__(self)
3598 return _object_cast_to_WeightRestraint(o)
3599 get_from = staticmethod(get_from)
3601 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
3602 WeightRestraint_swigregister(WeightRestraint)
3605 def get_module_version():
3606 """get_module_version() -> std::string const"""
3607 return _IMP_isd.get_module_version()
3610 """get_example_path(std::string fname) -> std::string"""
3611 return _IMP_isd.get_example_path(*args)
3614 """get_data_path(std::string fname) -> std::string"""
3615 return _IMP_isd.get_data_path(*args)
3616 import _version_check
3617 _version_check.check_version(get_module_version())
See IMP.container for more information.
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
ParticlesTemp get_input_particles(const ModelObjectsTemp &mos)
See IMP.score_functor for more information.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
See IMP.statistics for more information.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
ContainersTemp get_input_containers(const ModelObjectsTemp &mos)
Simple molecular dynamics optimizer.
Store a kernel::ParticleIndexes.
A base class for classes which perturb particles.
See IMP.kernel for more information.
A restraint is a term in an IMP ScoringFunction.
See IMP.em for more information.
IMP::base::Vector< Weight > Weights
Class to handle individual model particles.
Common base class for heavy weight IMP objects.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
See IMP.core for more information.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
See IMP.saxs for more information.
Class for storing model, its restraints, constraints, and particles.