Ignore:
Timestamp:
Nov 24, 2014 9:35:22 AM (10 years ago)
Author:
Miguel Gonzalez <onzalezm@…>
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:
2cdcbb5
Parents:
afd42432
Message:

Added model for micelles with spherical cores (from J. Appl. Cryst. (2000) 33, 637-640). C model added to libSphere!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/perspectives/fitting/models.py

    r02cc1ea r0d41aeed  
    718718        self.multiplication_factor.append(RectangularHollowPrismModel) 
    719719        self.model_name_list.append(RectangularHollowPrismModel.__name__) 
     720 
     721        from sans.models.MySphereModel import MySphereModel 
     722        self.model_dictionary[MySphereModel.__name__] = MySphereModel 
     723#        self.shape_list.append(MySphereModel) 
     724        self.multiplication_factor.append(MySphereModel) 
     725        self.model_name_list.append(MySphereModel.__name__) 
     726 
     727        from sans.models.MicelleSphCoreModel import MicelleSphCoreModel 
     728        self.model_dictionary[MicelleSphCoreModel.__name__] = MicelleSphCoreModel 
     729#        self.shape_list.append(MicelleSphCoreModel) 
     730        self.multiplication_factor.append(MicelleSphCoreModel) 
     731        self.model_name_list.append(MicelleSphCoreModel.__name__) 
     732 
    720733 
    721734        #from sans.models.FractalO_Z import FractalO_Z 
Note: See TracChangeset for help on using the changeset viewer.