source: sasmodels/sasmodels/models/README.rst @ f4cf580

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since f4cf580 was 5d4777d, checked in by Paul Kienzle <pkienzle@…>, 10 years ago

reorganize, check and update models

  • Property mode set to 100644
File size: 1.3 KB
Line 
1cylinder.c + cylinder.py is the cylinder model with renamed variables and
2sld scaled by 1e6 so the numbers are nicer.  The model name is "cylinder"
3
4cylinder_clone.c + cylinder_clone.py is the cylinder model using the
5same interface as the sasview, including calling the model CylinderModel,
6so that it can be used as a drop-in replacement for the sasview cylinder
7model.
8
9lamellar.py is an example of a single file model with embedded C code.
10
11Note: may want to rename form_volume to calc_volume and Iq/Iqxy to
12calc_Iq/calc_Iqxy. Similarly ER/VR go to calc_ER/calc_VR.
13
14Note: It is possible to translate python code automatically to opencl, using
15something like numba, clyther, shedskin or pypy, so maybe the kernel functions
16could be implemented without any C syntax.
17
18Magnetism hasn't been implemented yet.  We may want a separate Imagnetic
19calculator with the extra parameters and calculations.   We should
20return all desired spin states together so we can share the work of
21computing the form factors for the different magnetic contrasts.  This
22will mean extending the data handler to support multiple cross sections
23in the same data set.
24
25Need to write code to generate the polydispersity loops in python for
26kernels that are only implemented in python.  Also, need to implement
27an example kernel directly in python.
Note: See TracBrowser for help on using the repository browser.