""" Real-Space Modeling for SANS """ ## \mainpage Real-Space Modeling for SANS # # \section intro_sec Introduction # This module provides SANS scattering intensity simulation # based on real-space modeling. # # Documentation can be found here: # http://danse.us/trac/sans/wiki/RealSpaceModeling # # \section install_sec Installation # # \subsection obtain Obtaining the Code # # The code is available here: # \verbatim #$ svn co svn://danse.us/sans/realSpaceModeling #$ svn co svn://danse.us/sans/RealSpaceTopLayer # \endverbatim # # \subsection depends External Dependencies # You have to have the DANSE distutils-adpt package installed: # \verbatime #$ svn co svn://danse.us/distutils-adpt # \endverbatim # # \subsection build Building the code # The standard python package can be built with distutils. # From the realSpaceModeling directory: # \verbatim #$ python setup.py install # \endverbatim # # From the RealSpaceTopLayer/src directory: # \verbatim #$ python setup.py install # \endverbatim # # \section overview_sec Package Overview # # \subsection class Class Diagram: # \image html real-space-class-diagram.png # # \subsection behav Behavior Enumeration: # \image html enum.gif # # \subsection Tutorial # To create an empty canvas: # \verbatim #import sans.realspace.VolumeCanvas as VolumeCanvas # canvas = VolumeCanvas.VolumeCanvas() # \endverbatim # # To set the simulation point density: # \verbatim # canvas.setParam('lores_density', 0.01) # \endverbatim # # To add an object: # \verbatim # handle = canvas.add('sphere') # canvas.setParam('%s.radius' % handle, 15.0) # \endverbatim # # To evaluate the scattering intensity at a given q: # \verbatim # output, error = canvas.getIqError(q=0.1) # \endverbatim # # To get the value of a parameter: # \verbatim # canvas.getParam('scale') # \endverbatim # # Examples are available as unit tests under sans.realspace.test. # # \section help_sec Contact Info # Code and Documentation by Jing Zhou as part of the DANSE project.