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