IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
saxs/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.5
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2015 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_saxs', [dirname(__file__)])
23  except ImportError:
24  import _IMP_saxs
25  return _IMP_saxs
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_saxs', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_saxs = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_saxs
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_SAXS_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
125  return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
131  incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
132  """
133  return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
139  decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
140  """
141  return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
151  return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
156  return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
161  return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
166  return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
171  return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
176  return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
181  return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
186  return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
191  return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
196  return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
201  return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
207  __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
214 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
215 
216 _value_types=[]
217 _object_types=[]
218 _raii_types=[]
219 _plural_types=[]
220 
221 
222 _IMP_saxs.IMP_DEBUG_swigconstant(_IMP_saxs)
223 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
224 
225 _IMP_saxs.IMP_RELEASE_swigconstant(_IMP_saxs)
226 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
227 
228 _IMP_saxs.IMP_SILENT_swigconstant(_IMP_saxs)
229 IMP_SILENT = _IMP_saxs.IMP_SILENT
230 
231 _IMP_saxs.IMP_PROGRESS_swigconstant(_IMP_saxs)
232 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
233 
234 _IMP_saxs.IMP_TERSE_swigconstant(_IMP_saxs)
235 IMP_TERSE = _IMP_saxs.IMP_TERSE
236 
237 _IMP_saxs.IMP_VERBOSE_swigconstant(_IMP_saxs)
238 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
239 
240 _IMP_saxs.IMP_MEMORY_swigconstant(_IMP_saxs)
241 IMP_MEMORY = _IMP_saxs.IMP_MEMORY
242 
243 _IMP_saxs.IMP_NONE_swigconstant(_IMP_saxs)
244 IMP_NONE = _IMP_saxs.IMP_NONE
245 
246 _IMP_saxs.IMP_USAGE_swigconstant(_IMP_saxs)
247 IMP_USAGE = _IMP_saxs.IMP_USAGE
248 
249 _IMP_saxs.IMP_INTERNAL_swigconstant(_IMP_saxs)
250 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
251 
252 _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_saxs)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_saxs.IMP_KERNEL_HAS_LOG4CXX
254 
255 _IMP_saxs.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_saxs)
256 IMP_COMPILER_HAS_AUTO = _IMP_saxs.IMP_COMPILER_HAS_AUTO
257 
258 _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_saxs)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
263 
264 _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_saxs)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_saxs.IMP_KERNEL_HAS_GPERFTOOLS
266 
267 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_saxs)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
269 
270 _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_saxs)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
272 
273 _IMP_saxs.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_saxs.IMPKERNEL_SHOW_WARNINGS
275 import sys
276 class _DirectorObjects(object):
277  """@internal Simple class to keep references to director objects
278  to prevent premature deletion."""
279  def __init__(self):
280  self._objects = []
281  def register(self, obj):
282  """Take a reference to a director object; will only work for
283  refcounted C++ classes"""
284  if hasattr(obj, 'get_ref_count'):
285  self._objects.append(obj)
286  def cleanup(self):
287  """Only drop our reference and allow cleanup by Python if no other
288  Python references exist (we hold 3 references: one in self._objects,
289  one in x, and one in the argument list for getrefcount) *and* no
290  other C++ references exist (the Python object always holds one)"""
291  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
292  or x.get_ref_count() > 1]
293  # Do in two steps so the references are kept until the end of the
294  # function (deleting references may trigger a fresh call to this method)
295  self._objects = objs
296  def get_object_count(self):
297  """Get number of director objects (useful for testing only)"""
298  return len(self._objects)
299 _director_objects = _DirectorObjects()
300 
301 class _ostream(object):
302  """Proxy of C++ std::ostream class"""
303  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
304 
305  def __init__(self, *args, **kwargs):
306  raise AttributeError("No constructor defined")
307  __repr__ = _swig_repr
308 
309  def write(self, osa_buf):
310  """write(_ostream self, char const * osa_buf)"""
311  return _IMP_saxs._ostream_write(self, osa_buf)
312 
313 _ostream_swigregister = _IMP_saxs._ostream_swigregister
314 _ostream_swigregister(_ostream)
315 
316 
317 _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_saxs)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE
319 
320 _IMP_saxs.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_saxs)
321 IMP_COMPILER_HAS_FINAL = _IMP_saxs.IMP_COMPILER_HAS_FINAL
322 
323 _IMP_saxs.IMP_HAS_NOEXCEPT_swigconstant(_IMP_saxs)
324 IMP_HAS_NOEXCEPT = _IMP_saxs.IMP_HAS_NOEXCEPT
325 import IMP
326 
327 _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
329 
330 _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
332 
333 _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
335 
336 _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
338 
339 _IMP_saxs.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_saxs)
340 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
341 import IMP.cgal
342 
343 _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
345 
346 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
348 
349 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
351 
352 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
354 
355 _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
357 
358 _IMP_saxs.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_saxs)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
360 
361 _IMP_saxs.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_saxs)
362 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
363 
364 _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_saxs)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
366 import IMP.algebra
367 
368 _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
370 
371 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
373 
374 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
376 
377 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
379 
380 _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
382 
383 _IMP_saxs.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_saxs)
384 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
385 
386 _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_saxs)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
388 import IMP.display
389 
390 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
392 
393 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
395 
396 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
398 
399 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
401 
402 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
404 
405 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_saxs)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
407 
408 _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_saxs)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_HDF5
410 
411 _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_saxs)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
413 import IMP.score_functor
414 
415 _IMP_saxs.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
417 
418 _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
420 
421 _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
423 
424 _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
426 
427 _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
429 
430 _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
432 
433 _IMP_saxs.IMP_CORE_HAS_CGAL_swigconstant(_IMP_saxs)
434 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
435 
436 _IMP_saxs.IMP_CORE_HAS_HDF5_swigconstant(_IMP_saxs)
437 IMP_CORE_HAS_HDF5 = _IMP_saxs.IMP_CORE_HAS_HDF5
438 
439 _IMP_saxs.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_saxs)
440 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
441 import IMP.core
442 
443 _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_saxs)
444 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
445 
446 _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
447 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
448 
449 _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
450 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
451 
452 _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
453 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
454 
455 _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
456 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
457 
458 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
459 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
460 
461 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
462 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
463 
464 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
465 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
466 
467 _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
468 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
469 
470 _IMP_saxs.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_saxs)
471 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
472 
473 _IMP_saxs.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_saxs)
474 IMP_CONTAINER_HAS_HDF5 = _IMP_saxs.IMP_CONTAINER_HAS_HDF5
475 
476 _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_saxs)
477 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
478 import IMP.container
479 
480 _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
481 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
482 
483 _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
484 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
485 
486 _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
487 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
488 
489 _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
490 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
491 
492 _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
493 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
494 
495 _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
496 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
497 
498 _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
499 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
500 
501 _IMP_saxs.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_saxs)
502 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
503 
504 _IMP_saxs.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_saxs)
505 IMP_ATOM_HAS_HDF5 = _IMP_saxs.IMP_ATOM_HAS_HDF5
506 
507 _IMP_saxs.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_saxs)
508 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
509 
510 _IMP_saxs.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_saxs)
511 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
512 
513 _IMP_saxs.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_saxs)
514 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
515 
516 _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_saxs)
517 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
518 import IMP.atom
519 
520 _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_saxs)
521 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
522 
523 _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_saxs)
524 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
525 
526 _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_saxs)
527 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
528 
529 _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_saxs)
530 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
531 
532 _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_saxs)
533 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
534 
535 _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_saxs)
536 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
537 
538 _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_saxs)
539 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
540 
541 _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_saxs)
542 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
543 
544 _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_saxs)
545 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
546 
547 _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_saxs)
548 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
549 
550 _IMP_saxs.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_saxs)
551 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
552 
553 _IMP_saxs.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_saxs)
554 IMP_SAXS_HAS_HDF5 = _IMP_saxs.IMP_SAXS_HAS_HDF5
555 
556 _IMP_saxs.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_saxs)
557 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
558 class DistBase(object):
559  """Proxy of C++ std::vector<(double)> class"""
560  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
561  __repr__ = _swig_repr
562 
563  def iterator(self):
564  """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
565  return _IMP_saxs.DistBase_iterator(self)
566 
567  def __iter__(self):
568  return self.iterator()
569 
570  def __nonzero__(self):
571  """__nonzero__(DistBase self) -> bool"""
572  return _IMP_saxs.DistBase___nonzero__(self)
573 
574 
575  def __bool__(self):
576  """__bool__(DistBase self) -> bool"""
577  return _IMP_saxs.DistBase___bool__(self)
578 
579 
580  def __len__(self):
581  """__len__(DistBase self) -> std::vector< double >::size_type"""
582  return _IMP_saxs.DistBase___len__(self)
583 
584 
585  def pop(self):
586  """pop(DistBase self) -> std::vector< double >::value_type"""
587  return _IMP_saxs.DistBase_pop(self)
588 
589 
590  def __getslice__(self, i, j):
591  """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
592  return _IMP_saxs.DistBase___getslice__(self, i, j)
593 
594 
595  def __setslice__(self, *args):
596  """
597  __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, DistBase v)
598  __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
599  """
600  return _IMP_saxs.DistBase___setslice__(self, *args)
601 
602 
603  def __delslice__(self, i, j):
604  """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
605  return _IMP_saxs.DistBase___delslice__(self, i, j)
606 
607 
608  def __delitem__(self, *args):
609  """
610  __delitem__(DistBase self, std::vector< double >::difference_type i)
611  __delitem__(DistBase self, PySliceObject * slice)
612  """
613  return _IMP_saxs.DistBase___delitem__(self, *args)
614 
615 
616  def __getitem__(self, *args):
617  """
618  __getitem__(DistBase self, PySliceObject * slice) -> DistBase
619  __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
620  """
621  return _IMP_saxs.DistBase___getitem__(self, *args)
622 
623 
624  def __setitem__(self, *args):
625  """
626  __setitem__(DistBase self, PySliceObject * slice, DistBase v)
627  __setitem__(DistBase self, PySliceObject * slice)
628  __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
629  """
630  return _IMP_saxs.DistBase___setitem__(self, *args)
631 
632 
633  def append(self, x):
634  """append(DistBase self, std::vector< double >::value_type const & x)"""
635  return _IMP_saxs.DistBase_append(self, x)
636 
637 
638  def empty(self):
639  """empty(DistBase self) -> bool"""
640  return _IMP_saxs.DistBase_empty(self)
641 
642 
643  def size(self):
644  """size(DistBase self) -> std::vector< double >::size_type"""
645  return _IMP_saxs.DistBase_size(self)
646 
647 
648  def clear(self):
649  """clear(DistBase self)"""
650  return _IMP_saxs.DistBase_clear(self)
651 
652 
653  def swap(self, v):
654  """swap(DistBase self, DistBase v)"""
655  return _IMP_saxs.DistBase_swap(self, v)
656 
657 
658  def get_allocator(self):
659  """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
660  return _IMP_saxs.DistBase_get_allocator(self)
661 
662 
663  def begin(self):
664  """begin(DistBase self) -> std::vector< double >::iterator"""
665  return _IMP_saxs.DistBase_begin(self)
666 
667 
668  def end(self):
669  """end(DistBase self) -> std::vector< double >::iterator"""
670  return _IMP_saxs.DistBase_end(self)
671 
672 
673  def rbegin(self):
674  """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
675  return _IMP_saxs.DistBase_rbegin(self)
676 
677 
678  def rend(self):
679  """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
680  return _IMP_saxs.DistBase_rend(self)
681 
682 
683  def pop_back(self):
684  """pop_back(DistBase self)"""
685  return _IMP_saxs.DistBase_pop_back(self)
686 
687 
688  def erase(self, *args):
689  """
690  erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
691  erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
692  """
693  return _IMP_saxs.DistBase_erase(self, *args)
694 
695 
696  def __init__(self, *args):
697  """
698  __init__(std::vector<(double)> self) -> DistBase
699  __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
700  __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
701  __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
702  """
703  this = _IMP_saxs.new_DistBase(*args)
704  try:
705  self.this.append(this)
706  except:
707  self.this = this
708 
709  def push_back(self, x):
710  """push_back(DistBase self, std::vector< double >::value_type const & x)"""
711  return _IMP_saxs.DistBase_push_back(self, x)
712 
713 
714  def front(self):
715  """front(DistBase self) -> std::vector< double >::value_type const &"""
716  return _IMP_saxs.DistBase_front(self)
717 
718 
719  def back(self):
720  """back(DistBase self) -> std::vector< double >::value_type const &"""
721  return _IMP_saxs.DistBase_back(self)
722 
723 
724  def assign(self, n, x):
725  """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
726  return _IMP_saxs.DistBase_assign(self, n, x)
727 
728 
729  def resize(self, *args):
730  """
731  resize(DistBase self, std::vector< double >::size_type new_size)
732  resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
733  """
734  return _IMP_saxs.DistBase_resize(self, *args)
735 
736 
737  def insert(self, *args):
738  """
739  insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
740  insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
741  """
742  return _IMP_saxs.DistBase_insert(self, *args)
743 
744 
745  def reserve(self, n):
746  """reserve(DistBase self, std::vector< double >::size_type n)"""
747  return _IMP_saxs.DistBase_reserve(self, n)
748 
749 
750  def capacity(self):
751  """capacity(DistBase self) -> std::vector< double >::size_type"""
752  return _IMP_saxs.DistBase_capacity(self)
753 
754  __swig_destroy__ = _IMP_saxs.delete_DistBase
755  __del__ = lambda self: None
756 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
757 DistBase_swigregister(DistBase)
758 
759 _object_types.append("Profile")
760 
761 
762 def _object_cast_to_Profile(o):
763  """_object_cast_to_Profile(Object o) -> Profile"""
764  return _IMP_saxs._object_cast_to_Profile(o)
765 _object_types.append("ChiScore")
766 
767 
768 def _object_cast_to_ChiScore(o):
769  """_object_cast_to_ChiScore(Object o) -> ChiScore"""
770  return _IMP_saxs._object_cast_to_ChiScore(o)
771 _object_types.append("ChiScoreLog")
772 
773 
774 def _object_cast_to_ChiScoreLog(o):
775  """_object_cast_to_ChiScoreLog(Object o) -> ChiScoreLog"""
776  return _IMP_saxs._object_cast_to_ChiScoreLog(o)
777 
778 _IMP_saxs.ALL_ATOMS_swigconstant(_IMP_saxs)
779 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
780 
781 _IMP_saxs.HEAVY_ATOMS_swigconstant(_IMP_saxs)
782 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
783 
784 _IMP_saxs.CA_ATOMS_swigconstant(_IMP_saxs)
785 CA_ATOMS = _IMP_saxs.CA_ATOMS
786 class FormFactorTable(object):
787  """Proxy of C++ IMP::saxs::FormFactorTable class"""
788  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
789  __repr__ = _swig_repr
790 
791  def __init__(self, *args):
792  """
793  __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
794  __init__(IMP::saxs::FormFactorTable self, std::string const & table_name, double min_q, double max_q, double delta_q) -> FormFactorTable
795  """
796  this = _IMP_saxs.new_FormFactorTable(*args)
797  try:
798  self.this.append(this)
799  except:
800  self.this = this
801 
802  def get_form_factor(self, *args):
803  """
804  get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
805  get_form_factor(FormFactorTable self, Particle p) -> double
806  """
807  return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
808 
809 
810  def get_vacuum_form_factor(self, *args):
811  """
812  get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
813  get_vacuum_form_factor(FormFactorTable self, Particle p) -> double
814  """
815  return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
816 
817 
818  def get_dummy_form_factor(self, *args):
819  """
820  get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
821  get_dummy_form_factor(FormFactorTable self, Particle p) -> double
822  """
823  return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
824 
825 
826  def get_water_form_factor(self):
827  """get_water_form_factor(FormFactorTable self) -> double"""
828  return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
829 
830 
831  def get_vacuum_water_form_factor(self):
832  """get_vacuum_water_form_factor(FormFactorTable self) -> double"""
833  return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
834 
835 
836  def get_dummy_water_form_factor(self):
837  """get_dummy_water_form_factor(FormFactorTable self) -> double"""
838  return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
839 
840 
841  def get_form_factors(self, *args):
842  """
843  get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
844  get_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
845  """
846  return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
847 
848 
849  def get_vacuum_form_factors(self, *args):
850  """
851  get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
852  get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
853  """
854  return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
855 
856 
857  def get_dummy_form_factors(self, *args):
858  """
859  get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> IMP::Vector< double > const
860  get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Vector< double > const &
861  """
862  return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
863 
864 
865  def get_water_form_factors(self):
866  """get_water_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
867  return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
868 
869 
870  def get_water_vacuum_form_factors(self):
871  """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
872  return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
873 
874 
875  def get_water_dummy_form_factors(self):
876  """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Vector< double > const &"""
877  return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
878 
879 
880  def get_radius(self, *args):
881  """
882  get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
883  get_radius(FormFactorTable self, Particle p) -> double
884  """
885  return _IMP_saxs.FormFactorTable_get_radius(self, *args)
886 
887 
888  def get_volume(self, *args):
889  """
890  get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type) -> double
891  get_volume(FormFactorTable self, Particle p) -> double
892  """
893  return _IMP_saxs.FormFactorTable_get_volume(self, *args)
894 
895 
896  def show(self, *args):
897  """
898  show(FormFactorTable self, _ostream out, std::string prefix)
899  show(FormFactorTable self, _ostream out)
900  show(FormFactorTable self)
901  """
902  return _IMP_saxs.FormFactorTable_show(self, *args)
903 
904  rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
905  __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
906  __del__ = lambda self: None
907 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
908 FormFactorTable_swigregister(FormFactorTable)
909 cvar = _IMP_saxs.cvar
910 
911 
913  """get_default_form_factor_table() -> FormFactorTable"""
914  return _IMP_saxs.get_default_form_factor_table()
915 class Profile(IMP.Object):
916  """Proxy of C++ IMP::saxs::Profile class"""
917  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
918 
919  def __init__(self, *args):
920  """
921  __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0) -> Profile
922  __init__(IMP::saxs::Profile self, std::string const & file_name, bool fit_file=False) -> Profile
923  __init__(IMP::saxs::Profile self, std::string const & file_name) -> Profile
924  __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5, double delta=0.005) -> Profile
925  __init__(IMP::saxs::Profile self, double qmin=0.0, double qmax=0.5) -> Profile
926  __init__(IMP::saxs::Profile self, double qmin=0.0) -> Profile
927  __init__(IMP::saxs::Profile self) -> Profile
928  """
929  this = _IMP_saxs.new_Profile(*args)
930  try:
931  self.this.append(this)
932  except:
933  self.this = this
934 
935  def calculate_profile_partial(self, *args):
936  """
937  calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
938  calculate_profile_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
939  calculate_profile_partial(Profile self, IMP::Particles const & particles)
940  calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2, IMP::saxs::FormFactorType ff_type)
941  calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1, IMP::Vector< double > const & surface2)
942  calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::Vector< double > const & surface1)
943  calculate_profile_partial(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
944  """
945  return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
946 
947 
948  def calculate_profile_reciprocal_partial(self, *args):
949  """
950  calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface, IMP::saxs::FormFactorType ff_type)
951  calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles, IMP::Vector< double > const & surface)
952  calculate_profile_reciprocal_partial(Profile self, IMP::Particles const & particles)
953  """
954  return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
955 
956 
957  def calculate_profile(self, *args):
958  """
959  calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type, bool reciprocal=False)
960  calculate_profile(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type)
961  calculate_profile(Profile self, IMP::Particles const & particles)
962  calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2, IMP::saxs::FormFactorType ff_type)
963  calculate_profile(Profile self, IMP::Particles const & particles1, IMP::Particles const & particles2)
964  """
965  return _IMP_saxs.Profile_calculate_profile(self, *args)
966 
967 
968  def calculate_I0(self, *args):
969  """
970  calculate_I0(Profile self, IMP::Particles const & particles, IMP::saxs::FormFactorType ff_type) -> double
971  calculate_I0(Profile self, IMP::Particles const & particles) -> double
972  """
973  return _IMP_saxs.Profile_calculate_I0(self, *args)
974 
975 
976  def calculate_profile_constant_form_factor(self, particles, form_factor=1.0):
977  """
978  calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles, double form_factor=1.0)
979  calculate_profile_constant_form_factor(Profile self, IMP::Particles const & particles)
980  """
981  return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, particles, form_factor)
982 
983 
984  def calculate_profile_symmetric(self, *args):
985  """
986  calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type)
987  calculate_profile_symmetric(Profile self, IMP::Particles const & particles, unsigned int n)
988  """
989  return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
990 
991 
992  def profile_2_distribution(self, rd, max_distance):
993  """profile_2_distribution(Profile self, RadialDistributionFunction rd, double max_distance)"""
994  return _IMP_saxs.Profile_profile_2_distribution(self, rd, max_distance)
995 
996 
997  def distribution_2_profile(self, r_dist):
998  """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
999  return _IMP_saxs.Profile_distribution_2_profile(self, r_dist)
1000 
1001 
1002  def resample(self, exp_profile, resampled_profile):
1003  """resample(Profile self, Profile exp_profile, Profile resampled_profile)"""
1004  return _IMP_saxs.Profile_resample(self, exp_profile, resampled_profile)
1005 
1006 
1007  def downsample(self, downsampled_profile, point_number):
1008  """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
1009  return _IMP_saxs.Profile_downsample(self, downsampled_profile, point_number)
1010 
1011 
1012  def radius_of_gyration(self, end_q_rg=1.3):
1013  """
1014  radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
1015  radius_of_gyration(Profile self) -> double
1016  """
1017  return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
1018 
1019 
1020  def mean_intensity(self):
1021  """mean_intensity(Profile self) -> double"""
1022  return _IMP_saxs.Profile_mean_intensity(self)
1023 
1024 
1025  def read_SAXS_file(self, file_name, fit_file=False, max_q=0.0):
1026  """
1027  read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False, double max_q=0.0)
1028  read_SAXS_file(Profile self, std::string const & file_name, bool fit_file=False)
1029  read_SAXS_file(Profile self, std::string const & file_name)
1030  """
1031  return _IMP_saxs.Profile_read_SAXS_file(self, file_name, fit_file, max_q)
1032 
1033 
1034  def write_SAXS_file(self, file_name, max_q=0.0):
1035  """
1036  write_SAXS_file(Profile self, std::string const & file_name, double max_q=0.0)
1037  write_SAXS_file(Profile self, std::string const & file_name)
1038  """
1039  return _IMP_saxs.Profile_write_SAXS_file(self, file_name, max_q)
1040 
1041 
1042  def read_partial_profiles(self, file_name):
1043  """read_partial_profiles(Profile self, std::string const & file_name)"""
1044  return _IMP_saxs.Profile_read_partial_profiles(self, file_name)
1045 
1046 
1047  def write_partial_profiles(self, file_name):
1048  """write_partial_profiles(Profile self, std::string const & file_name)"""
1049  return _IMP_saxs.Profile_write_partial_profiles(self, file_name)
1050 
1051 
1052  def get_delta_q(self):
1053  """get_delta_q(Profile self) -> double"""
1054  return _IMP_saxs.Profile_get_delta_q(self)
1055 
1056 
1057  def get_min_q(self):
1058  """get_min_q(Profile self) -> double"""
1059  return _IMP_saxs.Profile_get_min_q(self)
1060 
1061 
1062  def get_max_q(self):
1063  """get_max_q(Profile self) -> double"""
1064  return _IMP_saxs.Profile_get_max_q(self)
1065 
1066 
1067  def get_intensity(self, i):
1068  """get_intensity(Profile self, unsigned int i) -> double"""
1069  return _IMP_saxs.Profile_get_intensity(self, i)
1070 
1071 
1072  def get_q(self, i):
1073  """get_q(Profile self, unsigned int i) -> double"""
1074  return _IMP_saxs.Profile_get_q(self, i)
1075 
1076 
1077  def get_error(self, i):
1078  """get_error(Profile self, unsigned int i) -> double"""
1079  return _IMP_saxs.Profile_get_error(self, i)
1080 
1081 
1082  def get_weight(self, i):
1083  """get_weight(Profile self, unsigned int i) -> double"""
1084  return _IMP_saxs.Profile_get_weight(self, i)
1085 
1086 
1087  def get_qs(self):
1088  """get_qs(Profile self) -> IMP_Eigen::VectorXf const &"""
1089  return _IMP_saxs.Profile_get_qs(self)
1090 
1091 
1092  def get_intensities(self):
1093  """get_intensities(Profile self) -> IMP_Eigen::VectorXf const &"""
1094  return _IMP_saxs.Profile_get_intensities(self)
1095 
1096 
1097  def get_errors(self):
1098  """get_errors(Profile self) -> IMP_Eigen::VectorXf const &"""
1099  return _IMP_saxs.Profile_get_errors(self)
1100 
1101 
1102  def get_average_radius(self):
1103  """get_average_radius(Profile self) -> double"""
1104  return _IMP_saxs.Profile_get_average_radius(self)
1105 
1106 
1107  def size(self):
1108  """size(Profile self) -> unsigned int"""
1109  return _IMP_saxs.Profile_size(self)
1110 
1111 
1112  def is_uniform_sampling(self):
1113  """is_uniform_sampling(Profile self) -> bool"""
1114  return _IMP_saxs.Profile_is_uniform_sampling(self)
1115 
1116 
1117  def is_partial_profile(self):
1118  """is_partial_profile(Profile self) -> bool"""
1119  return _IMP_saxs.Profile_is_partial_profile(self)
1120 
1121 
1122  def get_name(self):
1123  """get_name(Profile self) -> std::string"""
1124  return _IMP_saxs.Profile_get_name(self)
1125 
1126 
1127  def get_id(self):
1128  """get_id(Profile self) -> unsigned int"""
1129  return _IMP_saxs.Profile_get_id(self)
1130 
1131 
1132  def set_qs(self, q):
1133  """set_qs(Profile self, IMP_Eigen::VectorXf const & q)"""
1134  return _IMP_saxs.Profile_set_qs(self, q)
1135 
1136 
1137  def set_intensities(self, i):
1138  """set_intensities(Profile self, IMP_Eigen::VectorXf const & i)"""
1139  return _IMP_saxs.Profile_set_intensities(self, i)
1140 
1141 
1142  def set_errors(self, e):
1143  """set_errors(Profile self, IMP_Eigen::VectorXf const & e)"""
1144  return _IMP_saxs.Profile_set_errors(self, e)
1145 
1146 
1147  def set_intensity(self, i, iq):
1148  """set_intensity(Profile self, unsigned int i, double iq)"""
1149  return _IMP_saxs.Profile_set_intensity(self, i, iq)
1150 
1151 
1152  def set_ff_table(self, ff_table):
1153  """set_ff_table(Profile self, FormFactorTable ff_table)"""
1154  return _IMP_saxs.Profile_set_ff_table(self, ff_table)
1155 
1156 
1157  def set_average_radius(self, r):
1158  """set_average_radius(Profile self, double r)"""
1159  return _IMP_saxs.Profile_set_average_radius(self, r)
1160 
1161 
1162  def set_average_volume(self, v):
1163  """set_average_volume(Profile self, double v)"""
1164  return _IMP_saxs.Profile_set_average_volume(self, v)
1165 
1166 
1167  def set_name(self, name):
1168  """set_name(Profile self, std::string name)"""
1169  return _IMP_saxs.Profile_set_name(self, name)
1170 
1171 
1172  def set_id(self, id):
1173  """set_id(Profile self, unsigned int id)"""
1174  return _IMP_saxs.Profile_set_id(self, id)
1175 
1176 
1177  def set_beam_profile(self, beam_profile_file):
1178  """set_beam_profile(Profile self, std::string beam_profile_file)"""
1179  return _IMP_saxs.Profile_set_beam_profile(self, beam_profile_file)
1180 
1181 
1182  def add_errors(self):
1183  """add_errors(Profile self)"""
1184  return _IMP_saxs.Profile_add_errors(self)
1185 
1186 
1187  def add_noise(self, percentage=0.03):
1188  """
1189  add_noise(Profile self, double percentage=0.03)
1190  add_noise(Profile self)
1191  """
1192  return _IMP_saxs.Profile_add_noise(self, percentage)
1193 
1194 
1195  def sum_partial_profiles(self, c1, c2, check_cashed=True):
1196  """
1197  sum_partial_profiles(Profile self, double c1, double c2, bool check_cashed=True)
1198  sum_partial_profiles(Profile self, double c1, double c2)
1199  """
1200  return _IMP_saxs.Profile_sum_partial_profiles(self, c1, c2, check_cashed)
1201 
1202 
1203  def add(self, *args):
1204  """
1205  add(Profile self, Profile other_profile, double weight=1.0)
1206  add(Profile self, Profile other_profile)
1207  add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1208  add(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1209  """
1210  return _IMP_saxs.Profile_add(self, *args)
1211 
1212 
1213  def add_partial_profiles(self, *args):
1214  """
1215  add_partial_profiles(Profile self, Profile other_profile, double weight=1.0)
1216  add_partial_profiles(Profile self, Profile other_profile)
1217  add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles, IMP::Vector< double > const & weights)
1218  add_partial_profiles(Profile self, IMP::Vector< IMP::saxs::Profile * > const & profiles)
1219  """
1220  return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1221 
1222 
1223  def background_adjust(self, start_q):
1224  """background_adjust(Profile self, double start_q)"""
1225  return _IMP_saxs.Profile_background_adjust(self, start_q)
1226 
1227 
1228  def scale(self, c):
1229  """scale(Profile self, double c)"""
1230  return _IMP_saxs.Profile_scale(self, c)
1231 
1232 
1233  def offset(self, c):
1234  """offset(Profile self, double c)"""
1235  return _IMP_saxs.Profile_offset(self, c)
1236 
1237 
1238  def copy_errors(self, exp_profile):
1239  """copy_errors(Profile self, Profile exp_profile)"""
1240  return _IMP_saxs.Profile_copy_errors(self, exp_profile)
1241 
1242 
1243  def get_version_info(self):
1244  """get_version_info(Profile self) -> VersionInfo"""
1245  return _IMP_saxs.Profile_get_version_info(self)
1246 
1247 
1248  def __str__(self):
1249  """__str__(Profile self) -> std::string"""
1250  return _IMP_saxs.Profile___str__(self)
1251 
1252 
1253  def __repr__(self):
1254  """__repr__(Profile self) -> std::string"""
1255  return _IMP_saxs.Profile___repr__(self)
1256 
1257  def get_from(o):
1258  return _object_cast_to_Profile(o)
1259  get_from = staticmethod(get_from)
1260 
1261 Profile_swigregister = _IMP_saxs.Profile_swigregister
1262 Profile_swigregister(Profile)
1263 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1264 
1265 class FitParameters(object):
1266  """Proxy of C++ IMP::saxs::FitParameters class"""
1267  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1268  __repr__ = _swig_repr
1269 
1270  def __init__(self, *args):
1271  """
1272  __init__(IMP::saxs::FitParameters self) -> FitParameters
1273  __init__(IMP::saxs::FitParameters self, double chi, double c1, double c2, double c, double o) -> FitParameters
1274  __init__(IMP::saxs::FitParameters self, double chi, double c1, double c2) -> FitParameters
1275  """
1276  this = _IMP_saxs.new_FitParameters(*args)
1277  try:
1278  self.this.append(this)
1279  except:
1280  self.this = this
1281 
1282  def get_score(self):
1283  """get_score(FitParameters self) -> double"""
1284  return _IMP_saxs.FitParameters_get_score(self)
1285 
1286 
1287  def get_chi(self):
1288  """get_chi(FitParameters self) -> double"""
1289  return _IMP_saxs.FitParameters_get_chi(self)
1290 
1291 
1292  def get_c1(self):
1293  """get_c1(FitParameters self) -> double"""
1294  return _IMP_saxs.FitParameters_get_c1(self)
1295 
1296 
1297  def get_c2(self):
1298  """get_c2(FitParameters self) -> double"""
1299  return _IMP_saxs.FitParameters_get_c2(self)
1300 
1301 
1302  def get_scale(self):
1303  """get_scale(FitParameters self) -> double"""
1304  return _IMP_saxs.FitParameters_get_scale(self)
1305 
1306 
1307  def get_offset(self):
1308  """get_offset(FitParameters self) -> double"""
1309  return _IMP_saxs.FitParameters_get_offset(self)
1310 
1311 
1312  def get_default_chi(self):
1313  """get_default_chi(FitParameters self) -> double"""
1314  return _IMP_saxs.FitParameters_get_default_chi(self)
1315 
1316 
1317  def get_pdb_file_name(self):
1318  """get_pdb_file_name(FitParameters self) -> std::string"""
1319  return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1320 
1321 
1322  def get_profile_file_name(self):
1323  """get_profile_file_name(FitParameters self) -> std::string"""
1324  return _IMP_saxs.FitParameters_get_profile_file_name(self)
1325 
1326 
1327  def get_mol_index(self):
1328  """get_mol_index(FitParameters self) -> int"""
1329  return _IMP_saxs.FitParameters_get_mol_index(self)
1330 
1331 
1332  def set_chi(self, chi):
1333  """set_chi(FitParameters self, double chi)"""
1334  return _IMP_saxs.FitParameters_set_chi(self, chi)
1335 
1336 
1337  def set_default_chi(self, chi):
1338  """set_default_chi(FitParameters self, double chi)"""
1339  return _IMP_saxs.FitParameters_set_default_chi(self, chi)
1340 
1341 
1342  def set_profile_file_name(self, file_name):
1343  """set_profile_file_name(FitParameters self, std::string file_name)"""
1344  return _IMP_saxs.FitParameters_set_profile_file_name(self, file_name)
1345 
1346 
1347  def set_pdb_file_name(self, file_name):
1348  """set_pdb_file_name(FitParameters self, std::string file_name)"""
1349  return _IMP_saxs.FitParameters_set_pdb_file_name(self, file_name)
1350 
1351 
1352  def set_mol_index(self, index):
1353  """set_mol_index(FitParameters self, int index)"""
1354  return _IMP_saxs.FitParameters_set_mol_index(self, index)
1355 
1356 
1357  def show(self, s):
1358  """show(FitParameters self, _ostream s)"""
1359  return _IMP_saxs.FitParameters_show(self, s)
1360 
1361  __swig_destroy__ = _IMP_saxs.delete_FitParameters
1362  __del__ = lambda self: None
1363 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1364 FitParameters_swigregister(FitParameters)
1365 
1366 class WeightedFitParameters(FitParameters):
1367  """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1368  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1369  __repr__ = _swig_repr
1370 
1371  def __init__(self, *args):
1372  """
1373  __init__(IMP::saxs::WeightedFitParameters self) -> WeightedFitParameters
1374  __init__(IMP::saxs::WeightedFitParameters self, double chi, double c1, double c2, IMP::Vector< double > const & weights) -> WeightedFitParameters
1375  """
1376  this = _IMP_saxs.new_WeightedFitParameters(*args)
1377  try:
1378  self.this.append(this)
1379  except:
1380  self.this = this
1381 
1382  def get_weights(self):
1383  """get_weights(WeightedFitParameters self) -> IMP::Vector< double > const &"""
1384  return _IMP_saxs.WeightedFitParameters_get_weights(self)
1385 
1386 
1387  def set_weights(self, weights):
1388  """set_weights(WeightedFitParameters self, IMP::Vector< double > const & weights)"""
1389  return _IMP_saxs.WeightedFitParameters_set_weights(self, weights)
1390 
1391 
1392  def show(self, s):
1393  """show(WeightedFitParameters self, _ostream s)"""
1394  return _IMP_saxs.WeightedFitParameters_show(self, s)
1395 
1396  __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1397  __del__ = lambda self: None
1398 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1399 WeightedFitParameters_swigregister(WeightedFitParameters)
1400 
1401 class ChiScore(IMP.Object):
1402  """Proxy of C++ IMP::saxs::ChiScore class"""
1403  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1404 
1405  def __init__(self):
1406  """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1407  this = _IMP_saxs.new_ChiScore()
1408  try:
1409  self.this.append(this)
1410  except:
1411  self.this = this
1412 
1413  def compute_score(self, exp_profile, model_profile, use_offset=False):
1414  """
1415  compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1416  compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1417  """
1418  return _IMP_saxs.ChiScore_compute_score(self, exp_profile, model_profile, use_offset)
1419 
1420 
1421  def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1422  """
1423  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1424  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> double
1425  """
1426  return _IMP_saxs.ChiScore_compute_scale_factor(self, exp_profile, model_profile, offset)
1427 
1428 
1429  def compute_offset(self, exp_profile, model_profile):
1430  """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> double"""
1431  return _IMP_saxs.ChiScore_compute_offset(self, exp_profile, model_profile)
1432 
1433 
1434  def get_version_info(self):
1435  """get_version_info(ChiScore self) -> VersionInfo"""
1436  return _IMP_saxs.ChiScore_get_version_info(self)
1437 
1438 
1439  def __str__(self):
1440  """__str__(ChiScore self) -> std::string"""
1441  return _IMP_saxs.ChiScore___str__(self)
1442 
1443 
1444  def __repr__(self):
1445  """__repr__(ChiScore self) -> std::string"""
1446  return _IMP_saxs.ChiScore___repr__(self)
1447 
1448  def get_from(o):
1449  return _object_cast_to_ChiScore(o)
1450  get_from = staticmethod(get_from)
1451 
1452 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1453 ChiScore_swigregister(ChiScore)
1454 
1455 class ChiScoreLog(IMP.Object):
1456  """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1457  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1458 
1459  def __init__(self):
1460  """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1461  this = _IMP_saxs.new_ChiScoreLog()
1462  try:
1463  self.this.append(this)
1464  except:
1465  self.this = this
1466 
1467  def compute_score(self, *args):
1468  """
1469  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> double
1470  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1471  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, double min_q, double max_q) -> double
1472  """
1473  return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1474 
1475 
1476  def compute_scale_factor(self, exp_profile, model_profile, offset=0.0):
1477  """
1478  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, double offset=0.0) -> double
1479  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double
1480  """
1481  return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, exp_profile, model_profile, offset)
1482 
1483 
1484  def compute_offset(self, exp_profile, model_profile):
1485  """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> double"""
1486  return _IMP_saxs.ChiScoreLog_compute_offset(self, exp_profile, model_profile)
1487 
1488 
1489  def get_version_info(self):
1490  """get_version_info(ChiScoreLog self) -> VersionInfo"""
1491  return _IMP_saxs.ChiScoreLog_get_version_info(self)
1492 
1493 
1494  def __str__(self):
1495  """__str__(ChiScoreLog self) -> std::string"""
1496  return _IMP_saxs.ChiScoreLog___str__(self)
1497 
1498 
1499  def __repr__(self):
1500  """__repr__(ChiScoreLog self) -> std::string"""
1501  return _IMP_saxs.ChiScoreLog___repr__(self)
1502 
1503  def get_from(o):
1504  return _object_cast_to_ChiScoreLog(o)
1505  get_from = staticmethod(get_from)
1506 
1507 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1508 ChiScoreLog_swigregister(ChiScoreLog)
1509 
1510 class ProfileFitterChi(IMP.Object):
1511  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1512  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1513  __repr__ = _swig_repr
1514 
1515  def __init__(self, *args):
1516  """
1517  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1518  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1519  """
1520  this = _IMP_saxs.new_ProfileFitterChi(*args)
1521  try:
1522  self.this.append(this)
1523  except:
1524  self.this = this
1525 
1526  def compute_score(self, *args):
1527  """
1528  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1529  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> double
1530  compute_score(ProfileFitterChi self, Profile model_profile) -> double
1531  """
1532  return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1533 
1534 
1535  def fit_profile(self, *args):
1536  """
1537  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
1538  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
1539  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
1540  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1541  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1542  fit_profile(ProfileFitterChi self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1543  fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1544  """
1545  return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1546 
1547 
1548  def compute_scale_factor(self, model_profile, offset=0.0):
1549  """
1550  compute_scale_factor(ProfileFitterChi self, Profile model_profile, double offset=0.0) -> double
1551  compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> double
1552  """
1553  return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, model_profile, offset)
1554 
1555 
1556  def compute_offset(self, model_profile):
1557  """compute_offset(ProfileFitterChi self, Profile model_profile) -> double"""
1558  return _IMP_saxs.ProfileFitterChi_compute_offset(self, model_profile)
1559 
1560 
1561  def resample(self, model_profile, resampled_profile):
1562  """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1563  return _IMP_saxs.ProfileFitterChi_resample(self, model_profile, resampled_profile)
1564 
1565 
1566  def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
1567  """
1568  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
1569  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
1570  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, double const chi_square)
1571  """
1572  return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
1573 
1574  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1575  __del__ = lambda self: None
1576 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1577 ProfileFitterChi_swigregister(ProfileFitterChi)
1578 
1579 class WeightedProfileFitterChi(ProfileFitterChi):
1580  """Proxy of C++ IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> class"""
1581  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1582  __repr__ = _swig_repr
1583 
1584  def __init__(self, exp_profile):
1585  """__init__(IMP::saxs::WeightedProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> WeightedProfileFitterChi"""
1586  this = _IMP_saxs.new_WeightedProfileFitterChi(exp_profile)
1587  try:
1588  self.this.append(this)
1589  except:
1590  self.this = this
1591 
1592  def compute_score(self, profiles, weights, NNLS=True):
1593  """
1594  compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights, bool NNLS=True) -> double
1595  compute_score(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp const & profiles, IMP::Vector< double > & weights) -> double
1596  """
1597  return _IMP_saxs.WeightedProfileFitterChi_compute_score(self, profiles, weights, NNLS)
1598 
1599 
1600  def fit_profile(self, partial_profiles, min_c1=0.95, max_c1=1.05, min_c2=-2.0, max_c2=4.0):
1601  """
1602  fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> WeightedFitParameters
1603  fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> WeightedFitParameters
1604  fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95, double max_c1=1.05) -> WeightedFitParameters
1605  fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, double min_c1=0.95) -> WeightedFitParameters
1606  fit_profile(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1607  """
1608  return _IMP_saxs.WeightedProfileFitterChi_fit_profile(self, partial_profiles, min_c1, max_c1, min_c2, max_c2)
1609 
1610 
1611  def write_fit_file(self, partial_profiles, fp, fit_file_name):
1612  """write_fit_file(WeightedProfileFitterChi self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)"""
1613  return _IMP_saxs.WeightedProfileFitterChi_write_fit_file(self, partial_profiles, fp, fit_file_name)
1614 
1615  __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitterChi
1616  __del__ = lambda self: None
1617 WeightedProfileFitterChi_swigregister = _IMP_saxs.WeightedProfileFitterChi_swigregister
1618 WeightedProfileFitterChi_swigregister(WeightedProfileFitterChi)
1619 
1620 class Restraint(IMP.Restraint):
1621  """Proxy of C++ IMP::saxs::Restraint class"""
1622  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1623  __repr__ = _swig_repr
1624 
1625  def __init__(self, *args):
1626  """
1627  __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type) -> Restraint
1628  __init__(IMP::saxs::Restraint self, IMP::Particles const & particles, Profile exp_profile) -> Restraint
1629  """
1630  this = _IMP_saxs.new_Restraint(*args)
1631  try:
1632  self.this.append(this)
1633  except:
1634  self.this = this
1635  if self.__class__ != Restraint:
1636  _director_objects.register(self)
1637 
1638 
1639 
1640 
1641  def do_get_inputs(self):
1642  """do_get_inputs(Restraint self) -> IMP::ModelObjectsTemp"""
1643  return _IMP_saxs.Restraint_do_get_inputs(self)
1644 
1645 
1646  def get_version_info(self):
1647  """get_version_info(Restraint self) -> VersionInfo"""
1648  return _IMP_saxs.Restraint_get_version_info(self)
1649 
1650 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1651 Restraint_swigregister(Restraint)
1652 
1653 class RadiusOfGyrationRestraint(Restraint):
1654  """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1655  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1656  __repr__ = _swig_repr
1657 
1658  def __init__(self, particles, exp_profile, end_q_rg=1.3):
1659  """
1660  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1661  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1662  """
1663  this = _IMP_saxs.new_RadiusOfGyrationRestraint(particles, exp_profile, end_q_rg)
1664  try:
1665  self.this.append(this)
1666  except:
1667  self.this = this
1668 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1669 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1670 
1671 class FloatDistribution(DistBase):
1672  """Proxy of C++ IMP::saxs::Distribution<(double)> class"""
1673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1674  __repr__ = _swig_repr
1675 
1676  def __init__(self, *args):
1677  """
1678  __init__(IMP::saxs::Distribution<(double)> self, double bin_size) -> FloatDistribution
1679  __init__(IMP::saxs::Distribution<(double)> self) -> FloatDistribution
1680  """
1681  this = _IMP_saxs.new_FloatDistribution(*args)
1682  try:
1683  self.this.append(this)
1684  except:
1685  self.this = this
1686 
1687  def get_max_distance(self):
1688  """get_max_distance(FloatDistribution self) -> double"""
1689  return _IMP_saxs.FloatDistribution_get_max_distance(self)
1690 
1691 
1692  def get_bin_size(self):
1693  """get_bin_size(FloatDistribution self) -> double"""
1694  return _IMP_saxs.FloatDistribution_get_bin_size(self)
1695 
1696 
1697  def get_index_from_distance(self, dist):
1698  """get_index_from_distance(FloatDistribution self, double dist) -> unsigned int"""
1699  return _IMP_saxs.FloatDistribution_get_index_from_distance(self, dist)
1700 
1701 
1702  def get_distance_from_index(self, index):
1703  """get_distance_from_index(FloatDistribution self, unsigned int index) -> double"""
1704  return _IMP_saxs.FloatDistribution_get_distance_from_index(self, index)
1705 
1706  __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1707  __del__ = lambda self: None
1708 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1709 FloatDistribution_swigregister(FloatDistribution)
1710 
1711 class VectorDistribution(object):
1712  """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1713  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1714  __repr__ = _swig_repr
1715 
1716  def __init__(self, *args):
1717  """
1718  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, double bin_size) -> VectorDistribution
1719  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1720  """
1721  this = _IMP_saxs.new_VectorDistribution(*args)
1722  try:
1723  self.this.append(this)
1724  except:
1725  self.this = this
1726 
1727  def get_max_distance(self):
1728  """get_max_distance(VectorDistribution self) -> double"""
1729  return _IMP_saxs.VectorDistribution_get_max_distance(self)
1730 
1731 
1732  def get_bin_size(self):
1733  """get_bin_size(VectorDistribution self) -> double"""
1734  return _IMP_saxs.VectorDistribution_get_bin_size(self)
1735 
1736 
1737  def get_index_from_distance(self, dist):
1738  """get_index_from_distance(VectorDistribution self, double dist) -> unsigned int"""
1739  return _IMP_saxs.VectorDistribution_get_index_from_distance(self, dist)
1740 
1741 
1742  def get_distance_from_index(self, index):
1743  """get_distance_from_index(VectorDistribution self, unsigned int index) -> double"""
1744  return _IMP_saxs.VectorDistribution_get_distance_from_index(self, index)
1745 
1746  __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1747  __del__ = lambda self: None
1748 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1749 VectorDistribution_swigregister(VectorDistribution)
1750 
1751 class RadialDistributionFunction(FloatDistribution):
1752  """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1753  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1754  __repr__ = _swig_repr
1755 
1756  def __init__(self, *args):
1757  """
1758  __init__(IMP::saxs::RadialDistributionFunction self, double bin_size) -> RadialDistributionFunction
1759  __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1760  __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1761  """
1762  this = _IMP_saxs.new_RadialDistributionFunction(*args)
1763  try:
1764  self.this.append(this)
1765  except:
1766  self.this = this
1767 
1768  def scale(self, c):
1769  """scale(RadialDistributionFunction self, double c)"""
1770  return _IMP_saxs.RadialDistributionFunction_scale(self, c)
1771 
1772 
1773  def add(self, model_pr):
1774  """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1775  return _IMP_saxs.RadialDistributionFunction_add(self, model_pr)
1776 
1777 
1778  def show(self, *args):
1779  """
1780  show(RadialDistributionFunction self, _ostream out)
1781  show(RadialDistributionFunction self)
1782  """
1783  return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1784 
1785 
1786  def R_factor_score(self, *args):
1787  """
1788  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1789  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1790  """
1791  return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1792 
1793 
1794  def fit(self, *args):
1795  """
1796  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name) -> double
1797  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> double
1798  """
1799  return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1800 
1801 
1802  def normalize(self):
1803  """normalize(RadialDistributionFunction self)"""
1804  return _IMP_saxs.RadialDistributionFunction_normalize(self)
1805 
1806 
1807  def add_to_distribution(self, dist, value):
1808  """add_to_distribution(RadialDistributionFunction self, double dist, double value)"""
1809  return _IMP_saxs.RadialDistributionFunction_add_to_distribution(self, dist, value)
1810 
1811  __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1812  __del__ = lambda self: None
1813 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1814 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1815 
1816 class DeltaDistributionFunction(VectorDistribution):
1817  """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1818  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1819  __repr__ = _swig_repr
1820 
1821  def __init__(self, *args):
1822  """
1823  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0, double bin_size) -> DeltaDistributionFunction
1824  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles, double max_distance=0.0) -> DeltaDistributionFunction
1825  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::Particles const & particles) -> DeltaDistributionFunction
1826  """
1827  this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1828  try:
1829  self.this.append(this)
1830  except:
1831  self.this = this
1832 
1833  def calculate_derivative_distribution(self, particle):
1834  """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1835  return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, particle)
1836 
1837 
1838  def show(self, *args):
1839  """
1840  show(DeltaDistributionFunction self, _ostream out, std::string prefix)
1841  show(DeltaDistributionFunction self, _ostream out)
1842  show(DeltaDistributionFunction self)
1843  """
1844  return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1845 
1846  __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1847  __del__ = lambda self: None
1848 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1849 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1850 
1851 class SolventAccessibleSurface(object):
1852  """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1853  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1854  __repr__ = _swig_repr
1855 
1856  def get_solvent_accessibility(self, points, probe_radius=1.8, density=5.0):
1857  """
1858  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8, double density=5.0) -> IMP::Vector< double >
1859  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, double probe_radius=1.8) -> IMP::Vector< double >
1860  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Vector< double >
1861  """
1862  return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, points, probe_radius, density)
1863 
1864 
1865  def __init__(self):
1866  """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1867  this = _IMP_saxs.new_SolventAccessibleSurface()
1868  try:
1869  self.this.append(this)
1870  except:
1871  self.this = this
1872  __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1873  __del__ = lambda self: None
1874 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1875 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1876 
1877 class ProfileFitterChiLog(IMP.Object):
1878  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1879  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1880  __repr__ = _swig_repr
1881 
1882  def __init__(self, *args):
1883  """
1884  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1885  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1886  """
1887  this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1888  try:
1889  self.this.append(this)
1890  except:
1891  self.this = this
1892 
1893  def compute_score(self, *args):
1894  """
1895  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1896  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> double
1897  compute_score(ProfileFitterChiLog self, Profile model_profile) -> double
1898  """
1899  return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1900 
1901 
1902  def fit_profile(self, *args):
1903  """
1904  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
1905  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
1906  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
1907  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1908  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1909  fit_profile(ProfileFitterChiLog self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1910  fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1911  """
1912  return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1913 
1914 
1915  def compute_scale_factor(self, model_profile, offset=0.0):
1916  """
1917  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, double offset=0.0) -> double
1918  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> double
1919  """
1920  return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, model_profile, offset)
1921 
1922 
1923  def compute_offset(self, model_profile):
1924  """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> double"""
1925  return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, model_profile)
1926 
1927 
1928  def resample(self, model_profile, resampled_profile):
1929  """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
1930  return _IMP_saxs.ProfileFitterChiLog_resample(self, model_profile, resampled_profile)
1931 
1932 
1933  def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
1934  """
1935  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
1936  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
1937  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, double const chi_square)
1938  """
1939  return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
1940 
1941  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
1942  __del__ = lambda self: None
1943 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
1944 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
1945 
1946 class ProfileFitterRatioVolatility(IMP.Object):
1947  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> class"""
1948  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1949  __repr__ = _swig_repr
1950 
1951  def __init__(self, *args):
1952  """
1953  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile) -> ProfileFitterRatioVolatility
1954  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::RatioVolatilityScore)> self, Profile exp_profile, IMP::saxs::RatioVolatilityScore * sf) -> ProfileFitterRatioVolatility
1955  """
1956  this = _IMP_saxs.new_ProfileFitterRatioVolatility(*args)
1957  try:
1958  self.this.append(this)
1959  except:
1960  self.this = this
1961 
1962  def compute_score(self, *args):
1963  """
1964  compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False, std::string const fit_file_name) -> double
1965  compute_score(ProfileFitterRatioVolatility self, Profile model_profile, bool use_offset=False) -> double
1966  compute_score(ProfileFitterRatioVolatility self, Profile model_profile) -> double
1967  """
1968  return _IMP_saxs.ProfileFitterRatioVolatility_compute_score(self, *args)
1969 
1970 
1971  def fit_profile(self, *args):
1972  """
1973  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False, std::string const fit_file_name) -> FitParameters
1974  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0, bool use_offset=False) -> FitParameters
1975  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0, double max_c2=4.0) -> FitParameters
1976  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05, double min_c2=-2.0) -> FitParameters
1977  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95, double max_c1=1.05) -> FitParameters
1978  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile, double min_c1=0.95) -> FitParameters
1979  fit_profile(ProfileFitterRatioVolatility self, Profile partial_profile) -> FitParameters
1980  """
1981  return _IMP_saxs.ProfileFitterRatioVolatility_fit_profile(self, *args)
1982 
1983 
1984  def compute_scale_factor(self, model_profile, offset=0.0):
1985  """
1986  compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile, double offset=0.0) -> double
1987  compute_scale_factor(ProfileFitterRatioVolatility self, Profile model_profile) -> double
1988  """
1989  return _IMP_saxs.ProfileFitterRatioVolatility_compute_scale_factor(self, model_profile, offset)
1990 
1991 
1992  def compute_offset(self, model_profile):
1993  """compute_offset(ProfileFitterRatioVolatility self, Profile model_profile) -> double"""
1994  return _IMP_saxs.ProfileFitterRatioVolatility_compute_offset(self, model_profile)
1995 
1996 
1997  def resample(self, model_profile, resampled_profile):
1998  """resample(ProfileFitterRatioVolatility self, Profile model_profile, Profile resampled_profile)"""
1999  return _IMP_saxs.ProfileFitterRatioVolatility_resample(self, model_profile, resampled_profile)
2000 
2001 
2002  def write_SAXS_fit_file(self, file_name, model_profile, chi_square, c=1, offset=0):
2003  """
2004  write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1, double const offset=0)
2005  write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square, double const c=1)
2006  write_SAXS_fit_file(ProfileFitterRatioVolatility self, std::string const & file_name, Profile model_profile, double const chi_square)
2007  """
2008  return _IMP_saxs.ProfileFitterRatioVolatility_write_SAXS_fit_file(self, file_name, model_profile, chi_square, c, offset)
2009 
2010  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterRatioVolatility
2011  __del__ = lambda self: None
2012 ProfileFitterRatioVolatility_swigregister = _IMP_saxs.ProfileFitterRatioVolatility_swigregister
2013 ProfileFitterRatioVolatility_swigregister(ProfileFitterRatioVolatility)
2014 
2015 
2016 def get_module_version():
2017  """get_module_version() -> std::string const"""
2018  return _IMP_saxs.get_module_version()
2019 
2020 def get_example_path(fname):
2021  """get_example_path(std::string fname) -> std::string"""
2022  return _IMP_saxs.get_example_path(fname)
2023 
2024 def get_data_path(fname):
2025  """get_data_path(std::string fname) -> std::string"""
2026  return _IMP_saxs.get_data_path(fname)
2027 from . import _version_check
2028 _version_check.check_version(get_module_version())
2029 __version__ = get_module_version()
2030 
2031 
2032 
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
FormFactorTable * get_default_form_factor_table()
Composable functors to implement scores via compile-time composition.
double get_volume(const BoundingBoxD< D > &bb)
Definition: BoundingBoxD.h:163
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
double radius_of_gyration(const Particles &particles)
compute radius_of_gyration
Definition: saxs/utility.h:74
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:52