IMP  2.1.1
The Integrative Modeling Platform
saxs/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.11
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 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_saxs', [dirname(__file__)])
19  except ImportError:
20  import _IMP_saxs
21  return _IMP_saxs
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_saxs', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_saxs = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_saxs
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
54  if (name == "thisown"): return self.this.own()
55  method = class_type.__swig_getmethods__.get(name,None)
56  if method: return method(self)
57  raise AttributeError(name)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 try:
73  import weakref
74  weakref_proxy = weakref.proxy
75 except:
76  weakref_proxy = lambda x: x
77 
78 
79 class IMP_SAXS_SwigPyIterator(_object):
80  """Proxy of C++ swig::IMP_SAXS_SwigPyIterator class"""
81  __swig_setmethods__ = {}
82  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_SAXS_SwigPyIterator, name, value)
83  __swig_getmethods__ = {}
84  __getattr__ = lambda self, name: _swig_getattr(self, IMP_SAXS_SwigPyIterator, name)
85  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86  __repr__ = _swig_repr
87  __swig_destroy__ = _IMP_saxs.delete_IMP_SAXS_SwigPyIterator
88  __del__ = lambda self : None;
89  def value(self):
90  """value(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
91  return _IMP_saxs.IMP_SAXS_SwigPyIterator_value(self)
92 
93  def incr(self, n=1):
94  """
95  incr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
96  incr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
97  """
98  return _IMP_saxs.IMP_SAXS_SwigPyIterator_incr(self, n)
99 
100  def decr(self, n=1):
101  """
102  decr(IMP_SAXS_SwigPyIterator self, size_t n=1) -> IMP_SAXS_SwigPyIterator
103  decr(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator
104  """
105  return _IMP_saxs.IMP_SAXS_SwigPyIterator_decr(self, n)
106 
107  def distance(self, *args):
108  """distance(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t"""
109  return _IMP_saxs.IMP_SAXS_SwigPyIterator_distance(self, *args)
110 
111  def equal(self, *args):
112  """equal(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
113  return _IMP_saxs.IMP_SAXS_SwigPyIterator_equal(self, *args)
114 
115  def copy(self):
116  """copy(IMP_SAXS_SwigPyIterator self) -> IMP_SAXS_SwigPyIterator"""
117  return _IMP_saxs.IMP_SAXS_SwigPyIterator_copy(self)
118 
119  def next(self):
120  """next(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
121  return _IMP_saxs.IMP_SAXS_SwigPyIterator_next(self)
122 
123  def __next__(self):
124  """__next__(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
125  return _IMP_saxs.IMP_SAXS_SwigPyIterator___next__(self)
126 
127  def previous(self):
128  """previous(IMP_SAXS_SwigPyIterator self) -> PyObject *"""
129  return _IMP_saxs.IMP_SAXS_SwigPyIterator_previous(self)
130 
131  def advance(self, *args):
132  """advance(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
133  return _IMP_saxs.IMP_SAXS_SwigPyIterator_advance(self, *args)
134 
135  def __eq__(self, *args):
136  """__eq__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
137  return _IMP_saxs.IMP_SAXS_SwigPyIterator___eq__(self, *args)
138 
139  def __ne__(self, *args):
140  """__ne__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> bool"""
141  return _IMP_saxs.IMP_SAXS_SwigPyIterator___ne__(self, *args)
142 
143  def __iadd__(self, *args):
144  """__iadd__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
145  return _IMP_saxs.IMP_SAXS_SwigPyIterator___iadd__(self, *args)
146 
147  def __isub__(self, *args):
148  """__isub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
149  return _IMP_saxs.IMP_SAXS_SwigPyIterator___isub__(self, *args)
150 
151  def __add__(self, *args):
152  """__add__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator"""
153  return _IMP_saxs.IMP_SAXS_SwigPyIterator___add__(self, *args)
154 
155  def __sub__(self, *args):
156  """
157  __sub__(IMP_SAXS_SwigPyIterator self, ptrdiff_t n) -> IMP_SAXS_SwigPyIterator
158  __sub__(IMP_SAXS_SwigPyIterator self, IMP_SAXS_SwigPyIterator x) -> ptrdiff_t
159  """
160  return _IMP_saxs.IMP_SAXS_SwigPyIterator___sub__(self, *args)
161 
162  def __iter__(self): return self
163 IMP_SAXS_SwigPyIterator_swigregister = _IMP_saxs.IMP_SAXS_SwigPyIterator_swigregister
164 IMP_SAXS_SwigPyIterator_swigregister(IMP_SAXS_SwigPyIterator)
165 
166 _value_types=[]
167 _object_types=[]
168 _raii_types=[]
169 _plural_types=[]
170 
171 IMP_DEBUG = _IMP_saxs.IMP_DEBUG
172 IMP_RELEASE = _IMP_saxs.IMP_RELEASE
173 IMP_SILENT = _IMP_saxs.IMP_SILENT
174 IMP_PROGRESS = _IMP_saxs.IMP_PROGRESS
175 IMP_TERSE = _IMP_saxs.IMP_TERSE
176 IMP_VERBOSE = _IMP_saxs.IMP_VERBOSE
177 IMP_MEMORY = _IMP_saxs.IMP_MEMORY
178 IMP_NONE = _IMP_saxs.IMP_NONE
179 IMP_USAGE = _IMP_saxs.IMP_USAGE
180 IMP_INTERNAL = _IMP_saxs.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_saxs.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_saxs.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_saxs.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_saxs.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_saxs.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_saxs.IMPBASE_SHOW_WARNINGS
189 import sys
190 class _DirectorObjects(object):
191  """@internal Simple class to keep references to director objects
192  to prevent premature deletion."""
193  def __init__(self):
194  self._objects = []
195  def register(self, obj):
196  """Take a reference to a director object; will only work for
197  refcounted C++ classes"""
198  if hasattr(obj, 'get_ref_count'):
199  self._objects.append(obj)
200  def cleanup(self):
201  """Only drop our reference and allow cleanup by Python if no other
202  Python references exist (we hold 3 references: one in self._objects,
203  one in x, and one in the argument list for getrefcount) *and* no
204  other C++ references exist (the Python object always holds one)"""
205  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
206  or x.get_ref_count() > 1]
207 
208 
209  self._objects = objs
210  def get_object_count(self):
211  """Get number of director objects (useful for testing only)"""
212  return len(self._objects)
213 _director_objects = _DirectorObjects()
214 
215 DEFAULT_CHECK = _IMP_saxs.DEFAULT_CHECK
216 NONE = _IMP_saxs.NONE
217 USAGE = _IMP_saxs.USAGE
218 USAGE_AND_INTERNAL = _IMP_saxs.USAGE_AND_INTERNAL
219 
220 def set_check_level(*args):
221  """set_check_level(IMP::base::CheckLevel tf)"""
222  return _IMP_saxs.set_check_level(*args)
223 
224 def get_check_level():
225  """get_check_level() -> IMP::base::CheckLevel"""
226  return _IMP_saxs.get_check_level()
227 class _ostream(_object):
228  """Proxy of C++ std::ostream class"""
229  __swig_setmethods__ = {}
230  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231  __swig_getmethods__ = {}
232  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
233  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
234  __repr__ = _swig_repr
235  def write(self, *args):
236  """write(_ostream self, char const * osa_buf)"""
237  return _IMP_saxs._ostream_write(self, *args)
238 
239 _ostream_swigregister = _IMP_saxs._ostream_swigregister
240 _ostream_swigregister(_ostream)
241 
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_saxs.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_saxs.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_saxs.IMP_HAS_NOEXCEPT
245 import IMP.base
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_saxs.IMPCGAL_SHOW_WARNINGS
251 import IMP.cgal
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_saxs.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_saxs.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_saxs.IMPALGEBRA_SHOW_WARNINGS
260 import IMP.algebra
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_saxs.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_saxs.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_saxs.IMPKERNEL_SHOW_WARNINGS
267 import IMP.kernel
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_saxs.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_saxs.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_saxs.IMPDISPLAY_SHOW_WARNINGS
276 import IMP.display
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_saxs.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_saxs.IMPSCOREFUNCTOR_SHOW_WARNINGS
284 import IMP.score_functor
285 IMP_CORE_HAS_IMP_BASE = _IMP_saxs.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_saxs.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_saxs.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_saxs.IMP_CORE_HAS_CGAL
293 IMPCORE_SHOW_WARNINGS = _IMP_saxs.IMPCORE_SHOW_WARNINGS
294 import IMP.core
295 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_saxs.IMP_CONTAINER_HAS_IMP_ALGEBRA
296 IMP_CONTAINER_HAS_IMP_BASE = _IMP_saxs.IMP_CONTAINER_HAS_IMP_BASE
297 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_CGAL
298 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_saxs.IMP_CONTAINER_HAS_IMP_DISPLAY
299 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_saxs.IMP_CONTAINER_HAS_IMP_KERNEL
300 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
301 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
302 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
303 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_RANDOM
304 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_CONTAINER_HAS_BOOST_SYSTEM
305 IMP_CONTAINER_HAS_CGAL = _IMP_saxs.IMP_CONTAINER_HAS_CGAL
306 IMPCONTAINER_SHOW_WARNINGS = _IMP_saxs.IMPCONTAINER_SHOW_WARNINGS
307 import IMP.container
308 IMP_ATOM_HAS_IMP_BASE = _IMP_saxs.IMP_ATOM_HAS_IMP_BASE
309 IMP_ATOM_HAS_IMP_CGAL = _IMP_saxs.IMP_ATOM_HAS_IMP_CGAL
310 IMP_ATOM_HAS_IMP_KERNEL = _IMP_saxs.IMP_ATOM_HAS_IMP_KERNEL
311 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
312 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
313 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_saxs.IMP_ATOM_HAS_BOOST_RANDOM
314 IMP_ATOM_HAS_BOOST_REGEX = _IMP_saxs.IMP_ATOM_HAS_BOOST_REGEX
315 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_ATOM_HAS_BOOST_SYSTEM
316 IMP_ATOM_HAS_CGAL = _IMP_saxs.IMP_ATOM_HAS_CGAL
317 IMPATOM_SHOW_WARNINGS = _IMP_saxs.IMPATOM_SHOW_WARNINGS
318 IMP_ATOM_TYPE_INDEX = _IMP_saxs.IMP_ATOM_TYPE_INDEX
319 IMP_RESIDUE_TYPE_INDEX = _IMP_saxs.IMP_RESIDUE_TYPE_INDEX
320 IMP_HIERARCHY_TYPE_INDEX = _IMP_saxs.IMP_HIERARCHY_TYPE_INDEX
321 import IMP.atom
322 IMP_SAXS_HAS_IMP_BASE = _IMP_saxs.IMP_SAXS_HAS_IMP_BASE
323 IMP_SAXS_HAS_IMP_CGAL = _IMP_saxs.IMP_SAXS_HAS_IMP_CGAL
324 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_saxs.IMP_SAXS_HAS_IMP_CONTAINER
325 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_saxs.IMP_SAXS_HAS_IMP_DISPLAY
326 IMP_SAXS_HAS_IMP_KERNEL = _IMP_saxs.IMP_SAXS_HAS_IMP_KERNEL
327 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_saxs.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
328 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_FILESYSTEM
329 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_saxs.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_saxs.IMP_SAXS_HAS_BOOST_RANDOM
331 IMP_SAXS_HAS_BOOST_REGEX = _IMP_saxs.IMP_SAXS_HAS_BOOST_REGEX
332 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_saxs.IMP_SAXS_HAS_BOOST_SYSTEM
333 IMP_SAXS_HAS_CGAL = _IMP_saxs.IMP_SAXS_HAS_CGAL
334 IMPSAXS_SHOW_WARNINGS = _IMP_saxs.IMPSAXS_SHOW_WARNINGS
335 class DistBase(_object):
336  """Proxy of C++ std::vector<(double)> class"""
337  __swig_setmethods__ = {}
338  __setattr__ = lambda self, name, value: _swig_setattr(self, DistBase, name, value)
339  __swig_getmethods__ = {}
340  __getattr__ = lambda self, name: _swig_getattr(self, DistBase, name)
341  __repr__ = _swig_repr
342  def iterator(self):
343  """iterator(DistBase self) -> IMP_SAXS_SwigPyIterator"""
344  return _IMP_saxs.DistBase_iterator(self)
345 
346  def __iter__(self): return self.iterator()
347  def __nonzero__(self):
348  """__nonzero__(DistBase self) -> bool"""
349  return _IMP_saxs.DistBase___nonzero__(self)
350 
351  def __bool__(self):
352  """__bool__(DistBase self) -> bool"""
353  return _IMP_saxs.DistBase___bool__(self)
354 
355  def __len__(self):
356  """__len__(DistBase self) -> std::vector< double >::size_type"""
357  return _IMP_saxs.DistBase___len__(self)
358 
359  def pop(self):
360  """pop(DistBase self) -> std::vector< double >::value_type"""
361  return _IMP_saxs.DistBase_pop(self)
362 
363  def __getslice__(self, *args):
364  """__getslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DistBase"""
365  return _IMP_saxs.DistBase___getslice__(self, *args)
366 
367  def __setslice__(self, *args):
368  """
369  __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
370  DistBase v=std::vector< double,std::allocator< double > >())
371  __setslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
372  """
373  return _IMP_saxs.DistBase___setslice__(self, *args)
374 
375  def __delslice__(self, *args):
376  """__delslice__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
377  return _IMP_saxs.DistBase___delslice__(self, *args)
378 
379  def __delitem__(self, *args):
380  """
381  __delitem__(DistBase self, std::vector< double >::difference_type i)
382  __delitem__(DistBase self, PySliceObject * slice)
383  """
384  return _IMP_saxs.DistBase___delitem__(self, *args)
385 
386  def __getitem__(self, *args):
387  """
388  __getitem__(DistBase self, PySliceObject * slice) -> DistBase
389  __getitem__(DistBase self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
390  """
391  return _IMP_saxs.DistBase___getitem__(self, *args)
392 
393  def __setitem__(self, *args):
394  """
395  __setitem__(DistBase self, PySliceObject * slice, DistBase v)
396  __setitem__(DistBase self, PySliceObject * slice)
397  __setitem__(DistBase self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
398  """
399  return _IMP_saxs.DistBase___setitem__(self, *args)
400 
401  def append(self, *args):
402  """append(DistBase self, std::vector< double >::value_type const & x)"""
403  return _IMP_saxs.DistBase_append(self, *args)
404 
405  def empty(self):
406  """empty(DistBase self) -> bool"""
407  return _IMP_saxs.DistBase_empty(self)
408 
409  def size(self):
410  """size(DistBase self) -> std::vector< double >::size_type"""
411  return _IMP_saxs.DistBase_size(self)
412 
413  def clear(self):
414  """clear(DistBase self)"""
415  return _IMP_saxs.DistBase_clear(self)
416 
417  def swap(self, *args):
418  """swap(DistBase self, DistBase v)"""
419  return _IMP_saxs.DistBase_swap(self, *args)
420 
421  def get_allocator(self):
422  """get_allocator(DistBase self) -> std::vector< double >::allocator_type"""
423  return _IMP_saxs.DistBase_get_allocator(self)
424 
425  def begin(self):
426  """begin(DistBase self) -> std::vector< double >::iterator"""
427  return _IMP_saxs.DistBase_begin(self)
428 
429  def end(self):
430  """end(DistBase self) -> std::vector< double >::iterator"""
431  return _IMP_saxs.DistBase_end(self)
432 
433  def rbegin(self):
434  """rbegin(DistBase self) -> std::vector< double >::reverse_iterator"""
435  return _IMP_saxs.DistBase_rbegin(self)
436 
437  def rend(self):
438  """rend(DistBase self) -> std::vector< double >::reverse_iterator"""
439  return _IMP_saxs.DistBase_rend(self)
440 
441  def pop_back(self):
442  """pop_back(DistBase self)"""
443  return _IMP_saxs.DistBase_pop_back(self)
444 
445  def erase(self, *args):
446  """
447  erase(DistBase self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
448  erase(DistBase self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
449  """
450  return _IMP_saxs.DistBase_erase(self, *args)
451 
452  def __init__(self, *args):
453  """
454  __init__(std::vector<(double)> self) -> DistBase
455  __init__(std::vector<(double)> self, DistBase arg2) -> DistBase
456  __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> DistBase
457  __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DistBase
458  """
459  this = _IMP_saxs.new_DistBase(*args)
460  try: self.this.append(this)
461  except: self.this = this
462  def push_back(self, *args):
463  """push_back(DistBase self, std::vector< double >::value_type const & x)"""
464  return _IMP_saxs.DistBase_push_back(self, *args)
465 
466  def front(self):
467  """front(DistBase self) -> std::vector< double >::value_type const &"""
468  return _IMP_saxs.DistBase_front(self)
469 
470  def back(self):
471  """back(DistBase self) -> std::vector< double >::value_type const &"""
472  return _IMP_saxs.DistBase_back(self)
473 
474  def assign(self, *args):
475  """assign(DistBase self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
476  return _IMP_saxs.DistBase_assign(self, *args)
477 
478  def resize(self, *args):
479  """
480  resize(DistBase self, std::vector< double >::size_type new_size)
481  resize(DistBase self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
482  """
483  return _IMP_saxs.DistBase_resize(self, *args)
484 
485  def insert(self, *args):
486  """
487  insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
488  insert(DistBase self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
489  """
490  return _IMP_saxs.DistBase_insert(self, *args)
491 
492  def reserve(self, *args):
493  """reserve(DistBase self, std::vector< double >::size_type n)"""
494  return _IMP_saxs.DistBase_reserve(self, *args)
495 
496  def capacity(self):
497  """capacity(DistBase self) -> std::vector< double >::size_type"""
498  return _IMP_saxs.DistBase_capacity(self)
499 
500  __swig_destroy__ = _IMP_saxs.delete_DistBase
501  __del__ = lambda self : None;
502 DistBase_swigregister = _IMP_saxs.DistBase_swigregister
503 DistBase_swigregister(DistBase)
504 
505 _object_types.append("Profile")
506 
507 
508 def _object_cast_to_Profile(*args):
509  """_object_cast_to_Profile(Object o) -> Profile"""
510  return _IMP_saxs._object_cast_to_Profile(*args)
511 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
512 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
513 CA_ATOMS = _IMP_saxs.CA_ATOMS
514 class FormFactorTable(_object):
515  """Proxy of C++ IMP::saxs::FormFactorTable class"""
516  __swig_setmethods__ = {}
517  __setattr__ = lambda self, name, value: _swig_setattr(self, FormFactorTable, name, value)
518  __swig_getmethods__ = {}
519  __getattr__ = lambda self, name: _swig_getattr(self, FormFactorTable, name)
520  __repr__ = _swig_repr
521  def __init__(self, *args):
522  """
523  __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
524  __init__(IMP::saxs::FormFactorTable self, IMP::String const & table_name, IMP::Float min_q, IMP::Float max_q, IMP::Float delta_q) -> FormFactorTable
525  """
526  this = _IMP_saxs.new_FormFactorTable(*args)
527  try: self.this.append(this)
528  except: self.this = this
529  def get_form_factor(self, *args):
530  """
531  get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
532  get_form_factor(FormFactorTable self, Particle p) -> IMP::Float
533  """
534  return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
535 
536  def get_vacuum_form_factor(self, *args):
537  """
538  get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
539  get_vacuum_form_factor(FormFactorTable self, Particle p) -> IMP::Float
540  """
541  return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
542 
543  def get_dummy_form_factor(self, *args):
544  """
545  get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
546  get_dummy_form_factor(FormFactorTable self, Particle p) -> IMP::Float
547  """
548  return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
549 
550  def get_water_form_factor(self):
551  """get_water_form_factor(FormFactorTable self) -> IMP::Float"""
552  return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
553 
554  def get_vacuum_water_form_factor(self):
555  """get_vacuum_water_form_factor(FormFactorTable self) -> IMP::Float"""
556  return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
557 
558  def get_dummy_water_form_factor(self):
559  """get_dummy_water_form_factor(FormFactorTable self) -> IMP::Float"""
560  return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
561 
562  def get_form_factors(self, *args):
563  """
564  get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
565  get_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
566  """
567  return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
568 
569  def get_vacuum_form_factors(self, *args):
570  """
571  get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
572  get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
573  """
574  return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
575 
576  def get_dummy_form_factors(self, *args):
577  """
578  get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
579  get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
580  """
581  return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
582 
583  def get_water_form_factors(self):
584  """get_water_form_factors(FormFactorTable self) -> IMP::Floats const &"""
585  return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
586 
587  def get_water_vacuum_form_factors(self):
588  """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Floats const &"""
589  return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
590 
591  def get_water_dummy_form_factors(self):
592  """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Floats const &"""
593  return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
594 
595  def get_radius(self, *args):
596  """
597  get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
598  get_radius(FormFactorTable self, Particle p) -> IMP::Float
599  """
600  return _IMP_saxs.FormFactorTable_get_radius(self, *args)
601 
602  def get_volume(self, *args):
603  """
604  get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
605  get_volume(FormFactorTable self, Particle p) -> IMP::Float
606  """
607  return _IMP_saxs.FormFactorTable_get_volume(self, *args)
608 
609  def show(self, *args):
610  """
611  show(FormFactorTable self, _ostream out=std::cout, std::string prefix="")
612  show(FormFactorTable self, _ostream out=std::cout)
613  show(FormFactorTable self)
614  """
615  return _IMP_saxs.FormFactorTable_show(self, *args)
616 
617  __swig_setmethods__["rho_"] = _IMP_saxs.FormFactorTable_rho__set
618  __swig_getmethods__["rho_"] = _IMP_saxs.FormFactorTable_rho__get
619  if _newclass:rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
620  __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
621  __del__ = lambda self : None;
622 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
623 FormFactorTable_swigregister(FormFactorTable)
624 cvar = _IMP_saxs.cvar
625 
626 
628  """default_form_factor_table() -> FormFactorTable"""
629  return _IMP_saxs.default_form_factor_table()
630 class Profile(IMP.base.Object):
631  """Proxy of C++ IMP::saxs::Profile class"""
632  __swig_setmethods__ = {}
633  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
634  __setattr__ = lambda self, name, value: _swig_setattr(self, Profile, name, value)
635  __swig_getmethods__ = {}
636  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
637  __getattr__ = lambda self, name: _swig_getattr(self, Profile, name)
638  def __init__(self, *args):
639  """
640  __init__(IMP::saxs::Profile self, IMP::String const & file_name, bool fit_file=False) -> Profile
641  __init__(IMP::saxs::Profile self, IMP::String const & file_name) -> Profile
642  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5, IMP::Float delta=0.005) -> Profile
643  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5) -> Profile
644  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0) -> Profile
645  __init__(IMP::saxs::Profile self) -> Profile
646  """
647  this = _IMP_saxs.new_Profile(*args)
648  try: self.this.append(this)
649  except: self.this = this
650  def get_version_info(self):
651  """get_version_info(Profile self) -> VersionInfo"""
652  return _IMP_saxs.Profile_get_version_info(self)
653 
654  __swig_destroy__ = _IMP_saxs.delete_Profile
655  __del__ = lambda self : None;
656  def calculate_profile_partial(self, *args):
657  """
658  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
659  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
660  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
661  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles)
662  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
663  IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats(),
664  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
665  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
666  IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats())
667  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
668  IMP::Floats const & surface1=IMP::Floats())
669  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
670  """
671  return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
672 
673  def calculate_profile_reciprocal_partial(self, *args):
674  """
675  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
676  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
677  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
678  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles)
679  """
680  return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
681 
682  def calculate_profile(self, *args):
683  """
684  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
685  bool reciprocal=False, bool variance=False, double variance_tau=0.1)
686  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
687  bool reciprocal=False, bool variance=False)
688  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
689  bool reciprocal=False)
690  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
691  calculate_profile(Profile self, IMP::kernel::Particles const & particles)
692  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
693  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False, double variance_tau=0.1)
694  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
695  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False)
696  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
697  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
698  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
699  """
700  return _IMP_saxs.Profile_calculate_profile(self, *args)
701 
702  def calculate_I0(self, *args):
703  """
704  calculate_I0(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
705  calculate_I0(Profile self, IMP::kernel::Particles const & particles) -> IMP::Float
706  """
707  return _IMP_saxs.Profile_calculate_I0(self, *args)
708 
709  def calculate_profile_constant_form_factor(self, *args):
710  """
711  calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles, IMP::Float form_factor=1.0)
712  calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles)
713  """
714  return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, *args)
715 
716  def calculate_profile_symmetric(self, *args):
717  """
718  calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
719  calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n)
720  """
721  return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
722 
723  def profile_2_distribution(self, *args):
724  """profile_2_distribution(Profile self, RadialDistributionFunction rd, IMP::Float max_distance)"""
725  return _IMP_saxs.Profile_profile_2_distribution(self, *args)
726 
727  def distribution_2_profile(self, *args):
728  """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
729  return _IMP_saxs.Profile_distribution_2_profile(self, *args)
730 
731  def resample(self, *args):
732  """
733  resample(Profile self, Profile exp_profile, Profile resampled_profile, bool partial_profiles=False)
734  resample(Profile self, Profile exp_profile, Profile resampled_profile)
735  """
736  return _IMP_saxs.Profile_resample(self, *args)
737 
738  def downsample(self, *args):
739  """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
740  return _IMP_saxs.Profile_downsample(self, *args)
741 
742  def radius_of_gyration(self, end_q_rg=1.3):
743  """
744  radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
745  radius_of_gyration(Profile self) -> double
746  """
747  return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
748 
749  def read_SAXS_file(self, *args):
750  """
751  read_SAXS_file(Profile self, IMP::String const & file_name, bool fit_file=False)
752  read_SAXS_file(Profile self, IMP::String const & file_name)
753  """
754  return _IMP_saxs.Profile_read_SAXS_file(self, *args)
755 
756  def write_SAXS_file(self, *args):
757  """
758  write_SAXS_file(Profile self, IMP::String const & file_name, IMP::Float max_q=0.0)
759  write_SAXS_file(Profile self, IMP::String const & file_name)
760  """
761  return _IMP_saxs.Profile_write_SAXS_file(self, *args)
762 
763  def read_partial_profiles(self, *args):
764  """read_partial_profiles(Profile self, IMP::String const & file_name)"""
765  return _IMP_saxs.Profile_read_partial_profiles(self, *args)
766 
767  def write_partial_profiles(self, *args):
768  """write_partial_profiles(Profile self, IMP::String const & file_name)"""
769  return _IMP_saxs.Profile_write_partial_profiles(self, *args)
770 
771  def get_delta_q(self):
772  """get_delta_q(Profile self) -> IMP::Float"""
773  return _IMP_saxs.Profile_get_delta_q(self)
774 
775  def get_min_q(self):
776  """get_min_q(Profile self) -> IMP::Float"""
777  return _IMP_saxs.Profile_get_min_q(self)
778 
779  def get_max_q(self):
780  """get_max_q(Profile self) -> IMP::Float"""
781  return _IMP_saxs.Profile_get_max_q(self)
782 
783  def get_intensity(self, *args):
784  """get_intensity(Profile self, unsigned int i) -> IMP::Float"""
785  return _IMP_saxs.Profile_get_intensity(self, *args)
786 
787  def get_q(self, *args):
788  """get_q(Profile self, unsigned int i) -> IMP::Float"""
789  return _IMP_saxs.Profile_get_q(self, *args)
790 
791  def get_error(self, *args):
792  """get_error(Profile self, unsigned int i) -> IMP::Float"""
793  return _IMP_saxs.Profile_get_error(self, *args)
794 
795  def get_weight(self, *args):
796  """get_weight(Profile self, unsigned int i) -> IMP::Float"""
797  return _IMP_saxs.Profile_get_weight(self, *args)
798 
799  def get_variance(self, *args):
800  """get_variance(Profile self, unsigned int i, unsigned int j) -> IMP::Float"""
801  return _IMP_saxs.Profile_get_variance(self, *args)
802 
803  def get_average_radius(self):
804  """get_average_radius(Profile self) -> IMP::Float"""
805  return _IMP_saxs.Profile_get_average_radius(self)
806 
807  def size(self):
808  """size(Profile self) -> unsigned int"""
809  return _IMP_saxs.Profile_size(self)
810 
811  def is_uniform_sampling(self):
812  """is_uniform_sampling(Profile self) -> bool"""
813  return _IMP_saxs.Profile_is_uniform_sampling(self)
814 
815  def get_name(self):
816  """get_name(Profile self) -> std::string"""
817  return _IMP_saxs.Profile_get_name(self)
818 
819  def get_id(self):
820  """get_id(Profile self) -> unsigned int"""
821  return _IMP_saxs.Profile_get_id(self)
822 
823  def set_intensity(self, *args):
824  """set_intensity(Profile self, unsigned int i, IMP::Float iq)"""
825  return _IMP_saxs.Profile_set_intensity(self, *args)
826 
827  def set_ff_table(self, *args):
828  """set_ff_table(Profile self, FormFactorTable ff_table)"""
829  return _IMP_saxs.Profile_set_ff_table(self, *args)
830 
831  def set_average_radius(self, *args):
832  """set_average_radius(Profile self, IMP::Float r)"""
833  return _IMP_saxs.Profile_set_average_radius(self, *args)
834 
835  def set_average_volume(self, *args):
836  """set_average_volume(Profile self, IMP::Float v)"""
837  return _IMP_saxs.Profile_set_average_volume(self, *args)
838 
839  def set_name(self, *args):
840  """set_name(Profile self, std::string name)"""
841  return _IMP_saxs.Profile_set_name(self, *args)
842 
843  def set_id(self, *args):
844  """set_id(Profile self, unsigned int id)"""
845  return _IMP_saxs.Profile_set_id(self, *args)
846 
847  def add_entry(self, *args):
848  """
849  add_entry(Profile self, IMP::Float q, IMP::Float intensity, IMP::Float error=1.0)
850  add_entry(Profile self, IMP::Float q, IMP::Float intensity)
851  """
852  return _IMP_saxs.Profile_add_entry(self, *args)
853 
854  def add_errors(self):
855  """add_errors(Profile self)"""
856  return _IMP_saxs.Profile_add_errors(self)
857 
858  def add_noise(self, percentage=0.03):
859  """
860  add_noise(Profile self, IMP::Float percentage=0.03)
861  add_noise(Profile self)
862  """
863  return _IMP_saxs.Profile_add_noise(self, percentage)
864 
865  def sum_partial_profiles(self, *args):
866  """sum_partial_profiles(Profile self, IMP::Float c1, IMP::Float c2)"""
867  return _IMP_saxs.Profile_sum_partial_profiles(self, *args)
868 
869  def add(self, *args):
870  """
871  add(Profile self, Profile other_profile, IMP::Float weight=1.0)
872  add(Profile self, Profile other_profile)
873  add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
874  DistBase weights=std::vector< IMP::Float >())
875  add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
876  """
877  return _IMP_saxs.Profile_add(self, *args)
878 
879  def add_partial_profiles(self, *args):
880  """
881  add_partial_profiles(Profile self, Profile other_profile, IMP::Float weight=1.0)
882  add_partial_profiles(Profile self, Profile other_profile)
883  add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
884  DistBase weights=std::vector< IMP::Float >())
885  add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
886  """
887  return _IMP_saxs.Profile_add_partial_profiles(self, *args)
888 
889  def background_adjust(self, *args):
890  """background_adjust(Profile self, double start_q)"""
891  return _IMP_saxs.Profile_background_adjust(self, *args)
892 
893  def scale(self, *args):
894  """scale(Profile self, IMP::Float c)"""
895  return _IMP_saxs.Profile_scale(self, *args)
896 
897  def offset(self, *args):
898  """offset(Profile self, IMP::Float c)"""
899  return _IMP_saxs.Profile_offset(self, *args)
900 
901  def copy_errors(self, *args):
902  """copy_errors(Profile self, Profile exp_profile)"""
903  return _IMP_saxs.Profile_copy_errors(self, *args)
904 
905  def __str__(self):
906  """__str__(Profile self) -> std::string"""
907  return _IMP_saxs.Profile___str__(self)
908 
909  def __repr__(self):
910  """__repr__(Profile self) -> std::string"""
911  return _IMP_saxs.Profile___repr__(self)
912 
913  def get_from(o):
914  return _object_cast_to_Profile(o)
915  get_from = staticmethod(get_from)
916 
917 Profile_swigregister = _IMP_saxs.Profile_swigregister
918 Profile_swigregister(Profile)
919 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
920 
921 class FitParameters(_object):
922  """Proxy of C++ IMP::saxs::FitParameters class"""
923  __swig_setmethods__ = {}
924  __setattr__ = lambda self, name, value: _swig_setattr(self, FitParameters, name, value)
925  __swig_getmethods__ = {}
926  __getattr__ = lambda self, name: _swig_getattr(self, FitParameters, name)
927  __repr__ = _swig_repr
928  def __init__(self, *args):
929  """
930  __init__(IMP::saxs::FitParameters self) -> FitParameters
931  __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2, float c, float o) -> FitParameters
932  __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2) -> FitParameters
933  """
934  this = _IMP_saxs.new_FitParameters(*args)
935  try: self.this.append(this)
936  except: self.this = this
937  def get_chi(self):
938  """get_chi(FitParameters self) -> float"""
939  return _IMP_saxs.FitParameters_get_chi(self)
940 
941  def get_c1(self):
942  """get_c1(FitParameters self) -> float"""
943  return _IMP_saxs.FitParameters_get_c1(self)
944 
945  def get_c2(self):
946  """get_c2(FitParameters self) -> float"""
947  return _IMP_saxs.FitParameters_get_c2(self)
948 
949  def get_scale(self):
950  """get_scale(FitParameters self) -> float"""
951  return _IMP_saxs.FitParameters_get_scale(self)
952 
953  def get_offset(self):
954  """get_offset(FitParameters self) -> float"""
955  return _IMP_saxs.FitParameters_get_offset(self)
956 
957  def get_default_chi(self):
958  """get_default_chi(FitParameters self) -> float"""
959  return _IMP_saxs.FitParameters_get_default_chi(self)
960 
961  def get_pdb_file_name(self):
962  """get_pdb_file_name(FitParameters self) -> std::string"""
963  return _IMP_saxs.FitParameters_get_pdb_file_name(self)
964 
965  def get_profile_file_name(self):
966  """get_profile_file_name(FitParameters self) -> std::string"""
967  return _IMP_saxs.FitParameters_get_profile_file_name(self)
968 
969  def get_mol_index(self):
970  """get_mol_index(FitParameters self) -> int"""
971  return _IMP_saxs.FitParameters_get_mol_index(self)
972 
973  def set_chi(self, *args):
974  """set_chi(FitParameters self, float chi)"""
975  return _IMP_saxs.FitParameters_set_chi(self, *args)
976 
977  def set_default_chi(self, *args):
978  """set_default_chi(FitParameters self, float chi)"""
979  return _IMP_saxs.FitParameters_set_default_chi(self, *args)
980 
981  def set_profile_file_name(self, *args):
982  """set_profile_file_name(FitParameters self, std::string file_name)"""
983  return _IMP_saxs.FitParameters_set_profile_file_name(self, *args)
984 
985  def set_pdb_file_name(self, *args):
986  """set_pdb_file_name(FitParameters self, std::string file_name)"""
987  return _IMP_saxs.FitParameters_set_pdb_file_name(self, *args)
988 
989  def set_mol_index(self, *args):
990  """set_mol_index(FitParameters self, int index)"""
991  return _IMP_saxs.FitParameters_set_mol_index(self, *args)
992 
993  def show(self, *args):
994  """show(FitParameters self, _ostream s)"""
995  return _IMP_saxs.FitParameters_show(self, *args)
996 
997  __swig_destroy__ = _IMP_saxs.delete_FitParameters
998  __del__ = lambda self : None;
999 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1000 FitParameters_swigregister(FitParameters)
1001 
1002 class WeightedFitParameters(FitParameters):
1003  """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1004  __swig_setmethods__ = {}
1005  for _s in [FitParameters]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1006  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightedFitParameters, name, value)
1007  __swig_getmethods__ = {}
1008  for _s in [FitParameters]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1009  __getattr__ = lambda self, name: _swig_getattr(self, WeightedFitParameters, name)
1010  __repr__ = _swig_repr
1011  def __init__(self, *args):
1012  """__init__(IMP::saxs::WeightedFitParameters self, float chi, float c1, float c2, IMP::Floats weights) -> WeightedFitParameters"""
1013  this = _IMP_saxs.new_WeightedFitParameters(*args)
1014  try: self.this.append(this)
1015  except: self.this = this
1016  def get_weights(self):
1017  """get_weights(WeightedFitParameters self) -> IMP::Floats const &"""
1018  return _IMP_saxs.WeightedFitParameters_get_weights(self)
1019 
1020  def show(self, *args):
1021  """show(WeightedFitParameters self, _ostream s)"""
1022  return _IMP_saxs.WeightedFitParameters_show(self, *args)
1023 
1024  __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1025  __del__ = lambda self : None;
1026 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1027 WeightedFitParameters_swigregister(WeightedFitParameters)
1028 
1029 class ChiScore(_object):
1030  """Proxy of C++ IMP::saxs::ChiScore class"""
1031  __swig_setmethods__ = {}
1032  __setattr__ = lambda self, name, value: _swig_setattr(self, ChiScore, name, value)
1033  __swig_getmethods__ = {}
1034  __getattr__ = lambda self, name: _swig_getattr(self, ChiScore, name)
1035  __repr__ = _swig_repr
1036  def compute_score(self, *args):
1037  """
1038  compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1039  compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1040  compute_score(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1041  """
1042  return _IMP_saxs.ChiScore_compute_score(self, *args)
1043 
1044  def compute_scale_factor(self, *args):
1045  """
1046  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1047  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1048  """
1049  return _IMP_saxs.ChiScore_compute_scale_factor(self, *args)
1050 
1051  def compute_offset(self, *args):
1052  """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1053  return _IMP_saxs.ChiScore_compute_offset(self, *args)
1054 
1055  def __init__(self):
1056  """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1057  this = _IMP_saxs.new_ChiScore()
1058  try: self.this.append(this)
1059  except: self.this = this
1060  __swig_destroy__ = _IMP_saxs.delete_ChiScore
1061  __del__ = lambda self : None;
1062 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1063 ChiScore_swigregister(ChiScore)
1064 
1065 class ChiScoreLog(_object):
1066  """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1067  __swig_setmethods__ = {}
1068  __setattr__ = lambda self, name, value: _swig_setattr(self, ChiScoreLog, name, value)
1069  __swig_getmethods__ = {}
1070  __getattr__ = lambda self, name: _swig_getattr(self, ChiScoreLog, name)
1071  __repr__ = _swig_repr
1072  def compute_score(self, *args):
1073  """
1074  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1075  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1076  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1077  """
1078  return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1079 
1080  def compute_scale_factor(self, *args):
1081  """
1082  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1083  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1084  """
1085  return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, *args)
1086 
1087  def compute_offset(self, *args):
1088  """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1089  return _IMP_saxs.ChiScoreLog_compute_offset(self, *args)
1090 
1091  def __init__(self):
1092  """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1093  this = _IMP_saxs.new_ChiScoreLog()
1094  try: self.this.append(this)
1095  except: self.this = this
1096  __swig_destroy__ = _IMP_saxs.delete_ChiScoreLog
1097  __del__ = lambda self : None;
1098 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1099 ChiScoreLog_swigregister(ChiScoreLog)
1100 
1101 class ProfileFitterChi(IMP.base.Object):
1102  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1103  __swig_setmethods__ = {}
1104  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1105  __setattr__ = lambda self, name, value: _swig_setattr(self, ProfileFitterChi, name, value)
1106  __swig_getmethods__ = {}
1107  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1108  __getattr__ = lambda self, name: _swig_getattr(self, ProfileFitterChi, name)
1109  __repr__ = _swig_repr
1110  def __init__(self, *args):
1111  """
1112  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1113  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1114  """
1115  this = _IMP_saxs.new_ProfileFitterChi(*args)
1116  try: self.this.append(this)
1117  except: self.this = this
1118  def compute_score(self, *args):
1119  """
1120  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1121  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> IMP::Float
1122  compute_score(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1123  compute_score(ProfileFitterChi self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1124  """
1125  return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1126 
1127  def fit_profile(self, *args):
1128  """
1129  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1130  float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1131  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1132  float max_c2=4.0, bool use_offset=False) -> FitParameters
1133  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1134  float max_c2=4.0) -> FitParameters
1135  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1136  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1137  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1138  fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1139  """
1140  return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1141 
1142  def compute_scale_factor(self, *args):
1143  """
1144  compute_scale_factor(ProfileFitterChi self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1145  compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1146  """
1147  return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, *args)
1148 
1149  def compute_offset(self, *args):
1150  """compute_offset(ProfileFitterChi self, Profile model_profile) -> IMP::Float"""
1151  return _IMP_saxs.ProfileFitterChi_compute_offset(self, *args)
1152 
1153  def resample(self, *args):
1154  """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1155  return _IMP_saxs.ProfileFitterChi_resample(self, *args)
1156 
1157  def write_SAXS_fit_file(self, *args):
1158  """
1159  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1160  IMP::Float const c=1, IMP::Float const offset=0)
1161  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1162  IMP::Float const c=1)
1163  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1164  """
1165  return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, *args)
1166 
1167  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1168  __del__ = lambda self : None;
1169 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1170 ProfileFitterChi_swigregister(ProfileFitterChi)
1171 
1172 class WeightedProfileFitter(ProfileFitterChi):
1173  """Proxy of C++ IMP::saxs::WeightedProfileFitter class"""
1174  __swig_setmethods__ = {}
1175  for _s in [ProfileFitterChi]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1176  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightedProfileFitter, name, value)
1177  __swig_getmethods__ = {}
1178  for _s in [ProfileFitterChi]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1179  __getattr__ = lambda self, name: _swig_getattr(self, WeightedProfileFitter, name)
1180  __repr__ = _swig_repr
1181  def __init__(self, *args):
1182  """__init__(IMP::saxs::WeightedProfileFitter self, Profile exp_profile) -> WeightedProfileFitter"""
1183  this = _IMP_saxs.new_WeightedProfileFitter(*args)
1184  try: self.this.append(this)
1185  except: self.this = this
1186  def compute_score(self, *args):
1187  """
1188  compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles, DistBase weights=) -> IMP::Float
1189  compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles) -> IMP::Float
1190  """
1191  return _IMP_saxs.WeightedProfileFitter_compute_score(self, *args)
1192 
1193  def fit_profile(self, *args):
1194  """
1195  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1196  float max_c2=4.0, std::string const fit_file_name="") -> WeightedFitParameters
1197  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1198  float max_c2=4.0) -> WeightedFitParameters
1199  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> WeightedFitParameters
1200  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05) -> WeightedFitParameters
1201  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95) -> WeightedFitParameters
1202  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1203  """
1204  return _IMP_saxs.WeightedProfileFitter_fit_profile(self, *args)
1205 
1206  def write_fit_file(self, *args):
1207  """write_fit_file(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)"""
1208  return _IMP_saxs.WeightedProfileFitter_write_fit_file(self, *args)
1209 
1210  __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitter
1211  __del__ = lambda self : None;
1212 WeightedProfileFitter_swigregister = _IMP_saxs.WeightedProfileFitter_swigregister
1213 WeightedProfileFitter_swigregister(WeightedProfileFitter)
1214 
1215 class DerivativeCalculator(IMP.base.Object):
1216  """Proxy of C++ IMP::saxs::DerivativeCalculator class"""
1217  __swig_setmethods__ = {}
1218  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1219  __setattr__ = lambda self, name, value: _swig_setattr(self, DerivativeCalculator, name, value)
1220  __swig_getmethods__ = {}
1221  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1222  __getattr__ = lambda self, name: _swig_getattr(self, DerivativeCalculator, name)
1223  __repr__ = _swig_repr
1224  def __init__(self, *args):
1225  """__init__(IMP::saxs::DerivativeCalculator self, Profile exp_profile) -> DerivativeCalculator"""
1226  this = _IMP_saxs.new_DerivativeCalculator(*args)
1227  try: self.this.append(this)
1228  except: self.this = this
1229  def compute_gaussian_effect_size(self, *args):
1230  """
1231  compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf, bool use_offset=False) -> DistBase
1232  compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf) -> DistBase
1233  """
1234  return _IMP_saxs.DerivativeCalculator_compute_gaussian_effect_size(self, *args)
1235 
1236  def compute_all_derivatives(self, *args):
1237  """
1238  compute_all_derivatives(DerivativeCalculator self, IMP::kernel::Particles const & particles, std::vector< IMP::kernel::Particles,std::allocator< IMP::kernel::Particles > > const & rigid_bodies,
1239  std::vector< IMP::core::RigidBody,std::allocator< IMP::core::RigidBody > > const & rigid_bodies_decorators,
1240  Profile model_profile,
1241  DistBase effect_size, DerivativeAccumulator acc)
1242  """
1243  return _IMP_saxs.DerivativeCalculator_compute_all_derivatives(self, *args)
1244 
1245  __swig_destroy__ = _IMP_saxs.delete_DerivativeCalculator
1246  __del__ = lambda self : None;
1247 DerivativeCalculator_swigregister = _IMP_saxs.DerivativeCalculator_swigregister
1248 DerivativeCalculator_swigregister(DerivativeCalculator)
1249 
1251  """Proxy of C++ IMP::saxs::Restraint class"""
1252  __swig_setmethods__ = {}
1253  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1254  __setattr__ = lambda self, name, value: _swig_setattr(self, Restraint, name, value)
1255  __swig_getmethods__ = {}
1256  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1257  __getattr__ = lambda self, name: _swig_getattr(self, Restraint, name)
1258  __repr__ = _swig_repr
1259  def __init__(self, *args):
1260  """
1261  __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> Restraint
1262  __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> Restraint
1263  """
1264  this = _IMP_saxs.new_Restraint(*args)
1265  try: self.this.append(this)
1266  except: self.this = this
1267  if self.__class__ != Restraint:
1268  import IMP.base
1269  IMP.base._director_objects.register(self)
1270 
1271 
1272 
1273  def do_get_inputs(self):
1274  """do_get_inputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
1275  return _IMP_saxs.Restraint_do_get_inputs(self)
1276 
1277  def get_version_info(self):
1278  """get_version_info(Restraint self) -> VersionInfo"""
1279  return _IMP_saxs.Restraint_get_version_info(self)
1280 
1281  __swig_destroy__ = _IMP_saxs.delete_Restraint
1282  __del__ = lambda self : None;
1283 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1284 Restraint_swigregister(Restraint)
1285 
1286 class RadiusOfGyrationRestraint(IMP.kernel.Restraint):
1287  """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1288  __swig_setmethods__ = {}
1289  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1290  __setattr__ = lambda self, name, value: _swig_setattr(self, RadiusOfGyrationRestraint, name, value)
1291  __swig_getmethods__ = {}
1292  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1293  __getattr__ = lambda self, name: _swig_getattr(self, RadiusOfGyrationRestraint, name)
1294  __repr__ = _swig_repr
1295  def __init__(self, *args):
1296  """
1297  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1298  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1299  """
1300  this = _IMP_saxs.new_RadiusOfGyrationRestraint(*args)
1301  try: self.this.append(this)
1302  except: self.this = this
1303  def do_get_inputs(self):
1304  """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1305  return _IMP_saxs.RadiusOfGyrationRestraint_do_get_inputs(self)
1306 
1307  def get_version_info(self):
1308  """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
1309  return _IMP_saxs.RadiusOfGyrationRestraint_get_version_info(self)
1310 
1311  __swig_destroy__ = _IMP_saxs.delete_RadiusOfGyrationRestraint
1312  __del__ = lambda self : None;
1313 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1314 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1315 
1316 class FloatDistribution(DistBase):
1317  """Proxy of C++ IMP::saxs::Distribution<(IMP::Float)> class"""
1318  __swig_setmethods__ = {}
1319  for _s in [DistBase]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1320  __setattr__ = lambda self, name, value: _swig_setattr(self, FloatDistribution, name, value)
1321  __swig_getmethods__ = {}
1322  for _s in [DistBase]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1323  __getattr__ = lambda self, name: _swig_getattr(self, FloatDistribution, name)
1324  __repr__ = _swig_repr
1325  def __init__(self, *args):
1326  """
1327  __init__(IMP::saxs::Distribution<(IMP::Float)> self, IMP::Float bin_size=pr_resolution) -> FloatDistribution
1328  __init__(IMP::saxs::Distribution<(IMP::Float)> self) -> FloatDistribution
1329  """
1330  this = _IMP_saxs.new_FloatDistribution(*args)
1331  try: self.this.append(this)
1332  except: self.this = this
1333  def get_max_distance(self):
1334  """get_max_distance(FloatDistribution self) -> IMP::Float"""
1335  return _IMP_saxs.FloatDistribution_get_max_distance(self)
1336 
1337  def get_bin_size(self):
1338  """get_bin_size(FloatDistribution self) -> IMP::Float"""
1339  return _IMP_saxs.FloatDistribution_get_bin_size(self)
1340 
1341  __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1342  __del__ = lambda self : None;
1343 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1344 FloatDistribution_swigregister(FloatDistribution)
1345 
1346 class VectorDistribution(_object):
1347  """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1348  __swig_setmethods__ = {}
1349  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorDistribution, name, value)
1350  __swig_getmethods__ = {}
1351  __getattr__ = lambda self, name: _swig_getattr(self, VectorDistribution, name)
1352  __repr__ = _swig_repr
1353  def __init__(self, *args):
1354  """
1355  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, IMP::Float bin_size=pr_resolution) -> VectorDistribution
1356  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1357  """
1358  this = _IMP_saxs.new_VectorDistribution(*args)
1359  try: self.this.append(this)
1360  except: self.this = this
1361  def get_max_distance(self):
1362  """get_max_distance(VectorDistribution self) -> IMP::Float"""
1363  return _IMP_saxs.VectorDistribution_get_max_distance(self)
1364 
1365  def get_bin_size(self):
1366  """get_bin_size(VectorDistribution self) -> IMP::Float"""
1367  return _IMP_saxs.VectorDistribution_get_bin_size(self)
1368 
1369  __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1370  __del__ = lambda self : None;
1371 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1372 VectorDistribution_swigregister(VectorDistribution)
1373 
1374 class RadialDistributionFunction(FloatDistribution):
1375  """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1376  __swig_setmethods__ = {}
1377  for _s in [FloatDistribution]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1378  __setattr__ = lambda self, name, value: _swig_setattr(self, RadialDistributionFunction, name, value)
1379  __swig_getmethods__ = {}
1380  for _s in [FloatDistribution]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1381  __getattr__ = lambda self, name: _swig_getattr(self, RadialDistributionFunction, name)
1382  __repr__ = _swig_repr
1383  def __init__(self, *args):
1384  """
1385  __init__(IMP::saxs::RadialDistributionFunction self, IMP::Float bin_size=pr_resolution) -> RadialDistributionFunction
1386  __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1387  __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1388  """
1389  this = _IMP_saxs.new_RadialDistributionFunction(*args)
1390  try: self.this.append(this)
1391  except: self.this = this
1392  def scale(self, *args):
1393  """scale(RadialDistributionFunction self, IMP::Float c)"""
1394  return _IMP_saxs.RadialDistributionFunction_scale(self, *args)
1395 
1396  def add(self, *args):
1397  """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1398  return _IMP_saxs.RadialDistributionFunction_add(self, *args)
1399 
1400  def show(self, *args):
1401  """
1402  show(RadialDistributionFunction self, _ostream out=std::cout)
1403  show(RadialDistributionFunction self)
1404  """
1405  return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1406 
1407  def R_factor_score(self, *args):
1408  """
1409  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1410  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1411  """
1412  return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1413 
1414  def fit(self, *args):
1415  """
1416  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1417  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1418  """
1419  return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1420 
1421  def normalize(self):
1422  """normalize(RadialDistributionFunction self)"""
1423  return _IMP_saxs.RadialDistributionFunction_normalize(self)
1424 
1425  __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1426  __del__ = lambda self : None;
1427 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1428 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1429 
1430 class DeltaDistributionFunction(VectorDistribution):
1431  """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1432  __swig_setmethods__ = {}
1433  for _s in [VectorDistribution]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1434  __setattr__ = lambda self, name, value: _swig_setattr(self, DeltaDistributionFunction, name, value)
1435  __swig_getmethods__ = {}
1436  for _s in [VectorDistribution]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1437  __getattr__ = lambda self, name: _swig_getattr(self, DeltaDistributionFunction, name)
1438  __repr__ = _swig_repr
1439  def __init__(self, *args):
1440  """
1441  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0, IMP::Float bin_size=pr_resolution) -> DeltaDistributionFunction
1442  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0) -> DeltaDistributionFunction
1443  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles) -> DeltaDistributionFunction
1444  """
1445  this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1446  try: self.this.append(this)
1447  except: self.this = this
1448  def calculate_derivative_distribution(self, *args):
1449  """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1450  return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, *args)
1451 
1452  def show(self, *args):
1453  """
1454  show(DeltaDistributionFunction self, _ostream out=std::cout, std::string prefix="")
1455  show(DeltaDistributionFunction self, _ostream out=std::cout)
1456  show(DeltaDistributionFunction self)
1457  """
1458  return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1459 
1460  __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1461  __del__ = lambda self : None;
1462 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1463 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1464 
1465 class SolventAccessibleSurface(_object):
1466  """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1467  __swig_setmethods__ = {}
1468  __setattr__ = lambda self, name, value: _swig_setattr(self, SolventAccessibleSurface, name, value)
1469  __swig_getmethods__ = {}
1470  __getattr__ = lambda self, name: _swig_getattr(self, SolventAccessibleSurface, name)
1471  __repr__ = _swig_repr
1472  def get_solvent_accessibility(self, *args):
1473  """
1474  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8, float density=5.0) -> IMP::Floats
1475  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8) -> IMP::Floats
1476  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Floats
1477  """
1478  return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, *args)
1479 
1480  def __init__(self):
1481  """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1482  this = _IMP_saxs.new_SolventAccessibleSurface()
1483  try: self.this.append(this)
1484  except: self.this = this
1485  __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1486  __del__ = lambda self : None;
1487 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1488 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1489 
1490 class ProfileFitterChiLog(IMP.base.Object):
1491  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1492  __swig_setmethods__ = {}
1493  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1494  __setattr__ = lambda self, name, value: _swig_setattr(self, ProfileFitterChiLog, name, value)
1495  __swig_getmethods__ = {}
1496  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1497  __getattr__ = lambda self, name: _swig_getattr(self, ProfileFitterChiLog, name)
1498  __repr__ = _swig_repr
1499  def __init__(self, *args):
1500  """
1501  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1502  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1503  """
1504  this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1505  try: self.this.append(this)
1506  except: self.this = this
1507  def compute_score(self, *args):
1508  """
1509  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1510  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> IMP::Float
1511  compute_score(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1512  compute_score(ProfileFitterChiLog self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1513  """
1514  return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1515 
1516  def fit_profile(self, *args):
1517  """
1518  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1519  float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1520  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1521  float max_c2=4.0, bool use_offset=False) -> FitParameters
1522  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1523  float max_c2=4.0) -> FitParameters
1524  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1525  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1526  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1527  fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1528  """
1529  return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1530 
1531  def compute_scale_factor(self, *args):
1532  """
1533  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1534  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1535  """
1536  return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, *args)
1537 
1538  def compute_offset(self, *args):
1539  """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float"""
1540  return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, *args)
1541 
1542  def resample(self, *args):
1543  """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
1544  return _IMP_saxs.ProfileFitterChiLog_resample(self, *args)
1545 
1546  def write_SAXS_fit_file(self, *args):
1547  """
1548  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1549  IMP::Float const c=1, IMP::Float const offset=0)
1550  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1551  IMP::Float const c=1)
1552  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1553  """
1554  return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, *args)
1555 
1556  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
1557  __del__ = lambda self : None;
1558 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
1559 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
1560 
1561 
1562 def get_module_version():
1563  """get_module_version() -> std::string const"""
1564  return _IMP_saxs.get_module_version()
1565 
1566 def get_example_path(*args):
1567  """get_example_path(std::string fname) -> std::string"""
1568  return _IMP_saxs.get_example_path(*args)
1569 
1570 def get_data_path(*args):
1571  """get_data_path(std::string fname) -> std::string"""
1572  return _IMP_saxs.get_data_path(*args)
1573 import _version_check
1574 _version_check.check_version(get_module_version())
1575 
1576 # This file is compatible with both classic and new-style classes.
1577 
1578 
FormFactorTable * default_form_factor_table()
See IMP.container for more information.
See IMP.cgal for more information.
Definition: cgal_config.h:107
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
Definition: base/Array.h:20
See IMP.score_functor for more information.
Definition: AddScores.h:14
double get_volume(const BoundingBoxD< D > &bb)
Definition: BoundingBoxD.h:147
std::string get_data_path(std::string file_name)
Return the full path to installed data.
See IMP.kernel for more information.
A restraint is a term in an IMP ScoringFunction.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Common base class for heavy weight IMP objects.
See IMP.core for more information.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Float radius_of_gyration(const kernel::Particles &particles)
compute radius_of_gyration
Definition: saxs/utility.h:74
See IMP.display for more information.
Definition: BildWriter.h:20
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
IMP::kernel::Restraint Restraint