10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_saxs', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_saxs', fp, pathname, description)
32 _IMP_saxs = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_SAXS_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
125 return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
130 incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
131 incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
133 return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
138 decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
139 decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
141 return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, x)
150 """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
151 return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, x)
155 """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
156 return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
160 """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
161 return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
165 """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
166 return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
170 """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
171 return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
176 return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
181 return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
186 return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
191 return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
196 return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
201 return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
207 __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
213 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
214 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
223 _IMP_saxs.IMP_DEBUG_swigconstant(_IMP_saxs)
224 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
226 _IMP_saxs.IMP_RELEASE_swigconstant(_IMP_saxs)
227 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
229 _IMP_saxs.IMP_SILENT_swigconstant(_IMP_saxs)
230 IMP_SILENT = _IMP_saxs.IMP_SILENT
232 _IMP_saxs.IMP_PROGRESS_swigconstant(_IMP_saxs)
233 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
235 _IMP_saxs.IMP_TERSE_swigconstant(_IMP_saxs)
236 IMP_TERSE = _IMP_saxs.IMP_TERSE
238 _IMP_saxs.IMP_VERBOSE_swigconstant(_IMP_saxs)
239 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
241 _IMP_saxs.IMP_MEMORY_swigconstant(_IMP_saxs)
242 IMP_MEMORY = _IMP_saxs.IMP_MEMORY
244 _IMP_saxs.IMP_NONE_swigconstant(_IMP_saxs)
245 IMP_NONE = _IMP_saxs.IMP_NONE
247 _IMP_saxs.IMP_USAGE_swigconstant(_IMP_saxs)
248 IMP_USAGE = _IMP_saxs.IMP_USAGE
250 _IMP_saxs.IMP_INTERNAL_swigconstant(_IMP_saxs)
251 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
253 _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_saxs)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_saxs.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_saxs)
257 IMP_COMPILER_HAS_AUTO = _IMP_saxs.IMP_COMPILER_HAS_AUTO
259 _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_saxs)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_saxs.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_saxs)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_saxs.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_saxs.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_saxs)
269 IMP_KERNEL_HAS_NUMPY = _IMP_saxs.IMP_KERNEL_HAS_NUMPY
271 _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_saxs)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_saxs)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_saxs)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_saxs.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_saxs.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_saxs._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_saxs._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_saxs)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_saxs.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_saxs)
329 IMP_COMPILER_HAS_FINAL = _IMP_saxs.IMP_COMPILER_HAS_FINAL
331 _IMP_saxs.IMP_HAS_NOEXCEPT_swigconstant(_IMP_saxs)
332 IMP_HAS_NOEXCEPT = _IMP_saxs.IMP_HAS_NOEXCEPT
334 _IMP_saxs.IMP_C_OPEN_BINARY_swigconstant(_IMP_saxs)
335 IMP_C_OPEN_BINARY = _IMP_saxs.IMP_C_OPEN_BINARY
338 _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_saxs.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_saxs)
351 IMP_CGAL_HAS_NUMPY = _IMP_saxs.IMP_CGAL_HAS_NUMPY
353 _IMP_saxs.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
354 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
357 _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_saxs.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_saxs)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
375 _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_saxs)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_saxs.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_saxs.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_saxs)
379 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
381 _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_saxs)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_saxs.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_saxs)
401 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
403 _IMP_saxs.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_saxs)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_saxs.IMP_DISPLAY_HAS_NUMPY
406 _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_saxs)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_saxs)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_saxs)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_saxs)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_saxs)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_saxs.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
441 _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
444 _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
447 _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
450 _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
453 _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
456 _IMP_saxs.IMP_CORE_HAS_CGAL_swigconstant(_IMP_saxs)
457 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
459 _IMP_saxs.IMP_CORE_HAS_HDF5_swigconstant(_IMP_saxs)
460 IMP_CORE_HAS_HDF5 = _IMP_saxs.IMP_CORE_HAS_HDF5
462 _IMP_saxs.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_saxs)
463 IMP_CORE_HAS_NUMPY = _IMP_saxs.IMP_CORE_HAS_NUMPY
465 _IMP_saxs.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_saxs)
466 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
469 _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_saxs)
470 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
472 _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
473 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
475 _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
476 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
478 _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
479 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
481 _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
482 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
484 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
485 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
487 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
488 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
490 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
491 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
493 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
494 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
496 _IMP_saxs.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_saxs)
497 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
499 _IMP_saxs.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_saxs)
500 IMP_CONTAINER_HAS_HDF5 = _IMP_saxs.IMP_CONTAINER_HAS_HDF5
502 _IMP_saxs.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_saxs)
503 IMP_CONTAINER_HAS_NUMPY = _IMP_saxs.IMP_CONTAINER_HAS_NUMPY
505 _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
506 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_saxs.IMP_CONTAINER_HAS_PYTHON_IHM
508 _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_saxs)
509 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_saxs.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
511 _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_saxs)
512 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_saxs.IMP_CONTAINER_HAS_ROBIN_MAP
514 _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_saxs)
515 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
518 _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
519 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
521 _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
522 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
524 _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
525 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
527 _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
528 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
530 _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
531 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
533 _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
534 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
536 _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
537 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
539 _IMP_saxs.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_saxs)
540 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
542 _IMP_saxs.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_saxs)
543 IMP_ATOM_HAS_HDF5 = _IMP_saxs.IMP_ATOM_HAS_HDF5
545 _IMP_saxs.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_saxs)
546 IMP_ATOM_HAS_NUMPY = _IMP_saxs.IMP_ATOM_HAS_NUMPY
548 _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
549 IMP_ATOM_HAS_PYTHON_IHM = _IMP_saxs.IMP_ATOM_HAS_PYTHON_IHM
551 _IMP_saxs.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_saxs)
552 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
554 _IMP_saxs.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_saxs)
555 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
557 _IMP_saxs.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_saxs)
558 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
560 _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_saxs)
561 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
563 _IMP_saxs.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_saxs)
564 IMP_CHAIN_TYPE_INDEX = _IMP_saxs.IMP_CHAIN_TYPE_INDEX
567 _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
568 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
570 _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_saxs)
571 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
573 _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
574 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
576 _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
577 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
579 _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
580 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
582 _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
583 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
585 _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
586 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
588 _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
589 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
591 _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
592 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
594 _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
595 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
597 _IMP_saxs.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_saxs)
598 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
600 _IMP_saxs.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_saxs)
601 IMP_SAXS_HAS_HDF5 = _IMP_saxs.IMP_SAXS_HAS_HDF5
603 _IMP_saxs.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_saxs)
604 IMP_SAXS_HAS_NUMPY = _IMP_saxs.IMP_SAXS_HAS_NUMPY
606 _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_saxs)
607 IMP_SAXS_HAS_PYTHON_IHM = _IMP_saxs.IMP_SAXS_HAS_PYTHON_IHM
609 _IMP_saxs.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_saxs)
610 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
611 class DistBase(object):
612 """Proxy of C++ std::vector<(double)> class"""
613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
614 __repr__ = _swig_repr
617 """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
618 return _IMP_saxs.DistBase_iterator(self)
621 return self.iterator()
623 def __nonzero__(self):
624 """__nonzero__(DistBase self) -> bool"""
625 return _IMP_saxs.DistBase___nonzero__(self)
629 """__bool__(DistBase self) -> bool"""
630 return _IMP_saxs.DistBase___bool__(self)
634 """__len__(DistBase self) -> std::vector< double >::size_type"""
635 return _IMP_saxs.DistBase___len__(self)
639 """pop(DistBase self) -> std::vector< double >::value_type"""
640 return _IMP_saxs.DistBase_pop(self)
643 def __getslice__(self, i, j):
644 """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
645 return _IMP_saxs.DistBase___getslice__(self, i, j)
648 def __setslice__(self, *args):
650 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, DistBase v)
651 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
653 return _IMP_saxs.DistBase___setslice__(self, *args)
656 def __delslice__(self, i, j):
657 """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
658 return _IMP_saxs.DistBase___delslice__(self, i, j)
661 def __delitem__(self, *args):
663 __delitem__(DistBase self, std::vector< double >::difference_type i)
664 __delitem__(DistBase self, PySliceObject * slice)
666 return _IMP_saxs.DistBase___delitem__(self, *args)
669 def __getitem__(self, *args):
671 __getitem__(DistBase self, PySliceObject * slice) -> DistBase
672 __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
674 return _IMP_saxs.DistBase___getitem__(self, *args)
677 def __setitem__(self, *args):
679 __setitem__(DistBase self, PySliceObject * slice, DistBase v)
680 __setitem__(DistBase self, PySliceObject * slice)
681 __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
683 return _IMP_saxs.DistBase___setitem__(self, *args)
687 """append(DistBase self, std::vector< double >::value_type const & x)"""
688 return _IMP_saxs.DistBase_append(self, x)
692 """empty(DistBase self) -> bool"""
693 return _IMP_saxs.DistBase_empty(self)
697 """size(DistBase self) -> std::vector< double >::size_type"""
698 return _IMP_saxs.DistBase_size(self)
702 """clear(DistBase self)"""
703 return _IMP_saxs.DistBase_clear(self)
707 """swap(DistBase self, DistBase v)"""
708 return _IMP_saxs.DistBase_swap(self, v)
711 def get_allocator(self):
712 """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
713 return _IMP_saxs.DistBase_get_allocator(self)
717 """begin(DistBase self) -> std::vector< double >::iterator"""
718 return _IMP_saxs.DistBase_begin(self)
722 """end(DistBase self) -> std::vector< double >::iterator"""
723 return _IMP_saxs.DistBase_end(self)
727 """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
728 return _IMP_saxs.DistBase_rbegin(self)
732 """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
733 return _IMP_saxs.DistBase_rend(self)
737 """pop_back(DistBase self)"""
738 return _IMP_saxs.DistBase_pop_back(self)
741 def erase(self, *args):
743 erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
744 erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
746 return _IMP_saxs.DistBase_erase(self, *args)
749 def __init__(self, *args):
751 __init__(std::vector<(double)> self) -> DistBase
752 __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
753 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
754 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
756 this = _IMP_saxs.new_DistBase(*args)
758 self.this.append(this)
762 def push_back(self, x):
763 """push_back(DistBase self, std::vector< double >::value_type const & x)"""
764 return _IMP_saxs.DistBase_push_back(self, x)
768 """front(DistBase self) -> std::vector< double >::value_type const &"""
769 return _IMP_saxs.DistBase_front(self)
773 """back(DistBase self) -> std::vector< double >::value_type const &"""
774 return _IMP_saxs.DistBase_back(self)
777 def assign(self, n, x):
778 """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
779 return _IMP_saxs.DistBase_assign(self, n, x)
782 def resize(self, *args):
784 resize(DistBase self, std::vector< double >::size_type new_size)
785 resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
787 return _IMP_saxs.DistBase_resize(self, *args)
790 def insert(self, *args):
792 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
793 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
795 return _IMP_saxs.DistBase_insert(self, *args)
798 def reserve(self, n):
799 """reserve(DistBase self, std::vector< double >::size_type n)"""
800 return _IMP_saxs.DistBase_reserve(self, n)
804 """capacity(DistBase self) -> std::vector< double >::size_type"""
805 return _IMP_saxs.DistBase_capacity(self)
807 __swig_destroy__ = _IMP_saxs.delete_DistBase
808 __del__ =
lambda self:
None
809 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
810 DistBase_swigregister(DistBase)
813 _object_types.append(
"Profile")
816 def _object_cast_to_Profile(o):
817 """_object_cast_to_Profile(Object o) -> Profile"""
818 return _IMP_saxs._object_cast_to_Profile(o)
820 _object_types.append(
"ChiScore")
823 def _object_cast_to_ChiScore(o):
824 """_object_cast_to_ChiScore(Object o) -> ChiScore"""
825 return _IMP_saxs._object_cast_to_ChiScore(o)
827 _object_types.append(
"ChiScoreLog")
830 def _object_cast_to_ChiScoreLog(o):
831 """_object_cast_to_ChiScoreLog(Object o) -> ChiScoreLog"""
832 return _IMP_saxs._object_cast_to_ChiScoreLog(o)
834 _IMP_saxs.ALL_ATOMS_swigconstant(_IMP_saxs)
835 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
837 _IMP_saxs.HEAVY_ATOMS_swigconstant(_IMP_saxs)
838 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
840 _IMP_saxs.CA_ATOMS_swigconstant(_IMP_saxs)
841 CA_ATOMS = _IMP_saxs.CA_ATOMS
843 _IMP_saxs.RESIDUES_swigconstant(_IMP_saxs)
844 RESIDUES = _IMP_saxs.RESIDUES
845 class FormFactorTable(object):
846 """Proxy of C++ IMP::saxs::FormFactorTable class"""
847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
848 __repr__ = _swig_repr
850 def __init__(self, *args):
852 __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
853 __init__(IMP::saxs::FormFactorTable self, std::string const & table_name, double min_q, double max_q, double delta_q) -> FormFactorTable
855 this = _IMP_saxs.new_FormFactorTable(*args)
857 self.this.append(this)
861 def get_form_factor(self, *args):
863 get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
864 get_form_factor(FormFactorTable self, Particle p) -> double
866 return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
869 def get_vacuum_form_factor(self, *args):
871 get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
872 get_vacuum_form_factor(FormFactorTable self, Particle p) -> double
874 return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
877 def get_dummy_form_factor(self, *args):
879 get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
880 get_dummy_form_factor(FormFactorTable self, Particle p) -> double
882 return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
885 def get_water_form_factor(self):
886 """get_water_form_factor(FormFactorTable self) -> double"""
887 return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
890 def get_vacuum_water_form_factor(self):
891 """get_vacuum_water_form_factor(FormFactorTable self) -> double"""
892 return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
895 def get_dummy_water_form_factor(self):
896 """get_dummy_water_form_factor(FormFactorTable self) -> double"""
897 return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
900 def get_form_factors(self, *args):
902 get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
903 get_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
905 return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
908 def get_vacuum_form_factors(self, *args):
910 get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
911 get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
913 return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
916 def get_dummy_form_factors(self, *args):
918 get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
919 get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
921 return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
924 def get_water_form_factors(self):
925 """get_water_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
926 return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
929 def get_water_vacuum_form_factors(self):
930 """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
931 return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
934 def get_water_dummy_form_factors(self):
935 """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
936 return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
939 def get_radius(self, *args):
941 get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
942 get_radius(FormFactorTable self, Particle p) -> double
944 return _IMP_saxs.FormFactorTable_get_radius(self, *args)
949 get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
950 get_volume(FormFactorTable self, Particle p) -> double
952 return _IMP_saxs.FormFactorTable_get_volume(self, *args)
955 def show(self, *args):
957 show(FormFactorTable self, _ostream out, std::string prefix)
958 show(FormFactorTable self, _ostream out)
959 show(FormFactorTable self)
961 return _IMP_saxs.FormFactorTable_show(self, *args)
963 rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
964 __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
965 __del__ =
lambda self:
None
966 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
967 FormFactorTable_swigregister(FormFactorTable)
968 cvar = _IMP_saxs.cvar
972 """get_default_form_factor_table() -> FormFactorTable"""
973 return _IMP_saxs.get_default_form_factor_table()
975 """Proxy of C++ IMP::saxs::Profile class"""
976 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
978 def __init__(self, *args):
980 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1) -> Profile
981 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0) -> Profile
982 __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False) -> Profile
983 __init__(IMP::saxs::Profile self, std::string const & file_name) -> Profile
984 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5, double delta=0.005) -> Profile
985 __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5) -> Profile
986 __init__(IMP::saxs::Profile self, double qmin=0.0) -> Profile
987 __init__(IMP::saxs::Profile self) -> Profile
989 this = _IMP_saxs.new_Profile(*args)
991 self.this.append(this)
995 def calculate_profile_partial(self, *args):
997 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
998 calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
999 calculate_profile_partial(Profile self, IMP::Particles const & particles)
1000 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)
1001 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2)
1002 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1)
1003 calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1005 return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
1008 def calculate_profile_reciprocal_partial(self, *args):
1010 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
1011 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
1012 calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles)
1014 return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
1017 def calculate_profile(self, *args):
1019 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type, bool reciprocal=False)
1020 calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type)
1021 calculate_profile(Profile self, IMP::Particles const & particles)
1022 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::saxs::FormFactorType ff_type)
1023 calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
1025 return _IMP_saxs.Profile_calculate_profile(self, *args)
1028 def calculate_I0(self, *args):
1030 calculate_I0(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type) -> double
1031 calculate_I0(Profile self, IMP::Particles const & particles) -> double
1033 return _IMP_saxs.Profile_calculate_I0(self, *args)
1036 def calculate_profile_constant_form_factor(self, particles, form_factor=1.0):
1038 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles, double form_factor=1.0)
1039 calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles)
1041 return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, particles, form_factor)
1044 def calculate_profile_symmetric(self, *args):
1046 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type)
1047 calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n)
1049 return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
1052 def profile_2_distribution(self, rd, max_distance):
1053 """profile_2_distribution(Profile self, RadialDistributionFunction rd, double max_distance)"""
1054 return _IMP_saxs.Profile_profile_2_distribution(self, rd, max_distance)
1057 def distribution_2_profile(self, r_dist):
1058 """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
1059 return _IMP_saxs.Profile_distribution_2_profile(self, r_dist)
1062 def resample(self, exp_profile, resampled_profile):
1063 """resample(Profile self, Profile exp_profile, Profile resampled_profile)"""
1064 return _IMP_saxs.Profile_resample(self, exp_profile, resampled_profile)
1067 def downsample(self, downsampled_profile, point_number):
1068 """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
1069 return _IMP_saxs.Profile_downsample(self, downsampled_profile, point_number)
1074 radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
1075 radius_of_gyration(Profile self) -> double
1077 return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
1080 def mean_intensity(self):
1081 """mean_intensity(Profile self) -> double"""
1082 return _IMP_saxs.Profile_mean_intensity(self)
1085 def read_SAXS_file(self, file_name, fit_file=False, max_q=0.0, units=1):
1087 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0, int units=1)
1088 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0)
1089 read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False)
1090 read_SAXS_file(Profile self, std::string const & file_name)
1092 return _IMP_saxs.Profile_read_SAXS_file(self, file_name, fit_file, max_q, units)
1095 def write_SAXS_file(self, file_name, max_q=0.0):
1097 write_SAXS_file(Profile self, std::string const & file_name, double max_q=0.0)
1098 write_SAXS_file(Profile self, std::string const & file_name)
1100 return _IMP_saxs.Profile_write_SAXS_file(self, file_name, max_q)
1103 def read_partial_profiles(self, file_name):
1104 """read_partial_profiles(Profile self, std::string const & file_name)"""
1105 return _IMP_saxs.Profile_read_partial_profiles(self, file_name)
1108 def write_partial_profiles(self, file_name):
1109 """write_partial_profiles(Profile self, std::string const & file_name)"""
1110 return _IMP_saxs.Profile_write_partial_profiles(self, file_name)
1113 def get_delta_q(self):
1114 """get_delta_q(Profile self) -> double"""
1115 return _IMP_saxs.Profile_get_delta_q(self)
1118 def get_min_q(self):
1119 """get_min_q(Profile self) -> double"""
1120 return _IMP_saxs.Profile_get_min_q(self)
1123 def get_max_q(self):
1124 """get_max_q(Profile self) -> double"""
1125 return _IMP_saxs.Profile_get_max_q(self)
1128 def get_intensity(self, i):
1129 """get_intensity(Profile self, unsigned int i) -> double"""
1130 return _IMP_saxs.Profile_get_intensity(self, i)
1134 """get_q(Profile self, unsigned int i) -> double"""
1135 return _IMP_saxs.Profile_get_q(self, i)
1138 def get_error(self, i):
1139 """get_error(Profile self, unsigned int i) -> double"""
1140 return _IMP_saxs.Profile_get_error(self, i)
1143 def get_weight(self, i):
1144 """get_weight(Profile self, unsigned int i) -> double"""
1145 return _IMP_saxs.Profile_get_weight(self, i)
1149 """get_qs(Profile self) -> Eigen::VectorXf const &"""
1150 return _IMP_saxs.Profile_get_qs(self)
1153 def get_intensities(self):
1154 """get_intensities(Profile self) -> Eigen::VectorXf const &"""
1155 return _IMP_saxs.Profile_get_intensities(self)
1158 def get_errors(self):
1159 """get_errors(Profile self) -> Eigen::VectorXf const &"""
1160 return _IMP_saxs.Profile_get_errors(self)
1163 def get_average_radius(self):
1164 """get_average_radius(Profile self) -> double"""
1165 return _IMP_saxs.Profile_get_average_radius(self)
1169 """size(Profile self) -> unsigned int"""
1170 return _IMP_saxs.Profile_size(self)
1173 def is_uniform_sampling(self):
1174 """is_uniform_sampling(Profile self) -> bool"""
1175 return _IMP_saxs.Profile_is_uniform_sampling(self)
1178 def is_partial_profile(self):
1179 """is_partial_profile(Profile self) -> bool"""
1180 return _IMP_saxs.Profile_is_partial_profile(self)
1184 """get_name(Profile self) -> std::string"""
1185 return _IMP_saxs.Profile_get_name(self)
1189 """get_id(Profile self) -> unsigned int"""
1190 return _IMP_saxs.Profile_get_id(self)
1193 def set_qs(self, q):
1194 """set_qs(Profile self, Eigen::VectorXf const & q)"""
1195 return _IMP_saxs.Profile_set_qs(self, q)
1198 def set_intensities(self, i):
1199 """set_intensities(Profile self, Eigen::VectorXf const & i)"""
1200 return _IMP_saxs.Profile_set_intensities(self, i)
1203 def set_errors(self, e):
1204 """set_errors(Profile self, Eigen::VectorXf const & e)"""
1205 return _IMP_saxs.Profile_set_errors(self, e)
1208 def set_intensity(self, i, iq):
1209 """set_intensity(Profile self, unsigned int i, double iq)"""
1210 return _IMP_saxs.Profile_set_intensity(self, i, iq)
1213 def set_ff_table(self, ff_table):
1214 """set_ff_table(Profile self, FormFactorTable ff_table)"""
1215 return _IMP_saxs.Profile_set_ff_table(self, ff_table)
1218 def set_average_radius(self, r):
1219 """set_average_radius(Profile self, double r)"""
1220 return _IMP_saxs.Profile_set_average_radius(self, r)
1223 def set_average_volume(self, v):
1224 """set_average_volume(Profile self, double v)"""
1225 return _IMP_saxs.Profile_set_average_volume(self, v)
1228 def set_name(self, name):
1229 """set_name(Profile self, std::string name)"""
1230 return _IMP_saxs.Profile_set_name(self, name)
1233 def set_id(self, id):
1234 """set_id(Profile self, unsigned int id)"""
1235 return _IMP_saxs.Profile_set_id(self, id)
1238 def set_beam_profile(self, beam_profile_file):
1239 """set_beam_profile(Profile self, std::string beam_profile_file)"""
1240 return _IMP_saxs.Profile_set_beam_profile(self, beam_profile_file)
1243 def add_errors(self):
1244 """add_errors(Profile self)"""
1245 return _IMP_saxs.Profile_add_errors(self)
1248 def add_noise(self, percentage=0.03):
1250 add_noise(Profile self, double percentage=0.03)
1251 add_noise(Profile self)
1253 return _IMP_saxs.Profile_add_noise(self, percentage)
1256 def sum_partial_profiles(self, c1, c2, check_cashed=True):
1258 sum_partial_profiles(Profile self, double c1, double c2, bool check_cashed=True)
1259 sum_partial_profiles(Profile self, double c1, double c2)
1261 return _IMP_saxs.Profile_sum_partial_profiles(self, c1, c2, check_cashed)
1264 def add(self, *args):
1266 add(Profile self, Profile other_profile, double weight=1.0)
1267 add(Profile self, Profile other_profile)
1268 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1269 add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1271 return _IMP_saxs.Profile_add(self, *args)
1274 def add_partial_profiles(self, *args):
1276 add_partial_profiles(Profile self, Profile other_profile, double weight=1.0)
1277 add_partial_profiles(Profile self, Profile other_profile)
1278 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1279 add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1281 return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1284 def background_adjust(self, start_q):
1285 """background_adjust(Profile self, double start_q)"""
1286 return _IMP_saxs.Profile_background_adjust(self, start_q)
1290 """scale(Profile self, double c)"""
1291 return _IMP_saxs.Profile_scale(self, c)
1294 def offset(self, c):
1295 """offset(Profile self, double c)"""
1296 return _IMP_saxs.Profile_offset(self, c)
1299 def copy_errors(self, exp_profile):
1300 """copy_errors(Profile self, Profile exp_profile)"""
1301 return _IMP_saxs.Profile_copy_errors(self, exp_profile)
1304 def get_version_info(self):
1305 """get_version_info(Profile self) -> VersionInfo"""
1306 return _IMP_saxs.Profile_get_version_info(self)
1310 """__str__(Profile self) -> std::string"""
1311 return _IMP_saxs.Profile___str__(self)
1315 """__repr__(Profile self) -> std::string"""
1316 return _IMP_saxs.Profile___repr__(self)
1321 return _object_cast_to_Profile(o)
1323 Profile_swigregister = _IMP_saxs.Profile_swigregister
1324 Profile_swigregister(Profile)
1325 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1327 class FitParameters(object):
1328 """Proxy of C++ IMP::saxs::FitParameters class"""
1329 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1330 __repr__ = _swig_repr
1332 def __init__(self, *args):
1334 __init__(IMP::saxs::FitParameters self) -> FitParameters
1335 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2, double c, double o) -> FitParameters
1336 __init__(IMP::saxs::FitParameters self, double chi_square, double c1, double c2) -> FitParameters
1338 this = _IMP_saxs.new_FitParameters(*args)
1340 self.this.append(this)
1344 def get_score(self):
1345 """get_score(FitParameters self) -> double"""
1346 return _IMP_saxs.FitParameters_get_score(self)
1349 def get_chi_square(self):
1350 """get_chi_square(FitParameters self) -> double"""
1351 return _IMP_saxs.FitParameters_get_chi_square(self)
1355 """get_c1(FitParameters self) -> double"""
1356 return _IMP_saxs.FitParameters_get_c1(self)
1360 """get_c2(FitParameters self) -> double"""
1361 return _IMP_saxs.FitParameters_get_c2(self)
1364 def get_scale(self):
1365 """get_scale(FitParameters self) -> double"""
1366 return _IMP_saxs.FitParameters_get_scale(self)
1369 def get_offset(self):
1370 """get_offset(FitParameters self) -> double"""
1371 return _IMP_saxs.FitParameters_get_offset(self)
1374 def get_default_chi_square(self):
1375 """get_default_chi_square(FitParameters self) -> double"""
1376 return _IMP_saxs.FitParameters_get_default_chi_square(self)
1379 def get_pdb_file_name(self):
1380 """get_pdb_file_name(FitParameters self) -> std::string"""
1381 return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1384 def get_profile_file_name(self):
1385 """get_profile_file_name(FitParameters self) -> std::string"""
1386 return _IMP_saxs.FitParameters_get_profile_file_name(self)
1389 def get_mol_index(self):
1390 """get_mol_index(FitParameters self) -> int"""
1391 return _IMP_saxs.FitParameters_get_mol_index(self)
1394 def set_score(self, score):
1395 """set_score(FitParameters self, double score)"""
1396 return _IMP_saxs.FitParameters_set_score(self, score)
1399 def set_chi_square(self, chi_square):
1400 """set_chi_square(FitParameters self, double chi_square)"""
1401 return _IMP_saxs.FitParameters_set_chi_square(self, chi_square)
1404 def set_default_chi_square(self, chi_square):
1405 """set_default_chi_square(FitParameters self, double chi_square)"""
1406 return _IMP_saxs.FitParameters_set_default_chi_square(self, chi_square)
1409 def set_profile_file_name(self, file_name):
1410 """set_profile_file_name(FitParameters self, std::string file_name)"""
1411 return _IMP_saxs.FitParameters_set_profile_file_name(self, file_name)
1414 def set_pdb_file_name(self, file_name):
1415 """set_pdb_file_name(FitParameters self, std::string file_name)"""
1416 return _IMP_saxs.FitParameters_set_pdb_file_name(self, file_name)
1419 def set_mol_index(self, index):
1420 """set_mol_index(FitParameters self, int index)"""
1421 return _IMP_saxs.FitParameters_set_mol_index(self, index)
1425 """show(FitParameters self, _ostream s)"""
1426 return _IMP_saxs.FitParameters_show(self, s)
1428 __swig_destroy__ = _IMP_saxs.delete_FitParameters
1429 __del__ =
lambda self:
None
1430 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1431 FitParameters_swigregister(FitParameters)
1433 class WeightedFitParameters(FitParameters):
1434 """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1435 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1436 __repr__ = _swig_repr
1438 def __init__(self, *args):
1440 __init__(IMP::saxs::WeightedFitParameters self) -> WeightedFitParameters
1441 __init__(IMP::saxs::WeightedFitParameters self, double chi_square, double c1, double c2, IMP::Vector< double > const & weights) -> WeightedFitParameters
1443 this = _IMP_saxs.new_WeightedFitParameters(*args)
1445 self.this.append(this)
1449 def get_weights(self):
1450 """get_weights(WeightedFitParameters self) -> IMP::Vector< double > const &"""
1451 return _IMP_saxs.WeightedFitParameters_get_weights(self)
1454 def set_weights(self, weights):
1455 """set_weights(WeightedFitParameters self, IMP::Vector< double > const & weights)"""
1456 return _IMP_saxs.WeightedFitParameters_set_weights(self, weights)
1460 """show(WeightedFitParameters self, _ostream s)"""
1461 return _IMP_saxs.WeightedFitParameters_show(self, s)
1463 __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1464 __del__ =
lambda self:
None
1465 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1466 WeightedFitParameters_swigregister(WeightedFitParameters)
1469 """Proxy of C++ IMP::saxs::ChiScore class"""
1470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1473 """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1474 this = _IMP_saxs.new_ChiScore()
1476 self.this.append(this)
1480 def compute_score(self, exp_profile, model_profile, use_offset=False):
1482 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1483 compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1485 return _IMP_saxs.ChiScore_compute_score(self, exp_profile, model_profile, use_offset)
1488 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1490 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1491 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1493 return _IMP_saxs.ChiScore_compute_scale_factor(self, exp_profile, model_profile, offset)
1496 def compute_offset(self, exp_profile, model_profile):
1497 """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> double"""
1498 return _IMP_saxs.ChiScore_compute_offset(self, exp_profile, model_profile)
1501 def get_version_info(self):
1502 """get_version_info(ChiScore self) -> VersionInfo"""
1503 return _IMP_saxs.ChiScore_get_version_info(self)
1507 """__str__(ChiScore self) -> std::string"""
1508 return _IMP_saxs.ChiScore___str__(self)
1512 """__repr__(ChiScore self) -> std::string"""
1513 return _IMP_saxs.ChiScore___repr__(self)
1518 return _object_cast_to_ChiScore(o)
1520 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1521 ChiScore_swigregister(ChiScore)
1524 """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1525 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1528 """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1529 this = _IMP_saxs.new_ChiScoreLog()
1531 self.this.append(this)
1535 def compute_score(self, *args):
1537 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1538 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1539 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, double min_q, double max_q) -> double
1541 return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1544 def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1546 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1547 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1549 return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, exp_profile, model_profile, offset)
1552 def compute_offset(self, exp_profile, model_profile):
1553 """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double"""
1554 return _IMP_saxs.ChiScoreLog_compute_offset(self, exp_profile, model_profile)
1557 def get_version_info(self):
1558 """get_version_info(ChiScoreLog self) -> VersionInfo"""
1559 return _IMP_saxs.ChiScoreLog_get_version_info(self)
1563 """__str__(ChiScoreLog self) -> std::string"""
1564 return _IMP_saxs.ChiScoreLog___str__(self)
1568 """__repr__(ChiScoreLog self) -> std::string"""
1569 return _IMP_saxs.ChiScoreLog___repr__(self)
1574 return _object_cast_to_ChiScoreLog(o)
1576 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1577 ChiScoreLog_swigregister(ChiScoreLog)
1580 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1581 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1582 __repr__ = _swig_repr
1584 def __init__(self, *args):
1586 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1587 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1589 this = _IMP_saxs.new_ProfileFitterChi(*args)
1591 self.this.append(this)
1595 def compute_score(self, *args):
1597 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1598 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> double
1599 compute_score(ProfileFitterChi self, Profile model_profile) -> double
1601 return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1604 def fit_profile(self, *args):
1606 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
1607 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
1608 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
1609 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1610 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1611 fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1612 fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1614 return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1617 def compute_scale_factor(self, model_profile, offset=0.0):
1619 compute_scale_factor(ProfileFitterChi self, Profile model_profile, double offset=0.0) -> double
1620 compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> double
1622 return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, model_profile, offset)
1625 def compute_offset(self, model_profile):
1626 """compute_offset(ProfileFitterChi self, Profile model_profile) -> double"""
1627 return _IMP_saxs.ProfileFitterChi_compute_offset(self, model_profile)
1630 def resample(self, model_profile, resampled_profile):
1631 """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1632 return _IMP_saxs.ProfileFitterChi_resample(self, model_profile, resampled_profile)
1635 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
1637 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)
1638 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
1639 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square)
1641 return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
1644 def get_profile(self):
1645 """get_profile(ProfileFitterChi self) -> Profile"""
1646 return _IMP_saxs.ProfileFitterChi_get_profile(self)
1648 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1649 __del__ =
lambda self:
None
1650 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1651 ProfileFitterChi_swigregister(ProfileFitterChi)
1653 class WeightedProfileFitterChi(ProfileFitterChi):
1654 """Proxy of C++ IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> class"""
1655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1656 __repr__ = _swig_repr
1658 def __init__(self, exp_profile):
1659 """__init__(IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> WeightedProfileFitterChi"""
1660 this = _IMP_saxs.new_WeightedProfileFitterChi(exp_profile)
1662 self.this.append(this)
1666 def compute_score(self, profiles, weights, use_offset=False, NNLS=True):
1668 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False, bool NNLS=True) -> double
1669 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool use_offset=False) -> double
1670 compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights) -> double
1672 return _IMP_saxs.WeightedProfileFitterChi_compute_score(self, profiles, weights, use_offset, NNLS)
1675 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):
1677 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
1678 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
1679 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
1680 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05) -> WeightedFitParameters
1681 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95) -> WeightedFitParameters
1682 fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1684 return _IMP_saxs.WeightedProfileFitterChi_fit_profile(self, partial_profiles, min_c1, max_c1, min_c2, max_c2, use_offset)
1687 def write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset=False):
1689 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name, bool use_offset=False)
1690 write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)
1692 return _IMP_saxs.WeightedProfileFitterChi_write_fit_file(self, partial_profiles, fp, fit_file_name, use_offset)
1694 __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitterChi
1695 __del__ =
lambda self:
None
1696 WeightedProfileFitterChi_swigregister = _IMP_saxs.WeightedProfileFitterChi_swigregister
1697 WeightedProfileFitterChi_swigregister(WeightedProfileFitterChi)
1700 """Proxy of C++ IMP::saxs::Restraint class"""
1701 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1702 __repr__ = _swig_repr
1704 def __init__(self, *args):
1706 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type) -> Restraint
1707 __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile) -> Restraint
1709 this = _IMP_saxs.new_Restraint(*args)
1711 self.this.append(this)
1715 if self.__class__ != Restraint:
1716 _director_objects.register(self)
1721 def do_get_inputs(self):
1722 """do_get_inputs(Restraint self) -> IMP::ModelObjectsTemp"""
1723 return _IMP_saxs.Restraint_do_get_inputs(self)
1726 def get_version_info(self):
1727 """get_version_info(Restraint self) -> VersionInfo"""
1728 return _IMP_saxs.Restraint_get_version_info(self)
1730 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1731 Restraint_swigregister(Restraint)
1733 class RadiusOfGyrationRestraint(Restraint):
1734 """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1735 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1736 __repr__ = _swig_repr
1738 def __init__(self, particles, exp_profile, end_q_rg=1.3):
1740 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1741 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1743 this = _IMP_saxs.new_RadiusOfGyrationRestraint(particles, exp_profile, end_q_rg)
1745 self.this.append(this)
1748 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1749 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1751 class FloatDistribution(DistBase):
1752 """Proxy of C++ IMP::saxs::Distribution<(double)> class"""
1753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1754 __repr__ = _swig_repr
1756 def __init__(self, *args):
1758 __init__(IMP::saxs::Distribution<(double)> self, double bin_size) -> FloatDistribution
1759 __init__(IMP::saxs::Distribution<(double)> self) -> FloatDistribution
1761 this = _IMP_saxs.new_FloatDistribution(*args)
1763 self.this.append(this)
1767 def get_max_distance(self):
1768 """get_max_distance(FloatDistribution self) -> double"""
1769 return _IMP_saxs.FloatDistribution_get_max_distance(self)
1772 def get_bin_size(self):
1773 """get_bin_size(FloatDistribution self) -> double"""
1774 return _IMP_saxs.FloatDistribution_get_bin_size(self)
1777 def get_index_from_distance(self, dist):
1778 """get_index_from_distance(FloatDistribution self, double dist) -> unsigned int"""
1779 return _IMP_saxs.FloatDistribution_get_index_from_distance(self, dist)
1782 def get_distance_from_index(self, index):
1783 """get_distance_from_index(FloatDistribution self, unsigned int index) -> double"""
1784 return _IMP_saxs.FloatDistribution_get_distance_from_index(self, index)
1786 __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1787 __del__ =
lambda self:
None
1788 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1789 FloatDistribution_swigregister(FloatDistribution)
1791 class VectorDistribution(object):
1792 """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1793 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1794 __repr__ = _swig_repr
1796 def __init__(self, *args):
1798 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, double bin_size) -> VectorDistribution
1799 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1801 this = _IMP_saxs.new_VectorDistribution(*args)
1803 self.this.append(this)
1807 def get_max_distance(self):
1808 """get_max_distance(VectorDistribution self) -> double"""
1809 return _IMP_saxs.VectorDistribution_get_max_distance(self)
1812 def get_bin_size(self):
1813 """get_bin_size(VectorDistribution self) -> double"""
1814 return _IMP_saxs.VectorDistribution_get_bin_size(self)
1817 def get_index_from_distance(self, dist):
1818 """get_index_from_distance(VectorDistribution self, double dist) -> unsigned int"""
1819 return _IMP_saxs.VectorDistribution_get_index_from_distance(self, dist)
1822 def get_distance_from_index(self, index):
1823 """get_distance_from_index(VectorDistribution self, unsigned int index) -> double"""
1824 return _IMP_saxs.VectorDistribution_get_distance_from_index(self, index)
1826 __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1827 __del__ =
lambda self:
None
1828 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1829 VectorDistribution_swigregister(VectorDistribution)
1831 class RadialDistributionFunction(FloatDistribution):
1832 """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1834 __repr__ = _swig_repr
1836 def __init__(self, *args):
1838 __init__(IMP::saxs::RadialDistributionFunction self, double bin_size) -> RadialDistributionFunction
1839 __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1840 __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1842 this = _IMP_saxs.new_RadialDistributionFunction(*args)
1844 self.this.append(this)
1849 """scale(RadialDistributionFunction self, double c)"""
1850 return _IMP_saxs.RadialDistributionFunction_scale(self, c)
1853 def add(self, model_pr):
1854 """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1855 return _IMP_saxs.RadialDistributionFunction_add(self, model_pr)
1858 def show(self, *args):
1860 show(RadialDistributionFunction self, _ostream out)
1861 show(RadialDistributionFunction self)
1863 return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1866 def R_factor_score(self, *args):
1868 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1869 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1871 return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1874 def fit(self, *args):
1876 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1877 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1879 return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1882 def normalize(self):
1883 """normalize(RadialDistributionFunction self)"""
1884 return _IMP_saxs.RadialDistributionFunction_normalize(self)
1887 def add_to_distribution(self, dist, value):
1888 """add_to_distribution(RadialDistributionFunction self, double dist, double value)"""
1889 return _IMP_saxs.RadialDistributionFunction_add_to_distribution(self, dist, value)
1891 __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1892 __del__ =
lambda self:
None
1893 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1894 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1896 class DeltaDistributionFunction(VectorDistribution):
1897 """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1899 __repr__ = _swig_repr
1901 def __init__(self, *args):
1903 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0, double bin_size) -> DeltaDistributionFunction
1904 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0) -> DeltaDistributionFunction
1905 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles) -> DeltaDistributionFunction
1907 this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1909 self.this.append(this)
1913 def calculate_derivative_distribution(self, particle):
1914 """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1915 return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, particle)
1918 def show(self, *args):
1920 show(DeltaDistributionFunction self, _ostream out, std::string prefix)
1921 show(DeltaDistributionFunction self, _ostream out)
1922 show(DeltaDistributionFunction self)
1924 return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1926 __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1927 __del__ =
lambda self:
None
1928 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1929 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1931 class SolventAccessibleSurface(object):
1932 """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1934 __repr__ = _swig_repr
1936 def get_solvent_accessibility(self, points, probe_radius=1.8, density=5.0):
1938 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8, double density=5.0) -> IMP::Vector< double >
1939 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8) -> IMP::Vector< double >
1940 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Vector< double >
1942 return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, points, probe_radius, density)
1946 """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1947 this = _IMP_saxs.new_SolventAccessibleSurface()
1949 self.this.append(this)
1952 __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1953 __del__ =
lambda self:
None
1954 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1955 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1958 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1959 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1960 __repr__ = _swig_repr
1962 def __init__(self, *args):
1964 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1965 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1967 this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1969 self.this.append(this)
1973 def compute_score(self, *args):
1975 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1976 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> double
1977 compute_score(ProfileFitterChiLog self, Profile model_profile) -> double
1979 return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1982 def fit_profile(self, *args):
1984 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
1985 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
1986 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
1987 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1988 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1989 fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1990 fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1992 return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1995 def compute_scale_factor(self, model_profile, offset=0.0):
1997 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, double offset=0.0) -> double
1998 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> double
2000 return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, model_profile, offset)
2003 def compute_offset(self, model_profile):
2004 """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> double"""
2005 return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, model_profile)
2008 def resample(self, model_profile, resampled_profile):
2009 """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
2010 return _IMP_saxs.ProfileFitterChiLog_resample(self, model_profile, resampled_profile)
2013 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2015 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)
2016 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2017 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square)
2019 return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2022 def get_profile(self):
2023 """get_profile(ProfileFitterChiLog self) -> Profile"""
2024 return _IMP_saxs.ProfileFitterChiLog_get_profile(self)
2026 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
2027 __del__ =
lambda self:
None
2028 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
2029 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
2031 class ProfileFitterRatioVolatility(
IMP.Object):
2032 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> class"""
2033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2034 __repr__ = _swig_repr
2036 def __init__(self, *args):
2038 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile) -> ProfileFitterRatioVolatility
2039 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile, IMP::saxs::RatioVolatilityScore * sf) -> ProfileFitterRatioVolatility
2041 this = _IMP_saxs.new_ProfileFitterRatioVolatility(*args)
2043 self.this.append(this)
2047 def compute_score(self, *args):
2049 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
2050 compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False) -> double
2051 compute_score(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2053 return _IMP_saxs.ProfileFitterRatioVolatility_compute_score(self, *args)
2056 def fit_profile(self, *args):
2058 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
2059 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
2060 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
2061 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
2062 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
2063 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95) -> FitParameters
2064 fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile) -> FitParameters
2066 return _IMP_saxs.ProfileFitterRatioVolatility_fit_profile(self, *args)
2069 def compute_scale_factor(self, model_profile, offset=0.0):
2071 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile, double offset=0.0) -> double
2072 compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile) -> double
2074 return _IMP_saxs.ProfileFitterRatioVolatility_compute_scale_factor(self, model_profile, offset)
2077 def compute_offset(self, model_profile):
2078 """compute_offset(ProfileFitterRatioVolatility self, Profile model_profile) -> double"""
2079 return _IMP_saxs.ProfileFitterRatioVolatility_compute_offset(self, model_profile)
2082 def resample(self, model_profile, resampled_profile):
2083 """resample(ProfileFitterRatioVolatility self, Profile model_profile, Profile resampled_profile)"""
2084 return _IMP_saxs.ProfileFitterRatioVolatility_resample(self, model_profile, resampled_profile)
2087 def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2089 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)
2090 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2091 write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square)
2093 return _IMP_saxs.ProfileFitterRatioVolatility_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2096 def get_profile(self):
2097 """get_profile(ProfileFitterRatioVolatility self) -> Profile"""
2098 return _IMP_saxs.ProfileFitterRatioVolatility_get_profile(self)
2100 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterRatioVolatility
2101 __del__ =
lambda self:
None
2102 ProfileFitterRatioVolatility_swigregister = _IMP_saxs.ProfileFitterRatioVolatility_swigregister
2103 ProfileFitterRatioVolatility_swigregister(ProfileFitterRatioVolatility)
2107 """get_module_version() -> std::string const"""
2108 return _IMP_saxs.get_module_version()
2111 """get_example_path(std::string fname) -> std::string"""
2112 return _IMP_saxs.get_example_path(fname)
2115 """get_data_path(std::string fname) -> std::string"""
2116 return _IMP_saxs.get_data_path(fname)
2118 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.