11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_saxs', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_saxs', fp, pathname, description)
28 _IMP_saxs = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_SAXS_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_SAXS_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_SAXS_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
91 return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
95 incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
96 incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
98 return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
102 decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
103 decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
105 return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
113 return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, *args)
116 """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
117 return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
120 """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
121 return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
124 """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
125 return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
128 """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
129 return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
133 return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
137 return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
141 return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
145 return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
149 return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
153 return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
158 __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
164 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
171 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
172 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
173 IMP_SILENT = _IMP_saxs.IMP_SILENT
174 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
175 IMP_TERSE = _IMP_saxs.IMP_TERSE
176 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
177 IMP_MEMORY = _IMP_saxs.IMP_MEMORY
178 IMP_NONE = _IMP_saxs.IMP_NONE
179 IMP_USAGE = _IMP_saxs.IMP_USAGE
180 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_saxs.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_saxs.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_saxs.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_saxs.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_saxs.DEFAULT_CHECK
216 NONE = _IMP_saxs.NONE
217 USAGE = _IMP_saxs.USAGE
218 USAGE_AND_INTERNAL = _IMP_saxs.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_saxs.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_saxs.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_saxs._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_saxs._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_saxs.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_saxs.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_saxs.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_saxs.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_saxs.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_saxs.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 IMP_CORE_HAS_IMP_BASE = _IMP_saxs.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
293 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
295 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
296 IMP_CONTAINER_HAS_IMP_BASE = _IMP_saxs.IMP_CONTAINER_HAS_IMP_BASE
297 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
298 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
299 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
300 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
301 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
302 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
303 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
304 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
305 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
306 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
308 IMP_ATOM_HAS_IMP_BASE = _IMP_saxs.IMP_ATOM_HAS_IMP_BASE
309 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
310 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
311 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
312 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
313 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
314 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
315 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
316 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
317 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
318 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
319 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
320 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
322 IMP_SAXS_HAS_IMP_BASE = _IMP_saxs.IMP_SAXS_HAS_IMP_BASE
323 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
324 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
325 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
326 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
327 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
328 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
329 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
331 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
332 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
333 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
334 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
335 class DistBase(_object):
336 """Proxy of C++ std::vector<(double)> class"""
337 __swig_setmethods__ = {}
338 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistBase, name, value)
339 __swig_getmethods__ = {}
340 __getattr__ =
lambda self, name: _swig_getattr(self, DistBase, name)
341 __repr__ = _swig_repr
343 """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
344 return _IMP_saxs.DistBase_iterator(self)
346 def __iter__(self):
return self.iterator()
347 def __nonzero__(self):
348 """__nonzero__(DistBase self) -> bool"""
349 return _IMP_saxs.DistBase___nonzero__(self)
352 """__bool__(DistBase self) -> bool"""
353 return _IMP_saxs.DistBase___bool__(self)
356 """__len__(DistBase self) -> std::vector< double >::size_type"""
357 return _IMP_saxs.DistBase___len__(self)
360 """pop(DistBase self) -> std::vector< double >::value_type"""
361 return _IMP_saxs.DistBase_pop(self)
363 def __getslice__(self, *args):
364 """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
365 return _IMP_saxs.DistBase___getslice__(self, *args)
367 def __setslice__(self, *args):
369 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
370 DistBase v=std::vector< double,std::allocator< double > >())
371 __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
373 return _IMP_saxs.DistBase___setslice__(self, *args)
375 def __delslice__(self, *args):
376 """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
377 return _IMP_saxs.DistBase___delslice__(self, *args)
379 def __delitem__(self, *args):
381 __delitem__(DistBase self, std::vector< double >::difference_type i)
382 __delitem__(DistBase self, PySliceObject * slice)
384 return _IMP_saxs.DistBase___delitem__(self, *args)
386 def __getitem__(self, *args):
388 __getitem__(DistBase self, PySliceObject * slice) -> DistBase
389 __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
391 return _IMP_saxs.DistBase___getitem__(self, *args)
393 def __setitem__(self, *args):
395 __setitem__(DistBase self, PySliceObject * slice, DistBase v)
396 __setitem__(DistBase self, PySliceObject * slice)
397 __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
399 return _IMP_saxs.DistBase___setitem__(self, *args)
401 def append(self, *args):
402 """append(DistBase self, std::vector< double >::value_type const & x)"""
403 return _IMP_saxs.DistBase_append(self, *args)
406 """empty(DistBase self) -> bool"""
407 return _IMP_saxs.DistBase_empty(self)
410 """size(DistBase self) -> std::vector< double >::size_type"""
411 return _IMP_saxs.DistBase_size(self)
414 """clear(DistBase self)"""
415 return _IMP_saxs.DistBase_clear(self)
417 def swap(self, *args):
418 """swap(DistBase self, DistBase v)"""
419 return _IMP_saxs.DistBase_swap(self, *args)
421 def get_allocator(self):
422 """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
423 return _IMP_saxs.DistBase_get_allocator(self)
426 """begin(DistBase self) -> std::vector< double >::iterator"""
427 return _IMP_saxs.DistBase_begin(self)
430 """end(DistBase self) -> std::vector< double >::iterator"""
431 return _IMP_saxs.DistBase_end(self)
434 """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
435 return _IMP_saxs.DistBase_rbegin(self)
438 """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
439 return _IMP_saxs.DistBase_rend(self)
442 """pop_back(DistBase self)"""
443 return _IMP_saxs.DistBase_pop_back(self)
445 def erase(self, *args):
447 erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
448 erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
450 return _IMP_saxs.DistBase_erase(self, *args)
452 def __init__(self, *args):
454 __init__(std::vector<(double)> self) -> DistBase
455 __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
456 __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
457 __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
459 this = _IMP_saxs.new_DistBase(*args)
460 try: self.this.append(this)
461 except: self.this = this
462 def push_back(self, *args):
463 """push_back(DistBase self, std::vector< double >::value_type const & x)"""
464 return _IMP_saxs.DistBase_push_back(self, *args)
467 """front(DistBase self) -> std::vector< double >::value_type const &"""
468 return _IMP_saxs.DistBase_front(self)
471 """back(DistBase self) -> std::vector< double >::value_type const &"""
472 return _IMP_saxs.DistBase_back(self)
474 def assign(self, *args):
475 """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
476 return _IMP_saxs.DistBase_assign(self, *args)
478 def resize(self, *args):
480 resize(DistBase self, std::vector< double >::size_type new_size)
481 resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
483 return _IMP_saxs.DistBase_resize(self, *args)
485 def insert(self, *args):
487 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
488 insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
490 return _IMP_saxs.DistBase_insert(self, *args)
492 def reserve(self, *args):
493 """reserve(DistBase self, std::vector< double >::size_type n)"""
494 return _IMP_saxs.DistBase_reserve(self, *args)
497 """capacity(DistBase self) -> std::vector< double >::size_type"""
498 return _IMP_saxs.DistBase_capacity(self)
500 __swig_destroy__ = _IMP_saxs.delete_DistBase
501 __del__ =
lambda self :
None;
502 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
503 DistBase_swigregister(DistBase)
505 class _Vector3Ds(_object):
506 """Proxy of C++ std::vector<(::IMP::algebra::Vector3D)> class"""
507 __swig_setmethods__ = {}
508 __setattr__ =
lambda self, name, value: _swig_setattr(self, _Vector3Ds, name, value)
509 __swig_getmethods__ = {}
510 __getattr__ =
lambda self, name: _swig_getattr(self, _Vector3Ds, name)
511 __repr__ = _swig_repr
513 """iterator(_Vector3Ds self) -> IMP_SAXS_SwigPyIterator"""
514 return _IMP_saxs._Vector3Ds_iterator(self)
516 def __iter__(self):
return self.iterator()
517 def __nonzero__(self):
518 """__nonzero__(_Vector3Ds self) -> bool"""
519 return _IMP_saxs._Vector3Ds___nonzero__(self)
522 """__bool__(_Vector3Ds self) -> bool"""
523 return _IMP_saxs._Vector3Ds___bool__(self)
526 """__len__(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
527 return _IMP_saxs._Vector3Ds___len__(self)
530 """pop(_Vector3Ds self) -> Vector3D"""
531 return _IMP_saxs._Vector3Ds_pop(self)
533 def __getslice__(self, *args):
534 """__getslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j) -> _Vector3Ds"""
535 return _IMP_saxs._Vector3Ds___getslice__(self, *args)
537 def __setslice__(self, *args):
539 __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j,
540 _Vector3Ds v=std::vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > >())
541 __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)
543 return _IMP_saxs._Vector3Ds___setslice__(self, *args)
545 def __delslice__(self, *args):
546 """__delslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)"""
547 return _IMP_saxs._Vector3Ds___delslice__(self, *args)
549 def __delitem__(self, *args):
551 __delitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i)
552 __delitem__(_Vector3Ds self, PySliceObject * slice)
554 return _IMP_saxs._Vector3Ds___delitem__(self, *args)
556 def __getitem__(self, *args):
558 __getitem__(_Vector3Ds self, PySliceObject * slice) -> _Vector3Ds
559 __getitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i) -> Vector3D
561 return _IMP_saxs._Vector3Ds___getitem__(self, *args)
563 def __setitem__(self, *args):
565 __setitem__(_Vector3Ds self, PySliceObject * slice, _Vector3Ds v)
566 __setitem__(_Vector3Ds self, PySliceObject * slice)
567 __setitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, Vector3D x)
569 return _IMP_saxs._Vector3Ds___setitem__(self, *args)
571 def append(self, *args):
572 """append(_Vector3Ds self, Vector3D x)"""
573 return _IMP_saxs._Vector3Ds_append(self, *args)
576 """empty(_Vector3Ds self) -> bool"""
577 return _IMP_saxs._Vector3Ds_empty(self)
580 """size(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
581 return _IMP_saxs._Vector3Ds_size(self)
584 """clear(_Vector3Ds self)"""
585 return _IMP_saxs._Vector3Ds_clear(self)
587 def swap(self, *args):
588 """swap(_Vector3Ds self, _Vector3Ds v)"""
589 return _IMP_saxs._Vector3Ds_swap(self, *args)
591 def get_allocator(self):
592 """get_allocator(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::allocator_type"""
593 return _IMP_saxs._Vector3Ds_get_allocator(self)
596 """begin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
597 return _IMP_saxs._Vector3Ds_begin(self)
600 """end(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
601 return _IMP_saxs._Vector3Ds_end(self)
604 """rbegin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
605 return _IMP_saxs._Vector3Ds_rbegin(self)
608 """rend(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
609 return _IMP_saxs._Vector3Ds_rend(self)
612 """pop_back(_Vector3Ds self)"""
613 return _IMP_saxs._Vector3Ds_pop_back(self)
615 def erase(self, *args):
617 erase(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
618 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
620 return _IMP_saxs._Vector3Ds_erase(self, *args)
622 def __init__(self, *args):
624 __init__(std::vector<(::IMP::algebra::Vector3D)> self) -> _Vector3Ds
625 __init__(std::vector<(::IMP::algebra::Vector3D)> self, _Vector3Ds arg2) -> _Vector3Ds
626 __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size) -> _Vector3Ds
627 __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size, Vector3D value) -> _Vector3Ds
629 this = _IMP_saxs.new__Vector3Ds(*args)
630 try: self.this.append(this)
631 except: self.this = this
632 def push_back(self, *args):
633 """push_back(_Vector3Ds self, Vector3D x)"""
634 return _IMP_saxs._Vector3Ds_push_back(self, *args)
637 """front(_Vector3Ds self) -> Vector3D"""
638 return _IMP_saxs._Vector3Ds_front(self)
641 """back(_Vector3Ds self) -> Vector3D"""
642 return _IMP_saxs._Vector3Ds_back(self)
644 def assign(self, *args):
645 """assign(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n, Vector3D x)"""
646 return _IMP_saxs._Vector3Ds_assign(self, *args)
648 def resize(self, *args):
650 resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size)
651 resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size, Vector3D x)
653 return _IMP_saxs._Vector3Ds_resize(self, *args)
655 def insert(self, *args):
657 insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, Vector3D x) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
658 insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, std::vector< IMP::algebra::VectorD< 3 > >::size_type n,
661 return _IMP_saxs._Vector3Ds_insert(self, *args)
663 def reserve(self, *args):
664 """reserve(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n)"""
665 return _IMP_saxs._Vector3Ds_reserve(self, *args)
668 """capacity(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
669 return _IMP_saxs._Vector3Ds_capacity(self)
671 __swig_destroy__ = _IMP_saxs.delete__Vector3Ds
672 __del__ =
lambda self :
None;
673 _Vector3Ds_swigregister = _IMP_saxs._Vector3Ds_swigregister
674 _Vector3Ds_swigregister(_Vector3Ds)
676 _object_types.append(
"Profile")
679 def _object_cast_to_Profile(*args):
680 """_object_cast_to_Profile(Object o) -> Profile"""
681 return _IMP_saxs._object_cast_to_Profile(*args)
682 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
683 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
684 CA_ATOMS = _IMP_saxs.CA_ATOMS
685 class FormFactorTable(_object):
686 """Proxy of C++ IMP::saxs::FormFactorTable class"""
687 __swig_setmethods__ = {}
688 __setattr__ =
lambda self, name, value: _swig_setattr(self, FormFactorTable, name, value)
689 __swig_getmethods__ = {}
690 __getattr__ =
lambda self, name: _swig_getattr(self, FormFactorTable, name)
691 __repr__ = _swig_repr
692 def __init__(self, *args):
694 __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
695 __init__(IMP::saxs::FormFactorTable self, IMP::String const & table_name, IMP::Float min_q, IMP::Float max_q, IMP::Float delta_q) -> FormFactorTable
697 this = _IMP_saxs.new_FormFactorTable(*args)
698 try: self.this.append(this)
699 except: self.this = this
700 def get_form_factor(self, *args):
702 get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
703 get_form_factor(FormFactorTable self, Particle p) -> IMP::Float
705 return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
707 def get_vacuum_form_factor(self, *args):
709 get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
710 get_vacuum_form_factor(FormFactorTable self, Particle p) -> IMP::Float
712 return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
714 def get_dummy_form_factor(self, *args):
716 get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
717 get_dummy_form_factor(FormFactorTable self, Particle p) -> IMP::Float
719 return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
721 def get_water_form_factor(self):
722 """get_water_form_factor(FormFactorTable self) -> IMP::Float"""
723 return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
725 def get_vacuum_water_form_factor(self):
726 """get_vacuum_water_form_factor(FormFactorTable self) -> IMP::Float"""
727 return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
729 def get_dummy_water_form_factor(self):
730 """get_dummy_water_form_factor(FormFactorTable self) -> IMP::Float"""
731 return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
733 def get_form_factors(self, *args):
735 get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
736 get_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
738 return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
740 def get_vacuum_form_factors(self, *args):
742 get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
743 get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
745 return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
747 def get_dummy_form_factors(self, *args):
749 get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
750 get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
752 return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
754 def get_water_form_factors(self):
755 """get_water_form_factors(FormFactorTable self) -> IMP::Floats const &"""
756 return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
758 def get_water_vacuum_form_factors(self):
759 """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Floats const &"""
760 return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
762 def get_water_dummy_form_factors(self):
763 """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Floats const &"""
764 return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
766 def get_radius(self, *args):
768 get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
769 get_radius(FormFactorTable self, Particle p) -> IMP::Float
771 return _IMP_saxs.FormFactorTable_get_radius(self, *args)
775 get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
776 get_volume(FormFactorTable self, Particle p) -> IMP::Float
778 return _IMP_saxs.FormFactorTable_get_volume(self, *args)
780 def show(self, *args):
782 show(FormFactorTable self, _ostream out=std::cout, std::string prefix="")
783 show(FormFactorTable self, _ostream out=std::cout)
784 show(FormFactorTable self)
786 return _IMP_saxs.FormFactorTable_show(self, *args)
788 __swig_setmethods__[
"rho_"] = _IMP_saxs.FormFactorTable_rho__set
789 __swig_getmethods__[
"rho_"] = _IMP_saxs.FormFactorTable_rho__get
790 if _newclass:rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
791 __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
792 __del__ =
lambda self :
None;
793 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
794 FormFactorTable_swigregister(FormFactorTable)
795 cvar = _IMP_saxs.cvar
799 """default_form_factor_table() -> FormFactorTable"""
800 return _IMP_saxs.default_form_factor_table()
802 """Proxy of C++ IMP::saxs::Profile class"""
803 __swig_setmethods__ = {}
804 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
805 __setattr__ =
lambda self, name, value: _swig_setattr(self, Profile, name, value)
806 __swig_getmethods__ = {}
807 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
808 __getattr__ =
lambda self, name: _swig_getattr(self, Profile, name)
809 def __init__(self, *args):
811 __init__(IMP::saxs::Profile self, IMP::String const & file_name, bool fit_file=False) -> Profile
812 __init__(IMP::saxs::Profile self, IMP::String const & file_name) -> Profile
813 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5, IMP::Float delta=0.005) -> Profile
814 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5) -> Profile
815 __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0) -> Profile
816 __init__(IMP::saxs::Profile self) -> Profile
818 this = _IMP_saxs.new_Profile(*args)
819 try: self.this.append(this)
820 except: self.this = this
821 def get_version_info(self):
822 """get_version_info(Profile self) -> VersionInfo"""
823 return _IMP_saxs.Profile_get_version_info(self)
825 __swig_destroy__ = _IMP_saxs.delete_Profile
826 __del__ =
lambda self :
None;
827 def calculate_profile_partial(self, *args):
829 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
830 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
831 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
832 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles)
833 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
834 IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats(),
835 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
836 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
837 IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats())
838 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
839 IMP::Floats const & surface1=IMP::Floats())
840 calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
842 return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
844 def calculate_profile_reciprocal_partial(self, *args):
846 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
847 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
848 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
849 calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles)
851 return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
853 def calculate_profile(self, *args):
855 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
856 bool reciprocal=False, bool variance=False, double variance_tau=0.1)
857 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
858 bool reciprocal=False, bool variance=False)
859 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
860 bool reciprocal=False)
861 calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
862 calculate_profile(Profile self, IMP::kernel::Particles const & particles)
863 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
864 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False, double variance_tau=0.1)
865 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
866 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False)
867 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
868 IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
869 calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
871 return _IMP_saxs.Profile_calculate_profile(self, *args)
873 def calculate_I0(self, *args):
875 calculate_I0(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
876 calculate_I0(Profile self, IMP::kernel::Particles const & particles) -> IMP::Float
878 return _IMP_saxs.Profile_calculate_I0(self, *args)
880 def calculate_profile_constant_form_factor(self, *args):
882 calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles, IMP::Float form_factor=1.0)
883 calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles)
885 return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, *args)
887 def calculate_profile_symmetric(self, *args):
889 calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
890 calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n)
892 return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
894 def profile_2_distribution(self, *args):
895 """profile_2_distribution(Profile self, RadialDistributionFunction rd, IMP::Float max_distance)"""
896 return _IMP_saxs.Profile_profile_2_distribution(self, *args)
898 def distribution_2_profile(self, *args):
899 """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
900 return _IMP_saxs.Profile_distribution_2_profile(self, *args)
902 def resample(self, *args):
904 resample(Profile self, Profile exp_profile, Profile resampled_profile, bool partial_profiles=False)
905 resample(Profile self, Profile exp_profile, Profile resampled_profile)
907 return _IMP_saxs.Profile_resample(self, *args)
909 def downsample(self, *args):
910 """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
911 return _IMP_saxs.Profile_downsample(self, *args)
915 radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
916 radius_of_gyration(Profile self) -> double
918 return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
920 def read_SAXS_file(self, *args):
922 read_SAXS_file(Profile self, IMP::String const & file_name, bool fit_file=False)
923 read_SAXS_file(Profile self, IMP::String const & file_name)
925 return _IMP_saxs.Profile_read_SAXS_file(self, *args)
927 def write_SAXS_file(self, *args):
929 write_SAXS_file(Profile self, IMP::String const & file_name, IMP::Float max_q=0.0)
930 write_SAXS_file(Profile self, IMP::String const & file_name)
932 return _IMP_saxs.Profile_write_SAXS_file(self, *args)
934 def read_partial_profiles(self, *args):
935 """read_partial_profiles(Profile self, IMP::String const & file_name)"""
936 return _IMP_saxs.Profile_read_partial_profiles(self, *args)
938 def write_partial_profiles(self, *args):
939 """write_partial_profiles(Profile self, IMP::String const & file_name)"""
940 return _IMP_saxs.Profile_write_partial_profiles(self, *args)
942 def get_delta_q(self):
943 """get_delta_q(Profile self) -> IMP::Float"""
944 return _IMP_saxs.Profile_get_delta_q(self)
947 """get_min_q(Profile self) -> IMP::Float"""
948 return _IMP_saxs.Profile_get_min_q(self)
951 """get_max_q(Profile self) -> IMP::Float"""
952 return _IMP_saxs.Profile_get_max_q(self)
954 def get_intensity(self, *args):
955 """get_intensity(Profile self, unsigned int i) -> IMP::Float"""
956 return _IMP_saxs.Profile_get_intensity(self, *args)
958 def get_q(self, *args):
959 """get_q(Profile self, unsigned int i) -> IMP::Float"""
960 return _IMP_saxs.Profile_get_q(self, *args)
962 def get_error(self, *args):
963 """get_error(Profile self, unsigned int i) -> IMP::Float"""
964 return _IMP_saxs.Profile_get_error(self, *args)
966 def get_weight(self, *args):
967 """get_weight(Profile self, unsigned int i) -> IMP::Float"""
968 return _IMP_saxs.Profile_get_weight(self, *args)
970 def get_variance(self, *args):
971 """get_variance(Profile self, unsigned int i, unsigned int j) -> IMP::Float"""
972 return _IMP_saxs.Profile_get_variance(self, *args)
974 def get_average_radius(self):
975 """get_average_radius(Profile self) -> IMP::Float"""
976 return _IMP_saxs.Profile_get_average_radius(self)
979 """size(Profile self) -> unsigned int"""
980 return _IMP_saxs.Profile_size(self)
982 def is_uniform_sampling(self):
983 """is_uniform_sampling(Profile self) -> bool"""
984 return _IMP_saxs.Profile_is_uniform_sampling(self)
987 """get_name(Profile self) -> std::string"""
988 return _IMP_saxs.Profile_get_name(self)
991 """get_id(Profile self) -> unsigned int"""
992 return _IMP_saxs.Profile_get_id(self)
994 def set_intensity(self, *args):
995 """set_intensity(Profile self, unsigned int i, IMP::Float iq)"""
996 return _IMP_saxs.Profile_set_intensity(self, *args)
998 def set_ff_table(self, *args):
999 """set_ff_table(Profile self, FormFactorTable ff_table)"""
1000 return _IMP_saxs.Profile_set_ff_table(self, *args)
1002 def set_average_radius(self, *args):
1003 """set_average_radius(Profile self, IMP::Float r)"""
1004 return _IMP_saxs.Profile_set_average_radius(self, *args)
1006 def set_average_volume(self, *args):
1007 """set_average_volume(Profile self, IMP::Float v)"""
1008 return _IMP_saxs.Profile_set_average_volume(self, *args)
1010 def set_name(self, *args):
1011 """set_name(Profile self, std::string name)"""
1012 return _IMP_saxs.Profile_set_name(self, *args)
1014 def set_id(self, *args):
1015 """set_id(Profile self, unsigned int id)"""
1016 return _IMP_saxs.Profile_set_id(self, *args)
1018 def add_entry(self, *args):
1020 add_entry(Profile self, IMP::Float q, IMP::Float intensity, IMP::Float error=1.0)
1021 add_entry(Profile self, IMP::Float q, IMP::Float intensity)
1023 return _IMP_saxs.Profile_add_entry(self, *args)
1025 def add_errors(self):
1026 """add_errors(Profile self)"""
1027 return _IMP_saxs.Profile_add_errors(self)
1029 def add_noise(self, percentage=0.03):
1031 add_noise(Profile self, IMP::Float percentage=0.03)
1032 add_noise(Profile self)
1034 return _IMP_saxs.Profile_add_noise(self, percentage)
1036 def sum_partial_profiles(self, *args):
1037 """sum_partial_profiles(Profile self, IMP::Float c1, IMP::Float c2)"""
1038 return _IMP_saxs.Profile_sum_partial_profiles(self, *args)
1040 def add(self, *args):
1042 add(Profile self, Profile other_profile, IMP::Float weight=1.0)
1043 add(Profile self, Profile other_profile)
1044 add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
1045 DistBase weights=std::vector< IMP::Float >())
1046 add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
1048 return _IMP_saxs.Profile_add(self, *args)
1050 def add_partial_profiles(self, *args):
1052 add_partial_profiles(Profile self, Profile other_profile, IMP::Float weight=1.0)
1053 add_partial_profiles(Profile self, Profile other_profile)
1054 add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
1055 DistBase weights=std::vector< IMP::Float >())
1056 add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
1058 return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1060 def background_adjust(self, *args):
1061 """background_adjust(Profile self, double start_q)"""
1062 return _IMP_saxs.Profile_background_adjust(self, *args)
1064 def scale(self, *args):
1065 """scale(Profile self, IMP::Float c)"""
1066 return _IMP_saxs.Profile_scale(self, *args)
1068 def offset(self, *args):
1069 """offset(Profile self, IMP::Float c)"""
1070 return _IMP_saxs.Profile_offset(self, *args)
1072 def copy_errors(self, *args):
1073 """copy_errors(Profile self, Profile exp_profile)"""
1074 return _IMP_saxs.Profile_copy_errors(self, *args)
1077 """__str__(Profile self) -> std::string"""
1078 return _IMP_saxs.Profile___str__(self)
1081 """__repr__(Profile self) -> std::string"""
1082 return _IMP_saxs.Profile___repr__(self)
1085 return _object_cast_to_Profile(o)
1086 get_from = staticmethod(get_from)
1088 Profile_swigregister = _IMP_saxs.Profile_swigregister
1089 Profile_swigregister(Profile)
1090 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1092 class FitParameters(_object):
1093 """Proxy of C++ IMP::saxs::FitParameters class"""
1094 __swig_setmethods__ = {}
1095 __setattr__ =
lambda self, name, value: _swig_setattr(self, FitParameters, name, value)
1096 __swig_getmethods__ = {}
1097 __getattr__ =
lambda self, name: _swig_getattr(self, FitParameters, name)
1098 __repr__ = _swig_repr
1099 def __init__(self, *args):
1101 __init__(IMP::saxs::FitParameters self) -> FitParameters
1102 __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2, float c, float o) -> FitParameters
1103 __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2) -> FitParameters
1105 this = _IMP_saxs.new_FitParameters(*args)
1106 try: self.this.append(this)
1107 except: self.this = this
1109 """get_chi(FitParameters self) -> float"""
1110 return _IMP_saxs.FitParameters_get_chi(self)
1113 """get_c1(FitParameters self) -> float"""
1114 return _IMP_saxs.FitParameters_get_c1(self)
1117 """get_c2(FitParameters self) -> float"""
1118 return _IMP_saxs.FitParameters_get_c2(self)
1120 def get_scale(self):
1121 """get_scale(FitParameters self) -> float"""
1122 return _IMP_saxs.FitParameters_get_scale(self)
1124 def get_offset(self):
1125 """get_offset(FitParameters self) -> float"""
1126 return _IMP_saxs.FitParameters_get_offset(self)
1128 def get_default_chi(self):
1129 """get_default_chi(FitParameters self) -> float"""
1130 return _IMP_saxs.FitParameters_get_default_chi(self)
1132 def get_pdb_file_name(self):
1133 """get_pdb_file_name(FitParameters self) -> std::string"""
1134 return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1136 def get_profile_file_name(self):
1137 """get_profile_file_name(FitParameters self) -> std::string"""
1138 return _IMP_saxs.FitParameters_get_profile_file_name(self)
1140 def get_mol_index(self):
1141 """get_mol_index(FitParameters self) -> int"""
1142 return _IMP_saxs.FitParameters_get_mol_index(self)
1144 def set_chi(self, *args):
1145 """set_chi(FitParameters self, float chi)"""
1146 return _IMP_saxs.FitParameters_set_chi(self, *args)
1148 def set_default_chi(self, *args):
1149 """set_default_chi(FitParameters self, float chi)"""
1150 return _IMP_saxs.FitParameters_set_default_chi(self, *args)
1152 def set_profile_file_name(self, *args):
1153 """set_profile_file_name(FitParameters self, std::string file_name)"""
1154 return _IMP_saxs.FitParameters_set_profile_file_name(self, *args)
1156 def set_pdb_file_name(self, *args):
1157 """set_pdb_file_name(FitParameters self, std::string file_name)"""
1158 return _IMP_saxs.FitParameters_set_pdb_file_name(self, *args)
1160 def set_mol_index(self, *args):
1161 """set_mol_index(FitParameters self, int index)"""
1162 return _IMP_saxs.FitParameters_set_mol_index(self, *args)
1164 def show(self, *args):
1165 """show(FitParameters self, _ostream s)"""
1166 return _IMP_saxs.FitParameters_show(self, *args)
1168 __swig_destroy__ = _IMP_saxs.delete_FitParameters
1169 __del__ =
lambda self :
None;
1170 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1171 FitParameters_swigregister(FitParameters)
1173 class WeightedFitParameters(FitParameters):
1174 """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1175 __swig_setmethods__ = {}
1176 for _s
in [FitParameters]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1177 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedFitParameters, name, value)
1178 __swig_getmethods__ = {}
1179 for _s
in [FitParameters]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1180 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedFitParameters, name)
1181 __repr__ = _swig_repr
1182 def __init__(self, *args):
1183 """__init__(IMP::saxs::WeightedFitParameters self, float chi, float c1, float c2, IMP::Floats weights) -> WeightedFitParameters"""
1184 this = _IMP_saxs.new_WeightedFitParameters(*args)
1185 try: self.this.append(this)
1186 except: self.this = this
1187 def get_weights(self):
1188 """get_weights(WeightedFitParameters self) -> IMP::Floats const &"""
1189 return _IMP_saxs.WeightedFitParameters_get_weights(self)
1191 def show(self, *args):
1192 """show(WeightedFitParameters self, _ostream s)"""
1193 return _IMP_saxs.WeightedFitParameters_show(self, *args)
1195 __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1196 __del__ =
lambda self :
None;
1197 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1198 WeightedFitParameters_swigregister(WeightedFitParameters)
1200 class ChiScore(_object):
1201 """Proxy of C++ IMP::saxs::ChiScore class"""
1202 __swig_setmethods__ = {}
1203 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiScore, name, value)
1204 __swig_getmethods__ = {}
1205 __getattr__ =
lambda self, name: _swig_getattr(self, ChiScore, name)
1206 __repr__ = _swig_repr
1207 def compute_score(self, *args):
1209 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1210 compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1211 compute_score(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1213 return _IMP_saxs.ChiScore_compute_score(self, *args)
1215 def compute_scale_factor(self, *args):
1217 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1218 compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1220 return _IMP_saxs.ChiScore_compute_scale_factor(self, *args)
1222 def compute_offset(self, *args):
1223 """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1224 return _IMP_saxs.ChiScore_compute_offset(self, *args)
1227 """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1228 this = _IMP_saxs.new_ChiScore()
1229 try: self.this.append(this)
1230 except: self.this = this
1231 __swig_destroy__ = _IMP_saxs.delete_ChiScore
1232 __del__ =
lambda self :
None;
1233 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1234 ChiScore_swigregister(ChiScore)
1236 class ChiScoreLog(_object):
1237 """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1238 __swig_setmethods__ = {}
1239 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiScoreLog, name, value)
1240 __swig_getmethods__ = {}
1241 __getattr__ =
lambda self, name: _swig_getattr(self, ChiScoreLog, name)
1242 __repr__ = _swig_repr
1243 def compute_score(self, *args):
1245 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1246 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1247 compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1249 return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1251 def compute_scale_factor(self, *args):
1253 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1254 compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1256 return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, *args)
1258 def compute_offset(self, *args):
1259 """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1260 return _IMP_saxs.ChiScoreLog_compute_offset(self, *args)
1263 """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1264 this = _IMP_saxs.new_ChiScoreLog()
1265 try: self.this.append(this)
1266 except: self.this = this
1267 __swig_destroy__ = _IMP_saxs.delete_ChiScoreLog
1268 __del__ =
lambda self :
None;
1269 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1270 ChiScoreLog_swigregister(ChiScoreLog)
1273 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1274 __swig_setmethods__ = {}
1275 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1276 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProfileFitterChi, name, value)
1277 __swig_getmethods__ = {}
1278 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1279 __getattr__ =
lambda self, name: _swig_getattr(self, ProfileFitterChi, name)
1280 __repr__ = _swig_repr
1281 def __init__(self, *args):
1283 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1284 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1286 this = _IMP_saxs.new_ProfileFitterChi(*args)
1287 try: self.this.append(this)
1288 except: self.this = this
1289 def compute_score(self, *args):
1291 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1292 compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> IMP::Float
1293 compute_score(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1294 compute_score(ProfileFitterChi self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1296 return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1298 def fit_profile(self, *args):
1300 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1301 float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1302 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1303 float max_c2=4.0, bool use_offset=False) -> FitParameters
1304 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1305 float max_c2=4.0) -> FitParameters
1306 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1307 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1308 fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1309 fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1311 return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1313 def compute_scale_factor(self, *args):
1315 compute_scale_factor(ProfileFitterChi self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1316 compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1318 return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, *args)
1320 def compute_offset(self, *args):
1321 """compute_offset(ProfileFitterChi self, Profile model_profile) -> IMP::Float"""
1322 return _IMP_saxs.ProfileFitterChi_compute_offset(self, *args)
1324 def resample(self, *args):
1325 """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1326 return _IMP_saxs.ProfileFitterChi_resample(self, *args)
1328 def write_SAXS_fit_file(self, *args):
1330 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1331 IMP::Float const c=1, IMP::Float const offset=0)
1332 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1333 IMP::Float const c=1)
1334 write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1336 return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, *args)
1338 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1339 __del__ =
lambda self :
None;
1340 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1341 ProfileFitterChi_swigregister(ProfileFitterChi)
1343 class WeightedProfileFitter(ProfileFitterChi):
1344 """Proxy of C++ IMP::saxs::WeightedProfileFitter class"""
1345 __swig_setmethods__ = {}
1346 for _s
in [ProfileFitterChi]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1347 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedProfileFitter, name, value)
1348 __swig_getmethods__ = {}
1349 for _s
in [ProfileFitterChi]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1350 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedProfileFitter, name)
1351 __repr__ = _swig_repr
1352 def __init__(self, *args):
1353 """__init__(IMP::saxs::WeightedProfileFitter self, Profile exp_profile) -> WeightedProfileFitter"""
1354 this = _IMP_saxs.new_WeightedProfileFitter(*args)
1355 try: self.this.append(this)
1356 except: self.this = this
1357 def compute_score(self, *args):
1359 compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles, DistBase weights=) -> IMP::Float
1360 compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles) -> IMP::Float
1362 return _IMP_saxs.WeightedProfileFitter_compute_score(self, *args)
1364 def fit_profile(self, *args):
1366 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1367 float max_c2=4.0, std::string const fit_file_name="") -> WeightedFitParameters
1368 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1369 float max_c2=4.0) -> WeightedFitParameters
1370 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> WeightedFitParameters
1371 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05) -> WeightedFitParameters
1372 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95) -> WeightedFitParameters
1373 fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1375 return _IMP_saxs.WeightedProfileFitter_fit_profile(self, *args)
1377 def write_fit_file(self, *args):
1378 """write_fit_file(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)"""
1379 return _IMP_saxs.WeightedProfileFitter_write_fit_file(self, *args)
1381 __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitter
1382 __del__ =
lambda self :
None;
1383 WeightedProfileFitter_swigregister = _IMP_saxs.WeightedProfileFitter_swigregister
1384 WeightedProfileFitter_swigregister(WeightedProfileFitter)
1387 """Proxy of C++ IMP::saxs::DerivativeCalculator class"""
1388 __swig_setmethods__ = {}
1389 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1390 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativeCalculator, name, value)
1391 __swig_getmethods__ = {}
1392 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1393 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativeCalculator, name)
1394 __repr__ = _swig_repr
1395 def __init__(self, *args):
1396 """__init__(IMP::saxs::DerivativeCalculator self, Profile exp_profile) -> DerivativeCalculator"""
1397 this = _IMP_saxs.new_DerivativeCalculator(*args)
1398 try: self.this.append(this)
1399 except: self.this = this
1400 def compute_gaussian_effect_size(self, *args):
1402 compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf, bool use_offset=False) -> DistBase
1403 compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf) -> DistBase
1405 return _IMP_saxs.DerivativeCalculator_compute_gaussian_effect_size(self, *args)
1407 def compute_all_derivatives(self, *args):
1409 compute_all_derivatives(DerivativeCalculator self, IMP::kernel::Particles const & particles, std::vector< IMP::kernel::Particles,std::allocator< IMP::kernel::Particles > > const & rigid_bodies,
1410 std::vector< IMP::core::RigidBody,std::allocator< IMP::core::RigidBody > > const & rigid_bodies_decorators,
1411 Profile model_profile,
1412 DistBase effect_size, DerivativeAccumulator acc)
1414 return _IMP_saxs.DerivativeCalculator_compute_all_derivatives(self, *args)
1416 __swig_destroy__ = _IMP_saxs.delete_DerivativeCalculator
1417 __del__ =
lambda self :
None;
1418 DerivativeCalculator_swigregister = _IMP_saxs.DerivativeCalculator_swigregister
1419 DerivativeCalculator_swigregister(DerivativeCalculator)
1422 """Proxy of C++ IMP::saxs::Restraint class"""
1423 __swig_setmethods__ = {}
1424 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1425 __setattr__ =
lambda self, name, value: _swig_setattr(self, Restraint, name, value)
1426 __swig_getmethods__ = {}
1427 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1428 __getattr__ =
lambda self, name: _swig_getattr(self, Restraint, name)
1429 __repr__ = _swig_repr
1430 def __init__(self, *args):
1432 __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> Restraint
1433 __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> Restraint
1435 this = _IMP_saxs.new_Restraint(*args)
1436 try: self.this.append(this)
1437 except: self.this = this
1438 if self.__class__ != Restraint:
1440 IMP.base._director_objects.register(self)
1444 def do_get_inputs(self):
1445 """do_get_inputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
1446 return _IMP_saxs.Restraint_do_get_inputs(self)
1448 def get_version_info(self):
1449 """get_version_info(Restraint self) -> VersionInfo"""
1450 return _IMP_saxs.Restraint_get_version_info(self)
1452 __swig_destroy__ = _IMP_saxs.delete_Restraint
1453 __del__ =
lambda self :
None;
1454 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1455 Restraint_swigregister(Restraint)
1458 """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1459 __swig_setmethods__ = {}
1460 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1461 __setattr__ =
lambda self, name, value: _swig_setattr(self, RadiusOfGyrationRestraint, name, value)
1462 __swig_getmethods__ = {}
1463 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1464 __getattr__ =
lambda self, name: _swig_getattr(self, RadiusOfGyrationRestraint, name)
1465 __repr__ = _swig_repr
1466 def __init__(self, *args):
1468 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1469 __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1471 this = _IMP_saxs.new_RadiusOfGyrationRestraint(*args)
1472 try: self.this.append(this)
1473 except: self.this = this
1474 def do_get_inputs(self):
1475 """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1476 return _IMP_saxs.RadiusOfGyrationRestraint_do_get_inputs(self)
1478 def get_version_info(self):
1479 """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
1480 return _IMP_saxs.RadiusOfGyrationRestraint_get_version_info(self)
1482 __swig_destroy__ = _IMP_saxs.delete_RadiusOfGyrationRestraint
1483 __del__ =
lambda self :
None;
1484 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1485 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1487 class FloatDistribution(DistBase):
1488 """Proxy of C++ IMP::saxs::Distribution<(IMP::Float)> class"""
1489 __swig_setmethods__ = {}
1490 for _s
in [DistBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1491 __setattr__ =
lambda self, name, value: _swig_setattr(self, FloatDistribution, name, value)
1492 __swig_getmethods__ = {}
1493 for _s
in [DistBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1494 __getattr__ =
lambda self, name: _swig_getattr(self, FloatDistribution, name)
1495 __repr__ = _swig_repr
1496 def __init__(self, *args):
1498 __init__(IMP::saxs::Distribution<(IMP::Float)> self, IMP::Float bin_size=pr_resolution) -> FloatDistribution
1499 __init__(IMP::saxs::Distribution<(IMP::Float)> self) -> FloatDistribution
1501 this = _IMP_saxs.new_FloatDistribution(*args)
1502 try: self.this.append(this)
1503 except: self.this = this
1504 def get_max_distance(self):
1505 """get_max_distance(FloatDistribution self) -> IMP::Float"""
1506 return _IMP_saxs.FloatDistribution_get_max_distance(self)
1508 def get_bin_size(self):
1509 """get_bin_size(FloatDistribution self) -> IMP::Float"""
1510 return _IMP_saxs.FloatDistribution_get_bin_size(self)
1512 __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1513 __del__ =
lambda self :
None;
1514 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1515 FloatDistribution_swigregister(FloatDistribution)
1517 class VectorDistribution(_Vector3Ds):
1518 """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1519 __swig_setmethods__ = {}
1520 for _s
in [_Vector3Ds]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1521 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorDistribution, name, value)
1522 __swig_getmethods__ = {}
1523 for _s
in [_Vector3Ds]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1524 __getattr__ =
lambda self, name: _swig_getattr(self, VectorDistribution, name)
1525 __repr__ = _swig_repr
1526 def __init__(self, *args):
1528 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, IMP::Float bin_size=pr_resolution) -> VectorDistribution
1529 __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1531 this = _IMP_saxs.new_VectorDistribution(*args)
1532 try: self.this.append(this)
1533 except: self.this = this
1534 def get_max_distance(self):
1535 """get_max_distance(VectorDistribution self) -> IMP::Float"""
1536 return _IMP_saxs.VectorDistribution_get_max_distance(self)
1538 def get_bin_size(self):
1539 """get_bin_size(VectorDistribution self) -> IMP::Float"""
1540 return _IMP_saxs.VectorDistribution_get_bin_size(self)
1542 __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1543 __del__ =
lambda self :
None;
1544 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1545 VectorDistribution_swigregister(VectorDistribution)
1547 class RadialDistributionFunction(FloatDistribution):
1548 """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1549 __swig_setmethods__ = {}
1550 for _s
in [FloatDistribution]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1551 __setattr__ =
lambda self, name, value: _swig_setattr(self, RadialDistributionFunction, name, value)
1552 __swig_getmethods__ = {}
1553 for _s
in [FloatDistribution]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1554 __getattr__ =
lambda self, name: _swig_getattr(self, RadialDistributionFunction, name)
1555 __repr__ = _swig_repr
1556 def __init__(self, *args):
1558 __init__(IMP::saxs::RadialDistributionFunction self, IMP::Float bin_size=pr_resolution) -> RadialDistributionFunction
1559 __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1560 __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1562 this = _IMP_saxs.new_RadialDistributionFunction(*args)
1563 try: self.this.append(this)
1564 except: self.this = this
1565 def scale(self, *args):
1566 """scale(RadialDistributionFunction self, IMP::Float c)"""
1567 return _IMP_saxs.RadialDistributionFunction_scale(self, *args)
1569 def add(self, *args):
1570 """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1571 return _IMP_saxs.RadialDistributionFunction_add(self, *args)
1573 def show(self, *args):
1575 show(RadialDistributionFunction self, _ostream out=std::cout)
1576 show(RadialDistributionFunction self)
1578 return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1580 def R_factor_score(self, *args):
1582 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1583 R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1585 return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1587 def fit(self, *args):
1589 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1590 fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1592 return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1594 def normalize(self):
1595 """normalize(RadialDistributionFunction self)"""
1596 return _IMP_saxs.RadialDistributionFunction_normalize(self)
1598 __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1599 __del__ =
lambda self :
None;
1600 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1601 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1603 class DeltaDistributionFunction(VectorDistribution):
1604 """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1605 __swig_setmethods__ = {}
1606 for _s
in [VectorDistribution]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1607 __setattr__ =
lambda self, name, value: _swig_setattr(self, DeltaDistributionFunction, name, value)
1608 __swig_getmethods__ = {}
1609 for _s
in [VectorDistribution]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1610 __getattr__ =
lambda self, name: _swig_getattr(self, DeltaDistributionFunction, name)
1611 __repr__ = _swig_repr
1612 def __init__(self, *args):
1614 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0, IMP::Float bin_size=pr_resolution) -> DeltaDistributionFunction
1615 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0) -> DeltaDistributionFunction
1616 __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles) -> DeltaDistributionFunction
1618 this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1619 try: self.this.append(this)
1620 except: self.this = this
1621 def calculate_derivative_distribution(self, *args):
1622 """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1623 return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, *args)
1625 def show(self, *args):
1627 show(DeltaDistributionFunction self, _ostream out=std::cout, std::string prefix="")
1628 show(DeltaDistributionFunction self, _ostream out=std::cout)
1629 show(DeltaDistributionFunction self)
1631 return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1633 __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1634 __del__ =
lambda self :
None;
1635 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1636 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1638 class SolventAccessibleSurface(_object):
1639 """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1640 __swig_setmethods__ = {}
1641 __setattr__ =
lambda self, name, value: _swig_setattr(self, SolventAccessibleSurface, name, value)
1642 __swig_getmethods__ = {}
1643 __getattr__ =
lambda self, name: _swig_getattr(self, SolventAccessibleSurface, name)
1644 __repr__ = _swig_repr
1645 def get_solvent_accessibility(self, *args):
1647 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8, float density=5.0) -> IMP::Floats
1648 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8) -> IMP::Floats
1649 get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Floats
1651 return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, *args)
1654 """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1655 this = _IMP_saxs.new_SolventAccessibleSurface()
1656 try: self.this.append(this)
1657 except: self.this = this
1658 __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1659 __del__ =
lambda self :
None;
1660 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1661 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1664 """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1665 __swig_setmethods__ = {}
1666 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1667 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProfileFitterChiLog, name, value)
1668 __swig_getmethods__ = {}
1669 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1670 __getattr__ =
lambda self, name: _swig_getattr(self, ProfileFitterChiLog, name)
1671 __repr__ = _swig_repr
1672 def __init__(self, *args):
1674 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1675 __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1677 this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1678 try: self.this.append(this)
1679 except: self.this = this
1680 def compute_score(self, *args):
1682 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1683 compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> IMP::Float
1684 compute_score(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1685 compute_score(ProfileFitterChiLog self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1687 return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1689 def fit_profile(self, *args):
1691 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1692 float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1693 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1694 float max_c2=4.0, bool use_offset=False) -> FitParameters
1695 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1696 float max_c2=4.0) -> FitParameters
1697 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1698 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1699 fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1700 fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1702 return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1704 def compute_scale_factor(self, *args):
1706 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1707 compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1709 return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, *args)
1711 def compute_offset(self, *args):
1712 """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float"""
1713 return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, *args)
1715 def resample(self, *args):
1716 """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
1717 return _IMP_saxs.ProfileFitterChiLog_resample(self, *args)
1719 def write_SAXS_fit_file(self, *args):
1721 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1722 IMP::Float const c=1, IMP::Float const offset=0)
1723 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1724 IMP::Float const c=1)
1725 write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1727 return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, *args)
1729 __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
1730 __del__ =
lambda self :
None;
1731 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
1732 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
1735 def get_module_version():
1736 """get_module_version() -> std::string const"""
1737 return _IMP_saxs.get_module_version()
1740 """get_example_path(std::string fname) -> std::string"""
1741 return _IMP_saxs.get_example_path(*args)
1744 """get_data_path(std::string fname) -> std::string"""
1745 return _IMP_saxs.get_data_path(*args)
1746 import _version_check
1747 _version_check.check_version(get_module_version())
FormFactorTable * default_form_factor_table()
See IMP.container for more information.
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
See IMP.score_functor for more information.
double get_volume(const BoundingBoxD< D > &bb)
std::string get_data_path(std::string file_name)
Return the full path to installed data.
See IMP.kernel for more information.
A restraint is a term in an IMP ScoringFunction.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Common base class for heavy weight IMP objects.
See IMP.core for more information.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Float radius_of_gyration(const kernel::Particles &particles)
compute radius_of_gyration
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
IMP::kernel::Restraint Restraint