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