9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_saxs', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_saxs', fp, pathname, description)
26 _IMP_saxs = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
51 def _swig_getattr(self,class_type,name):
52 if (name ==
"thisown"):
return self.this.own()
53 method = class_type.__swig_getmethods__.get(name,
None)
54 if method:
return method(self)
55 raise AttributeError(name)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
77 class IMP_SAXS_SwigPyIterator(_object):
78 """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
79 __swig_setmethods__ = {}
80 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_SAXS_SwigPyIterator, name, value)
81 __swig_getmethods__ = {}
82 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_SAXS_SwigPyIterator, name)
83 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
85 __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
89 return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
93 incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
94 incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
96 return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
100 decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
101 decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
103 return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
105 def distance(self, *args):
106 """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
107 return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, *args)
109 def equal(self, *args):
110 """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
111 return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, *args)
114 """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
115 return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
118 """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
119 return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
122 """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
123 return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
126 """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
127 return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
129 def advance(self, *args):
130 """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
131 return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, *args)
133 def __eq__(self, *args):
134 """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
135 return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, *args)
137 def __ne__(self, *args):
138 """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
139 return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, *args)
141 def __iadd__(self, *args):
142 """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
143 return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, *args)
145 def __isub__(self, *args):
146 """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
147 return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, *args)
149 def __add__(self, *args):
150 """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
151 return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, *args)
153 def __sub__(self, *args):
155 __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
156 __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
160 def __iter__(self):
return self
161 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
162 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
169 IMP_HAS_DEPRECATED = _IMP_saxs.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
171 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
172 IMP_SILENT = _IMP_saxs.IMP_SILENT
173 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
174 IMP_TERSE = _IMP_saxs.IMP_TERSE
175 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
176 IMP_NONE = _IMP_saxs.IMP_NONE
177 IMP_USAGE = _IMP_saxs.IMP_USAGE
178 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_saxs.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_saxs.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_saxs.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_saxs.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
193 def register(self, obj):
194 """Take a reference to a director object; will only work for
195 refcounted C++ classes"""
196 if hasattr(obj,
'get_ref_count'):
197 self._objects.append(obj)
199 """Only drop our reference and allow cleanup by Python if no other
200 Python references exist (we hold 3 references: one in self._objects,
201 one in x, and one in the argument list for getrefcount) *and* no
202 other C++ references exist (the Python object always holds one)"""
203 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
204 or x.get_ref_count() > 1]
208 def get_object_count(self):
209 """Get number of director objects (useful for testing only)"""
210 return len(self._objects)
211 _director_objects = _DirectorObjects()
213 DEFAULT_CHECK = _IMP_saxs.DEFAULT_CHECK
214 NONE = _IMP_saxs.NONE
215 USAGE = _IMP_saxs.USAGE
216 USAGE_AND_INTERNAL = _IMP_saxs.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_saxs.set_check_level(*args)
223 """get_check_level() -> IMP::base::CheckLevel"""
224 return _IMP_saxs.get_check_level()
225 class _ostream(_object):
226 """Proxy of C++ std::ostream class"""
227 __swig_setmethods__ = {}
228 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229 __swig_getmethods__ = {}
230 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
231 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
232 __repr__ = _swig_repr
233 def write(self, *args):
234 """write(_ostream self, char const * osa_buf)"""
235 return _IMP_saxs._ostream_write(self, *args)
237 _ostream_swigregister = _IMP_saxs._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_saxs.IMP_COMPILER_HAS_FINAL
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
256 IMP_KERNEL_HAS_IMP_CGAL = _IMP_saxs.IMP_KERNEL_HAS_IMP_CGAL
257 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
258 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
259 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_SYSTEM
260 IMP_KERNEL_HAS_CGAL = _IMP_saxs.IMP_KERNEL_HAS_CGAL
262 IMP_DISPLAY_HAS_IMP_BASE = _IMP_saxs.IMP_DISPLAY_HAS_IMP_BASE
263 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
264 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
265 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
266 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
267 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
268 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
270 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
271 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
272 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
273 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
274 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
275 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
277 IMP_CORE_HAS_IMP_BASE = _IMP_saxs.IMP_CORE_HAS_IMP_BASE
278 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
279 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
280 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
281 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
282 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
283 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
284 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
286 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
287 IMP_CONTAINER_HAS_IMP_BASE = _IMP_saxs.IMP_CONTAINER_HAS_IMP_BASE
288 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
289 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
290 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
291 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
292 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
293 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
294 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
295 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
296 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
298 IMP_ATOM_HAS_IMP_BASE = _IMP_saxs.IMP_ATOM_HAS_IMP_BASE
299 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
300 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
301 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
302 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
303 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
304 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
305 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
306 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
307 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
308 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
309 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
311 IMP_SAXS_HAS_IMP_BASE = _IMP_saxs.IMP_SAXS_HAS_IMP_BASE
312 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
313 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
314 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
315 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
316 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
317 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
318 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
319 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
320 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
321 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
322 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
323 class DistBase(_object):
324 """Proxy of C++ std::vector<(double)> class"""
325 __swig_setmethods__ = {}
326 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistBase, name, value)
327 __swig_getmethods__ = {}
328 __getattr__ =
lambda self, name: _swig_getattr(self, DistBase, name)
329 __repr__ = _swig_repr
331 """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
332 return _IMP_saxs.DistBase_iterator(self)
334 def __iter__(self):
return self.iterator()
335 def __nonzero__(self):
336 """__nonzero__(DistBase self) -> bool"""
337 return _IMP_saxs.DistBase___nonzero__(self)
340 """__bool__(DistBase self) -> bool"""
341 return _IMP_saxs.DistBase___bool__(self)
344 """__len__(DistBase self) -> std::vector< double >::size_type"""
345 return _IMP_saxs.DistBase___len__(self)
348 """pop(DistBase self) -> std::vector< double >::value_type"""
349 return _IMP_saxs.DistBase_pop(self)
351 def __getslice__(self, *args):
352 """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
353 return _IMP_saxs.DistBase___getslice__(self, *args)
355 def __setslice__(self, *args):
357 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
358 DistBase v=std::vector< double,std::allocator< double > >())
359 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
361 return _IMP_saxs.DistBase___setslice__(self, *args)
363 def __delslice__(self, *args):
364 """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
365 return _IMP_saxs.DistBase___delslice__(self, *args)
367 def __delitem__(self, *args):
369 __delitem__(DistBase self, std::vector< double >::difference_type i)
370 __delitem__(DistBase self, PySliceObject * slice)
372 return _IMP_saxs.DistBase___delitem__(self, *args)
374 def __getitem__(self, *args):
376 __getitem__(DistBase self, PySliceObject * slice) -> DistBase
377 __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
379 return _IMP_saxs.DistBase___getitem__(self, *args)
381 def __setitem__(self, *args):
383 __setitem__(DistBase self, PySliceObject * slice, DistBase v)
384 __setitem__(DistBase self, PySliceObject * slice)
385 __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
387 return _IMP_saxs.DistBase___setitem__(self, *args)
389 def append(self, *args):
390 """append(DistBase self, std::vector< double >::value_type const & x)"""
391 return _IMP_saxs.DistBase_append(self, *args)
394 """empty(DistBase self) -> bool"""
395 return _IMP_saxs.DistBase_empty(self)
398 """size(DistBase self) -> std::vector< double >::size_type"""
399 return _IMP_saxs.DistBase_size(self)
402 """clear(DistBase self)"""
403 return _IMP_saxs.DistBase_clear(self)
405 def swap(self, *args):
406 """swap(DistBase self, DistBase v)"""
407 return _IMP_saxs.DistBase_swap(self, *args)
409 def get_allocator(self):
410 """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
411 return _IMP_saxs.DistBase_get_allocator(self)
414 """begin(DistBase self) -> std::vector< double >::iterator"""
415 return _IMP_saxs.DistBase_begin(self)
418 """end(DistBase self) -> std::vector< double >::iterator"""
419 return _IMP_saxs.DistBase_end(self)
422 """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
423 return _IMP_saxs.DistBase_rbegin(self)
426 """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
427 return _IMP_saxs.DistBase_rend(self)
430 """pop_back(DistBase self)"""
431 return _IMP_saxs.DistBase_pop_back(self)
433 def erase(self, *args):
435 erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
436 erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
438 return _IMP_saxs.DistBase_erase(self, *args)
440 def __init__(self, *args):
442 __init__(std::vector<(double)> self) -> DistBase
443 __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
444 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
445 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
447 this = _IMP_saxs.new_DistBase(*args)
448 try: self.this.append(this)
449 except: self.this = this
450 def push_back(self, *args):
451 """push_back(DistBase self, std::vector< double >::value_type const & x)"""
452 return _IMP_saxs.DistBase_push_back(self, *args)
455 """front(DistBase self) -> std::vector< double >::value_type const &"""
456 return _IMP_saxs.DistBase_front(self)
459 """back(DistBase self) -> std::vector< double >::value_type const &"""
460 return _IMP_saxs.DistBase_back(self)
462 def assign(self, *args):
463 """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
464 return _IMP_saxs.DistBase_assign(self, *args)
466 def resize(self, *args):
468 resize(DistBase self, std::vector< double >::size_type new_size)
469 resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
471 return _IMP_saxs.DistBase_resize(self, *args)
473 def insert(self, *args):
475 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
476 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
478 return _IMP_saxs.DistBase_insert(self, *args)
480 def reserve(self, *args):
481 """reserve(DistBase self, std::vector< double >::size_type n)"""
482 return _IMP_saxs.DistBase_reserve(self, *args)
485 """capacity(DistBase self) -> std::vector< double >::size_type"""
486 return _IMP_saxs.DistBase_capacity(self)
488 __swig_destroy__ = _IMP_saxs.delete_DistBase
489 __del__ =
lambda self :
None;
490 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
491 DistBase_swigregister(DistBase)
493 class _Vector3Ds(_object):
494 """Proxy of C++ std::vector<(::IMP::algebra::Vector3D)> class"""
495 __swig_setmethods__ = {}
496 __setattr__ =
lambda self, name, value: _swig_setattr(self, _Vector3Ds, name, value)
497 __swig_getmethods__ = {}
498 __getattr__ =
lambda self, name: _swig_getattr(self, _Vector3Ds, name)
499 __repr__ = _swig_repr
501 """iterator(_Vector3Ds self) -> IMP_SAXS_SwigPyIterator"""
502 return _IMP_saxs._Vector3Ds_iterator(self)
504 def __iter__(self):
return self.iterator()
505 def __nonzero__(self):
506 """__nonzero__(_Vector3Ds self) -> bool"""
507 return _IMP_saxs._Vector3Ds___nonzero__(self)
510 """__bool__(_Vector3Ds self) -> bool"""
511 return _IMP_saxs._Vector3Ds___bool__(self)
514 """__len__(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
515 return _IMP_saxs._Vector3Ds___len__(self)
518 """pop(_Vector3Ds self) -> Vector3D"""
519 return _IMP_saxs._Vector3Ds_pop(self)
521 def __getslice__(self, *args):
522 """__getslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j) -> _Vector3Ds"""
523 return _IMP_saxs._Vector3Ds___getslice__(self, *args)
525 def __setslice__(self, *args):
527 __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j,
528 _Vector3Ds v=std::vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > >())
529 __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)
531 return _IMP_saxs._Vector3Ds___setslice__(self, *args)
533 def __delslice__(self, *args):
534 """__delslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)"""
535 return _IMP_saxs._Vector3Ds___delslice__(self, *args)
537 def __delitem__(self, *args):
539 __delitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i)
540 __delitem__(_Vector3Ds self, PySliceObject * slice)
542 return _IMP_saxs._Vector3Ds___delitem__(self, *args)
544 def __getitem__(self, *args):
546 __getitem__(_Vector3Ds self, PySliceObject * slice) -> _Vector3Ds
547 __getitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i) -> Vector3D
549 return _IMP_saxs._Vector3Ds___getitem__(self, *args)
551 def __setitem__(self, *args):
553 __setitem__(_Vector3Ds self, PySliceObject * slice, _Vector3Ds v)
554 __setitem__(_Vector3Ds self, PySliceObject * slice)
555 __setitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, Vector3D x)
557 return _IMP_saxs._Vector3Ds___setitem__(self, *args)
559 def append(self, *args):
560 """append(_Vector3Ds self, Vector3D x)"""
561 return _IMP_saxs._Vector3Ds_append(self, *args)
564 """empty(_Vector3Ds self) -> bool"""
565 return _IMP_saxs._Vector3Ds_empty(self)
568 """size(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
569 return _IMP_saxs._Vector3Ds_size(self)
572 """clear(_Vector3Ds self)"""
573 return _IMP_saxs._Vector3Ds_clear(self)
575 def swap(self, *args):
576 """swap(_Vector3Ds self, _Vector3Ds v)"""
577 return _IMP_saxs._Vector3Ds_swap(self, *args)
579 def get_allocator(self):
580 """get_allocator(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::allocator_type"""
581 return _IMP_saxs._Vector3Ds_get_allocator(self)
584 """begin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
585 return _IMP_saxs._Vector3Ds_begin(self)
588 """end(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
589 return _IMP_saxs._Vector3Ds_end(self)
592 """rbegin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
593 return _IMP_saxs._Vector3Ds_rbegin(self)
596 """rend(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
597 return _IMP_saxs._Vector3Ds_rend(self)
600 """pop_back(_Vector3Ds self)"""
601 return _IMP_saxs._Vector3Ds_pop_back(self)
603 def erase(self, *args):
605 erase(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
606 erase(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator first, std::vector< IMP::algebra::VectorD< 3 > >::iterator last) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
608 return _IMP_saxs._Vector3Ds_erase(self, *args)
610 def __init__(self, *args):
612 __init__(std::vector<(::IMP::algebra::Vector3D)> self) -> _Vector3Ds
613 __init__(std::vector<(::IMP::algebra::Vector3D)> self, _Vector3Ds arg2) -> _Vector3Ds
614 __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size) -> _Vector3Ds
615 __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size, Vector3D value) -> _Vector3Ds
617 this = _IMP_saxs.new__Vector3Ds(*args)
618 try: self.this.append(this)
619 except: self.this = this
620 def push_back(self, *args):
621 """push_back(_Vector3Ds self, Vector3D x)"""
622 return _IMP_saxs._Vector3Ds_push_back(self, *args)
625 """front(_Vector3Ds self) -> Vector3D"""
626 return _IMP_saxs._Vector3Ds_front(self)
629 """back(_Vector3Ds self) -> Vector3D"""
630 return _IMP_saxs._Vector3Ds_back(self)
632 def assign(self, *args):
633 """assign(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n, Vector3D x)"""
634 return _IMP_saxs._Vector3Ds_assign(self, *args)
636 def resize(self, *args):
638 resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size)
639 resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size, Vector3D x)
641 return _IMP_saxs._Vector3Ds_resize(self, *args)
643 def insert(self, *args):
645 insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, Vector3D x) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
646 insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, std::vector< IMP::algebra::VectorD< 3 > >::size_type n,
649 return _IMP_saxs._Vector3Ds_insert(self, *args)
651 def reserve(self, *args):
652 """reserve(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n)"""
653 return _IMP_saxs._Vector3Ds_reserve(self, *args)
656 """capacity(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
657 return _IMP_saxs._Vector3Ds_capacity(self)
659 __swig_destroy__ = _IMP_saxs.delete__Vector3Ds
660 __del__ =
lambda self :
None;
661 _Vector3Ds_swigregister = _IMP_saxs._Vector3Ds_swigregister
662 _Vector3Ds_swigregister(_Vector3Ds)
664 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
665 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
666 CA_ATOMS = _IMP_saxs.CA_ATOMS
667 class FormFactorTable(_object):
668 """Proxy of C++ IMP::saxs::FormFactorTable class"""
669 __swig_setmethods__ = {}
670 __setattr__ =
lambda self, name, value: _swig_setattr(self, FormFactorTable, name, value)
671 __swig_getmethods__ = {}
672 __getattr__ =
lambda self, name: _swig_getattr(self, FormFactorTable, name)
673 __repr__ = _swig_repr
674 def __init__(self, *args):
676 __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
677 __init__(IMP::saxs::FormFactorTable self, IMP::String const & table_name, IMP::Float min_q, IMP::Float max_q, IMP::Float delta_q) -> FormFactorTable
679 this = _IMP_saxs.new_FormFactorTable(*args)
680 try: self.this.append(this)
681 except: self.this = this
682 def get_form_factor(self, *args):
684 get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
685 get_form_factor(FormFactorTable self, Particle p) -> IMP::Float
687 return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
689 def get_vacuum_form_factor(self, *args):
691 get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
692 get_vacuum_form_factor(FormFactorTable self, Particle p) -> IMP::Float
694 return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
696 def get_dummy_form_factor(self, *args):
698 get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
699 get_dummy_form_factor(FormFactorTable self, Particle p) -> IMP::Float
701 return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
703 def get_water_form_factor(self):
704 """get_water_form_factor(FormFactorTable self) -> IMP::Float"""
705 return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
707 def get_vacuum_water_form_factor(self):
708 """get_vacuum_water_form_factor(FormFactorTable self) -> IMP::Float"""
709 return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
711 def get_dummy_water_form_factor(self):
712 """get_dummy_water_form_factor(FormFactorTable self) -> IMP::Float"""
713 return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
715 def get_form_factors(self, *args):
717 get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
718 get_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
720 return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
722 def get_vacuum_form_factors(self, *args):
724 get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
725 get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
727 return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
729 def get_dummy_form_factors(self, *args):
731 get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
732 get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
734 return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
736 def get_water_form_factors(self):
737 """get_water_form_factors(FormFactorTable self) -> IMP::Floats const &"""
738 return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
740 def get_water_vacuum_form_factors(self):
741 """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Floats const &"""
742 return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
744 def get_water_dummy_form_factors(self):
745 """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Floats const &"""
746 return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
748 def get_radius(self, *args):
750 get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
751 get_radius(FormFactorTable self, Particle p) -> IMP::Float
753 return _IMP_saxs.FormFactorTable_get_radius(self, *args)
757 get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
758 get_volume(FormFactorTable self, Particle p) -> IMP::Float
760 return _IMP_saxs.FormFactorTable_get_volume(self, *args)
762 def show(self, *args):
764 show(FormFactorTable self, _ostream out=std::cout, std::string prefix="")
765 show(FormFactorTable self, _ostream out=std::cout)
766 show(FormFactorTable self)
768 return _IMP_saxs.FormFactorTable_show(self, *args)
770 __swig_setmethods__[
"rho_"] = _IMP_saxs.FormFactorTable_rho__set
771 __swig_getmethods__[
"rho_"] = _IMP_saxs.FormFactorTable_rho__get
772 if _newclass:rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
773 __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
774 __del__ =
lambda self :
None;
775 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
776 FormFactorTable_swigregister(FormFactorTable)
777 cvar = _IMP_saxs.cvar
780 def default_form_factor_table():
781 """default_form_factor_table() -> FormFactorTable"""
782 return _IMP_saxs.default_form_factor_table()
783 class Profile(_object):
784 """Proxy of C++ IMP::saxs::Profile class"""
785 __swig_setmethods__ = {}
786 __setattr__ =
lambda self, name, value: _swig_setattr(self, Profile, name, value)
787 __swig_getmethods__ = {}
788 __getattr__ =
lambda self, name: _swig_getattr(self, Profile, name)
789 __repr__ = _swig_repr
790 def __init__(self, *args):
792 __init__(IMP::saxs::Profile self, IMP::String const & file_name) -> Profile
793 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5, IMP::Float delta=0.005) -> Profile
794 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5) -> Profile
795 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0) -> Profile
796 __init__(IMP::saxs::Profile self) -> Profile
798 this = _IMP_saxs.new_Profile(*args)
799 try: self.this.append(this)
800 except: self.this = this
801 def calculate_profile_partial(self, *args):
803 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
804 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
805 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
806 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles)
807 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
808 IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats(),
809 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
810 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
811 IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats())
812 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
813 IMP::Floats const & surface1=IMP::Floats())
814 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
816 return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
818 def calculate_profile_reciprocal_partial(self, *args):
820 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
821 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
822 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
823 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles)
825 return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
827 def calculate_profile(self, *args):
829 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
830 bool reciprocal=False, bool variance=False, double variance_tau=0.1)
831 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
832 bool reciprocal=False, bool variance=False)
833 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
834 bool reciprocal=False)
835 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
836 calculate_profile(Profile self, IMP::kernel::Particles const & particles)
837 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
838 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False, double variance_tau=0.1)
839 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
840 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False)
841 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
842 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
843 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
845 return _IMP_saxs.Profile_calculate_profile(self, *args)
847 def calculate_I0(self, *args):
849 calculate_I0(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
850 calculate_I0(Profile self, IMP::kernel::Particles const & particles) -> IMP::Float
852 return _IMP_saxs.Profile_calculate_I0(self, *args)
854 def calculate_profile_constant_form_factor(self, *args):
856 calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles, IMP::Float form_factor=1.0)
857 calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles)
859 return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, *args)
861 def calculate_profile_symmetric(self, *args):
863 calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
864 calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n)
866 return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
868 def profile_2_distribution(self, *args):
869 """profile_2_distribution(Profile self, RadialDistributionFunction rd, IMP::Float max_distance)"""
870 return _IMP_saxs.Profile_profile_2_distribution(self, *args)
872 def distribution_2_profile(self, *args):
873 """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
874 return _IMP_saxs.Profile_distribution_2_profile(self, *args)
876 def add(self, *args):
878 add(Profile self, Profile other_profile, IMP::Float weight=1.0)
879 add(Profile self, Profile other_profile)
881 return _IMP_saxs.Profile_add(self, *args)
883 def add_partial_profiles(self, *args):
885 add_partial_profiles(Profile self, Profile other_profile, IMP::Float weight=1.0)
886 add_partial_profiles(Profile self, Profile other_profile)
888 return _IMP_saxs.Profile_add_partial_profiles(self, *args)
890 def background_adjust(self, *args):
891 """background_adjust(Profile self, double start_q)"""
892 return _IMP_saxs.Profile_background_adjust(self, *args)
894 def scale(self, *args):
895 """scale(Profile self, IMP::Float c)"""
896 return _IMP_saxs.Profile_scale(self, *args)
898 def offset(self, *args):
899 """offset(Profile self, IMP::Float c)"""
900 return _IMP_saxs.Profile_offset(self, *args)
902 def read_SAXS_file(self, *args):
903 """read_SAXS_file(Profile self, IMP::String const & file_name)"""
904 return _IMP_saxs.Profile_read_SAXS_file(self, *args)
906 def write_SAXS_file(self, *args):
908 write_SAXS_file(Profile self, IMP::String const & file_name, IMP::Float max_q=0.0)
909 write_SAXS_file(Profile self, IMP::String const & file_name)
911 return _IMP_saxs.Profile_write_SAXS_file(self, *args)
913 def write_partial_profiles(self, *args):
914 """write_partial_profiles(Profile self, IMP::String const & file_name)"""
915 return _IMP_saxs.Profile_write_partial_profiles(self, *args)
919 radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
920 radius_of_gyration(Profile self) -> double
922 return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
924 def get_delta_q(self):
925 """get_delta_q(Profile self) -> IMP::Float"""
926 return _IMP_saxs.Profile_get_delta_q(self)
929 """get_min_q(Profile self) -> IMP::Float"""
930 return _IMP_saxs.Profile_get_min_q(self)
933 """get_max_q(Profile self) -> IMP::Float"""
934 return _IMP_saxs.Profile_get_max_q(self)
937 """size(Profile self) -> unsigned int"""
938 return _IMP_saxs.Profile_size(self)
940 def get_intensity(self, *args):
941 """get_intensity(Profile self, unsigned int i) -> IMP::Float"""
942 return _IMP_saxs.Profile_get_intensity(self, *args)
944 def get_q(self, *args):
945 """get_q(Profile self, unsigned int i) -> IMP::Float"""
946 return _IMP_saxs.Profile_get_q(self, *args)
948 def get_error(self, *args):
949 """get_error(Profile self, unsigned int i) -> IMP::Float"""
950 return _IMP_saxs.Profile_get_error(self, *args)
952 def get_weight(self, *args):
953 """get_weight(Profile self, unsigned int i) -> IMP::Float"""
954 return _IMP_saxs.Profile_get_weight(self, *args)
956 def get_variance(self, *args):
957 """get_variance(Profile self, unsigned int i, unsigned int j) -> IMP::Float"""
958 return _IMP_saxs.Profile_get_variance(self, *args)
960 def get_average_radius(self):
961 """get_average_radius(Profile self) -> IMP::Float"""
962 return _IMP_saxs.Profile_get_average_radius(self)
964 def set_intensity(self, *args):
965 """set_intensity(Profile self, unsigned int i, IMP::Float iq)"""
966 return _IMP_saxs.Profile_set_intensity(self, *args)
968 def set_ff_table(self, *args):
969 """set_ff_table(Profile self, FormFactorTable ff_table)"""
970 return _IMP_saxs.Profile_set_ff_table(self, *args)
972 def set_average_radius(self, *args):
973 """set_average_radius(Profile self, IMP::Float r)"""
974 return _IMP_saxs.Profile_set_average_radius(self, *args)
976 def set_average_volume(self, *args):
977 """set_average_volume(Profile self, IMP::Float v)"""
978 return _IMP_saxs.Profile_set_average_volume(self, *args)
980 def add_entry(self, *args):
982 add_entry(Profile self, IMP::Float q, IMP::Float intensity, IMP::Float error=1.0)
983 add_entry(Profile self, IMP::Float q, IMP::Float intensity)
985 return _IMP_saxs.Profile_add_entry(self, *args)
987 def is_uniform_sampling(self):
988 """is_uniform_sampling(Profile self) -> bool"""
989 return _IMP_saxs.Profile_is_uniform_sampling(self)
991 def add_errors(self):
992 """add_errors(Profile self)"""
993 return _IMP_saxs.Profile_add_errors(self)
995 def add_noise(self, percentage=0.03):
997 add_noise(Profile self, IMP::Float percentage=0.03)
998 add_noise(Profile self)
1000 return _IMP_saxs.Profile_add_noise(self, percentage)
1002 def sum_partial_profiles(self, *args):
1003 """sum_partial_profiles(Profile self, IMP::Float c1, IMP::Float c2, Profile out_profile)"""
1004 return _IMP_saxs.Profile_sum_partial_profiles(self, *args)
1006 __swig_destroy__ = _IMP_saxs.delete_Profile
1007 __del__ =
lambda self :
None;
1008 Profile_swigregister = _IMP_saxs.Profile_swigregister
1009 Profile_swigregister(Profile)
1010 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1012 class FitParameters(_object):
1013 """Proxy of C++ IMP::saxs::FitParameters class"""
1014 __swig_setmethods__ = {}
1015 __setattr__ =
lambda self, name, value: _swig_setattr(self, FitParameters, name, value)
1016 __swig_getmethods__ = {}
1017 __getattr__ =
lambda self, name: _swig_getattr(self, FitParameters, name)
1018 __repr__ = _swig_repr
1019 def __init__(self, *args):
1021 __init__(IMP::saxs::FitParameters self) -> FitParameters
1022 __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2, float c, float o) -> FitParameters
1023 __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2) -> FitParameters
1025 this = _IMP_saxs.new_FitParameters(*args)
1026 try: self.this.append(this)
1027 except: self.this = this
1029 """get_chi(FitParameters self) -> float"""
1030 return _IMP_saxs.FitParameters_get_chi(self)
1033 """get_c1(FitParameters self) -> float"""
1034 return _IMP_saxs.FitParameters_get_c1(self)
1037 """get_c2(FitParameters self) -> float"""
1038 return _IMP_saxs.FitParameters_get_c2(self)
1040 def get_scale(self):
1041 """get_scale(FitParameters self) -> float"""
1042 return _IMP_saxs.FitParameters_get_scale(self)
1044 def get_offset(self):
1045 """get_offset(FitParameters self) -> float"""
1046 return _IMP_saxs.FitParameters_get_offset(self)
1048 def get_default_chi(self):
1049 """get_default_chi(FitParameters self) -> float"""
1050 return _IMP_saxs.FitParameters_get_default_chi(self)
1052 def get_pdb_file_name(self):
1053 """get_pdb_file_name(FitParameters self) -> std::string"""
1054 return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1056 def get_profile_file_name(self):
1057 """get_profile_file_name(FitParameters self) -> std::string"""
1058 return _IMP_saxs.FitParameters_get_profile_file_name(self)
1060 def get_mol_index(self):
1061 """get_mol_index(FitParameters self) -> int"""
1062 return _IMP_saxs.FitParameters_get_mol_index(self)
1064 def set_default_chi(self, *args):
1065 """set_default_chi(FitParameters self, float chi)"""
1066 return _IMP_saxs.FitParameters_set_default_chi(self, *args)
1068 def set_profile_file_name(self, *args):
1069 """set_profile_file_name(FitParameters self, std::string file_name)"""
1070 return _IMP_saxs.FitParameters_set_profile_file_name(self, *args)
1072 def set_pdb_file_name(self, *args):
1073 """set_pdb_file_name(FitParameters self, std::string file_name)"""
1074 return _IMP_saxs.FitParameters_set_pdb_file_name(self, *args)
1076 def set_mol_index(self, *args):
1077 """set_mol_index(FitParameters self, int index)"""
1078 return _IMP_saxs.FitParameters_set_mol_index(self, *args)
1080 def show(self, *args):
1081 """show(FitParameters self, _ostream s)"""
1082 return _IMP_saxs.FitParameters_show(self, *args)
1084 __swig_destroy__ = _IMP_saxs.delete_FitParameters
1085 __del__ =
lambda self :
None;
1086 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1087 FitParameters_swigregister(FitParameters)
1089 class ChiScore(_object):
1090 """Proxy of C++ IMP::saxs::ChiScore class"""
1091 __swig_setmethods__ = {}
1092 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiScore, name, value)
1093 __swig_getmethods__ = {}
1094 __getattr__ =
lambda self, name: _swig_getattr(self, ChiScore, name)
1095 __repr__ = _swig_repr
1096 def compute_score(self, *args):
1098 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1099 compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1100 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1102 return _IMP_saxs.ChiScore_compute_score(self, *args)
1104 def compute_scale_factor(self, *args):
1106 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1107 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1109 return _IMP_saxs.ChiScore_compute_scale_factor(self, *args)
1111 def compute_offset(self, *args):
1112 """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1113 return _IMP_saxs.ChiScore_compute_offset(self, *args)
1116 """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1117 this = _IMP_saxs.new_ChiScore()
1118 try: self.this.append(this)
1119 except: self.this = this
1120 __swig_destroy__ = _IMP_saxs.delete_ChiScore
1121 __del__ =
lambda self :
None;
1122 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1123 ChiScore_swigregister(ChiScore)
1125 class ChiScoreLog(_object):
1126 """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1127 __swig_setmethods__ = {}
1128 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiScoreLog, name, value)
1129 __swig_getmethods__ = {}
1130 __getattr__ =
lambda self, name: _swig_getattr(self, ChiScoreLog, name)
1131 __repr__ = _swig_repr
1132 def compute_score(self, *args):
1134 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1135 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1136 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1138 return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1140 def compute_scale_factor(self, *args):
1142 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1143 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1145 return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, *args)
1147 def compute_offset(self, *args):
1148 """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1149 return _IMP_saxs.ChiScoreLog_compute_offset(self, *args)
1152 """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1153 this = _IMP_saxs.new_ChiScoreLog()
1154 try: self.this.append(this)
1155 except: self.this = this
1156 __swig_destroy__ = _IMP_saxs.delete_ChiScoreLog
1157 __del__ =
lambda self :
None;
1158 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1159 ChiScoreLog_swigregister(ChiScoreLog)
1162 """Proxy of C++ IMP::saxs::DerivativeCalculator class"""
1163 __swig_setmethods__ = {}
1164 for _s
in [
IMP.base.RefCounted]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1165 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativeCalculator, name, value)
1166 __swig_getmethods__ = {}
1167 for _s
in [
IMP.base.RefCounted]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1168 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativeCalculator, name)
1169 __repr__ = _swig_repr
1170 def __init__(self, *args):
1171 """__init__(IMP::saxs::DerivativeCalculator self, Profile exp_profile) -> DerivativeCalculator"""
1172 this = _IMP_saxs.new_DerivativeCalculator(*args)
1173 try: self.this.append(this)
1174 except: self.this = this
1175 def compute_gaussian_effect_size(self, *args):
1177 compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf, bool use_offset=False) -> DistBase
1178 compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf) -> DistBase
1180 return _IMP_saxs.DerivativeCalculator_compute_gaussian_effect_size(self, *args)
1182 def compute_all_derivatives(self, *args):
1184 compute_all_derivatives(DerivativeCalculator self, IMP::kernel::Particles const & particles, std::vector< IMP::kernel::Particles,std::allocator< IMP::kernel::Particles > > const & rigid_bodies,
1185 std::vector< IMP::core::RigidBody,std::allocator< IMP::core::RigidBody > > const & rigid_bodies_decorators,
1186 Profile model_profile,
1187 DistBase effect_size, DerivativeAccumulator acc)
1189 return _IMP_saxs.DerivativeCalculator_compute_all_derivatives(self, *args)
1191 __swig_destroy__ = _IMP_saxs.delete_DerivativeCalculator
1192 __del__ =
lambda self :
None;
1193 DerivativeCalculator_swigregister = _IMP_saxs.DerivativeCalculator_swigregister
1194 DerivativeCalculator_swigregister(DerivativeCalculator)
1197 """Proxy of C++ IMP::saxs::Restraint class"""
1198 __swig_setmethods__ = {}
1199 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1200 __setattr__ =
lambda self, name, value: _swig_setattr(self, Restraint, name, value)
1201 __swig_getmethods__ = {}
1202 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1203 __getattr__ =
lambda self, name: _swig_getattr(self, Restraint, name)
1204 __repr__ = _swig_repr
1205 def __init__(self, *args):
1207 __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> Restraint
1208 __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> Restraint
1210 this = _IMP_saxs.new_Restraint(*args)
1211 try: self.this.append(this)
1212 except: self.this = this
1213 if self.__class__ != Restraint:
1215 IMP.base._director_objects.register(self)
1220 """get_input_particles(Restraint self) -> IMP::kernel::ParticlesTemp"""
1221 return _IMP_saxs.Restraint_get_input_particles(self)
1224 """get_input_containers(Restraint self) -> IMP::kernel::ContainersTemp"""
1225 return _IMP_saxs.Restraint_get_input_containers(self)
1227 def do_get_inputs(self):
1228 """do_get_inputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
1229 return _IMP_saxs.Restraint_do_get_inputs(self)
1231 def get_version_info(self):
1232 """get_version_info(Restraint self) -> VersionInfo"""
1233 return _IMP_saxs.Restraint_get_version_info(self)
1235 def do_show(self, *args):
1236 """do_show(Restraint self, _ostream out)"""
1237 return _IMP_saxs.Restraint_do_show(self, *args)
1239 __swig_destroy__ = _IMP_saxs.delete_Restraint
1240 __del__ =
lambda self :
None;
1241 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1242 Restraint_swigregister(Restraint)
1245 """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1246 __swig_setmethods__ = {}
1247 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1248 __setattr__ =
lambda self, name, value: _swig_setattr(self, RadiusOfGyrationRestraint, name, value)
1249 __swig_getmethods__ = {}
1250 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1251 __getattr__ =
lambda self, name: _swig_getattr(self, RadiusOfGyrationRestraint, name)
1252 __repr__ = _swig_repr
1253 def __init__(self, *args):
1255 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1256 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1258 this = _IMP_saxs.new_RadiusOfGyrationRestraint(*args)
1259 try: self.this.append(this)
1260 except: self.this = this
1262 """get_input_particles(RadiusOfGyrationRestraint self) -> IMP::kernel::ParticlesTemp"""
1263 return _IMP_saxs.RadiusOfGyrationRestraint_get_input_particles(self)
1266 """get_input_containers(RadiusOfGyrationRestraint self) -> IMP::kernel::ContainersTemp"""
1267 return _IMP_saxs.RadiusOfGyrationRestraint_get_input_containers(self)
1269 def do_get_inputs(self):
1270 """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1271 return _IMP_saxs.RadiusOfGyrationRestraint_do_get_inputs(self)
1273 def get_version_info(self):
1274 """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
1275 return _IMP_saxs.RadiusOfGyrationRestraint_get_version_info(self)
1277 def do_show(self, *args):
1278 """do_show(RadiusOfGyrationRestraint self, _ostream out)"""
1279 return _IMP_saxs.RadiusOfGyrationRestraint_do_show(self, *args)
1281 __swig_destroy__ = _IMP_saxs.delete_RadiusOfGyrationRestraint
1282 __del__ =
lambda self :
None;
1283 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1284 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1286 class FloatDistribution(DistBase):
1287 """Proxy of C++ IMP::saxs::Distribution<(IMP::Float)> class"""
1288 __swig_setmethods__ = {}
1289 for _s
in [DistBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1290 __setattr__ =
lambda self, name, value: _swig_setattr(self, FloatDistribution, name, value)
1291 __swig_getmethods__ = {}
1292 for _s
in [DistBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1293 __getattr__ =
lambda self, name: _swig_getattr(self, FloatDistribution, name)
1294 __repr__ = _swig_repr
1295 def __init__(self, *args):
1297 __init__(IMP::saxs::Distribution<(IMP::Float)> self, IMP::Float bin_size=pr_resolution) -> FloatDistribution
1298 __init__(IMP::saxs::Distribution<(IMP::Float)> self) -> FloatDistribution
1300 this = _IMP_saxs.new_FloatDistribution(*args)
1301 try: self.this.append(this)
1302 except: self.this = this
1303 def get_max_distance(self):
1304 """get_max_distance(FloatDistribution self) -> IMP::Float"""
1305 return _IMP_saxs.FloatDistribution_get_max_distance(self)
1307 def get_bin_size(self):
1308 """get_bin_size(FloatDistribution self) -> IMP::Float"""
1309 return _IMP_saxs.FloatDistribution_get_bin_size(self)
1311 __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1312 __del__ =
lambda self :
None;
1313 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1314 FloatDistribution_swigregister(FloatDistribution)
1316 class VectorDistribution(_Vector3Ds):
1317 """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1318 __swig_setmethods__ = {}
1319 for _s
in [_Vector3Ds]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1320 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorDistribution, name, value)
1321 __swig_getmethods__ = {}
1322 for _s
in [_Vector3Ds]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1323 __getattr__ =
lambda self, name: _swig_getattr(self, VectorDistribution, name)
1324 __repr__ = _swig_repr
1325 def __init__(self, *args):
1327 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, IMP::Float bin_size=pr_resolution) -> VectorDistribution
1328 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1330 this = _IMP_saxs.new_VectorDistribution(*args)
1331 try: self.this.append(this)
1332 except: self.this = this
1333 def get_max_distance(self):
1334 """get_max_distance(VectorDistribution self) -> IMP::Float"""
1335 return _IMP_saxs.VectorDistribution_get_max_distance(self)
1337 def get_bin_size(self):
1338 """get_bin_size(VectorDistribution self) -> IMP::Float"""
1339 return _IMP_saxs.VectorDistribution_get_bin_size(self)
1341 __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1342 __del__ =
lambda self :
None;
1343 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1344 VectorDistribution_swigregister(VectorDistribution)
1346 class RadialDistributionFunction(FloatDistribution):
1347 """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1348 __swig_setmethods__ = {}
1349 for _s
in [FloatDistribution]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1350 __setattr__ =
lambda self, name, value: _swig_setattr(self, RadialDistributionFunction, name, value)
1351 __swig_getmethods__ = {}
1352 for _s
in [FloatDistribution]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1353 __getattr__ =
lambda self, name: _swig_getattr(self, RadialDistributionFunction, name)
1354 __repr__ = _swig_repr
1355 def __init__(self, *args):
1357 __init__(IMP::saxs::RadialDistributionFunction self, IMP::Float bin_size=pr_resolution) -> RadialDistributionFunction
1358 __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1359 __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1361 this = _IMP_saxs.new_RadialDistributionFunction(*args)
1362 try: self.this.append(this)
1363 except: self.this = this
1364 def scale(self, *args):
1365 """scale(RadialDistributionFunction self, IMP::Float c)"""
1366 return _IMP_saxs.RadialDistributionFunction_scale(self, *args)
1368 def add(self, *args):
1369 """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1370 return _IMP_saxs.RadialDistributionFunction_add(self, *args)
1372 def show(self, *args):
1374 show(RadialDistributionFunction self, _ostream out=std::cout)
1375 show(RadialDistributionFunction self)
1377 return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1379 def R_factor_score(self, *args):
1381 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1382 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1384 return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1386 def fit(self, *args):
1388 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1389 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1391 return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1393 def normalize(self):
1394 """normalize(RadialDistributionFunction self)"""
1395 return _IMP_saxs.RadialDistributionFunction_normalize(self)
1397 __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1398 __del__ =
lambda self :
None;
1399 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1400 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1402 class DeltaDistributionFunction(VectorDistribution):
1403 """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1404 __swig_setmethods__ = {}
1405 for _s
in [VectorDistribution]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1406 __setattr__ =
lambda self, name, value: _swig_setattr(self, DeltaDistributionFunction, name, value)
1407 __swig_getmethods__ = {}
1408 for _s
in [VectorDistribution]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1409 __getattr__ =
lambda self, name: _swig_getattr(self, DeltaDistributionFunction, name)
1410 __repr__ = _swig_repr
1411 def __init__(self, *args):
1413 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0, IMP::Float bin_size=pr_resolution) -> DeltaDistributionFunction
1414 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0) -> DeltaDistributionFunction
1415 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles) -> DeltaDistributionFunction
1417 this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1418 try: self.this.append(this)
1419 except: self.this = this
1420 def calculate_derivative_distribution(self, *args):
1421 """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1422 return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, *args)
1424 def show(self, *args):
1426 show(DeltaDistributionFunction self, _ostream out=std::cout, std::string prefix="")
1427 show(DeltaDistributionFunction self, _ostream out=std::cout)
1428 show(DeltaDistributionFunction self)
1430 return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1432 __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1433 __del__ =
lambda self :
None;
1434 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1435 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1437 class SolventAccessibleSurface(_object):
1438 """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1439 __swig_setmethods__ = {}
1440 __setattr__ =
lambda self, name, value: _swig_setattr(self, SolventAccessibleSurface, name, value)
1441 __swig_getmethods__ = {}
1442 __getattr__ =
lambda self, name: _swig_getattr(self, SolventAccessibleSurface, name)
1443 __repr__ = _swig_repr
1444 def get_solvent_accessibility(self, *args):
1446 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8, float density=5.0) -> IMP::Floats
1447 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8) -> IMP::Floats
1448 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Floats
1450 return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, *args)
1453 """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1454 this = _IMP_saxs.new_SolventAccessibleSurface()
1455 try: self.this.append(this)
1456 except: self.this = this
1457 __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1458 __del__ =
lambda self :
None;
1459 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1460 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1463 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1464 __swig_setmethods__ = {}
1465 for _s
in [
IMP.base.RefCounted]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1466 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProfileFitterChi, name, value)
1467 __swig_getmethods__ = {}
1468 for _s
in [
IMP.base.RefCounted]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1469 __getattr__ =
lambda self, name: _swig_getattr(self, ProfileFitterChi, name)
1470 __repr__ = _swig_repr
1471 def __init__(self, *args):
1472 """__init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi"""
1473 this = _IMP_saxs.new_ProfileFitterChi(*args)
1474 try: self.this.append(this)
1475 except: self.this = this
1476 def compute_score(self, *args):
1478 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1479 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> IMP::Float
1480 compute_score(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1481 compute_score(ProfileFitterChi self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1483 return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1485 def fit_profile(self, *args):
1487 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1488 float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1489 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1490 float max_c2=4.0, bool use_offset=False) -> FitParameters
1491 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1492 float max_c2=4.0) -> FitParameters
1493 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1494 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1495 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1496 fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1498 return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1500 def compute_scale_factor(self, *args):
1502 compute_scale_factor(ProfileFitterChi self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1503 compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1505 return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, *args)
1507 def compute_offset(self, *args):
1508 """compute_offset(ProfileFitterChi self, Profile model_profile) -> IMP::Float"""
1509 return _IMP_saxs.ProfileFitterChi_compute_offset(self, *args)
1511 def resample(self, *args):
1512 """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1513 return _IMP_saxs.ProfileFitterChi_resample(self, *args)
1515 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1516 __del__ =
lambda self :
None;
1517 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1518 ProfileFitterChi_swigregister(ProfileFitterChi)
1521 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1522 __swig_setmethods__ = {}
1523 for _s
in [
IMP.base.RefCounted]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1524 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProfileFitterChiLog, name, value)
1525 __swig_getmethods__ = {}
1526 for _s
in [
IMP.base.RefCounted]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1527 __getattr__ =
lambda self, name: _swig_getattr(self, ProfileFitterChiLog, name)
1528 __repr__ = _swig_repr
1529 def __init__(self, *args):
1530 """__init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog"""
1531 this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1532 try: self.this.append(this)
1533 except: self.this = this
1534 def compute_score(self, *args):
1536 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1537 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> IMP::Float
1538 compute_score(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1539 compute_score(ProfileFitterChiLog self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1541 return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1543 def fit_profile(self, *args):
1545 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1546 float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1547 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1548 float max_c2=4.0, bool use_offset=False) -> FitParameters
1549 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1550 float max_c2=4.0) -> FitParameters
1551 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1552 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1553 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1554 fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1556 return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1558 def compute_scale_factor(self, *args):
1560 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1561 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1563 return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, *args)
1565 def compute_offset(self, *args):
1566 """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float"""
1567 return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, *args)
1569 def resample(self, *args):
1570 """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
1571 return _IMP_saxs.ProfileFitterChiLog_resample(self, *args)
1573 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
1574 __del__ =
lambda self :
None;
1575 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
1576 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
1579 def get_module_version():
1580 """get_module_version() -> std::string const"""
1581 return _IMP_saxs.get_module_version()
1584 """get_example_path(std::string fname) -> std::string"""
1585 return _IMP_saxs.get_example_path(*args)
1588 """get_data_path(std::string fname) -> std::string"""
1589 return _IMP_saxs.get_data_path(*args)
1590 import _version_check
1591 _version_check.check_version(get_module_version())