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_SERIALIZATION_swigconstant(_IMP_saxs)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_saxs.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_saxs)
350 IMP_CGAL_HAS_NUMPY = _IMP_saxs.IMP_CGAL_HAS_NUMPY
352 _IMP_saxs.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
353 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
356 _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_saxs.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_saxs)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
377 _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_saxs)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_saxs.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_saxs)
381 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
383 _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_saxs)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_saxs.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_saxs)
406 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
408 _IMP_saxs.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_saxs)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_saxs.IMP_DISPLAY_HAS_NUMPY
411 _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_saxs)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
415 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
418 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
421 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
427 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
430 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
433 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_saxs)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
436 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_saxs)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5
439 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_saxs)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY
442 _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_saxs)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
446 _IMP_saxs.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
449 _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
452 _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
455 _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
458 _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
461 _IMP_saxs.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_CORE_HAS_BOOST_SERIALIZATION
464 _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
467 _IMP_saxs.IMP_CORE_HAS_CGAL_swigconstant(_IMP_saxs)
468 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
470 _IMP_saxs.IMP_CORE_HAS_HDF5_swigconstant(_IMP_saxs)
471 IMP_CORE_HAS_HDF5 = _IMP_saxs.IMP_CORE_HAS_HDF5
473 _IMP_saxs.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_saxs)
474 IMP_CORE_HAS_NUMPY = _IMP_saxs.IMP_CORE_HAS_NUMPY
476 _IMP_saxs.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_saxs)
477 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
480 _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_saxs)
481 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
483 _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
484 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
486 _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
487 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
489 _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
490 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
492 _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
493 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
495 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
496 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
498 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
499 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
501 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
502 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
504 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
505 IMP_CONTAINER_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SERIALIZATION
507 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
508 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
510 _IMP_saxs.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_saxs)
511 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
513 _IMP_saxs.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_saxs)
514 IMP_CONTAINER_HAS_HDF5 = _IMP_saxs.IMP_CONTAINER_HAS_HDF5
516 _IMP_saxs.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_saxs)
517 IMP_CONTAINER_HAS_NUMPY = _IMP_saxs.IMP_CONTAINER_HAS_NUMPY
519 _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
520 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM
522 _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_saxs)
523 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
525 _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_saxs)
526 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP
528 _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_saxs)
529 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
532 _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
533 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
535 _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
536 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
538 _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
539 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
541 _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
542 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
544 _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
545 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
547 _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
548 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
550 _IMP_saxs.IMP_ATOM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
551 IMP_ATOM_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_ATOM_HAS_BOOST_SERIALIZATION
553 _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
554 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
556 _IMP_saxs.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_saxs)
557 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
559 _IMP_saxs.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_saxs)
560 IMP_ATOM_HAS_HDF5 = _IMP_saxs.IMP_ATOM_HAS_HDF5
562 _IMP_saxs.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_saxs)
563 IMP_ATOM_HAS_NUMPY = _IMP_saxs.IMP_ATOM_HAS_NUMPY
565 _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
566 IMP_ATOM_HAS_PYTHON_IHM = _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM
568 _IMP_saxs.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_saxs)
569 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
571 _IMP_saxs.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_saxs)
572 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
574 _IMP_saxs.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_saxs)
575 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
577 _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_saxs)
578 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
580 _IMP_saxs.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_saxs)
581 IMP_CHAIN_TYPE_INDEX = _IMP_saxs.IMP_CHAIN_TYPE_INDEX
584 _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
585 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
587 _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_saxs)
588 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
590 _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
591 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
593 _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
594 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
596 _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
597 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
599 _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
600 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
602 _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
603 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
605 _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
606 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
608 _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
609 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
611 _IMP_saxs.IMP_SAXS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_saxs)
612 IMP_SAXS_HAS_BOOST_SERIALIZATION = _IMP_saxs.IMP_SAXS_HAS_BOOST_SERIALIZATION
614 _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
615 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
617 _IMP_saxs.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_saxs)
618 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
620 _IMP_saxs.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_saxs)
621 IMP_SAXS_HAS_HDF5 = _IMP_saxs.IMP_SAXS_HAS_HDF5
623 _IMP_saxs.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_saxs)
624 IMP_SAXS_HAS_NUMPY = _IMP_saxs.IMP_SAXS_HAS_NUMPY
626 _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
627 IMP_SAXS_HAS_PYTHON_IHM = _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM
629 _IMP_saxs.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_saxs)
630 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
631 class DistBase(object):
632 """Proxy of C++ std::vector<(double)> class"""
633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
634 __repr__ = _swig_repr
637 """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
638 return _IMP_saxs.DistBase_iterator(self)
641 return self.iterator()
643 def __nonzero__(self):
644 """__nonzero__(DistBase self) -> bool"""
645 return _IMP_saxs.DistBase___nonzero__(self)
649 """__bool__(DistBase self) -> bool"""
650 return _IMP_saxs.DistBase___bool__(self)
654 """__len__(DistBase self) -> std::vector< double >::size_type"""
655 return _IMP_saxs.DistBase___len__(self)
659 """pop(DistBase self) -> std::vector< double >::value_type"""
660 return _IMP_saxs.DistBase_pop(self)
663 def __getslice__(self, i, j):
664 """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
665 return _IMP_saxs.DistBase___getslice__(self, i, j)
668 def __setslice__(self, *args):
670 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, DistBase v)
671 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
673 return _IMP_saxs.DistBase___setslice__(self, *args)
676 def __delslice__(self, i, j):
677 """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
678 return _IMP_saxs.DistBase___delslice__(self, i, j)
681 def __delitem__(self, *args):
683 __delitem__(DistBase self, std::vector< double >::difference_type i)
684 __delitem__(DistBase self, PySliceObject * slice)
686 return _IMP_saxs.DistBase___delitem__(self, *args)
689 def __getitem__(self, *args):
691 __getitem__(DistBase self, PySliceObject * slice) -> DistBase
692 __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
694 return _IMP_saxs.DistBase___getitem__(self, *args)
697 def __setitem__(self, *args):
699 __setitem__(DistBase self, PySliceObject * slice, DistBase v)
700 __setitem__(DistBase self, PySliceObject * slice)
701 __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
703 return _IMP_saxs.DistBase___setitem__(self, *args)
707 """append(DistBase self, std::vector< double >::value_type const & x)"""
708 return _IMP_saxs.DistBase_append(self, x)
712 """empty(DistBase self) -> bool"""
713 return _IMP_saxs.DistBase_empty(self)
717 """size(DistBase self) -> std::vector< double >::size_type"""
718 return _IMP_saxs.DistBase_size(self)
722 """clear(DistBase self)"""
723 return _IMP_saxs.DistBase_clear(self)
727 """swap(DistBase self, DistBase v)"""
728 return _IMP_saxs.DistBase_swap(self, v)
731 def get_allocator(self):
732 """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
733 return _IMP_saxs.DistBase_get_allocator(self)
737 """begin(DistBase self) -> std::vector< double >::iterator"""
738 return _IMP_saxs.DistBase_begin(self)
742 """end(DistBase self) -> std::vector< double >::iterator"""
743 return _IMP_saxs.DistBase_end(self)
747 """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
748 return _IMP_saxs.DistBase_rbegin(self)
752 """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
753 return _IMP_saxs.DistBase_rend(self)
757 """pop_back(DistBase self)"""
758 return _IMP_saxs.DistBase_pop_back(self)
761 def erase(self, *args):
763 erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
764 erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
766 return _IMP_saxs.DistBase_erase(self, *args)
769 def __init__(self, *args):
771 __init__(std::vector<(double)> self) -> DistBase
772 __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
773 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
774 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
776 this = _IMP_saxs.new_DistBase(*args)
778 self.this.append(this)
782 def push_back(self, x):
783 """push_back(DistBase self, std::vector< double >::value_type const & x)"""
784 return _IMP_saxs.DistBase_push_back(self, x)
788 """front(DistBase self) -> std::vector< double >::value_type const &"""
789 return _IMP_saxs.DistBase_front(self)
793 """back(DistBase self) -> std::vector< double >::value_type const &"""
794 return _IMP_saxs.DistBase_back(self)
797 def assign(self, n, x):
798 """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
799 return _IMP_saxs.DistBase_assign(self, n, x)
802 def resize(self, *args):
804 resize(DistBase self, std::vector< double >::size_type new_size)
805 resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
807 return _IMP_saxs.DistBase_resize(self, *args)
810 def insert(self, *args):
812 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
813 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
815 return _IMP_saxs.DistBase_insert(self, *args)
818 def reserve(self, n):
819 """reserve(DistBase self, std::vector< double >::size_type n)"""
820 return _IMP_saxs.DistBase_reserve(self, n)
824 """capacity(DistBase self) -> std::vector< double >::size_type"""
825 return _IMP_saxs.DistBase_capacity(self)
827 __swig_destroy__ = _IMP_saxs.delete_DistBase
828 __del__ =
lambda self:
None
829 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
830 DistBase_swigregister(DistBase)
833 _object_types.append(
"Profile")
836 def _object_cast_to_Profile(o):
837 """_object_cast_to_Profile(Object o) -> Profile"""
838 return _IMP_saxs._object_cast_to_Profile(o)
840 _object_types.append(
"ChiScore")
843 def _object_cast_to_ChiScore(o):
844 """_object_cast_to_ChiScore(Object o) -> ChiScore"""
845 return _IMP_saxs._object_cast_to_ChiScore(o)
847 _object_types.append(
"ChiScoreLog")
850 def _object_cast_to_ChiScoreLog(o):
851 """_object_cast_to_ChiScoreLog(Object o) -> ChiScoreLog"""
852 return _IMP_saxs._object_cast_to_ChiScoreLog(o)
854 _IMP_saxs.ALL_ATOMS_swigconstant(_IMP_saxs)
855 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
857 _IMP_saxs.HEAVY_ATOMS_swigconstant(_IMP_saxs)
858 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
860 _IMP_saxs.CA_ATOMS_swigconstant(_IMP_saxs)
861 CA_ATOMS = _IMP_saxs.CA_ATOMS
863 _IMP_saxs.RESIDUES_swigconstant(_IMP_saxs)
864 RESIDUES = _IMP_saxs.RESIDUES
865 class FormFactorTable(object):
866 """Proxy of C++ IMP::saxs::FormFactorTable class"""
867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
868 __repr__ = _swig_repr
870 def __init__(self, *args):
872 __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
873 __init__(IMP::saxs::FormFactorTable self, std::string const & table_name, double min_q, double max_q, double delta_q) -> FormFactorTable
875 this = _IMP_saxs.new_FormFactorTable(*args)
877 self.this.append(this)
881 def get_form_factor(self, *args):
883 get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
884 get_form_factor(FormFactorTable self, Particle p) -> double
886 return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
889 def get_vacuum_form_factor(self, *args):
891 get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
892 get_vacuum_form_factor(FormFactorTable self, Particle p) -> double
894 return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
897 def get_dummy_form_factor(self, *args):
899 get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
900 get_dummy_form_factor(FormFactorTable self, Particle p) -> double
902 return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
905 def get_water_form_factor(self):
906 """get_water_form_factor(FormFactorTable self) -> double"""
907 return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
910 def get_vacuum_water_form_factor(self):
911 """get_vacuum_water_form_factor(FormFactorTable self) -> double"""
912 return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
915 def get_dummy_water_form_factor(self):
916 """get_dummy_water_form_factor(FormFactorTable self) -> double"""
917 return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
920 def get_form_factors(self, *args):
922 get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
923 get_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
925 return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
928 def get_vacuum_form_factors(self, *args):
930 get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
931 get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
933 return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
936 def get_dummy_form_factors(self, *args):
938 get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
939 get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
941 return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
944 def get_water_form_factors(self):
945 """get_water_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
946 return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
949 def get_water_vacuum_form_factors(self):
950 """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
951 return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
954 def get_water_dummy_form_factors(self):
955 """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
956 return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
959 def get_radius(self, *args):
961 get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
962 get_radius(FormFactorTable self, Particle p) -> double
964 return _IMP_saxs.FormFactorTable_get_radius(self, *args)
969 get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
970 get_volume(FormFactorTable self, Particle p) -> double
972 return _IMP_saxs.FormFactorTable_get_volume(self, *args)
975 def show(self, *args):
977 show(FormFactorTable self, _ostream out, std::string prefix)
978 show(FormFactorTable self, _ostream out)
979 show(FormFactorTable self)
981 return _IMP_saxs.FormFactorTable_show(self, *args)
983 rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
984 __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
985 __del__ =
lambda self:
None
986 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
987 FormFactorTable_swigregister(FormFactorTable)
988 cvar = _IMP_saxs.cvar
992 """get_default_form_factor_table() -> FormFactorTable"""
993 return _IMP_saxs.get_default_form_factor_table()
995 """Proxy of C++ IMP::saxs::Profile class"""
996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
998 def __init__(self, *args):
1000 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1) -> Profile
1001 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0) -> Profile
1002 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False) -> Profile
1003 __init__(IMP::saxs::Profile self, std::string const & file_name) -> Profile
1004 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5, double delta=0.005) -> Profile
1005 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5) -> Profile
1006 __init__(IMP::saxs::Profile self, double qmin=0.0) -> Profile
1007 __init__(IMP::saxs::Profile self) -> Profile
1009 this = _IMP_saxs.new_Profile(*args)
1011 self.this.append(this)
1015 def calculate_profile_partial(self, *args):
1017 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
1018 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
1019 calculate_profile_partial(Profile self, IMP::Particles const & particles)
1020 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)
1021 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2)
1022 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1)
1023 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1025 return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
1028 def calculate_profile_reciprocal_partial(self, *args):
1030 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
1031 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
1032 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles)
1034 return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
1037 def calculate_profile(self, *args):
1039 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type, bool reciprocal=False)
1040 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type)
1041 calculate_profile(Profile self, IMP::Particles const & particles)
1042 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::saxs::FormFactorType ff_type)
1043 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1045 return _IMP_saxs.Profile_calculate_profile(self, *args)
1048 def calculate_I0(self, *args):
1050 calculate_I0(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type) -> double
1051 calculate_I0(Profile self, IMP::Particles const & particles) -> double
1053 return _IMP_saxs.Profile_calculate_I0(self, *args)
1056 def calculate_profile_constant_form_factor(self, particles, form_factor=1.0):
1058 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles, double form_factor=1.0)
1059 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles)
1061 return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, particles, form_factor)
1064 def calculate_profile_symmetric(self, *args):
1066 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type)
1067 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n)
1069 return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
1072 def profile_2_distribution(self, rd, max_distance):
1073 """profile_2_distribution(Profile self, RadialDistributionFunction rd, double max_distance)"""
1074 return _IMP_saxs.Profile_profile_2_distribution(self, rd, max_distance)
1077 def distribution_2_profile(self, r_dist):
1078 """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
1079 return _IMP_saxs.Profile_distribution_2_profile(self, r_dist)
1082 def resample(self, exp_profile, resampled_profile):
1083 """resample(Profile self, Profile exp_profile, Profile resampled_profile)"""
1084 return _IMP_saxs.Profile_resample(self, exp_profile, resampled_profile)
1087 def downsample(self, downsampled_profile, point_number):
1088 """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
1089 return _IMP_saxs.Profile_downsample(self, downsampled_profile, point_number)
1094 radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
1095 radius_of_gyration(Profile self) -> double
1097 return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
1100 def mean_intensity(self):
1101 """mean_intensity(Profile self) -> double"""
1102 return _IMP_saxs.Profile_mean_intensity(self)
1105 def read_SAXS_file(self, file_name, fit_file=False, max_q=0.0, units=1):
1107 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1)
1108 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0)
1109 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False)
1110 read_SAXS_file(Profile self, std::string const & file_name)
1112 return _IMP_saxs.Profile_read_SAXS_file(self, file_name, fit_file, max_q, units)
1115 def write_SAXS_file(self, file_name, max_q=0.0):
1117 write_SAXS_file(Profile self, std::string const & file_name, double max_q=0.0)
1118 write_SAXS_file(Profile self, std::string const & file_name)
1120 return _IMP_saxs.Profile_write_SAXS_file(self, file_name, max_q)
1123 def read_partial_profiles(self, file_name):
1124 """read_partial_profiles(Profile self, std::string const & file_name)"""
1125 return _IMP_saxs.Profile_read_partial_profiles(self, file_name)
1128 def write_partial_profiles(self, file_name):
1129 """write_partial_profiles(Profile self, std::string const & file_name)"""
1130 return _IMP_saxs.Profile_write_partial_profiles(self, file_name)
1133 def get_delta_q(self):
1134 """get_delta_q(Profile self) -> double"""
1135 return _IMP_saxs.Profile_get_delta_q(self)
1138 def get_min_q(self):
1139 """get_min_q(Profile self) -> double"""
1140 return _IMP_saxs.Profile_get_min_q(self)
1143 def get_max_q(self):
1144 """get_max_q(Profile self) -> double"""
1145 return _IMP_saxs.Profile_get_max_q(self)
1148 def get_intensity(self, i):
1149 """get_intensity(Profile self, unsigned int i) -> double"""
1150 return _IMP_saxs.Profile_get_intensity(self, i)
1154 """get_q(Profile self, unsigned int i) -> double"""
1155 return _IMP_saxs.Profile_get_q(self, i)
1158 def get_error(self, i):
1159 """get_error(Profile self, unsigned int i) -> double"""
1160 return _IMP_saxs.Profile_get_error(self, i)
1163 def get_weight(self, i):
1164 """get_weight(Profile self, unsigned int i) -> double"""
1165 return _IMP_saxs.Profile_get_weight(self, i)
1169 """get_qs(Profile self) -> Eigen::VectorXf const &"""
1170 return _IMP_saxs.Profile_get_qs(self)
1173 def get_intensities(self):
1174 """get_intensities(Profile self) -> Eigen::VectorXf const &"""
1175 return _IMP_saxs.Profile_get_intensities(self)
1178 def get_errors(self):
1179 """get_errors(Profile self) -> Eigen::VectorXf const &"""
1180 return _IMP_saxs.Profile_get_errors(self)
1183 def get_average_radius(self):
1184 """get_average_radius(Profile self) -> double"""
1185 return _IMP_saxs.Profile_get_average_radius(self)
1189 """size(Profile self) -> unsigned int"""
1190 return _IMP_saxs.Profile_size(self)
1193 def is_uniform_sampling(self):
1194 """is_uniform_sampling(Profile self) -> bool"""
1195 return _IMP_saxs.Profile_is_uniform_sampling(self)
1198 def is_partial_profile(self):
1199 """is_partial_profile(Profile self) -> bool"""
1200 return _IMP_saxs.Profile_is_partial_profile(self)
1204 """get_name(Profile self) -> std::string"""
1205 return _IMP_saxs.Profile_get_name(self)
1209 """get_id(Profile self) -> unsigned int"""
1210 return _IMP_saxs.Profile_get_id(self)
1213 def set_qs(self, q):
1214 """set_qs(Profile self, Eigen::VectorXf const & q)"""
1215 return _IMP_saxs.Profile_set_qs(self, q)
1218 def set_intensities(self, i):
1219 """set_intensities(Profile self, Eigen::VectorXf const & i)"""
1220 return _IMP_saxs.Profile_set_intensities(self, i)
1223 def set_errors(self, e):
1224 """set_errors(Profile self, Eigen::VectorXf const & e)"""
1225 return _IMP_saxs.Profile_set_errors(self, e)
1228 def set_intensity(self, i, iq):
1229 """set_intensity(Profile self, unsigned int i, double iq)"""
1230 return _IMP_saxs.Profile_set_intensity(self, i, iq)
1233 def set_ff_table(self, ff_table):
1234 """set_ff_table(Profile self, FormFactorTable ff_table)"""
1235 return _IMP_saxs.Profile_set_ff_table(self, ff_table)
1238 def set_average_radius(self, r):
1239 """set_average_radius(Profile self, double r)"""
1240 return _IMP_saxs.Profile_set_average_radius(self, r)
1243 def set_average_volume(self, v):
1244 """set_average_volume(Profile self, double v)"""
1245 return _IMP_saxs.Profile_set_average_volume(self, v)
1248 def set_name(self, name):
1249 """set_name(Profile self, std::string name)"""
1250 return _IMP_saxs.Profile_set_name(self, name)
1253 def set_id(self, id):
1254 """set_id(Profile self, unsigned int id)"""
1255 return _IMP_saxs.Profile_set_id(self, id)
1258 def set_beam_profile(self, beam_profile_file):
1259 """set_beam_profile(Profile self, std::string beam_profile_file)"""
1260 return _IMP_saxs.Profile_set_beam_profile(self, beam_profile_file)
1263 def add_errors(self):
1264 """add_errors(Profile self)"""
1265 return _IMP_saxs.Profile_add_errors(self)
1268 def add_noise(self, percentage=0.03):
1270 add_noise(Profile self, double percentage=0.03)
1271 add_noise(Profile self)
1273 return _IMP_saxs.Profile_add_noise(self, percentage)
1276 def sum_partial_profiles(self, c1, c2, check_cashed=True):
1278 sum_partial_profiles(Profile self, double c1, double c2, bool check_cashed=True)
1279 sum_partial_profiles(Profile self, double c1, double c2)
1281 return _IMP_saxs.Profile_sum_partial_profiles(self, c1, c2, check_cashed)
1284 def add(self, *args):
1286 add(Profile self, Profile other_profile, double weight=1.0)
1287 add(Profile self, Profile other_profile)
1288 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1289 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1291 return _IMP_saxs.Profile_add(self, *args)
1294 def add_partial_profiles(self, *args):
1296 add_partial_profiles(Profile self, Profile other_profile, double weight=1.0)
1297 add_partial_profiles(Profile self, Profile other_profile)
1298 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1299 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1301 return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1304 def background_adjust(self, start_q):
1305 """background_adjust(Profile self, double start_q)"""
1306 return _IMP_saxs.Profile_background_adjust(self, start_q)
1310 """scale(Profile self, double c)"""
1311 return _IMP_saxs.Profile_scale(self, c)
1314 def offset(self, c):
1315 """offset(Profile self, double c)"""
1316 return _IMP_saxs.Profile_offset(self, c)
1319 def copy_errors(self, exp_profile):
1320 """copy_errors(Profile self, Profile exp_profile)"""
1321 return _IMP_saxs.Profile_copy_errors(self, exp_profile)
1324 def get_version_info(self):
1325 """get_version_info(Profile self) -> VersionInfo"""
1326 return _IMP_saxs.Profile_get_version_info(self)
1330 """__str__(Profile self) -> std::string"""
1331 return _IMP_saxs.Profile___str__(self)
1335 """__repr__(Profile self) -> std::string"""
1336 return _IMP_saxs.Profile___repr__(self)
1341 return _object_cast_to_Profile(o)
1343 Profile_swigregister = _IMP_saxs.Profile_swigregister
1344 Profile_swigregister(Profile)
1345 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1347 class FitParameters(object):
1348 """Proxy of C++ IMP::saxs::FitParameters class"""
1349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1350 __repr__ = _swig_repr
1352 def __init__(self, *args):
1354 __init__(IMP::saxs::FitParameters self) -> FitParameters
1355 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2, double c, double o) -> FitParameters
1356 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2) -> FitParameters
1358 this = _IMP_saxs.new_FitParameters(*args)
1360 self.this.append(this)
1364 def get_score(self):
1365 """get_score(FitParameters self) -> double"""
1366 return _IMP_saxs.FitParameters_get_score(self)
1369 def get_chi_square(self):
1370 """get_chi_square(FitParameters self) -> double"""
1371 return _IMP_saxs.FitParameters_get_chi_square(self)
1375 """get_c1(FitParameters self) -> double"""
1376 return _IMP_saxs.FitParameters_get_c1(self)
1380 """get_c2(FitParameters self) -> double"""
1381 return _IMP_saxs.FitParameters_get_c2(self)
1384 def get_scale(self):
1385 """get_scale(FitParameters self) -> double"""
1386 return _IMP_saxs.FitParameters_get_scale(self)
1389 def get_offset(self):
1390 """get_offset(FitParameters self) -> double"""
1391 return _IMP_saxs.FitParameters_get_offset(self)
1394 def get_default_chi_square(self):
1395 """get_default_chi_square(FitParameters self) -> double"""
1396 return _IMP_saxs.FitParameters_get_default_chi_square(self)
1399 def get_pdb_file_name(self):
1400 """get_pdb_file_name(FitParameters self) -> std::string"""
1401 return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1404 def get_profile_file_name(self):
1405 """get_profile_file_name(FitParameters self) -> std::string"""
1406 return _IMP_saxs.FitParameters_get_profile_file_name(self)
1409 def get_mol_index(self):
1410 """get_mol_index(FitParameters self) -> int"""
1411 return _IMP_saxs.FitParameters_get_mol_index(self)
1414 def set_score(self, score):
1415 """set_score(FitParameters self, double score)"""
1416 return _IMP_saxs.FitParameters_set_score(self, score)
1419 def set_chi_square(self, chi_square):
1420 """set_chi_square(FitParameters self, double chi_square)"""
1421 return _IMP_saxs.FitParameters_set_chi_square(self, chi_square)
1424 def set_default_chi_square(self, chi_square):
1425 """set_default_chi_square(FitParameters self, double chi_square)"""
1426 return _IMP_saxs.FitParameters_set_default_chi_square(self, chi_square)
1429 def set_profile_file_name(self, file_name):
1430 """set_profile_file_name(FitParameters self, std::string file_name)"""
1431 return _IMP_saxs.FitParameters_set_profile_file_name(self, file_name)
1434 def set_pdb_file_name(self, file_name):
1435 """set_pdb_file_name(FitParameters self, std::string file_name)"""
1436 return _IMP_saxs.FitParameters_set_pdb_file_name(self, file_name)
1439 def set_mol_index(self, index):
1440 """set_mol_index(FitParameters self, int index)"""
1441 return _IMP_saxs.FitParameters_set_mol_index(self, index)
1445 """show(FitParameters self, _ostream s)"""
1446 return _IMP_saxs.FitParameters_show(self, s)
1448 __swig_destroy__ = _IMP_saxs.delete_FitParameters
1449 __del__ =
lambda self:
None
1450 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1451 FitParameters_swigregister(FitParameters)
1453 class WeightedFitParameters(FitParameters):
1454 """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1456 __repr__ = _swig_repr
1458 def __init__(self, *args):
1460 __init__(IMP::saxs::WeightedFitParameters self) -> WeightedFitParameters
1461 __init__(IMP::saxs::WeightedFitParameters self, double chi_square, double c1, double c2, IMP::Vector< double > const & weights) -> WeightedFitParameters
1462 __init__(IMP::saxs::WeightedFitParameters self, double chi_square, double c1, double c2) -> WeightedFitParameters
1463 __init__(IMP::saxs::WeightedFitParameters self, FitParameters fp) -> WeightedFitParameters
1465 this = _IMP_saxs.new_WeightedFitParameters(*args)
1467 self.this.append(this)
1471 def get_weights(self):
1472 """get_weights(WeightedFitParameters self) -> IMP::Vector< double > const &"""
1473 return _IMP_saxs.WeightedFitParameters_get_weights(self)
1476 def set_weights(self, weights):
1477 """set_weights(WeightedFitParameters self, IMP::Vector< double > const & weights)"""
1478 return _IMP_saxs.WeightedFitParameters_set_weights(self, weights)
1482 """show(WeightedFitParameters self, _ostream s)"""
1483 return _IMP_saxs.WeightedFitParameters_show(self, s)
1485 __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1486 __del__ =
lambda self:
None
1487 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1488 WeightedFitParameters_swigregister(WeightedFitParameters)
1491 """Proxy of C++ IMP::saxs::ChiScore class"""
1492 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1495 """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1496 this = _IMP_saxs.new_ChiScore()
1498 self.this.append(this)
1502 def compute_score(self, exp_profile, model_profile, use_offset=False):
1504 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1505 compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1507 return _IMP_saxs.ChiScore_compute_score(self, exp_profile, model_profile, use_offset)
1510 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1512 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1513 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1515 return _IMP_saxs.ChiScore_compute_scale_factor(self, exp_profile, model_profile, offset)
1518 def compute_offset(self, exp_profile, model_profile):
1519 """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> double"""
1520 return _IMP_saxs.ChiScore_compute_offset(self, exp_profile, model_profile)
1523 def get_version_info(self):
1524 """get_version_info(ChiScore self) -> VersionInfo"""
1525 return _IMP_saxs.ChiScore_get_version_info(self)
1529 """__str__(ChiScore self) -> std::string"""
1530 return _IMP_saxs.ChiScore___str__(self)
1534 """__repr__(ChiScore self) -> std::string"""
1535 return _IMP_saxs.ChiScore___repr__(self)
1540 return _object_cast_to_ChiScore(o)
1542 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1543 ChiScore_swigregister(ChiScore)
1546 """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1550 """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1551 this = _IMP_saxs.new_ChiScoreLog()
1553 self.this.append(this)
1557 def compute_score(self, *args):
1559 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1560 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1561 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, double min_q, double max_q) -> double
1563 return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1566 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1568 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1569 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1571 return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, exp_profile, model_profile, offset)
1574 def compute_offset(self, exp_profile, model_profile):
1575 """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double"""
1576 return _IMP_saxs.ChiScoreLog_compute_offset(self, exp_profile, model_profile)
1579 def get_version_info(self):
1580 """get_version_info(ChiScoreLog self) -> VersionInfo"""
1581 return _IMP_saxs.ChiScoreLog_get_version_info(self)
1585 """__str__(ChiScoreLog self) -> std::string"""
1586 return _IMP_saxs.ChiScoreLog___str__(self)
1590 """__repr__(ChiScoreLog self) -> std::string"""
1591 return _IMP_saxs.ChiScoreLog___repr__(self)
1596 return _object_cast_to_ChiScoreLog(o)
1598 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1599 ChiScoreLog_swigregister(ChiScoreLog)
1602 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1604 __repr__ = _swig_repr
1606 def __init__(self, *args):
1608 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1609 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1611 this = _IMP_saxs.new_ProfileFitterChi(*args)
1613 self.this.append(this)
1617 def compute_score(self, *args):
1619 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1620 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> double
1621 compute_score(ProfileFitterChi self, Profile model_profile) -> double
1623 return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1626 def fit_profile(self, *args):
1628 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
1629 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
1630 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
1631 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1632 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1633 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1634 fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1636 return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1639 def compute_scale_factor(self, model_profile, offset=0.0):
1641 compute_scale_factor(ProfileFitterChi self, Profile model_profile, double offset=0.0) -> double
1642 compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> double
1644 return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, model_profile, offset)
1647 def compute_offset(self, model_profile):
1648 """compute_offset(ProfileFitterChi self, Profile model_profile) -> double"""
1649 return _IMP_saxs.ProfileFitterChi_compute_offset(self, model_profile)
1652 def resample(self, model_profile, resampled_profile):
1653 """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1654 return _IMP_saxs.ProfileFitterChi_resample(self, model_profile, resampled_profile)
1657 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
1659 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)
1660 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
1661 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square)
1663 return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
1666 def get_profile(self):
1667 """get_profile(ProfileFitterChi self) -> Profile"""
1668 return _IMP_saxs.ProfileFitterChi_get_profile(self)
1670 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1671 __del__ =
lambda self:
None
1672 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1673 ProfileFitterChi_swigregister(ProfileFitterChi)
1675 class WeightedProfileFitterChi(ProfileFitterChi):
1676 """Proxy of C++ IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> class"""
1677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1678 __repr__ = _swig_repr
1680 def __init__(self, exp_profile):
1681 """__init__(IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> WeightedProfileFitterChi"""
1682 this = _IMP_saxs.new_WeightedProfileFitterChi(exp_profile)
1684 self.this.append(this)
1688 def compute_score(self, profiles, weights, use_offset=False, NNLS=True):
1690 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False, bool NNLS=True) -> double
1691 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False) -> double
1692 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights) -> double
1694 return _IMP_saxs.WeightedProfileFitterChi_compute_score(self, profiles, weights, use_offset, NNLS)
1697 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):
1699 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
1700 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
1701 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
1702 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05) -> WeightedFitParameters
1703 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95) -> WeightedFitParameters
1704 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1706 return _IMP_saxs.WeightedProfileFitterChi_fit_profile(self, partial_profiles, min_c1, max_c1, min_c2, max_c2, use_offset)
1709 def write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset=False):
1711 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name, bool use_offset=False)
1712 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)
1714 return _IMP_saxs.WeightedProfileFitterChi_write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset)
1716 __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitterChi
1717 __del__ =
lambda self:
None
1718 WeightedProfileFitterChi_swigregister = _IMP_saxs.WeightedProfileFitterChi_swigregister
1719 WeightedProfileFitterChi_swigregister(WeightedProfileFitterChi)
1722 """Proxy of C++ IMP::saxs::Restraint class"""
1723 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1724 __repr__ = _swig_repr
1726 def __init__(self, *args):
1728 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type) -> Restraint
1729 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile) -> Restraint
1731 this = _IMP_saxs.new_Restraint(*args)
1733 self.this.append(this)
1737 if self.__class__ != Restraint:
1738 _director_objects.register(self)
1743 def do_get_inputs(self):
1744 """do_get_inputs(Restraint self) -> IMP::ModelObjectsTemp"""
1745 return _IMP_saxs.Restraint_do_get_inputs(self)
1748 def get_version_info(self):
1749 """get_version_info(Restraint self) -> VersionInfo"""
1750 return _IMP_saxs.Restraint_get_version_info(self)
1752 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1753 Restraint_swigregister(Restraint)
1755 class RadiusOfGyrationRestraint(Restraint):
1756 """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1758 __repr__ = _swig_repr
1760 def __init__(self, particles, exp_profile, end_q_rg=1.3):
1762 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1763 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1765 this = _IMP_saxs.new_RadiusOfGyrationRestraint(particles, exp_profile, end_q_rg)
1767 self.this.append(this)
1770 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1771 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1773 class FloatDistribution(DistBase):
1774 """Proxy of C++ IMP::saxs::Distribution<(double)> class"""
1775 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1776 __repr__ = _swig_repr
1778 def __init__(self, *args):
1780 __init__(IMP::saxs::Distribution<(double)> self, double bin_size) -> FloatDistribution
1781 __init__(IMP::saxs::Distribution<(double)> self) -> FloatDistribution
1783 this = _IMP_saxs.new_FloatDistribution(*args)
1785 self.this.append(this)
1789 def get_max_distance(self):
1790 """get_max_distance(FloatDistribution self) -> double"""
1791 return _IMP_saxs.FloatDistribution_get_max_distance(self)
1794 def get_bin_size(self):
1795 """get_bin_size(FloatDistribution self) -> double"""
1796 return _IMP_saxs.FloatDistribution_get_bin_size(self)
1799 def get_index_from_distance(self, dist):
1800 """get_index_from_distance(FloatDistribution self, double dist) -> unsigned int"""
1801 return _IMP_saxs.FloatDistribution_get_index_from_distance(self, dist)
1804 def get_distance_from_index(self, index):
1805 """get_distance_from_index(FloatDistribution self, unsigned int index) -> double"""
1806 return _IMP_saxs.FloatDistribution_get_distance_from_index(self, index)
1808 __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1809 __del__ =
lambda self:
None
1810 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1811 FloatDistribution_swigregister(FloatDistribution)
1813 class VectorDistribution(object):
1814 """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1815 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1816 __repr__ = _swig_repr
1818 def __init__(self, *args):
1820 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, double bin_size) -> VectorDistribution
1821 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1823 this = _IMP_saxs.new_VectorDistribution(*args)
1825 self.this.append(this)
1829 def get_max_distance(self):
1830 """get_max_distance(VectorDistribution self) -> double"""
1831 return _IMP_saxs.VectorDistribution_get_max_distance(self)
1834 def get_bin_size(self):
1835 """get_bin_size(VectorDistribution self) -> double"""
1836 return _IMP_saxs.VectorDistribution_get_bin_size(self)
1839 def get_index_from_distance(self, dist):
1840 """get_index_from_distance(VectorDistribution self, double dist) -> unsigned int"""
1841 return _IMP_saxs.VectorDistribution_get_index_from_distance(self, dist)
1844 def get_distance_from_index(self, index):
1845 """get_distance_from_index(VectorDistribution self, unsigned int index) -> double"""
1846 return _IMP_saxs.VectorDistribution_get_distance_from_index(self, index)
1848 __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1849 __del__ =
lambda self:
None
1850 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1851 VectorDistribution_swigregister(VectorDistribution)
1853 class RadialDistributionFunction(FloatDistribution):
1854 """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1856 __repr__ = _swig_repr
1858 def __init__(self, *args):
1860 __init__(IMP::saxs::RadialDistributionFunction self, double bin_size) -> RadialDistributionFunction
1861 __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1862 __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1864 this = _IMP_saxs.new_RadialDistributionFunction(*args)
1866 self.this.append(this)
1871 """scale(RadialDistributionFunction self, double c)"""
1872 return _IMP_saxs.RadialDistributionFunction_scale(self, c)
1875 def add(self, model_pr):
1876 """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1877 return _IMP_saxs.RadialDistributionFunction_add(self, model_pr)
1880 def show(self, *args):
1882 show(RadialDistributionFunction self, _ostream out)
1883 show(RadialDistributionFunction self)
1885 return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1888 def R_factor_score(self, *args):
1890 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1891 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1893 return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1896 def fit(self, *args):
1898 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1899 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1901 return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1904 def normalize(self):
1905 """normalize(RadialDistributionFunction self)"""
1906 return _IMP_saxs.RadialDistributionFunction_normalize(self)
1909 def add_to_distribution(self, dist, value):
1910 """add_to_distribution(RadialDistributionFunction self, double dist, double value)"""
1911 return _IMP_saxs.RadialDistributionFunction_add_to_distribution(self, dist, value)
1913 __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1914 __del__ =
lambda self:
None
1915 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1916 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1918 class DeltaDistributionFunction(VectorDistribution):
1919 """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1920 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1921 __repr__ = _swig_repr
1923 def __init__(self, *args):
1925 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0, double bin_size) -> DeltaDistributionFunction
1926 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0) -> DeltaDistributionFunction
1927 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles) -> DeltaDistributionFunction
1929 this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1931 self.this.append(this)
1935 def calculate_derivative_distribution(self, particle):
1936 """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1937 return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, particle)
1940 def show(self, *args):
1942 show(DeltaDistributionFunction self, _ostream out, std::string prefix)
1943 show(DeltaDistributionFunction self, _ostream out)
1944 show(DeltaDistributionFunction self)
1946 return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1948 __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1949 __del__ =
lambda self:
None
1950 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1951 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1953 class SolventAccessibleSurface(object):
1954 """Proxy of C++ IMP::saxs::SolventAccessibleSurface 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 get_solvent_accessibility(self, points, probe_radius=1.8, density=5.0):
1960 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8, double density=5.0) -> IMP::Vector< double >
1961 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8) -> IMP::Vector< double >
1962 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Vector< double >
1964 return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, points, probe_radius, density)
1968 """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1969 this = _IMP_saxs.new_SolventAccessibleSurface()
1971 self.this.append(this)
1974 __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1975 __del__ =
lambda self:
None
1976 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1977 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1980 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1981 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1982 __repr__ = _swig_repr
1984 def __init__(self, *args):
1986 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1987 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1989 this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1991 self.this.append(this)
1995 def compute_score(self, *args):
1997 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1998 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> double
1999 compute_score(ProfileFitterChiLog self, Profile model_profile) -> double
2001 return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
2004 def fit_profile(self, *args):
2006 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
2007 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
2008 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
2009 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
2010 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
2011 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95) -> FitParameters
2012 fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
2014 return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
2017 def compute_scale_factor(self, model_profile, offset=0.0):
2019 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, double offset=0.0) -> double
2020 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> double
2022 return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, model_profile, offset)
2025 def compute_offset(self, model_profile):
2026 """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> double"""
2027 return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, model_profile)
2030 def resample(self, model_profile, resampled_profile):
2031 """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
2032 return _IMP_saxs.ProfileFitterChiLog_resample(self, model_profile, resampled_profile)
2035 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2037 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)
2038 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2039 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square)
2041 return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2044 def get_profile(self):
2045 """get_profile(ProfileFitterChiLog self) -> Profile"""
2046 return _IMP_saxs.ProfileFitterChiLog_get_profile(self)
2048 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
2049 __del__ =
lambda self:
None
2050 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
2051 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
2053 class ProfileFitterRatioVolatility(
IMP.Object):
2054 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> class"""
2055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2056 __repr__ = _swig_repr
2058 def __init__(self, *args):
2060 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile) -> ProfileFitterRatioVolatility
2061 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile, IMP::saxs::RatioVolatilityScore * sf) -> ProfileFitterRatioVolatility
2063 this = _IMP_saxs.new_ProfileFitterRatioVolatility(*args)
2065 self.this.append(this)
2069 def compute_score(self, *args):
2071 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
2072 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False) -> double
2073 compute_score(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2075 return _IMP_saxs.ProfileFitterRatioVolatility_compute_score(self, *args)
2078 def fit_profile(self, *args):
2080 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
2081 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
2082 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
2083 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
2084 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
2085 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95) -> FitParameters
2086 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile) -> FitParameters
2088 return _IMP_saxs.ProfileFitterRatioVolatility_fit_profile(self, *args)
2091 def compute_scale_factor(self, model_profile, offset=0.0):
2093 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile, double offset=0.0) -> double
2094 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2096 return _IMP_saxs.ProfileFitterRatioVolatility_compute_scale_factor(self, model_profile, offset)
2099 def compute_offset(self, model_profile):
2100 """compute_offset(ProfileFitterRatioVolatility self, Profile model_profile) -> double"""
2101 return _IMP_saxs.ProfileFitterRatioVolatility_compute_offset(self, model_profile)
2104 def resample(self, model_profile, resampled_profile):
2105 """resample(ProfileFitterRatioVolatility self, Profile model_profile, Profile resampled_profile)"""
2106 return _IMP_saxs.ProfileFitterRatioVolatility_resample(self, model_profile, resampled_profile)
2109 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2111 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)
2112 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2113 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square)
2115 return _IMP_saxs.ProfileFitterRatioVolatility_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2118 def get_profile(self):
2119 """get_profile(ProfileFitterRatioVolatility self) -> Profile"""
2120 return _IMP_saxs.ProfileFitterRatioVolatility_get_profile(self)
2122 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterRatioVolatility
2123 __del__ =
lambda self:
None
2124 ProfileFitterRatioVolatility_swigregister = _IMP_saxs.ProfileFitterRatioVolatility_swigregister
2125 ProfileFitterRatioVolatility_swigregister(ProfileFitterRatioVolatility)
2129 """get_module_version() -> std::string const"""
2130 return _IMP_saxs.get_module_version()
2133 """get_example_path(std::string fname) -> std::string"""
2134 return _IMP_saxs.get_example_path(fname)
2137 """get_data_path(std::string fname) -> std::string"""
2138 return _IMP_saxs.get_data_path(fname)
2140 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.