Changeset 201af9f in sasview for src/sans/perspectives


Ignore:
Timestamp:
Apr 5, 2014 6:29:18 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:
beda555
Parents:
f44b076
Message:

Added the three models for hollow and massive rectangular parallelepipeds as defined in Z. Phys. Chem. 226 (2012) 837-854.
To do: Create model documentation.

File:
1 edited

Legend:

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

    r27b7acc r201af9f  
    677677        self.model_name_list.append(PringlesModel.__name__) 
    678678 
     679        from sans.models.RectangularPrismModel import RectangularPrismModel 
     680        self.model_dictionary[RectangularPrismModel.__name__] = RectangularPrismModel 
     681        self.shape_list.append(RectangularPrismModel) 
     682        self.multiplication_factor.append(RectangularPrismModel) 
     683        self.model_name_list.append(RectangularPrismModel.__name__) 
     684 
     685        from sans.models.RectangularHollowPrismInfThinWallsModel import RectangularHollowPrismInfThinWallsModel 
     686        self.model_dictionary[RectangularHollowPrismInfThinWallsModel.__name__] = RectangularHollowPrismInfThinWallsModel 
     687        self.shape_list.append(RectangularHollowPrismInfThinWallsModel) 
     688        self.multiplication_factor.append(RectangularHollowPrismInfThinWallsModel) 
     689        self.model_name_list.append(RectangularHollowPrismInfThinWallsModel.__name__) 
     690 
     691        from sans.models.RectangularHollowPrismModel import RectangularHollowPrismModel 
     692        self.model_dictionary[RectangularHollowPrismModel.__name__] = RectangularHollowPrismModel 
     693        self.shape_list.append(RectangularHollowPrismModel) 
     694        self.multiplication_factor.append(RectangularHollowPrismModel) 
     695        self.model_name_list.append(RectangularHollowPrismModel.__name__) 
     696 
    679697        #from sans.models.FractalO_Z import FractalO_Z 
    680698        #self.model_dictionary[FractalO_Z.__name__] = FractalO_Z 
Note: See TracChangeset for help on using the changeset viewer.