ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since a86bbe9 was
fca6936,
checked in by Mathieu Doucet <doucetm@…>, 16 years ago
|
First cut at better polydisp and averaging implementation for sans models.
|
-
Property mode set to
100644
|
File size:
698 bytes
|
Rev | Line | |
---|
[fca6936] | 1 | The design of the SANS models is not easily scalable. Although a more efficient |
---|
| 2 | way (in terms of design and speed) as been implemented on the C/C++ side, the python |
---|
| 3 | design should be revisited. Areas of improvements include: |
---|
| 4 | |
---|
| 5 | 1- [C side] Incorporate the C functions that use libigor directly into the new C++ class. |
---|
| 6 | That would mean rewritting the script generator to eliminate all the .c files. |
---|
| 7 | |
---|
| 8 | 2- Re-design the sans.models.BaseComponent class to store the parameters as objects, |
---|
| 9 | like it's done on the C++ side. A better design may allow us to avoid the awful |
---|
| 10 | hard-coding of the translation between the python dictionary holding the |
---|
| 11 | parameters and the C++ Parameter class. |
---|
| 12 | |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.