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