Changeset 1a395a6 in sasview


Ignore:
Timestamp:
Nov 1, 2010 2:35:14 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
96c0234
Parents:
96d19c6
Message:

added new models

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/models.py

    rfb59ed9 r1a395a6  
    176176        self.multiplication_factor.append(SphereModel) 
    177177         
    178         from sans.models.SphereExpShellModel import SphereExpShellModel 
    179         self.shape_list.append(SphereExpShellModel) 
    180         self.multiplication_factor.append(SphereExpShellModel) 
    181         self.multi_func_list.append(SphereExpShellModel) 
    182          
     178        from sans.models.BinaryHSModel import BinaryHSModel 
     179        self.shape_list.append(BinaryHSModel) 
     180                         
    183181        from sans.models.FuzzySphereModel import FuzzySphereModel 
    184182        self.shape_list.append(FuzzySphereModel) 
     
    202200        self.multiplication_factor.append(MultiShellModel) 
    203201         
    204         from sans.models.BinaryHSModel import BinaryHSModel 
    205         self.shape_list.append(BinaryHSModel) 
     202        from sans.models.OnionExpShellModel import OnionExpShellModel 
     203        self.shape_list.append(OnionExpShellModel) 
     204        self.multiplication_factor.append(OnionExpShellModel) 
     205        self.multi_func_list.append(OnionExpShellModel) 
     206                         
     207        from sans.models.SphericalSLDModel import SphericalSLDModel 
     208        self.shape_list.append(SphericalSLDModel) 
     209        self.multiplication_factor.append(SphericalSLDModel) 
     210        self.multi_func_list.append(SphericalSLDModel) 
    206211         
    207212        from sans.models.CylinderModel import CylinderModel 
  • theoryview/perspectives/theory/models.py

    rfb59ed9 r1a395a6  
    184184        self.shape_list.append(SphereModel) 
    185185        self.multiplication_factor.append(SphereModel) 
    186          
    187         from sans.models.SphereExpShellModel import SphereExpShellModel 
    188         self.shape_list.append(SphereExpShellModel) 
    189         self.multiplication_factor.append(SphereExpShellModel) 
    190         self.multi_func_list.append(SphereExpShellModel) 
     186               
     187        from sans.models.BinaryHSModel import BinaryHSModel 
     188        self.shape_list.append(BinaryHSModel) 
    191189         
    192190        from sans.models.FuzzySphereModel import FuzzySphereModel 
     
    211209        self.multiplication_factor.append(MultiShellModel) 
    212210         
    213         from sans.models.BinaryHSModel import BinaryHSModel 
    214         self.shape_list.append(BinaryHSModel) 
     211        from sans.models.OnionExpShellModel import OnionExpShellModel 
     212        self.shape_list.append(OnionExpShellModel) 
     213        self.multiplication_factor.append(OnionExpShellModel) 
     214        self.multi_func_list.append(OnionExpShellModel)   
     215         
     216        from sans.models.SphericalSLDModel import SphericalSLDModel 
     217        self.shape_list.append(SphericalSLDModel) 
     218        self.multiplication_factor.append(SphericalSLDModel) 
     219        self.multi_func_list.append(SphericalSLDModel) 
     220         
    215221         
    216222        from sans.models.CylinderModel import CylinderModel 
     
    385391        from sans.models.ReflectivityModel import ReflectivityModel 
    386392        self.multi_func_list.append(ReflectivityModel) 
    387      
     393         
    388394        #Looking for plugins 
    389395        self.plugins = findModels() 
Note: See TracChangeset for help on using the changeset viewer.