IMP  2.1.0
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 class _Vector3Ds(_object):
506  """Proxy of C++ std::vector<(::IMP::algebra::Vector3D)> class"""
507  __swig_setmethods__ = {}
508  __setattr__ = lambda self, name, value: _swig_setattr(self, _Vector3Ds, name, value)
509  __swig_getmethods__ = {}
510  __getattr__ = lambda self, name: _swig_getattr(self, _Vector3Ds, name)
511  __repr__ = _swig_repr
512  def iterator(self):
513  """iterator(_Vector3Ds self) -> IMP_SAXS_SwigPyIterator"""
514  return _IMP_saxs._Vector3Ds_iterator(self)
515 
516  def __iter__(self): return self.iterator()
517  def __nonzero__(self):
518  """__nonzero__(_Vector3Ds self) -> bool"""
519  return _IMP_saxs._Vector3Ds___nonzero__(self)
520 
521  def __bool__(self):
522  """__bool__(_Vector3Ds self) -> bool"""
523  return _IMP_saxs._Vector3Ds___bool__(self)
524 
525  def __len__(self):
526  """__len__(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
527  return _IMP_saxs._Vector3Ds___len__(self)
528 
529  def pop(self):
530  """pop(_Vector3Ds self) -> Vector3D"""
531  return _IMP_saxs._Vector3Ds_pop(self)
532 
533  def __getslice__(self, *args):
534  """__getslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j) -> _Vector3Ds"""
535  return _IMP_saxs._Vector3Ds___getslice__(self, *args)
536 
537  def __setslice__(self, *args):
538  """
539  __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j,
540  _Vector3Ds v=std::vector< IMP::algebra::VectorD< 3 >,std::allocator< IMP::algebra::VectorD< 3 > > >())
541  __setslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)
542  """
543  return _IMP_saxs._Vector3Ds___setslice__(self, *args)
544 
545  def __delslice__(self, *args):
546  """__delslice__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, std::vector< IMP::algebra::VectorD< 3 > >::difference_type j)"""
547  return _IMP_saxs._Vector3Ds___delslice__(self, *args)
548 
549  def __delitem__(self, *args):
550  """
551  __delitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i)
552  __delitem__(_Vector3Ds self, PySliceObject * slice)
553  """
554  return _IMP_saxs._Vector3Ds___delitem__(self, *args)
555 
556  def __getitem__(self, *args):
557  """
558  __getitem__(_Vector3Ds self, PySliceObject * slice) -> _Vector3Ds
559  __getitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i) -> Vector3D
560  """
561  return _IMP_saxs._Vector3Ds___getitem__(self, *args)
562 
563  def __setitem__(self, *args):
564  """
565  __setitem__(_Vector3Ds self, PySliceObject * slice, _Vector3Ds v)
566  __setitem__(_Vector3Ds self, PySliceObject * slice)
567  __setitem__(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::difference_type i, Vector3D x)
568  """
569  return _IMP_saxs._Vector3Ds___setitem__(self, *args)
570 
571  def append(self, *args):
572  """append(_Vector3Ds self, Vector3D x)"""
573  return _IMP_saxs._Vector3Ds_append(self, *args)
574 
575  def empty(self):
576  """empty(_Vector3Ds self) -> bool"""
577  return _IMP_saxs._Vector3Ds_empty(self)
578 
579  def size(self):
580  """size(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
581  return _IMP_saxs._Vector3Ds_size(self)
582 
583  def clear(self):
584  """clear(_Vector3Ds self)"""
585  return _IMP_saxs._Vector3Ds_clear(self)
586 
587  def swap(self, *args):
588  """swap(_Vector3Ds self, _Vector3Ds v)"""
589  return _IMP_saxs._Vector3Ds_swap(self, *args)
590 
591  def get_allocator(self):
592  """get_allocator(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::allocator_type"""
593  return _IMP_saxs._Vector3Ds_get_allocator(self)
594 
595  def begin(self):
596  """begin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
597  return _IMP_saxs._Vector3Ds_begin(self)
598 
599  def end(self):
600  """end(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator"""
601  return _IMP_saxs._Vector3Ds_end(self)
602 
603  def rbegin(self):
604  """rbegin(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
605  return _IMP_saxs._Vector3Ds_rbegin(self)
606 
607  def rend(self):
608  """rend(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::reverse_iterator"""
609  return _IMP_saxs._Vector3Ds_rend(self)
610 
611  def pop_back(self):
612  """pop_back(_Vector3Ds self)"""
613  return _IMP_saxs._Vector3Ds_pop_back(self)
614 
615  def erase(self, *args):
616  """
617  erase(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
618  erase(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator first, std::vector< IMP::algebra::VectorD< 3 > >::iterator last) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
619  """
620  return _IMP_saxs._Vector3Ds_erase(self, *args)
621 
622  def __init__(self, *args):
623  """
624  __init__(std::vector<(::IMP::algebra::Vector3D)> self) -> _Vector3Ds
625  __init__(std::vector<(::IMP::algebra::Vector3D)> self, _Vector3Ds arg2) -> _Vector3Ds
626  __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size) -> _Vector3Ds
627  __init__(std::vector<(::IMP::algebra::Vector3D)> self, std::vector< IMP::algebra::VectorD< 3 > >::size_type size, Vector3D value) -> _Vector3Ds
628  """
629  this = _IMP_saxs.new__Vector3Ds(*args)
630  try: self.this.append(this)
631  except: self.this = this
632  def push_back(self, *args):
633  """push_back(_Vector3Ds self, Vector3D x)"""
634  return _IMP_saxs._Vector3Ds_push_back(self, *args)
635 
636  def front(self):
637  """front(_Vector3Ds self) -> Vector3D"""
638  return _IMP_saxs._Vector3Ds_front(self)
639 
640  def back(self):
641  """back(_Vector3Ds self) -> Vector3D"""
642  return _IMP_saxs._Vector3Ds_back(self)
643 
644  def assign(self, *args):
645  """assign(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n, Vector3D x)"""
646  return _IMP_saxs._Vector3Ds_assign(self, *args)
647 
648  def resize(self, *args):
649  """
650  resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size)
651  resize(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type new_size, Vector3D x)
652  """
653  return _IMP_saxs._Vector3Ds_resize(self, *args)
654 
655  def insert(self, *args):
656  """
657  insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, Vector3D x) -> std::vector< IMP::algebra::VectorD< 3 > >::iterator
658  insert(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::iterator pos, std::vector< IMP::algebra::VectorD< 3 > >::size_type n,
659  Vector3D x)
660  """
661  return _IMP_saxs._Vector3Ds_insert(self, *args)
662 
663  def reserve(self, *args):
664  """reserve(_Vector3Ds self, std::vector< IMP::algebra::VectorD< 3 > >::size_type n)"""
665  return _IMP_saxs._Vector3Ds_reserve(self, *args)
666 
667  def capacity(self):
668  """capacity(_Vector3Ds self) -> std::vector< IMP::algebra::VectorD< 3 > >::size_type"""
669  return _IMP_saxs._Vector3Ds_capacity(self)
670 
671  __swig_destroy__ = _IMP_saxs.delete__Vector3Ds
672  __del__ = lambda self : None;
673 _Vector3Ds_swigregister = _IMP_saxs._Vector3Ds_swigregister
674 _Vector3Ds_swigregister(_Vector3Ds)
675 
676 _object_types.append("Profile")
677 
678 
679 def _object_cast_to_Profile(*args):
680  """_object_cast_to_Profile(Object o) -> Profile"""
681  return _IMP_saxs._object_cast_to_Profile(*args)
682 ALL_ATOMS = _IMP_saxs.ALL_ATOMS
683 HEAVY_ATOMS = _IMP_saxs.HEAVY_ATOMS
684 CA_ATOMS = _IMP_saxs.CA_ATOMS
685 class FormFactorTable(_object):
686  """Proxy of C++ IMP::saxs::FormFactorTable class"""
687  __swig_setmethods__ = {}
688  __setattr__ = lambda self, name, value: _swig_setattr(self, FormFactorTable, name, value)
689  __swig_getmethods__ = {}
690  __getattr__ = lambda self, name: _swig_getattr(self, FormFactorTable, name)
691  __repr__ = _swig_repr
692  def __init__(self, *args):
693  """
694  __init__(IMP::saxs::FormFactorTable self) -> FormFactorTable
695  __init__(IMP::saxs::FormFactorTable self, IMP::String const & table_name, IMP::Float min_q, IMP::Float max_q, IMP::Float delta_q) -> FormFactorTable
696  """
697  this = _IMP_saxs.new_FormFactorTable(*args)
698  try: self.this.append(this)
699  except: self.this = this
700  def get_form_factor(self, *args):
701  """
702  get_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
703  get_form_factor(FormFactorTable self, Particle p) -> IMP::Float
704  """
705  return _IMP_saxs.FormFactorTable_get_form_factor(self, *args)
706 
707  def get_vacuum_form_factor(self, *args):
708  """
709  get_vacuum_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
710  get_vacuum_form_factor(FormFactorTable self, Particle p) -> IMP::Float
711  """
712  return _IMP_saxs.FormFactorTable_get_vacuum_form_factor(self, *args)
713 
714  def get_dummy_form_factor(self, *args):
715  """
716  get_dummy_form_factor(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
717  get_dummy_form_factor(FormFactorTable self, Particle p) -> IMP::Float
718  """
719  return _IMP_saxs.FormFactorTable_get_dummy_form_factor(self, *args)
720 
721  def get_water_form_factor(self):
722  """get_water_form_factor(FormFactorTable self) -> IMP::Float"""
723  return _IMP_saxs.FormFactorTable_get_water_form_factor(self)
724 
725  def get_vacuum_water_form_factor(self):
726  """get_vacuum_water_form_factor(FormFactorTable self) -> IMP::Float"""
727  return _IMP_saxs.FormFactorTable_get_vacuum_water_form_factor(self)
728 
729  def get_dummy_water_form_factor(self):
730  """get_dummy_water_form_factor(FormFactorTable self) -> IMP::Float"""
731  return _IMP_saxs.FormFactorTable_get_dummy_water_form_factor(self)
732 
733  def get_form_factors(self, *args):
734  """
735  get_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
736  get_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
737  """
738  return _IMP_saxs.FormFactorTable_get_form_factors(self, *args)
739 
740  def get_vacuum_form_factors(self, *args):
741  """
742  get_vacuum_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
743  get_vacuum_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
744  """
745  return _IMP_saxs.FormFactorTable_get_vacuum_form_factors(self, *args)
746 
747  def get_dummy_form_factors(self, *args):
748  """
749  get_dummy_form_factors(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Floats const
750  get_dummy_form_factors(FormFactorTable self, Particle p) -> IMP::Floats const &
751  """
752  return _IMP_saxs.FormFactorTable_get_dummy_form_factors(self, *args)
753 
754  def get_water_form_factors(self):
755  """get_water_form_factors(FormFactorTable self) -> IMP::Floats const &"""
756  return _IMP_saxs.FormFactorTable_get_water_form_factors(self)
757 
758  def get_water_vacuum_form_factors(self):
759  """get_water_vacuum_form_factors(FormFactorTable self) -> IMP::Floats const &"""
760  return _IMP_saxs.FormFactorTable_get_water_vacuum_form_factors(self)
761 
762  def get_water_dummy_form_factors(self):
763  """get_water_dummy_form_factors(FormFactorTable self) -> IMP::Floats const &"""
764  return _IMP_saxs.FormFactorTable_get_water_dummy_form_factors(self)
765 
766  def get_radius(self, *args):
767  """
768  get_radius(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
769  get_radius(FormFactorTable self, Particle p) -> IMP::Float
770  """
771  return _IMP_saxs.FormFactorTable_get_radius(self, *args)
772 
773  def get_volume(self, *args):
774  """
775  get_volume(FormFactorTable self, Particle p, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
776  get_volume(FormFactorTable self, Particle p) -> IMP::Float
777  """
778  return _IMP_saxs.FormFactorTable_get_volume(self, *args)
779 
780  def show(self, *args):
781  """
782  show(FormFactorTable self, _ostream out=std::cout, std::string prefix="")
783  show(FormFactorTable self, _ostream out=std::cout)
784  show(FormFactorTable self)
785  """
786  return _IMP_saxs.FormFactorTable_show(self, *args)
787 
788  __swig_setmethods__["rho_"] = _IMP_saxs.FormFactorTable_rho__set
789  __swig_getmethods__["rho_"] = _IMP_saxs.FormFactorTable_rho__get
790  if _newclass:rho_ = _swig_property(_IMP_saxs.FormFactorTable_rho__get, _IMP_saxs.FormFactorTable_rho__set)
791  __swig_destroy__ = _IMP_saxs.delete_FormFactorTable
792  __del__ = lambda self : None;
793 FormFactorTable_swigregister = _IMP_saxs.FormFactorTable_swigregister
794 FormFactorTable_swigregister(FormFactorTable)
795 cvar = _IMP_saxs.cvar
796 
797 
799  """default_form_factor_table() -> FormFactorTable"""
800  return _IMP_saxs.default_form_factor_table()
801 class Profile(IMP.base.Object):
802  """Proxy of C++ IMP::saxs::Profile class"""
803  __swig_setmethods__ = {}
804  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
805  __setattr__ = lambda self, name, value: _swig_setattr(self, Profile, name, value)
806  __swig_getmethods__ = {}
807  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
808  __getattr__ = lambda self, name: _swig_getattr(self, Profile, name)
809  def __init__(self, *args):
810  """
811  __init__(IMP::saxs::Profile self, IMP::String const & file_name, bool fit_file=False) -> Profile
812  __init__(IMP::saxs::Profile self, IMP::String const & file_name) -> Profile
813  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5, IMP::Float delta=0.005) -> Profile
814  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0, IMP::Float qmax=0.5) -> Profile
815  __init__(IMP::saxs::Profile self, IMP::Float qmin=0.0) -> Profile
816  __init__(IMP::saxs::Profile self) -> Profile
817  """
818  this = _IMP_saxs.new_Profile(*args)
819  try: self.this.append(this)
820  except: self.this = this
821  def get_version_info(self):
822  """get_version_info(Profile self) -> VersionInfo"""
823  return _IMP_saxs.Profile_get_version_info(self)
824 
825  __swig_destroy__ = _IMP_saxs.delete_Profile
826  __del__ = lambda self : None;
827  def calculate_profile_partial(self, *args):
828  """
829  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
830  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
831  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
832  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles)
833  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
834  IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats(),
835  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
836  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
837  IMP::Floats const & surface1=IMP::Floats(), IMP::Floats const & surface2=IMP::Floats())
838  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
839  IMP::Floats const & surface1=IMP::Floats())
840  calculate_profile_partial(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
841  """
842  return _IMP_saxs.Profile_calculate_profile_partial(self, *args)
843 
844  def calculate_profile_reciprocal_partial(self, *args):
845  """
846  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats(),
847  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
848  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles, IMP::Floats const & surface=IMP::Floats())
849  calculate_profile_reciprocal_partial(Profile self, IMP::kernel::Particles const & particles)
850  """
851  return _IMP_saxs.Profile_calculate_profile_reciprocal_partial(self, *args)
852 
853  def calculate_profile(self, *args):
854  """
855  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
856  bool reciprocal=False, bool variance=False, double variance_tau=0.1)
857  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
858  bool reciprocal=False, bool variance=False)
859  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS,
860  bool reciprocal=False)
861  calculate_profile(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
862  calculate_profile(Profile self, IMP::kernel::Particles const & particles)
863  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
864  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False, double variance_tau=0.1)
865  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
866  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS, bool variance=False)
867  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2,
868  IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
869  calculate_profile(Profile self, IMP::kernel::Particles const & particles1, IMP::kernel::Particles const & particles2)
870  """
871  return _IMP_saxs.Profile_calculate_profile(self, *args)
872 
873  def calculate_I0(self, *args):
874  """
875  calculate_I0(Profile self, IMP::kernel::Particles const & particles, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> IMP::Float
876  calculate_I0(Profile self, IMP::kernel::Particles const & particles) -> IMP::Float
877  """
878  return _IMP_saxs.Profile_calculate_I0(self, *args)
879 
880  def calculate_profile_constant_form_factor(self, *args):
881  """
882  calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles, IMP::Float form_factor=1.0)
883  calculate_profile_constant_form_factor(Profile self, IMP::kernel::Particles const & particles)
884  """
885  return _IMP_saxs.Profile_calculate_profile_constant_form_factor(self, *args)
886 
887  def calculate_profile_symmetric(self, *args):
888  """
889  calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS)
890  calculate_profile_symmetric(Profile self, IMP::kernel::Particles const & particles, unsigned int n)
891  """
892  return _IMP_saxs.Profile_calculate_profile_symmetric(self, *args)
893 
894  def profile_2_distribution(self, *args):
895  """profile_2_distribution(Profile self, RadialDistributionFunction rd, IMP::Float max_distance)"""
896  return _IMP_saxs.Profile_profile_2_distribution(self, *args)
897 
898  def distribution_2_profile(self, *args):
899  """distribution_2_profile(Profile self, RadialDistributionFunction r_dist)"""
900  return _IMP_saxs.Profile_distribution_2_profile(self, *args)
901 
902  def resample(self, *args):
903  """
904  resample(Profile self, Profile exp_profile, Profile resampled_profile, bool partial_profiles=False)
905  resample(Profile self, Profile exp_profile, Profile resampled_profile)
906  """
907  return _IMP_saxs.Profile_resample(self, *args)
908 
909  def downsample(self, *args):
910  """downsample(Profile self, Profile downsampled_profile, unsigned int point_number)"""
911  return _IMP_saxs.Profile_downsample(self, *args)
912 
913  def radius_of_gyration(self, end_q_rg=1.3):
914  """
915  radius_of_gyration(Profile self, double end_q_rg=1.3) -> double
916  radius_of_gyration(Profile self) -> double
917  """
918  return _IMP_saxs.Profile_radius_of_gyration(self, end_q_rg)
919 
920  def read_SAXS_file(self, *args):
921  """
922  read_SAXS_file(Profile self, IMP::String const & file_name, bool fit_file=False)
923  read_SAXS_file(Profile self, IMP::String const & file_name)
924  """
925  return _IMP_saxs.Profile_read_SAXS_file(self, *args)
926 
927  def write_SAXS_file(self, *args):
928  """
929  write_SAXS_file(Profile self, IMP::String const & file_name, IMP::Float max_q=0.0)
930  write_SAXS_file(Profile self, IMP::String const & file_name)
931  """
932  return _IMP_saxs.Profile_write_SAXS_file(self, *args)
933 
934  def read_partial_profiles(self, *args):
935  """read_partial_profiles(Profile self, IMP::String const & file_name)"""
936  return _IMP_saxs.Profile_read_partial_profiles(self, *args)
937 
938  def write_partial_profiles(self, *args):
939  """write_partial_profiles(Profile self, IMP::String const & file_name)"""
940  return _IMP_saxs.Profile_write_partial_profiles(self, *args)
941 
942  def get_delta_q(self):
943  """get_delta_q(Profile self) -> IMP::Float"""
944  return _IMP_saxs.Profile_get_delta_q(self)
945 
946  def get_min_q(self):
947  """get_min_q(Profile self) -> IMP::Float"""
948  return _IMP_saxs.Profile_get_min_q(self)
949 
950  def get_max_q(self):
951  """get_max_q(Profile self) -> IMP::Float"""
952  return _IMP_saxs.Profile_get_max_q(self)
953 
954  def get_intensity(self, *args):
955  """get_intensity(Profile self, unsigned int i) -> IMP::Float"""
956  return _IMP_saxs.Profile_get_intensity(self, *args)
957 
958  def get_q(self, *args):
959  """get_q(Profile self, unsigned int i) -> IMP::Float"""
960  return _IMP_saxs.Profile_get_q(self, *args)
961 
962  def get_error(self, *args):
963  """get_error(Profile self, unsigned int i) -> IMP::Float"""
964  return _IMP_saxs.Profile_get_error(self, *args)
965 
966  def get_weight(self, *args):
967  """get_weight(Profile self, unsigned int i) -> IMP::Float"""
968  return _IMP_saxs.Profile_get_weight(self, *args)
969 
970  def get_variance(self, *args):
971  """get_variance(Profile self, unsigned int i, unsigned int j) -> IMP::Float"""
972  return _IMP_saxs.Profile_get_variance(self, *args)
973 
974  def get_average_radius(self):
975  """get_average_radius(Profile self) -> IMP::Float"""
976  return _IMP_saxs.Profile_get_average_radius(self)
977 
978  def size(self):
979  """size(Profile self) -> unsigned int"""
980  return _IMP_saxs.Profile_size(self)
981 
982  def is_uniform_sampling(self):
983  """is_uniform_sampling(Profile self) -> bool"""
984  return _IMP_saxs.Profile_is_uniform_sampling(self)
985 
986  def get_name(self):
987  """get_name(Profile self) -> std::string"""
988  return _IMP_saxs.Profile_get_name(self)
989 
990  def get_id(self):
991  """get_id(Profile self) -> unsigned int"""
992  return _IMP_saxs.Profile_get_id(self)
993 
994  def set_intensity(self, *args):
995  """set_intensity(Profile self, unsigned int i, IMP::Float iq)"""
996  return _IMP_saxs.Profile_set_intensity(self, *args)
997 
998  def set_ff_table(self, *args):
999  """set_ff_table(Profile self, FormFactorTable ff_table)"""
1000  return _IMP_saxs.Profile_set_ff_table(self, *args)
1001 
1002  def set_average_radius(self, *args):
1003  """set_average_radius(Profile self, IMP::Float r)"""
1004  return _IMP_saxs.Profile_set_average_radius(self, *args)
1005 
1006  def set_average_volume(self, *args):
1007  """set_average_volume(Profile self, IMP::Float v)"""
1008  return _IMP_saxs.Profile_set_average_volume(self, *args)
1009 
1010  def set_name(self, *args):
1011  """set_name(Profile self, std::string name)"""
1012  return _IMP_saxs.Profile_set_name(self, *args)
1013 
1014  def set_id(self, *args):
1015  """set_id(Profile self, unsigned int id)"""
1016  return _IMP_saxs.Profile_set_id(self, *args)
1017 
1018  def add_entry(self, *args):
1019  """
1020  add_entry(Profile self, IMP::Float q, IMP::Float intensity, IMP::Float error=1.0)
1021  add_entry(Profile self, IMP::Float q, IMP::Float intensity)
1022  """
1023  return _IMP_saxs.Profile_add_entry(self, *args)
1024 
1025  def add_errors(self):
1026  """add_errors(Profile self)"""
1027  return _IMP_saxs.Profile_add_errors(self)
1028 
1029  def add_noise(self, percentage=0.03):
1030  """
1031  add_noise(Profile self, IMP::Float percentage=0.03)
1032  add_noise(Profile self)
1033  """
1034  return _IMP_saxs.Profile_add_noise(self, percentage)
1035 
1036  def sum_partial_profiles(self, *args):
1037  """sum_partial_profiles(Profile self, IMP::Float c1, IMP::Float c2)"""
1038  return _IMP_saxs.Profile_sum_partial_profiles(self, *args)
1039 
1040  def add(self, *args):
1041  """
1042  add(Profile self, Profile other_profile, IMP::Float weight=1.0)
1043  add(Profile self, Profile other_profile)
1044  add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
1045  DistBase weights=std::vector< IMP::Float >())
1046  add(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
1047  """
1048  return _IMP_saxs.Profile_add(self, *args)
1049 
1050  def add_partial_profiles(self, *args):
1051  """
1052  add_partial_profiles(Profile self, Profile other_profile, IMP::Float weight=1.0)
1053  add_partial_profiles(Profile self, Profile other_profile)
1054  add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles,
1055  DistBase weights=std::vector< IMP::Float >())
1056  add_partial_profiles(Profile self, std::vector< IMP::saxs::Profile *,std::allocator< IMP::saxs::Profile * > > const & profiles)
1057  """
1058  return _IMP_saxs.Profile_add_partial_profiles(self, *args)
1059 
1060  def background_adjust(self, *args):
1061  """background_adjust(Profile self, double start_q)"""
1062  return _IMP_saxs.Profile_background_adjust(self, *args)
1063 
1064  def scale(self, *args):
1065  """scale(Profile self, IMP::Float c)"""
1066  return _IMP_saxs.Profile_scale(self, *args)
1067 
1068  def offset(self, *args):
1069  """offset(Profile self, IMP::Float c)"""
1070  return _IMP_saxs.Profile_offset(self, *args)
1071 
1072  def copy_errors(self, *args):
1073  """copy_errors(Profile self, Profile exp_profile)"""
1074  return _IMP_saxs.Profile_copy_errors(self, *args)
1075 
1076  def __str__(self):
1077  """__str__(Profile self) -> std::string"""
1078  return _IMP_saxs.Profile___str__(self)
1079 
1080  def __repr__(self):
1081  """__repr__(Profile self) -> std::string"""
1082  return _IMP_saxs.Profile___repr__(self)
1083 
1084  def get_from(o):
1085  return _object_cast_to_Profile(o)
1086  get_from = staticmethod(get_from)
1087 
1088 Profile_swigregister = _IMP_saxs.Profile_swigregister
1089 Profile_swigregister(Profile)
1090 Profile.modulation_function_parameter_ = _IMP_saxs.cvar.Profile_modulation_function_parameter_
1091 
1092 class FitParameters(_object):
1093  """Proxy of C++ IMP::saxs::FitParameters class"""
1094  __swig_setmethods__ = {}
1095  __setattr__ = lambda self, name, value: _swig_setattr(self, FitParameters, name, value)
1096  __swig_getmethods__ = {}
1097  __getattr__ = lambda self, name: _swig_getattr(self, FitParameters, name)
1098  __repr__ = _swig_repr
1099  def __init__(self, *args):
1100  """
1101  __init__(IMP::saxs::FitParameters self) -> FitParameters
1102  __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2, float c, float o) -> FitParameters
1103  __init__(IMP::saxs::FitParameters self, float chi, float c1, float c2) -> FitParameters
1104  """
1105  this = _IMP_saxs.new_FitParameters(*args)
1106  try: self.this.append(this)
1107  except: self.this = this
1108  def get_chi(self):
1109  """get_chi(FitParameters self) -> float"""
1110  return _IMP_saxs.FitParameters_get_chi(self)
1111 
1112  def get_c1(self):
1113  """get_c1(FitParameters self) -> float"""
1114  return _IMP_saxs.FitParameters_get_c1(self)
1115 
1116  def get_c2(self):
1117  """get_c2(FitParameters self) -> float"""
1118  return _IMP_saxs.FitParameters_get_c2(self)
1119 
1120  def get_scale(self):
1121  """get_scale(FitParameters self) -> float"""
1122  return _IMP_saxs.FitParameters_get_scale(self)
1123 
1124  def get_offset(self):
1125  """get_offset(FitParameters self) -> float"""
1126  return _IMP_saxs.FitParameters_get_offset(self)
1127 
1128  def get_default_chi(self):
1129  """get_default_chi(FitParameters self) -> float"""
1130  return _IMP_saxs.FitParameters_get_default_chi(self)
1131 
1132  def get_pdb_file_name(self):
1133  """get_pdb_file_name(FitParameters self) -> std::string"""
1134  return _IMP_saxs.FitParameters_get_pdb_file_name(self)
1135 
1136  def get_profile_file_name(self):
1137  """get_profile_file_name(FitParameters self) -> std::string"""
1138  return _IMP_saxs.FitParameters_get_profile_file_name(self)
1139 
1140  def get_mol_index(self):
1141  """get_mol_index(FitParameters self) -> int"""
1142  return _IMP_saxs.FitParameters_get_mol_index(self)
1143 
1144  def set_chi(self, *args):
1145  """set_chi(FitParameters self, float chi)"""
1146  return _IMP_saxs.FitParameters_set_chi(self, *args)
1147 
1148  def set_default_chi(self, *args):
1149  """set_default_chi(FitParameters self, float chi)"""
1150  return _IMP_saxs.FitParameters_set_default_chi(self, *args)
1151 
1152  def set_profile_file_name(self, *args):
1153  """set_profile_file_name(FitParameters self, std::string file_name)"""
1154  return _IMP_saxs.FitParameters_set_profile_file_name(self, *args)
1155 
1156  def set_pdb_file_name(self, *args):
1157  """set_pdb_file_name(FitParameters self, std::string file_name)"""
1158  return _IMP_saxs.FitParameters_set_pdb_file_name(self, *args)
1159 
1160  def set_mol_index(self, *args):
1161  """set_mol_index(FitParameters self, int index)"""
1162  return _IMP_saxs.FitParameters_set_mol_index(self, *args)
1163 
1164  def show(self, *args):
1165  """show(FitParameters self, _ostream s)"""
1166  return _IMP_saxs.FitParameters_show(self, *args)
1167 
1168  __swig_destroy__ = _IMP_saxs.delete_FitParameters
1169  __del__ = lambda self : None;
1170 FitParameters_swigregister = _IMP_saxs.FitParameters_swigregister
1171 FitParameters_swigregister(FitParameters)
1172 
1173 class WeightedFitParameters(FitParameters):
1174  """Proxy of C++ IMP::saxs::WeightedFitParameters class"""
1175  __swig_setmethods__ = {}
1176  for _s in [FitParameters]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1177  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightedFitParameters, name, value)
1178  __swig_getmethods__ = {}
1179  for _s in [FitParameters]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1180  __getattr__ = lambda self, name: _swig_getattr(self, WeightedFitParameters, name)
1181  __repr__ = _swig_repr
1182  def __init__(self, *args):
1183  """__init__(IMP::saxs::WeightedFitParameters self, float chi, float c1, float c2, IMP::Floats weights) -> WeightedFitParameters"""
1184  this = _IMP_saxs.new_WeightedFitParameters(*args)
1185  try: self.this.append(this)
1186  except: self.this = this
1187  def get_weights(self):
1188  """get_weights(WeightedFitParameters self) -> IMP::Floats const &"""
1189  return _IMP_saxs.WeightedFitParameters_get_weights(self)
1190 
1191  def show(self, *args):
1192  """show(WeightedFitParameters self, _ostream s)"""
1193  return _IMP_saxs.WeightedFitParameters_show(self, *args)
1194 
1195  __swig_destroy__ = _IMP_saxs.delete_WeightedFitParameters
1196  __del__ = lambda self : None;
1197 WeightedFitParameters_swigregister = _IMP_saxs.WeightedFitParameters_swigregister
1198 WeightedFitParameters_swigregister(WeightedFitParameters)
1199 
1200 class ChiScore(_object):
1201  """Proxy of C++ IMP::saxs::ChiScore class"""
1202  __swig_setmethods__ = {}
1203  __setattr__ = lambda self, name, value: _swig_setattr(self, ChiScore, name, value)
1204  __swig_getmethods__ = {}
1205  __getattr__ = lambda self, name: _swig_getattr(self, ChiScore, name)
1206  __repr__ = _swig_repr
1207  def compute_score(self, *args):
1208  """
1209  compute_score(ChiScore self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1210  compute_score(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1211  compute_score(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1212  """
1213  return _IMP_saxs.ChiScore_compute_score(self, *args)
1214 
1215  def compute_scale_factor(self, *args):
1216  """
1217  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1218  compute_scale_factor(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float
1219  """
1220  return _IMP_saxs.ChiScore_compute_scale_factor(self, *args)
1221 
1222  def compute_offset(self, *args):
1223  """compute_offset(ChiScore self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1224  return _IMP_saxs.ChiScore_compute_offset(self, *args)
1225 
1226  def __init__(self):
1227  """__init__(IMP::saxs::ChiScore self) -> ChiScore"""
1228  this = _IMP_saxs.new_ChiScore()
1229  try: self.this.append(this)
1230  except: self.this = this
1231  __swig_destroy__ = _IMP_saxs.delete_ChiScore
1232  __del__ = lambda self : None;
1233 ChiScore_swigregister = _IMP_saxs.ChiScore_swigregister
1234 ChiScore_swigregister(ChiScore)
1235 
1236 class ChiScoreLog(_object):
1237  """Proxy of C++ IMP::saxs::ChiScoreLog class"""
1238  __swig_setmethods__ = {}
1239  __setattr__ = lambda self, name, value: _swig_setattr(self, ChiScoreLog, name, value)
1240  __swig_getmethods__ = {}
1241  __getattr__ = lambda self, name: _swig_getattr(self, ChiScoreLog, name)
1242  __repr__ = _swig_repr
1243  def compute_score(self, *args):
1244  """
1245  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, bool use_offset=False) -> IMP::Float
1246  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1247  compute_score(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1248  """
1249  return _IMP_saxs.ChiScoreLog_compute_score(self, *args)
1250 
1251  def compute_scale_factor(self, *args):
1252  """
1253  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1254  compute_scale_factor(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float
1255  """
1256  return _IMP_saxs.ChiScoreLog_compute_scale_factor(self, *args)
1257 
1258  def compute_offset(self, *args):
1259  """compute_offset(ChiScoreLog self, Profile exp_profile, Profile model_profile) -> IMP::Float"""
1260  return _IMP_saxs.ChiScoreLog_compute_offset(self, *args)
1261 
1262  def __init__(self):
1263  """__init__(IMP::saxs::ChiScoreLog self) -> ChiScoreLog"""
1264  this = _IMP_saxs.new_ChiScoreLog()
1265  try: self.this.append(this)
1266  except: self.this = this
1267  __swig_destroy__ = _IMP_saxs.delete_ChiScoreLog
1268  __del__ = lambda self : None;
1269 ChiScoreLog_swigregister = _IMP_saxs.ChiScoreLog_swigregister
1270 ChiScoreLog_swigregister(ChiScoreLog)
1271 
1272 class ProfileFitterChi(IMP.base.Object):
1273  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> class"""
1274  __swig_setmethods__ = {}
1275  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1276  __setattr__ = lambda self, name, value: _swig_setattr(self, ProfileFitterChi, name, value)
1277  __swig_getmethods__ = {}
1278  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1279  __getattr__ = lambda self, name: _swig_getattr(self, ProfileFitterChi, name)
1280  __repr__ = _swig_repr
1281  def __init__(self, *args):
1282  """
1283  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile) -> ProfileFitterChi
1284  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScore)> self, Profile exp_profile, ChiScore sf) -> ProfileFitterChi
1285  """
1286  this = _IMP_saxs.new_ProfileFitterChi(*args)
1287  try: self.this.append(this)
1288  except: self.this = this
1289  def compute_score(self, *args):
1290  """
1291  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1292  compute_score(ProfileFitterChi self, Profile model_profile, bool use_offset=False) -> IMP::Float
1293  compute_score(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1294  compute_score(ProfileFitterChi self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1295  """
1296  return _IMP_saxs.ProfileFitterChi_compute_score(self, *args)
1297 
1298  def fit_profile(self, *args):
1299  """
1300  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1301  float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1302  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1303  float max_c2=4.0, bool use_offset=False) -> FitParameters
1304  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1305  float max_c2=4.0) -> FitParameters
1306  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1307  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1308  fit_profile(ProfileFitterChi self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1309  fit_profile(ProfileFitterChi self, Profile partial_profile) -> FitParameters
1310  """
1311  return _IMP_saxs.ProfileFitterChi_fit_profile(self, *args)
1312 
1313  def compute_scale_factor(self, *args):
1314  """
1315  compute_scale_factor(ProfileFitterChi self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1316  compute_scale_factor(ProfileFitterChi self, Profile model_profile) -> IMP::Float
1317  """
1318  return _IMP_saxs.ProfileFitterChi_compute_scale_factor(self, *args)
1319 
1320  def compute_offset(self, *args):
1321  """compute_offset(ProfileFitterChi self, Profile model_profile) -> IMP::Float"""
1322  return _IMP_saxs.ProfileFitterChi_compute_offset(self, *args)
1323 
1324  def resample(self, *args):
1325  """resample(ProfileFitterChi self, Profile model_profile, Profile resampled_profile)"""
1326  return _IMP_saxs.ProfileFitterChi_resample(self, *args)
1327 
1328  def write_SAXS_fit_file(self, *args):
1329  """
1330  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1331  IMP::Float const c=1, IMP::Float const offset=0)
1332  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1333  IMP::Float const c=1)
1334  write_SAXS_fit_file(ProfileFitterChi self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1335  """
1336  return _IMP_saxs.ProfileFitterChi_write_SAXS_fit_file(self, *args)
1337 
1338  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChi
1339  __del__ = lambda self : None;
1340 ProfileFitterChi_swigregister = _IMP_saxs.ProfileFitterChi_swigregister
1341 ProfileFitterChi_swigregister(ProfileFitterChi)
1342 
1343 class WeightedProfileFitter(ProfileFitterChi):
1344  """Proxy of C++ IMP::saxs::WeightedProfileFitter class"""
1345  __swig_setmethods__ = {}
1346  for _s in [ProfileFitterChi]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1347  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightedProfileFitter, name, value)
1348  __swig_getmethods__ = {}
1349  for _s in [ProfileFitterChi]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1350  __getattr__ = lambda self, name: _swig_getattr(self, WeightedProfileFitter, name)
1351  __repr__ = _swig_repr
1352  def __init__(self, *args):
1353  """__init__(IMP::saxs::WeightedProfileFitter self, Profile exp_profile) -> WeightedProfileFitter"""
1354  this = _IMP_saxs.new_WeightedProfileFitter(*args)
1355  try: self.this.append(this)
1356  except: self.this = this
1357  def compute_score(self, *args):
1358  """
1359  compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles, DistBase weights=) -> IMP::Float
1360  compute_score(WeightedProfileFitter self, IMP::saxs::ProfilesTemp const & profiles) -> IMP::Float
1361  """
1362  return _IMP_saxs.WeightedProfileFitter_compute_score(self, *args)
1363 
1364  def fit_profile(self, *args):
1365  """
1366  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1367  float max_c2=4.0, std::string const fit_file_name="") -> WeightedFitParameters
1368  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1369  float max_c2=4.0) -> WeightedFitParameters
1370  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
1371  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95, float max_c1=1.05) -> WeightedFitParameters
1372  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, float min_c1=0.95) -> WeightedFitParameters
1373  fit_profile(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles) -> WeightedFitParameters
1374  """
1375  return _IMP_saxs.WeightedProfileFitter_fit_profile(self, *args)
1376 
1377  def write_fit_file(self, *args):
1378  """write_fit_file(WeightedProfileFitter self, IMP::saxs::ProfilesTemp partial_profiles, WeightedFitParameters fp, std::string const fit_file_name)"""
1379  return _IMP_saxs.WeightedProfileFitter_write_fit_file(self, *args)
1380 
1381  __swig_destroy__ = _IMP_saxs.delete_WeightedProfileFitter
1382  __del__ = lambda self : None;
1383 WeightedProfileFitter_swigregister = _IMP_saxs.WeightedProfileFitter_swigregister
1384 WeightedProfileFitter_swigregister(WeightedProfileFitter)
1385 
1386 class DerivativeCalculator(IMP.base.Object):
1387  """Proxy of C++ IMP::saxs::DerivativeCalculator class"""
1388  __swig_setmethods__ = {}
1389  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1390  __setattr__ = lambda self, name, value: _swig_setattr(self, DerivativeCalculator, name, value)
1391  __swig_getmethods__ = {}
1392  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1393  __getattr__ = lambda self, name: _swig_getattr(self, DerivativeCalculator, name)
1394  __repr__ = _swig_repr
1395  def __init__(self, *args):
1396  """__init__(IMP::saxs::DerivativeCalculator self, Profile exp_profile) -> DerivativeCalculator"""
1397  this = _IMP_saxs.new_DerivativeCalculator(*args)
1398  try: self.this.append(this)
1399  except: self.this = this
1400  def compute_gaussian_effect_size(self, *args):
1401  """
1402  compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf, bool use_offset=False) -> DistBase
1403  compute_gaussian_effect_size(DerivativeCalculator self, Profile model_profile, ProfileFitterChi pf) -> DistBase
1404  """
1405  return _IMP_saxs.DerivativeCalculator_compute_gaussian_effect_size(self, *args)
1406 
1407  def compute_all_derivatives(self, *args):
1408  """
1409  compute_all_derivatives(DerivativeCalculator self, IMP::kernel::Particles const & particles, std::vector< IMP::kernel::Particles,std::allocator< IMP::kernel::Particles > > const & rigid_bodies,
1410  std::vector< IMP::core::RigidBody,std::allocator< IMP::core::RigidBody > > const & rigid_bodies_decorators,
1411  Profile model_profile,
1412  DistBase effect_size, DerivativeAccumulator acc)
1413  """
1414  return _IMP_saxs.DerivativeCalculator_compute_all_derivatives(self, *args)
1415 
1416  __swig_destroy__ = _IMP_saxs.delete_DerivativeCalculator
1417  __del__ = lambda self : None;
1418 DerivativeCalculator_swigregister = _IMP_saxs.DerivativeCalculator_swigregister
1419 DerivativeCalculator_swigregister(DerivativeCalculator)
1420 
1422  """Proxy of C++ IMP::saxs::Restraint class"""
1423  __swig_setmethods__ = {}
1424  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1425  __setattr__ = lambda self, name, value: _swig_setattr(self, Restraint, name, value)
1426  __swig_getmethods__ = {}
1427  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1428  __getattr__ = lambda self, name: _swig_getattr(self, Restraint, name)
1429  __repr__ = _swig_repr
1430  def __init__(self, *args):
1431  """
1432  __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile, IMP::saxs::FormFactorType ff_type=HEAVY_ATOMS) -> Restraint
1433  __init__(IMP::saxs::Restraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> Restraint
1434  """
1435  this = _IMP_saxs.new_Restraint(*args)
1436  try: self.this.append(this)
1437  except: self.this = this
1438  if self.__class__ != Restraint:
1439  import IMP.base
1440  IMP.base._director_objects.register(self)
1441 
1442 
1443 
1444  def do_get_inputs(self):
1445  """do_get_inputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
1446  return _IMP_saxs.Restraint_do_get_inputs(self)
1447 
1448  def get_version_info(self):
1449  """get_version_info(Restraint self) -> VersionInfo"""
1450  return _IMP_saxs.Restraint_get_version_info(self)
1451 
1452  __swig_destroy__ = _IMP_saxs.delete_Restraint
1453  __del__ = lambda self : None;
1454 Restraint_swigregister = _IMP_saxs.Restraint_swigregister
1455 Restraint_swigregister(Restraint)
1456 
1457 class RadiusOfGyrationRestraint(IMP.kernel.Restraint):
1458  """Proxy of C++ IMP::saxs::RadiusOfGyrationRestraint class"""
1459  __swig_setmethods__ = {}
1460  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1461  __setattr__ = lambda self, name, value: _swig_setattr(self, RadiusOfGyrationRestraint, name, value)
1462  __swig_getmethods__ = {}
1463  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1464  __getattr__ = lambda self, name: _swig_getattr(self, RadiusOfGyrationRestraint, name)
1465  __repr__ = _swig_repr
1466  def __init__(self, *args):
1467  """
1468  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile, double const end_q_rg=1.3) -> RadiusOfGyrationRestraint
1469  __init__(IMP::saxs::RadiusOfGyrationRestraint self, IMP::kernel::Particles const & particles, Profile exp_profile) -> RadiusOfGyrationRestraint
1470  """
1471  this = _IMP_saxs.new_RadiusOfGyrationRestraint(*args)
1472  try: self.this.append(this)
1473  except: self.this = this
1474  def do_get_inputs(self):
1475  """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1476  return _IMP_saxs.RadiusOfGyrationRestraint_do_get_inputs(self)
1477 
1478  def get_version_info(self):
1479  """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
1480  return _IMP_saxs.RadiusOfGyrationRestraint_get_version_info(self)
1481 
1482  __swig_destroy__ = _IMP_saxs.delete_RadiusOfGyrationRestraint
1483  __del__ = lambda self : None;
1484 RadiusOfGyrationRestraint_swigregister = _IMP_saxs.RadiusOfGyrationRestraint_swigregister
1485 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1486 
1487 class FloatDistribution(DistBase):
1488  """Proxy of C++ IMP::saxs::Distribution<(IMP::Float)> class"""
1489  __swig_setmethods__ = {}
1490  for _s in [DistBase]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1491  __setattr__ = lambda self, name, value: _swig_setattr(self, FloatDistribution, name, value)
1492  __swig_getmethods__ = {}
1493  for _s in [DistBase]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1494  __getattr__ = lambda self, name: _swig_getattr(self, FloatDistribution, name)
1495  __repr__ = _swig_repr
1496  def __init__(self, *args):
1497  """
1498  __init__(IMP::saxs::Distribution<(IMP::Float)> self, IMP::Float bin_size=pr_resolution) -> FloatDistribution
1499  __init__(IMP::saxs::Distribution<(IMP::Float)> self) -> FloatDistribution
1500  """
1501  this = _IMP_saxs.new_FloatDistribution(*args)
1502  try: self.this.append(this)
1503  except: self.this = this
1504  def get_max_distance(self):
1505  """get_max_distance(FloatDistribution self) -> IMP::Float"""
1506  return _IMP_saxs.FloatDistribution_get_max_distance(self)
1507 
1508  def get_bin_size(self):
1509  """get_bin_size(FloatDistribution self) -> IMP::Float"""
1510  return _IMP_saxs.FloatDistribution_get_bin_size(self)
1511 
1512  __swig_destroy__ = _IMP_saxs.delete_FloatDistribution
1513  __del__ = lambda self : None;
1514 FloatDistribution_swigregister = _IMP_saxs.FloatDistribution_swigregister
1515 FloatDistribution_swigregister(FloatDistribution)
1516 
1517 class VectorDistribution(_Vector3Ds):
1518  """Proxy of C++ IMP::saxs::Distribution<(IMP::algebra::Vector3D)> class"""
1519  __swig_setmethods__ = {}
1520  for _s in [_Vector3Ds]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1521  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorDistribution, name, value)
1522  __swig_getmethods__ = {}
1523  for _s in [_Vector3Ds]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1524  __getattr__ = lambda self, name: _swig_getattr(self, VectorDistribution, name)
1525  __repr__ = _swig_repr
1526  def __init__(self, *args):
1527  """
1528  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self, IMP::Float bin_size=pr_resolution) -> VectorDistribution
1529  __init__(IMP::saxs::Distribution<(IMP::algebra::Vector3D)> self) -> VectorDistribution
1530  """
1531  this = _IMP_saxs.new_VectorDistribution(*args)
1532  try: self.this.append(this)
1533  except: self.this = this
1534  def get_max_distance(self):
1535  """get_max_distance(VectorDistribution self) -> IMP::Float"""
1536  return _IMP_saxs.VectorDistribution_get_max_distance(self)
1537 
1538  def get_bin_size(self):
1539  """get_bin_size(VectorDistribution self) -> IMP::Float"""
1540  return _IMP_saxs.VectorDistribution_get_bin_size(self)
1541 
1542  __swig_destroy__ = _IMP_saxs.delete_VectorDistribution
1543  __del__ = lambda self : None;
1544 VectorDistribution_swigregister = _IMP_saxs.VectorDistribution_swigregister
1545 VectorDistribution_swigregister(VectorDistribution)
1546 
1547 class RadialDistributionFunction(FloatDistribution):
1548  """Proxy of C++ IMP::saxs::RadialDistributionFunction class"""
1549  __swig_setmethods__ = {}
1550  for _s in [FloatDistribution]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1551  __setattr__ = lambda self, name, value: _swig_setattr(self, RadialDistributionFunction, name, value)
1552  __swig_getmethods__ = {}
1553  for _s in [FloatDistribution]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1554  __getattr__ = lambda self, name: _swig_getattr(self, RadialDistributionFunction, name)
1555  __repr__ = _swig_repr
1556  def __init__(self, *args):
1557  """
1558  __init__(IMP::saxs::RadialDistributionFunction self, IMP::Float bin_size=pr_resolution) -> RadialDistributionFunction
1559  __init__(IMP::saxs::RadialDistributionFunction self) -> RadialDistributionFunction
1560  __init__(IMP::saxs::RadialDistributionFunction self, std::string const & file_name) -> RadialDistributionFunction
1561  """
1562  this = _IMP_saxs.new_RadialDistributionFunction(*args)
1563  try: self.this.append(this)
1564  except: self.this = this
1565  def scale(self, *args):
1566  """scale(RadialDistributionFunction self, IMP::Float c)"""
1567  return _IMP_saxs.RadialDistributionFunction_scale(self, *args)
1568 
1569  def add(self, *args):
1570  """add(RadialDistributionFunction self, RadialDistributionFunction model_pr)"""
1571  return _IMP_saxs.RadialDistributionFunction_add(self, *args)
1572 
1573  def show(self, *args):
1574  """
1575  show(RadialDistributionFunction self, _ostream out=std::cout)
1576  show(RadialDistributionFunction self)
1577  """
1578  return _IMP_saxs.RadialDistributionFunction_show(self, *args)
1579 
1580  def R_factor_score(self, *args):
1581  """
1582  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1583  R_factor_score(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1584  """
1585  return _IMP_saxs.RadialDistributionFunction_R_factor_score(self, *args)
1586 
1587  def fit(self, *args):
1588  """
1589  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr, std::string const & file_name="") -> IMP::Float
1590  fit(RadialDistributionFunction self, RadialDistributionFunction model_pr) -> IMP::Float
1591  """
1592  return _IMP_saxs.RadialDistributionFunction_fit(self, *args)
1593 
1594  def normalize(self):
1595  """normalize(RadialDistributionFunction self)"""
1596  return _IMP_saxs.RadialDistributionFunction_normalize(self)
1597 
1598  __swig_destroy__ = _IMP_saxs.delete_RadialDistributionFunction
1599  __del__ = lambda self : None;
1600 RadialDistributionFunction_swigregister = _IMP_saxs.RadialDistributionFunction_swigregister
1601 RadialDistributionFunction_swigregister(RadialDistributionFunction)
1602 
1603 class DeltaDistributionFunction(VectorDistribution):
1604  """Proxy of C++ IMP::saxs::DeltaDistributionFunction class"""
1605  __swig_setmethods__ = {}
1606  for _s in [VectorDistribution]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1607  __setattr__ = lambda self, name, value: _swig_setattr(self, DeltaDistributionFunction, name, value)
1608  __swig_getmethods__ = {}
1609  for _s in [VectorDistribution]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1610  __getattr__ = lambda self, name: _swig_getattr(self, DeltaDistributionFunction, name)
1611  __repr__ = _swig_repr
1612  def __init__(self, *args):
1613  """
1614  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0, IMP::Float bin_size=pr_resolution) -> DeltaDistributionFunction
1615  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles, IMP::Float max_distance=0.0) -> DeltaDistributionFunction
1616  __init__(IMP::saxs::DeltaDistributionFunction self, IMP::kernel::Particles const & particles) -> DeltaDistributionFunction
1617  """
1618  this = _IMP_saxs.new_DeltaDistributionFunction(*args)
1619  try: self.this.append(this)
1620  except: self.this = this
1621  def calculate_derivative_distribution(self, *args):
1622  """calculate_derivative_distribution(DeltaDistributionFunction self, Particle particle)"""
1623  return _IMP_saxs.DeltaDistributionFunction_calculate_derivative_distribution(self, *args)
1624 
1625  def show(self, *args):
1626  """
1627  show(DeltaDistributionFunction self, _ostream out=std::cout, std::string prefix="")
1628  show(DeltaDistributionFunction self, _ostream out=std::cout)
1629  show(DeltaDistributionFunction self)
1630  """
1631  return _IMP_saxs.DeltaDistributionFunction_show(self, *args)
1632 
1633  __swig_destroy__ = _IMP_saxs.delete_DeltaDistributionFunction
1634  __del__ = lambda self : None;
1635 DeltaDistributionFunction_swigregister = _IMP_saxs.DeltaDistributionFunction_swigregister
1636 DeltaDistributionFunction_swigregister(DeltaDistributionFunction)
1637 
1638 class SolventAccessibleSurface(_object):
1639  """Proxy of C++ IMP::saxs::SolventAccessibleSurface class"""
1640  __swig_setmethods__ = {}
1641  __setattr__ = lambda self, name, value: _swig_setattr(self, SolventAccessibleSurface, name, value)
1642  __swig_getmethods__ = {}
1643  __getattr__ = lambda self, name: _swig_getattr(self, SolventAccessibleSurface, name)
1644  __repr__ = _swig_repr
1645  def get_solvent_accessibility(self, *args):
1646  """
1647  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8, float density=5.0) -> IMP::Floats
1648  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points, float probe_radius=1.8) -> IMP::Floats
1649  get_solvent_accessibility(SolventAccessibleSurface self, IMP::core::XYZRs const & points) -> IMP::Floats
1650  """
1651  return _IMP_saxs.SolventAccessibleSurface_get_solvent_accessibility(self, *args)
1652 
1653  def __init__(self):
1654  """__init__(IMP::saxs::SolventAccessibleSurface self) -> SolventAccessibleSurface"""
1655  this = _IMP_saxs.new_SolventAccessibleSurface()
1656  try: self.this.append(this)
1657  except: self.this = this
1658  __swig_destroy__ = _IMP_saxs.delete_SolventAccessibleSurface
1659  __del__ = lambda self : None;
1660 SolventAccessibleSurface_swigregister = _IMP_saxs.SolventAccessibleSurface_swigregister
1661 SolventAccessibleSurface_swigregister(SolventAccessibleSurface)
1662 
1663 class ProfileFitterChiLog(IMP.base.Object):
1664  """Proxy of C++ IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> class"""
1665  __swig_setmethods__ = {}
1666  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1667  __setattr__ = lambda self, name, value: _swig_setattr(self, ProfileFitterChiLog, name, value)
1668  __swig_getmethods__ = {}
1669  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1670  __getattr__ = lambda self, name: _swig_getattr(self, ProfileFitterChiLog, name)
1671  __repr__ = _swig_repr
1672  def __init__(self, *args):
1673  """
1674  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile) -> ProfileFitterChiLog
1675  __init__(IMP::saxs::ProfileFitter<(IMP::saxs::ChiScoreLog)> self, Profile exp_profile, ChiScoreLog sf) -> ProfileFitterChiLog
1676  """
1677  this = _IMP_saxs.new_ProfileFitterChiLog(*args)
1678  try: self.this.append(this)
1679  except: self.this = this
1680  def compute_score(self, *args):
1681  """
1682  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False, std::string const fit_file_name="") -> IMP::Float
1683  compute_score(ProfileFitterChiLog self, Profile model_profile, bool use_offset=False) -> IMP::Float
1684  compute_score(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1685  compute_score(ProfileFitterChiLog self, Profile model_profile, IMP::Float min_q, IMP::Float max_q) -> IMP::Float
1686  """
1687  return _IMP_saxs.ProfileFitterChiLog_compute_score(self, *args)
1688 
1689  def fit_profile(self, *args):
1690  """
1691  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1692  float max_c2=4.0, bool use_offset=False, std::string const fit_file_name="") -> FitParameters
1693  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1694  float max_c2=4.0, bool use_offset=False) -> FitParameters
1695  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0,
1696  float max_c2=4.0) -> FitParameters
1697  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05, float min_c2=-2.0) -> FitParameters
1698  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95, float max_c1=1.05) -> FitParameters
1699  fit_profile(ProfileFitterChiLog self, Profile partial_profile, float min_c1=0.95) -> FitParameters
1700  fit_profile(ProfileFitterChiLog self, Profile partial_profile) -> FitParameters
1701  """
1702  return _IMP_saxs.ProfileFitterChiLog_fit_profile(self, *args)
1703 
1704  def compute_scale_factor(self, *args):
1705  """
1706  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile, IMP::Float offset=0.0) -> IMP::Float
1707  compute_scale_factor(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float
1708  """
1709  return _IMP_saxs.ProfileFitterChiLog_compute_scale_factor(self, *args)
1710 
1711  def compute_offset(self, *args):
1712  """compute_offset(ProfileFitterChiLog self, Profile model_profile) -> IMP::Float"""
1713  return _IMP_saxs.ProfileFitterChiLog_compute_offset(self, *args)
1714 
1715  def resample(self, *args):
1716  """resample(ProfileFitterChiLog self, Profile model_profile, Profile resampled_profile)"""
1717  return _IMP_saxs.ProfileFitterChiLog_resample(self, *args)
1718 
1719  def write_SAXS_fit_file(self, *args):
1720  """
1721  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1722  IMP::Float const c=1, IMP::Float const offset=0)
1723  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square,
1724  IMP::Float const c=1)
1725  write_SAXS_fit_file(ProfileFitterChiLog self, std::string const & file_name, Profile model_profile, IMP::Float const chi_square)
1726  """
1727  return _IMP_saxs.ProfileFitterChiLog_write_SAXS_fit_file(self, *args)
1728 
1729  __swig_destroy__ = _IMP_saxs.delete_ProfileFitterChiLog
1730  __del__ = lambda self : None;
1731 ProfileFitterChiLog_swigregister = _IMP_saxs.ProfileFitterChiLog_swigregister
1732 ProfileFitterChiLog_swigregister(ProfileFitterChiLog)
1733 
1734 
1735 def get_module_version():
1736  """get_module_version() -> std::string const"""
1737  return _IMP_saxs.get_module_version()
1738 
1739 def get_example_path(*args):
1740  """get_example_path(std::string fname) -> std::string"""
1741  return _IMP_saxs.get_example_path(*args)
1742 
1743 def get_data_path(*args):
1744  """get_data_path(std::string fname) -> std::string"""
1745  return _IMP_saxs.get_data_path(*args)
1746 import _version_check
1747 _version_check.check_version(get_module_version())
1748 
1749 # This file is compatible with both classic and new-style classes.
1750 
1751 
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