11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_saxs', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_saxs', fp, pathname, description)
34 _IMP_saxs = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_SAXS_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
127 return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
132 incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
133 incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
135 return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
140 decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
141 decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
143 return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, x)
152 """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
153 return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, x)
157 """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
158 return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
162 """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
163 return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
167 """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
168 return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
172 """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
173 return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
178 return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
183 return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
188 return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
193 return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
198 return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
203 return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
209 __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
215 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
216 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
225 _IMP_saxs.IMP_DEBUG_swigconstant(_IMP_saxs)
226 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
228 _IMP_saxs.IMP_RELEASE_swigconstant(_IMP_saxs)
229 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
231 _IMP_saxs.IMP_SILENT_swigconstant(_IMP_saxs)
232 IMP_SILENT = _IMP_saxs.IMP_SILENT
234 _IMP_saxs.IMP_PROGRESS_swigconstant(_IMP_saxs)
235 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
237 _IMP_saxs.IMP_TERSE_swigconstant(_IMP_saxs)
238 IMP_TERSE = _IMP_saxs.IMP_TERSE
240 _IMP_saxs.IMP_VERBOSE_swigconstant(_IMP_saxs)
241 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
243 _IMP_saxs.IMP_MEMORY_swigconstant(_IMP_saxs)
244 IMP_MEMORY = _IMP_saxs.IMP_MEMORY
246 _IMP_saxs.IMP_NONE_swigconstant(_IMP_saxs)
247 IMP_NONE = _IMP_saxs.IMP_NONE
249 _IMP_saxs.IMP_USAGE_swigconstant(_IMP_saxs)
250 IMP_USAGE = _IMP_saxs.IMP_USAGE
252 _IMP_saxs.IMP_INTERNAL_swigconstant(_IMP_saxs)
253 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
255 _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_saxs)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_saxs)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_saxs.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_saxs)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_saxs.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_saxs.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_saxs)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_saxs.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_saxs.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_saxs)
271 IMP_KERNEL_HAS_NUMPY = _IMP_saxs.IMP_KERNEL_HAS_NUMPY
273 _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_saxs)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_saxs)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_saxs)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_saxs.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_saxs.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_saxs._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_saxs._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_saxs.IMP_HAS_NOEXCEPT_swigconstant(_IMP_saxs)
328 IMP_HAS_NOEXCEPT = _IMP_saxs.IMP_HAS_NOEXCEPT
330 _IMP_saxs.IMP_C_OPEN_BINARY_swigconstant(_IMP_saxs)
331 IMP_C_OPEN_BINARY = _IMP_saxs.IMP_C_OPEN_BINARY
334 _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_saxs.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_saxs)
347 IMP_CGAL_HAS_NUMPY = _IMP_saxs.IMP_CGAL_HAS_NUMPY
349 _IMP_saxs.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
350 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
353 _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_saxs.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_saxs)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
371 _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_saxs)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_saxs.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_saxs)
375 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
377 _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_saxs)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_saxs.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_saxs)
397 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
399 _IMP_saxs.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_saxs)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_saxs.IMP_DISPLAY_HAS_NUMPY
402 _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_saxs)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_saxs)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_saxs)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_saxs)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_saxs)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_saxs.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
437 _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
440 _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
443 _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
446 _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
449 _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
452 _IMP_saxs.IMP_CORE_HAS_CGAL_swigconstant(_IMP_saxs)
453 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
455 _IMP_saxs.IMP_CORE_HAS_HDF5_swigconstant(_IMP_saxs)
456 IMP_CORE_HAS_HDF5 = _IMP_saxs.IMP_CORE_HAS_HDF5
458 _IMP_saxs.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_saxs)
459 IMP_CORE_HAS_NUMPY = _IMP_saxs.IMP_CORE_HAS_NUMPY
461 _IMP_saxs.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_saxs)
462 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
465 _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_saxs)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
468 _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
471 _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
474 _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
477 _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
480 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
483 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
489 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
492 _IMP_saxs.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_saxs)
493 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
495 _IMP_saxs.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_saxs)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_saxs.IMP_CONTAINER_HAS_HDF5
498 _IMP_saxs.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_saxs)
499 IMP_CONTAINER_HAS_NUMPY = _IMP_saxs.IMP_CONTAINER_HAS_NUMPY
501 _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
502 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM
504 _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_saxs)
505 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
507 _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_saxs)
508 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP
510 _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_saxs)
511 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
514 _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
515 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
517 _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
518 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
520 _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
521 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
523 _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
524 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
526 _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
527 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
529 _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
530 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
532 _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
533 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
535 _IMP_saxs.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_saxs)
536 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
538 _IMP_saxs.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_saxs)
539 IMP_ATOM_HAS_HDF5 = _IMP_saxs.IMP_ATOM_HAS_HDF5
541 _IMP_saxs.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_saxs)
542 IMP_ATOM_HAS_NUMPY = _IMP_saxs.IMP_ATOM_HAS_NUMPY
544 _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
545 IMP_ATOM_HAS_PYTHON_IHM = _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM
547 _IMP_saxs.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_saxs)
548 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
550 _IMP_saxs.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_saxs)
551 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
553 _IMP_saxs.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_saxs)
554 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
556 _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_saxs)
557 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
559 _IMP_saxs.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_saxs)
560 IMP_CHAIN_TYPE_INDEX = _IMP_saxs.IMP_CHAIN_TYPE_INDEX
563 _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
564 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
566 _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_saxs)
567 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
569 _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
570 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
572 _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
573 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
575 _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
576 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
578 _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
579 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
581 _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
582 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
584 _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
585 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
587 _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
588 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
590 _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
591 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
593 _IMP_saxs.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_saxs)
594 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
596 _IMP_saxs.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_saxs)
597 IMP_SAXS_HAS_HDF5 = _IMP_saxs.IMP_SAXS_HAS_HDF5
599 _IMP_saxs.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_saxs)
600 IMP_SAXS_HAS_NUMPY = _IMP_saxs.IMP_SAXS_HAS_NUMPY
602 _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
603 IMP_SAXS_HAS_PYTHON_IHM = _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM
605 _IMP_saxs.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_saxs)
606 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
607 class DistBase(object):
608 """Proxy of C++ std::vector<(double)> class"""
609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
610 __repr__ = _swig_repr
613 """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
614 return _IMP_saxs.DistBase_iterator(self)
617 return self.iterator()
619 def __nonzero__(self):
620 """__nonzero__(DistBase self) -> bool"""
621 return _IMP_saxs.DistBase___nonzero__(self)
625 """__bool__(DistBase self) -> bool"""
626 return _IMP_saxs.DistBase___bool__(self)
630 """__len__(DistBase self) -> std::vector< double >::size_type"""
631 return _IMP_saxs.DistBase___len__(self)
635 """pop(DistBase self) -> std::vector< double >::value_type"""
636 return _IMP_saxs.DistBase_pop(self)
639 def __getslice__(self, i, j):
640 """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
641 return _IMP_saxs.DistBase___getslice__(self, i, j)
644 def __setslice__(self, *args):
646 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, DistBase v)
647 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
649 return _IMP_saxs.DistBase___setslice__(self, *args)
652 def __delslice__(self, i, j):
653 """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
654 return _IMP_saxs.DistBase___delslice__(self, i, j)
657 def __delitem__(self, *args):
659 __delitem__(DistBase self, std::vector< double >::difference_type i)
660 __delitem__(DistBase self, PySliceObject * slice)
662 return _IMP_saxs.DistBase___delitem__(self, *args)
665 def __getitem__(self, *args):
667 __getitem__(DistBase self, PySliceObject * slice) -> DistBase
668 __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
670 return _IMP_saxs.DistBase___getitem__(self, *args)
673 def __setitem__(self, *args):
675 __setitem__(DistBase self, PySliceObject * slice, DistBase v)
676 __setitem__(DistBase self, PySliceObject * slice)
677 __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
679 return _IMP_saxs.DistBase___setitem__(self, *args)
683 """append(DistBase self, std::vector< double >::value_type const & x)"""
684 return _IMP_saxs.DistBase_append(self, x)
688 """empty(DistBase self) -> bool"""
689 return _IMP_saxs.DistBase_empty(self)
693 """size(DistBase self) -> std::vector< double >::size_type"""
694 return _IMP_saxs.DistBase_size(self)
698 """clear(DistBase self)"""
699 return _IMP_saxs.DistBase_clear(self)
703 """swap(DistBase self, DistBase v)"""
704 return _IMP_saxs.DistBase_swap(self, v)
707 def get_allocator(self):
708 """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
709 return _IMP_saxs.DistBase_get_allocator(self)
713 """begin(DistBase self) -> std::vector< double >::iterator"""
714 return _IMP_saxs.DistBase_begin(self)
718 """end(DistBase self) -> std::vector< double >::iterator"""
719 return _IMP_saxs.DistBase_end(self)
723 """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
724 return _IMP_saxs.DistBase_rbegin(self)
728 """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
729 return _IMP_saxs.DistBase_rend(self)
733 """pop_back(DistBase self)"""
734 return _IMP_saxs.DistBase_pop_back(self)
737 def erase(self, *args):
739 erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
740 erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
742 return _IMP_saxs.DistBase_erase(self, *args)
745 def __init__(self, *args):
747 __init__(std::vector<(double)> self) -> DistBase
748 __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
749 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
750 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
752 this = _IMP_saxs.new_DistBase(*args)
754 self.this.append(this)
758 def push_back(self, x):
759 """push_back(DistBase self, std::vector< double >::value_type const & x)"""
760 return _IMP_saxs.DistBase_push_back(self, x)
764 """front(DistBase self) -> std::vector< double >::value_type const &"""
765 return _IMP_saxs.DistBase_front(self)
769 """back(DistBase self) -> std::vector< double >::value_type const &"""
770 return _IMP_saxs.DistBase_back(self)
773 def assign(self, n, x):
774 """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
775 return _IMP_saxs.DistBase_assign(self, n, x)
778 def resize(self, *args):
780 resize(DistBase self, std::vector< double >::size_type new_size)
781 resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
783 return _IMP_saxs.DistBase_resize(self, *args)
786 def insert(self, *args):
788 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
789 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
791 return _IMP_saxs.DistBase_insert(self, *args)
794 def reserve(self, n):
795 """reserve(DistBase self, std::vector< double >::size_type n)"""
796 return _IMP_saxs.DistBase_reserve(self, n)
800 """capacity(DistBase self) -> std::vector< double >::size_type"""
801 return _IMP_saxs.DistBase_capacity(self)
803 __swig_destroy__ = _IMP_saxs.delete_DistBase
804 __del__ =
lambda self:
None
805 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
806 DistBase_swigregister(DistBase)
809 _object_types.append(
"Profile")
812 def _object_cast_to_Profile(o):
813 """_object_cast_to_Profile(Object o) -> Profile"""
814 return _IMP_saxs._object_cast_to_Profile(o)
816 _object_types.append(
"ChiScore")
819 def _object_cast_to_ChiScore(o):
820 """_object_cast_to_ChiScore(Object o) -> ChiScore"""
821 return _IMP_saxs._object_cast_to_ChiScore(o)
823 _object_types.append(
"ChiScoreLog")
826 def _object_cast_to_ChiScoreLog(o):
827 """_object_cast_to_ChiScoreLog(Object o) -> ChiScoreLog"""
828 return _IMP_saxs._object_cast_to_ChiScoreLog(o)
830 _IMP_saxs.ALL_ATOMS_swigconstant(_IMP_saxs)
831 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
833 _IMP_saxs.HEAVY_ATOMS_swigconstant(_IMP_saxs)
834 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
836 _IMP_saxs.CA_ATOMS_swigconstant(_IMP_saxs)
837 CA_ATOMS = _IMP_saxs.CA_ATOMS
839 _IMP_saxs.RESIDUES_swigconstant(_IMP_saxs)
840 RESIDUES = _IMP_saxs.RESIDUES
841 class FormFactorTable(object):
842 """Proxy of C++ IMP::saxs::FormFactorTable class"""
843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
844 __repr__ = _swig_repr
846 def __init__(self, *args):
848 __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
849 __init__(IMP::saxs::FormFactorTable self, std::string const & table_name, double min_q, double max_q, double delta_q) -> FormFactorTable
851 this = _IMP_saxs.new_FormFactorTable(*args)
853 self.this.append(this)
857 def get_form_factor(self, *args):
859 get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
860 get_form_factor(FormFactorTable self, Particle p) -> double
862 return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
865 def get_vacuum_form_factor(self, *args):
867 get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
868 get_vacuum_form_factor(FormFactorTable self, Particle p) -> double
870 return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
873 def get_dummy_form_factor(self, *args):
875 get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
876 get_dummy_form_factor(FormFactorTable self, Particle p) -> double
878 return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
881 def get_water_form_factor(self):
882 """get_water_form_factor(FormFactorTable self) -> double"""
883 return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
886 def get_vacuum_water_form_factor(self):
887 """get_vacuum_water_form_factor(FormFactorTable self) -> double"""
888 return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
891 def get_dummy_water_form_factor(self):
892 """get_dummy_water_form_factor(FormFactorTable self) -> double"""
893 return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
896 def get_form_factors(self, *args):
898 get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
899 get_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
901 return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
904 def get_vacuum_form_factors(self, *args):
906 get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
907 get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
909 return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
912 def get_dummy_form_factors(self, *args):
914 get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
915 get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
917 return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
920 def get_water_form_factors(self):
921 """get_water_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
922 return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
925 def get_water_vacuum_form_factors(self):
926 """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
927 return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
930 def get_water_dummy_form_factors(self):
931 """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
932 return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
935 def get_radius(self, *args):
937 get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
938 get_radius(FormFactorTable self, Particle p) -> double
940 return _IMP_saxs.FormFactorTable_get_radius(self, *args)
945 get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
946 get_volume(FormFactorTable self, Particle p) -> double
948 return _IMP_saxs.FormFactorTable_get_volume(self, *args)
951 def show(self, *args):
953 show(FormFactorTable self, _ostream out, std::string prefix)
954 show(FormFactorTable self, _ostream out)
955 show(FormFactorTable self)
957 return _IMP_saxs.FormFactorTable_show(self, *args)
959 rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
960 __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
961 __del__ =
lambda self:
None
962 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
963 FormFactorTable_swigregister(FormFactorTable)
964 cvar = _IMP_saxs.cvar
968 """get_default_form_factor_table() -> FormFactorTable"""
969 return _IMP_saxs.get_default_form_factor_table()
971 """Proxy of C++ IMP::saxs::Profile class"""
972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
974 def __init__(self, *args):
976 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1) -> Profile
977 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0) -> Profile
978 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False) -> Profile
979 __init__(IMP::saxs::Profile self, std::string const & file_name) -> Profile
980 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5, double delta=0.005) -> Profile
981 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5) -> Profile
982 __init__(IMP::saxs::Profile self, double qmin=0.0) -> Profile
983 __init__(IMP::saxs::Profile self) -> Profile
985 this = _IMP_saxs.new_Profile(*args)
987 self.this.append(this)
991 def calculate_profile_partial(self, *args):
993 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
994 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
995 calculate_profile_partial(Profile self, IMP::Particles const & particles)
996 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2, IMP::saxs::FormFactorType ff_type)
997 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2)
998 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1)
999 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1001 return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
1004 def calculate_profile_reciprocal_partial(self, *args):
1006 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
1007 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
1008 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles)
1010 return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
1013 def calculate_profile(self, *args):
1015 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type, bool reciprocal=False)
1016 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type)
1017 calculate_profile(Profile self, IMP::Particles const & particles)
1018 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::saxs::FormFactorType ff_type)
1019 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1021 return _IMP_saxs.Profile_calculate_profile(self, *args)
1024 def calculate_I0(self, *args):
1026 calculate_I0(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type) -> double
1027 calculate_I0(Profile self, IMP::Particles const & particles) -> double
1029 return _IMP_saxs.Profile_calculate_I0(self, *args)
1032 def calculate_profile_constant_form_factor(self, particles, form_factor=1.0):
1034 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles, double form_factor=1.0)
1035 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles)
1037 return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, particles, form_factor)
1040 def calculate_profile_symmetric(self, *args):
1042 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type)
1043 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n)
1045 return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
1048 def profile_2_distribution(self, rd, max_distance):
1049 """profile_2_distribution(Profile self, RadialDistributionFunction rd, double max_distance)"""
1050 return _IMP_saxs.Profile_profile_2_distribution(self, rd, max_distance)
1053 def distribution_2_profile(self, r_dist):
1054 """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
1055 return _IMP_saxs.Profile_distribution_2_profile(self, r_dist)
1058 def resample(self, exp_profile, resampled_profile):
1059 """resample(Profile self, Profile exp_profile, Profile resampled_profile)"""
1060 return _IMP_saxs.Profile_resample(self, exp_profile, resampled_profile)
1063 def downsample(self, downsampled_profile, point_number):
1064 """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
1065 return _IMP_saxs.Profile_downsample(self, downsampled_profile, point_number)
1070 radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
1071 radius_of_gyration(Profile self) -> double
1073 return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
1076 def mean_intensity(self):
1077 """mean_intensity(Profile self) -> double"""
1078 return _IMP_saxs.Profile_mean_intensity(self)
1081 def read_SAXS_file(self, file_name, fit_file=False, max_q=0.0, units=1):
1083 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1)
1084 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0)
1085 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False)
1086 read_SAXS_file(Profile self, std::string const & file_name)
1088 return _IMP_saxs.Profile_read_SAXS_file(self, file_name, fit_file, max_q, units)
1091 def write_SAXS_file(self, file_name, max_q=0.0):
1093 write_SAXS_file(Profile self, std::string const & file_name, double max_q=0.0)
1094 write_SAXS_file(Profile self, std::string const & file_name)
1096 return _IMP_saxs.Profile_write_SAXS_file(self, file_name, max_q)
1099 def read_partial_profiles(self, file_name):
1100 """read_partial_profiles(Profile self, std::string const & file_name)"""
1101 return _IMP_saxs.Profile_read_partial_profiles(self, file_name)
1104 def write_partial_profiles(self, file_name):
1105 """write_partial_profiles(Profile self, std::string const & file_name)"""
1106 return _IMP_saxs.Profile_write_partial_profiles(self, file_name)
1109 def get_delta_q(self):
1110 """get_delta_q(Profile self) -> double"""
1111 return _IMP_saxs.Profile_get_delta_q(self)
1114 def get_min_q(self):
1115 """get_min_q(Profile self) -> double"""
1116 return _IMP_saxs.Profile_get_min_q(self)
1119 def get_max_q(self):
1120 """get_max_q(Profile self) -> double"""
1121 return _IMP_saxs.Profile_get_max_q(self)
1124 def get_intensity(self, i):
1125 """get_intensity(Profile self, unsigned int i) -> double"""
1126 return _IMP_saxs.Profile_get_intensity(self, i)
1130 """get_q(Profile self, unsigned int i) -> double"""
1131 return _IMP_saxs.Profile_get_q(self, i)
1134 def get_error(self, i):
1135 """get_error(Profile self, unsigned int i) -> double"""
1136 return _IMP_saxs.Profile_get_error(self, i)
1139 def get_weight(self, i):
1140 """get_weight(Profile self, unsigned int i) -> double"""
1141 return _IMP_saxs.Profile_get_weight(self, i)
1145 """get_qs(Profile self) -> Eigen::VectorXf const &"""
1146 return _IMP_saxs.Profile_get_qs(self)
1149 def get_intensities(self):
1150 """get_intensities(Profile self) -> Eigen::VectorXf const &"""
1151 return _IMP_saxs.Profile_get_intensities(self)
1154 def get_errors(self):
1155 """get_errors(Profile self) -> Eigen::VectorXf const &"""
1156 return _IMP_saxs.Profile_get_errors(self)
1159 def get_average_radius(self):
1160 """get_average_radius(Profile self) -> double"""
1161 return _IMP_saxs.Profile_get_average_radius(self)
1165 """size(Profile self) -> unsigned int"""
1166 return _IMP_saxs.Profile_size(self)
1169 def is_uniform_sampling(self):
1170 """is_uniform_sampling(Profile self) -> bool"""
1171 return _IMP_saxs.Profile_is_uniform_sampling(self)
1174 def is_partial_profile(self):
1175 """is_partial_profile(Profile self) -> bool"""
1176 return _IMP_saxs.Profile_is_partial_profile(self)
1180 """get_name(Profile self) -> std::string"""
1181 return _IMP_saxs.Profile_get_name(self)
1185 """get_id(Profile self) -> unsigned int"""
1186 return _IMP_saxs.Profile_get_id(self)
1189 def set_qs(self, q):
1190 """set_qs(Profile self, Eigen::VectorXf const & q)"""
1191 return _IMP_saxs.Profile_set_qs(self, q)
1194 def set_intensities(self, i):
1195 """set_intensities(Profile self, Eigen::VectorXf const & i)"""
1196 return _IMP_saxs.Profile_set_intensities(self, i)
1199 def set_errors(self, e):
1200 """set_errors(Profile self, Eigen::VectorXf const & e)"""
1201 return _IMP_saxs.Profile_set_errors(self, e)
1204 def set_intensity(self, i, iq):
1205 """set_intensity(Profile self, unsigned int i, double iq)"""
1206 return _IMP_saxs.Profile_set_intensity(self, i, iq)
1209 def set_ff_table(self, ff_table):
1210 """set_ff_table(Profile self, FormFactorTable ff_table)"""
1211 return _IMP_saxs.Profile_set_ff_table(self, ff_table)
1214 def set_average_radius(self, r):
1215 """set_average_radius(Profile self, double r)"""
1216 return _IMP_saxs.Profile_set_average_radius(self, r)
1219 def set_average_volume(self, v):
1220 """set_average_volume(Profile self, double v)"""
1221 return _IMP_saxs.Profile_set_average_volume(self, v)
1224 def set_name(self, name):
1225 """set_name(Profile self, std::string name)"""
1226 return _IMP_saxs.Profile_set_name(self, name)
1229 def set_id(self, id):
1230 """set_id(Profile self, unsigned int id)"""
1231 return _IMP_saxs.Profile_set_id(self, id)
1234 def set_beam_profile(self, beam_profile_file):
1235 """set_beam_profile(Profile self, std::string beam_profile_file)"""
1236 return _IMP_saxs.Profile_set_beam_profile(self, beam_profile_file)
1239 def add_errors(self):
1240 """add_errors(Profile self)"""
1241 return _IMP_saxs.Profile_add_errors(self)
1244 def add_noise(self, percentage=0.03):
1246 add_noise(Profile self, double percentage=0.03)
1247 add_noise(Profile self)
1249 return _IMP_saxs.Profile_add_noise(self, percentage)
1252 def sum_partial_profiles(self, c1, c2, check_cashed=True):
1254 sum_partial_profiles(Profile self, double c1, double c2, bool check_cashed=True)
1255 sum_partial_profiles(Profile self, double c1, double c2)
1257 return _IMP_saxs.Profile_sum_partial_profiles(self, c1, c2, check_cashed)
1260 def add(self, *args):
1262 add(Profile self, Profile other_profile, double weight=1.0)
1263 add(Profile self, Profile other_profile)
1264 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1265 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1267 return _IMP_saxs.Profile_add(self, *args)
1270 def add_partial_profiles(self, *args):
1272 add_partial_profiles(Profile self, Profile other_profile, double weight=1.0)
1273 add_partial_profiles(Profile self, Profile other_profile)
1274 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1275 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1277 return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1280 def background_adjust(self, start_q):
1281 """background_adjust(Profile self, double start_q)"""
1282 return _IMP_saxs.Profile_background_adjust(self, start_q)
1286 """scale(Profile self, double c)"""
1287 return _IMP_saxs.Profile_scale(self, c)
1290 def offset(self, c):
1291 """offset(Profile self, double c)"""
1292 return _IMP_saxs.Profile_offset(self, c)
1295 def copy_errors(self, exp_profile):
1296 """copy_errors(Profile self, Profile exp_profile)"""
1297 return _IMP_saxs.Profile_copy_errors(self, exp_profile)
1300 def get_version_info(self):
1301 """get_version_info(Profile self) -> VersionInfo"""
1302 return _IMP_saxs.Profile_get_version_info(self)
1306 """__str__(Profile self) -> std::string"""
1307 return _IMP_saxs.Profile___str__(self)
1311 """__repr__(Profile self) -> std::string"""
1312 return _IMP_saxs.Profile___repr__(self)
1317 return _object_cast_to_Profile(o)
1319 Profile_swigregister = _IMP_saxs.Profile_swigregister
1320 Profile_swigregister(Profile)
1321 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1323 class FitParameters(object):
1324 """Proxy of C++ IMP::saxs::FitParameters class"""
1325 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1326 __repr__ = _swig_repr
1328 def __init__(self, *args):
1330 __init__(IMP::saxs::FitParameters self) -> FitParameters
1331 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2, double c, double o) -> FitParameters
1332 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2) -> FitParameters
1334 this = _IMP_saxs.new_FitParameters(*args)
1336 self.this.append(this)
1340 def get_score(self):
1341 """get_score(FitParameters self) -> double"""
1342 return _IMP_saxs.FitParameters_get_score(self)
1345 def get_chi_square(self):
1346 """get_chi_square(FitParameters self) -> double"""
1347 return _IMP_saxs.FitParameters_get_chi_square(self)
1351 """get_c1(FitParameters self) -> double"""
1352 return _IMP_saxs.FitParameters_get_c1(self)
1356 """get_c2(FitParameters self) -> double"""
1357 return _IMP_saxs.FitParameters_get_c2(self)
1360 def get_scale(self):
1361 """get_scale(FitParameters self) -> double"""
1362 return _IMP_saxs.FitParameters_get_scale(self)
1365 def get_offset(self):
1366 """get_offset(FitParameters self) -> double"""
1367 return _IMP_saxs.FitParameters_get_offset(self)
1370 def get_default_chi_square(self):
1371 """get_default_chi_square(FitParameters self) -> double"""
1372 return _IMP_saxs.FitParameters_get_default_chi_square(self)
1375 def get_pdb_file_name(self):
1376 """get_pdb_file_name(FitParameters self) -> std::string"""
1377 return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1380 def get_profile_file_name(self):
1381 """get_profile_file_name(FitParameters self) -> std::string"""
1382 return _IMP_saxs.FitParameters_get_profile_file_name(self)
1385 def get_mol_index(self):
1386 """get_mol_index(FitParameters self) -> int"""
1387 return _IMP_saxs.FitParameters_get_mol_index(self)
1390 def set_score(self, score):
1391 """set_score(FitParameters self, double score)"""
1392 return _IMP_saxs.FitParameters_set_score(self, score)
1395 def set_chi_square(self, chi_square):
1396 """set_chi_square(FitParameters self, double chi_square)"""
1397 return _IMP_saxs.FitParameters_set_chi_square(self, chi_square)
1400 def set_default_chi_square(self, chi_square):
1401 """set_default_chi_square(FitParameters self, double chi_square)"""
1402 return _IMP_saxs.FitParameters_set_default_chi_square(self, chi_square)
1405 def set_profile_file_name(self, file_name):
1406 """set_profile_file_name(FitParameters self, std::string file_name)"""
1407 return _IMP_saxs.FitParameters_set_profile_file_name(self, file_name)
1410 def set_pdb_file_name(self, file_name):
1411 """set_pdb_file_name(FitParameters self, std::string file_name)"""
1412 return _IMP_saxs.FitParameters_set_pdb_file_name(self, file_name)
1415 def set_mol_index(self, index):
1416 """set_mol_index(FitParameters self, int index)"""
1417 return _IMP_saxs.FitParameters_set_mol_index(self, index)
1421 """show(FitParameters self, _ostream s)"""
1422 return _IMP_saxs.FitParameters_show(self, s)
1424 __swig_destroy__ = _IMP_saxs.delete_FitParameters
1425 __del__ =
lambda self:
None
1426 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1427 FitParameters_swigregister(FitParameters)
1429 class WeightedFitParameters(FitParameters):
1430 """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1432 __repr__ = _swig_repr
1434 def __init__(self, *args):
1436 __init__(IMP::saxs::WeightedFitParameters self) -> WeightedFitParameters
1437 __init__(IMP::saxs::WeightedFitParameters self, double chi_square, double c1, double c2, IMP::Vector< double > const & weights) -> WeightedFitParameters
1439 this = _IMP_saxs.new_WeightedFitParameters(*args)
1441 self.this.append(this)
1445 def get_weights(self):
1446 """get_weights(WeightedFitParameters self) -> IMP::Vector< double > const &"""
1447 return _IMP_saxs.WeightedFitParameters_get_weights(self)
1450 def set_weights(self, weights):
1451 """set_weights(WeightedFitParameters self, IMP::Vector< double > const & weights)"""
1452 return _IMP_saxs.WeightedFitParameters_set_weights(self, weights)
1456 """show(WeightedFitParameters self, _ostream s)"""
1457 return _IMP_saxs.WeightedFitParameters_show(self, s)
1459 __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1460 __del__ =
lambda self:
None
1461 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1462 WeightedFitParameters_swigregister(WeightedFitParameters)
1465 """Proxy of C++ IMP::saxs::ChiScore class"""
1466 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1469 """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1470 this = _IMP_saxs.new_ChiScore()
1472 self.this.append(this)
1476 def compute_score(self, exp_profile, model_profile, use_offset=False):
1478 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1479 compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1481 return _IMP_saxs.ChiScore_compute_score(self, exp_profile, model_profile, use_offset)
1484 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1486 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1487 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1489 return _IMP_saxs.ChiScore_compute_scale_factor(self, exp_profile, model_profile, offset)
1492 def compute_offset(self, exp_profile, model_profile):
1493 """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> double"""
1494 return _IMP_saxs.ChiScore_compute_offset(self, exp_profile, model_profile)
1497 def get_version_info(self):
1498 """get_version_info(ChiScore self) -> VersionInfo"""
1499 return _IMP_saxs.ChiScore_get_version_info(self)
1503 """__str__(ChiScore self) -> std::string"""
1504 return _IMP_saxs.ChiScore___str__(self)
1508 """__repr__(ChiScore self) -> std::string"""
1509 return _IMP_saxs.ChiScore___repr__(self)
1514 return _object_cast_to_ChiScore(o)
1516 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1517 ChiScore_swigregister(ChiScore)
1520 """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1521 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1524 """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1525 this = _IMP_saxs.new_ChiScoreLog()
1527 self.this.append(this)
1531 def compute_score(self, *args):
1533 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1534 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1535 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, double min_q, double max_q) -> double
1537 return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1540 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1542 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1543 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1545 return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, exp_profile, model_profile, offset)
1548 def compute_offset(self, exp_profile, model_profile):
1549 """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double"""
1550 return _IMP_saxs.ChiScoreLog_compute_offset(self, exp_profile, model_profile)
1553 def get_version_info(self):
1554 """get_version_info(ChiScoreLog self) -> VersionInfo"""
1555 return _IMP_saxs.ChiScoreLog_get_version_info(self)
1559 """__str__(ChiScoreLog self) -> std::string"""
1560 return _IMP_saxs.ChiScoreLog___str__(self)
1564 """__repr__(ChiScoreLog self) -> std::string"""
1565 return _IMP_saxs.ChiScoreLog___repr__(self)
1570 return _object_cast_to_ChiScoreLog(o)
1572 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1573 ChiScoreLog_swigregister(ChiScoreLog)
1576 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1577 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1578 __repr__ = _swig_repr
1580 def __init__(self, *args):
1582 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1583 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1585 this = _IMP_saxs.new_ProfileFitterChi(*args)
1587 self.this.append(this)
1591 def compute_score(self, *args):
1593 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1594 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> double
1595 compute_score(ProfileFitterChi self, Profile model_profile) -> double
1597 return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1600 def fit_profile(self, *args):
1602 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
1603 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
1604 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
1605 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1606 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1607 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1608 fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1610 return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1613 def compute_scale_factor(self, model_profile, offset=0.0):
1615 compute_scale_factor(ProfileFitterChi self, Profile model_profile, double offset=0.0) -> double
1616 compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> double
1618 return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, model_profile, offset)
1621 def compute_offset(self, model_profile):
1622 """compute_offset(ProfileFitterChi self, Profile model_profile) -> double"""
1623 return _IMP_saxs.ProfileFitterChi_compute_offset(self, model_profile)
1626 def resample(self, model_profile, resampled_profile):
1627 """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1628 return _IMP_saxs.ProfileFitterChi_resample(self, model_profile, resampled_profile)
1631 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
1633 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
1634 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
1635 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square)
1637 return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
1640 def get_profile(self):
1641 """get_profile(ProfileFitterChi self) -> Profile"""
1642 return _IMP_saxs.ProfileFitterChi_get_profile(self)
1644 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1645 __del__ =
lambda self:
None
1646 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1647 ProfileFitterChi_swigregister(ProfileFitterChi)
1649 class WeightedProfileFitterChi(ProfileFitterChi):
1650 """Proxy of C++ IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> class"""
1651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1652 __repr__ = _swig_repr
1654 def __init__(self, exp_profile):
1655 """__init__(IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> WeightedProfileFitterChi"""
1656 this = _IMP_saxs.new_WeightedProfileFitterChi(exp_profile)
1658 self.this.append(this)
1662 def compute_score(self, profiles, weights, use_offset=False, NNLS=True):
1664 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False, bool NNLS=True) -> double
1665 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False) -> double
1666 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights) -> double
1668 return _IMP_saxs.WeightedProfileFitterChi_compute_score(self, profiles, weights, use_offset, NNLS)
1671 def fit_profile(self, partial_profiles, min_c1=0.95, max_c1=1.05, min_c2=-2.0, max_c2=4.0, use_offset=False):
1673 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> WeightedFitParameters
1674 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> WeightedFitParameters
1675 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> WeightedFitParameters
1676 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05) -> WeightedFitParameters
1677 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95) -> WeightedFitParameters
1678 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1680 return _IMP_saxs.WeightedProfileFitterChi_fit_profile(self, partial_profiles, min_c1, max_c1, min_c2, max_c2, use_offset)
1683 def write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset=False):
1685 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name, bool use_offset=False)
1686 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)
1688 return _IMP_saxs.WeightedProfileFitterChi_write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset)
1690 __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitterChi
1691 __del__ =
lambda self:
None
1692 WeightedProfileFitterChi_swigregister = _IMP_saxs.WeightedProfileFitterChi_swigregister
1693 WeightedProfileFitterChi_swigregister(WeightedProfileFitterChi)
1696 """Proxy of C++ IMP::saxs::Restraint class"""
1697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1698 __repr__ = _swig_repr
1700 def __init__(self, *args):
1702 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type) -> Restraint
1703 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile) -> Restraint
1705 this = _IMP_saxs.new_Restraint(*args)
1707 self.this.append(this)
1711 if self.__class__ != Restraint:
1712 _director_objects.register(self)
1717 def do_get_inputs(self):
1718 """do_get_inputs(Restraint self) -> IMP::ModelObjectsTemp"""
1719 return _IMP_saxs.Restraint_do_get_inputs(self)
1722 def get_version_info(self):
1723 """get_version_info(Restraint self) -> VersionInfo"""
1724 return _IMP_saxs.Restraint_get_version_info(self)
1726 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1727 Restraint_swigregister(Restraint)
1729 class RadiusOfGyrationRestraint(Restraint):
1730 """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1732 __repr__ = _swig_repr
1734 def __init__(self, particles, exp_profile, end_q_rg=1.3):
1736 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1737 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1739 this = _IMP_saxs.new_RadiusOfGyrationRestraint(particles, exp_profile, end_q_rg)
1741 self.this.append(this)
1744 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1745 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1747 class FloatDistribution(DistBase):
1748 """Proxy of C++ IMP::saxs::Distribution<(double)> class"""
1749 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1750 __repr__ = _swig_repr
1752 def __init__(self, *args):
1754 __init__(IMP::saxs::Distribution<(double)> self, double bin_size) -> FloatDistribution
1755 __init__(IMP::saxs::Distribution<(double)> self) -> FloatDistribution
1757 this = _IMP_saxs.new_FloatDistribution(*args)
1759 self.this.append(this)
1763 def get_max_distance(self):
1764 """get_max_distance(FloatDistribution self) -> double"""
1765 return _IMP_saxs.FloatDistribution_get_max_distance(self)
1768 def get_bin_size(self):
1769 """get_bin_size(FloatDistribution self) -> double"""
1770 return _IMP_saxs.FloatDistribution_get_bin_size(self)
1773 def get_index_from_distance(self, dist):
1774 """get_index_from_distance(FloatDistribution self, double dist) -> unsigned int"""
1775 return _IMP_saxs.FloatDistribution_get_index_from_distance(self, dist)
1778 def get_distance_from_index(self, index):
1779 """get_distance_from_index(FloatDistribution self, unsigned int index) -> double"""
1780 return _IMP_saxs.FloatDistribution_get_distance_from_index(self, index)
1782 __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1783 __del__ =
lambda self:
None
1784 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1785 FloatDistribution_swigregister(FloatDistribution)
1787 class VectorDistribution(object):
1788 """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1790 __repr__ = _swig_repr
1792 def __init__(self, *args):
1794 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, double bin_size) -> VectorDistribution
1795 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1797 this = _IMP_saxs.new_VectorDistribution(*args)
1799 self.this.append(this)
1803 def get_max_distance(self):
1804 """get_max_distance(VectorDistribution self) -> double"""
1805 return _IMP_saxs.VectorDistribution_get_max_distance(self)
1808 def get_bin_size(self):
1809 """get_bin_size(VectorDistribution self) -> double"""
1810 return _IMP_saxs.VectorDistribution_get_bin_size(self)
1813 def get_index_from_distance(self, dist):
1814 """get_index_from_distance(VectorDistribution self, double dist) -> unsigned int"""
1815 return _IMP_saxs.VectorDistribution_get_index_from_distance(self, dist)
1818 def get_distance_from_index(self, index):
1819 """get_distance_from_index(VectorDistribution self, unsigned int index) -> double"""
1820 return _IMP_saxs.VectorDistribution_get_distance_from_index(self, index)
1822 __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1823 __del__ =
lambda self:
None
1824 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1825 VectorDistribution_swigregister(VectorDistribution)
1827 class RadialDistributionFunction(FloatDistribution):
1828 """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1829 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1830 __repr__ = _swig_repr
1832 def __init__(self, *args):
1834 __init__(IMP::saxs::RadialDistributionFunction self, double bin_size) -> RadialDistributionFunction
1835 __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1836 __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1838 this = _IMP_saxs.new_RadialDistributionFunction(*args)
1840 self.this.append(this)
1845 """scale(RadialDistributionFunction self, double c)"""
1846 return _IMP_saxs.RadialDistributionFunction_scale(self, c)
1849 def add(self, model_pr):
1850 """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1851 return _IMP_saxs.RadialDistributionFunction_add(self, model_pr)
1854 def show(self, *args):
1856 show(RadialDistributionFunction self, _ostream out)
1857 show(RadialDistributionFunction self)
1859 return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1862 def R_factor_score(self, *args):
1864 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1865 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1867 return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1870 def fit(self, *args):
1872 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1873 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1875 return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1878 def normalize(self):
1879 """normalize(RadialDistributionFunction self)"""
1880 return _IMP_saxs.RadialDistributionFunction_normalize(self)
1883 def add_to_distribution(self, dist, value):
1884 """add_to_distribution(RadialDistributionFunction self, double dist, double value)"""
1885 return _IMP_saxs.RadialDistributionFunction_add_to_distribution(self, dist, value)
1887 __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1888 __del__ =
lambda self:
None
1889 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1890 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1892 class DeltaDistributionFunction(VectorDistribution):
1893 """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1895 __repr__ = _swig_repr
1897 def __init__(self, *args):
1899 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0, double bin_size) -> DeltaDistributionFunction
1900 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0) -> DeltaDistributionFunction
1901 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles) -> DeltaDistributionFunction
1903 this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1905 self.this.append(this)
1909 def calculate_derivative_distribution(self, particle):
1910 """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1911 return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, particle)
1914 def show(self, *args):
1916 show(DeltaDistributionFunction self, _ostream out, std::string prefix)
1917 show(DeltaDistributionFunction self, _ostream out)
1918 show(DeltaDistributionFunction self)
1920 return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1922 __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1923 __del__ =
lambda self:
None
1924 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1925 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1927 class SolventAccessibleSurface(object):
1928 """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1929 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1930 __repr__ = _swig_repr
1932 def get_solvent_accessibility(self, points, probe_radius=1.8, density=5.0):
1934 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8, double density=5.0) -> IMP::Vector< double >
1935 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8) -> IMP::Vector< double >
1936 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Vector< double >
1938 return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, points, probe_radius, density)
1942 """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1943 this = _IMP_saxs.new_SolventAccessibleSurface()
1945 self.this.append(this)
1948 __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1949 __del__ =
lambda self:
None
1950 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1951 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1954 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1955 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1956 __repr__ = _swig_repr
1958 def __init__(self, *args):
1960 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1961 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1963 this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1965 self.this.append(this)
1969 def compute_score(self, *args):
1971 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1972 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> double
1973 compute_score(ProfileFitterChiLog self, Profile model_profile) -> double
1975 return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1978 def fit_profile(self, *args):
1980 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
1981 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
1982 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
1983 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1984 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1985 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1986 fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1988 return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1991 def compute_scale_factor(self, model_profile, offset=0.0):
1993 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, double offset=0.0) -> double
1994 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> double
1996 return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, model_profile, offset)
1999 def compute_offset(self, model_profile):
2000 """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> double"""
2001 return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, model_profile)
2004 def resample(self, model_profile, resampled_profile):
2005 """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
2006 return _IMP_saxs.ProfileFitterChiLog_resample(self, model_profile, resampled_profile)
2009 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2011 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
2012 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2013 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square)
2015 return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2018 def get_profile(self):
2019 """get_profile(ProfileFitterChiLog self) -> Profile"""
2020 return _IMP_saxs.ProfileFitterChiLog_get_profile(self)
2022 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
2023 __del__ =
lambda self:
None
2024 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
2025 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
2027 class ProfileFitterRatioVolatility(
IMP.Object):
2028 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> class"""
2029 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2030 __repr__ = _swig_repr
2032 def __init__(self, *args):
2034 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile) -> ProfileFitterRatioVolatility
2035 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile, IMP::saxs::RatioVolatilityScore * sf) -> ProfileFitterRatioVolatility
2037 this = _IMP_saxs.new_ProfileFitterRatioVolatility(*args)
2039 self.this.append(this)
2043 def compute_score(self, *args):
2045 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
2046 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False) -> double
2047 compute_score(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2049 return _IMP_saxs.ProfileFitterRatioVolatility_compute_score(self, *args)
2052 def fit_profile(self, *args):
2054 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
2055 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
2056 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
2057 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
2058 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
2059 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95) -> FitParameters
2060 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile) -> FitParameters
2062 return _IMP_saxs.ProfileFitterRatioVolatility_fit_profile(self, *args)
2065 def compute_scale_factor(self, model_profile, offset=0.0):
2067 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile, double offset=0.0) -> double
2068 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2070 return _IMP_saxs.ProfileFitterRatioVolatility_compute_scale_factor(self, model_profile, offset)
2073 def compute_offset(self, model_profile):
2074 """compute_offset(ProfileFitterRatioVolatility self, Profile model_profile) -> double"""
2075 return _IMP_saxs.ProfileFitterRatioVolatility_compute_offset(self, model_profile)
2078 def resample(self, model_profile, resampled_profile):
2079 """resample(ProfileFitterRatioVolatility self, Profile model_profile, Profile resampled_profile)"""
2080 return _IMP_saxs.ProfileFitterRatioVolatility_resample(self, model_profile, resampled_profile)
2083 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2085 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
2086 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2087 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square)
2089 return _IMP_saxs.ProfileFitterRatioVolatility_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2092 def get_profile(self):
2093 """get_profile(ProfileFitterRatioVolatility self) -> Profile"""
2094 return _IMP_saxs.ProfileFitterRatioVolatility_get_profile(self)
2096 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterRatioVolatility
2097 __del__ =
lambda self:
None
2098 ProfileFitterRatioVolatility_swigregister = _IMP_saxs.ProfileFitterRatioVolatility_swigregister
2099 ProfileFitterRatioVolatility_swigregister(ProfileFitterRatioVolatility)
2103 """get_module_version() -> std::string const"""
2104 return _IMP_saxs.get_module_version()
2107 """get_example_path(std::string fname) -> std::string"""
2108 return _IMP_saxs.get_example_path(fname)
2111 """get_data_path(std::string fname) -> std::string"""
2112 return _IMP_saxs.get_data_path(fname)
2114 from .
import _version_check
def get_example_path
Return the full path to one of this module's example files.
Various classes to hold sets of particles.
def get_data_path
Return the full path to one of this module's data files.
Make CGAL functionality available to IMP.
def get_module_version
Return the version of this module, as a string.
FormFactorTable * get_default_form_factor_table()
Composable functors to implement scores via compile-time composition.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Common base class for heavy weight IMP objects.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
double radius_of_gyration(const Particles &particles)
compute radius_of_gyration
A restraint is a term in an IMP ScoringFunction.