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