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