Changeset 27972c1d in sasview for sansmodels/src/sans


Ignore:
Timestamp:
Nov 3, 2009 2:55:10 PM (15 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:
155c088
Parents:
8a6d4af
Message:

removed all non asc font in the units

Location:
sansmodels/src/sans/models
Files:
50 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/BEPolyelectrolyte.py

    re45a565 r27972c1d  
    6767        self.details['k']    = ['[barns]', None, None] 
    6868        self.details['lb'] = ['[A]', None, None] 
    69         self.details['h']   = ['[1/A³]', None, None] 
     69        self.details['h']   = ['[1/A^(2)]', None, None] 
    7070        self.details['b']    = ['[A]', None, None] 
    7171        self.details['cs'] = ['[mol/L]', None, None] 
  • sansmodels/src/sans/models/BinaryHSModel.py

    rf9bf661 r27972c1d  
    3636         vol_frac_ls     = 0.1  
    3737         vol_frac_ss     = 0.2  
    38          ls_sld          = 3.5e-006 [1/A²] 
    39          ss_sld          = 5e-007 [1/A²] 
    40          solvent_sld     = 6.36e-006 [1/A²] 
    41          background      = 0.001 [1/cm] 
    4238 
    4339    """ 
     
    6864        self.details['vol_frac_ls'] = ['', None, None] 
    6965        self.details['vol_frac_ss'] = ['', None, None] 
    70         self.details['ls_sld'] = ['[1/A²]', None, None] 
    71         self.details['ss_sld'] = ['[1/A²]', None, None] 
    72         self.details['solvent_sld'] = ['[1/A²]', None, None] 
    73         self.details['background'] = ['[1/cm]', None, None] 
    7466 
    7567                ## fittable parameters 
  • sansmodels/src/sans/models/BinaryHSPSF11Model.py

    rf9bf661 r27972c1d  
    3636         vol_frac_ls     = 0.2  
    3737         vol_frac_ss     = 0.2  
    38          ls_sld          = 3.5e-006 [1/A²] 
    39          ss_sld          = 5e-007 [1/A²] 
    40          solvent_sld     = 6.36e-006 [1/A²] 
     38         ls_sld          = 3.5e-006 [1/A^(2)] 
     39         ss_sld          = 5e-007 [1/A^(2)] 
     40         solvent_sld     = 6.36e-006 [1/A^(2)] 
    4141         background      = 0.001 [1/cm] 
    4242 
     
    7171        self.details['vol_frac_ls'] = ['', None, None] 
    7272        self.details['vol_frac_ss'] = ['', None, None] 
    73         self.details['ls_sld'] = ['[1/A²]', None, None] 
    74         self.details['ss_sld'] = ['[1/A²]', None, None] 
    75         self.details['solvent_sld'] = ['[1/A²]', None, None] 
     73        self.details['ls_sld'] = ['[1/A^(2)]', None, None] 
     74        self.details['ss_sld'] = ['[1/A^(2)]', None, None] 
     75        self.details['solvent_sld'] = ['[1/A^(2)]', None, None] 
    7676        self.details['background'] = ['[1/cm]', None, None] 
    7777 
  • sansmodels/src/sans/models/CoreShellCylinderModel.py

    rf9bf661 r27972c1d  
    3636         thickness       = 10.0 [A] 
    3737         length          = 400.0 [A] 
    38          core_sld        = 1e-006 [1/A²] 
    39          shell_sld       = 4e-006 [1/A²] 
    40          solvent_sld     = 1e-006 [1/A²] 
     38         core_sld        = 1e-006 [1/A^(2)] 
     39         shell_sld       = 4e-006 [1/A^(2)] 
     40         solvent_sld     = 1e-006 [1/A^(2)] 
    4141         background      = 0.0 [1/cm] 
    4242         axis_theta      = 1.57 [rad] 
     
    8686        self.details['thickness'] = ['[A]', None, None] 
    8787        self.details['length'] = ['[A]', None, None] 
    88         self.details['core_sld'] = ['[1/A²]', None, None] 
    89         self.details['shell_sld'] = ['[1/A²]', None, None] 
    90         self.details['solvent_sld'] = ['[1/A²]', None, None] 
     88        self.details['core_sld'] = ['[1/A^(2)]', None, None] 
     89        self.details['shell_sld'] = ['[1/A^(2)]', None, None] 
     90        self.details['solvent_sld'] = ['[1/A^(2)]', None, None] 
    9191        self.details['background'] = ['[1/cm]', None, None] 
    9292        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/CoreShellEllipsoidModel.py

    rf9bf661 r27972c1d  
    3737         equat_shell     = 250.0 [A] 
    3838         polar_shell     = 30.0 [A] 
    39          contrast        = 1e-006 [1/A²] 
    40          sld_solvent     = 6.3e-006 [1/A²] 
     39         contrast        = 1e-006 [1/A^(2)] 
     40         sld_solvent     = 6.3e-006 [1/A^(2)] 
    4141         background      = 0.001 [1/cm] 
    4242         axis_theta      = 0.0 [rad] 
     
    8282        self.details['equat_shell'] = ['[A]', None, None] 
    8383        self.details['polar_shell'] = ['[A]', None, None] 
    84         self.details['contrast'] = ['[1/A²]', None, None] 
    85         self.details['sld_solvent'] = ['[1/A²]', None, None] 
     84        self.details['contrast'] = ['[1/A^(2)]', None, None] 
     85        self.details['sld_solvent'] = ['[1/A^(2)]', None, None] 
    8686        self.details['background'] = ['[1/cm]', None, None] 
    8787        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/CoreShellModel.py

    r5eb9154 r27972c1d  
    3535         radius          = 60.0 [A] 
    3636         thickness       = 10.0 [A] 
    37          core_sld        = 1e-006 [1/A²] 
    38          shell_sld       = 2e-006 [1/A²] 
    39          solvent_sld     = 3e-006 [1/A²] 
     37         core_sld        = 1e-006 [1/A^(2)] 
     38         shell_sld       = 2e-006 [1/A^(2)] 
     39         solvent_sld     = 3e-006 [1/A^(2)] 
    4040         background      = 0.0 [1/cm] 
    4141 
     
    6868        self.details['radius'] = ['[A]', None, None] 
    6969        self.details['thickness'] = ['[A]', None, None] 
    70         self.details['core_sld'] = ['[1/A²]', None, None] 
    71         self.details['shell_sld'] = ['[1/A²]', None, None] 
    72         self.details['solvent_sld'] = ['[1/A²]', None, None] 
     70        self.details['core_sld'] = ['[1/A^(2)]', None, None] 
     71        self.details['shell_sld'] = ['[1/A^(2)]', None, None] 
     72        self.details['solvent_sld'] = ['[1/A^(2)]', None, None] 
    7373        self.details['background'] = ['[1/cm]', None, None] 
    7474 
     
    108108    def calculate_ER(self): 
    109109        """ Calculate the effective radius for P(q)*S(q) 
    110             @param x: input q, or [q,phi] 
    111110            @return: the value of the effective radius 
    112111        """        
  • sansmodels/src/sans/models/CylinderModel.py

    rf9bf661 r27972c1d  
    3535         radius          = 20.0 [A] 
    3636         length          = 400.0 [A] 
    37          contrast        = 3e-006 [1/A²] 
     37         contrast        = 3e-006 [1/A^(2)] 
    3838         background      = 0.0 [1/cm] 
    3939         cyl_theta       = 1.0 [rad] 
     
    7171        self.details['radius'] = ['[A]', None, None] 
    7272        self.details['length'] = ['[A]', None, None] 
    73         self.details['contrast'] = ['[1/A²]', None, None] 
     73        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    7474        self.details['background'] = ['[1/cm]', None, None] 
    7575        self.details['cyl_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/EllipsoidModel.py

    rf9bf661 r27972c1d  
    3535         radius_a        = 20.0 [A] 
    3636         radius_b        = 400.0 [A] 
    37          contrast        = 3e-006 [1/A²] 
     37         contrast        = 3e-006 [1/A^(2)] 
    3838         background      = 0.0 [1/cm] 
    3939         axis_theta      = 1.57 [rad] 
     
    7575        self.details['radius_a'] = ['[A]', None, None] 
    7676        self.details['radius_b'] = ['[A]', None, None] 
    77         self.details['contrast'] = ['[1/A²]', None, None] 
     77        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    7878        self.details['background'] = ['[1/cm]', None, None] 
    7979        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/EllipticalCylinderModel.py

    r7ad9887 r27972c1d  
    3636         r_ratio         = 1.5  
    3737         length          = 400.0 [A] 
    38          contrast        = 3e-006 [1/A²] 
     38         contrast        = 3e-006 [1/A^(2)] 
    3939         background      = 0.0 [1/cm] 
    4040         cyl_theta       = 1.57 [rad] 
     
    6666        self.details['r_ratio'] = ['', None, None] 
    6767        self.details['length'] = ['[A]', None, None] 
    68         self.details['contrast'] = ['[1/A²]', None, None] 
     68        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    6969        self.details['background'] = ['[1/cm]', None, None] 
    7070        self.details['cyl_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/FlexibleCylinderModel.py

    rf9bf661 r27972c1d  
    3636         kuhn_length     = 100.0 [A] 
    3737         radius          = 20.0 [A] 
    38          contrast        = 5.3e-006 [1/A²] 
     38         contrast        = 5.3e-006 [1/A^(2)] 
    3939         background      = 0.0001 [1/cm] 
    4040 
     
    6262        self.details['kuhn_length'] = ['[A]', None, None] 
    6363        self.details['radius'] = ['[A]', None, None] 
    64         self.details['contrast'] = ['[1/A²]', None, None] 
     64        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    6565        self.details['background'] = ['[1/cm]', None, None] 
    6666 
  • sansmodels/src/sans/models/FractalModel.py

    r9ce41c6 r27972c1d  
    6767        self.details['fractal_dim'] = ['',       0,  None] 
    6868        self.details['corr_length'] = ['[A]',    None, None] 
    69         self.details['block_sld']   = ['[1/A²]',  None, None] 
    70         self.details['solvent_sld'] = ['[1/A²]',  None, None] 
     69        self.details['block_sld']   = ['[1/A^(2)]',  None, None] 
     70        self.details['solvent_sld'] = ['[1/A^(2)]',  None, None] 
    7171        self.details['background']  = ['[1/cm]', None, None] 
    7272        
  • sansmodels/src/sans/models/HollowCylinderModel.py

    r7ad9887 r27972c1d  
    3636         radius          = 30.0 [A] 
    3737         length          = 400.0 [A] 
    38          contrast        = 5.3e-006 [1/A²] 
     38         contrast        = 5.3e-006 [1/A^(2)] 
    3939         background      = 0.01 [1/cm] 
    4040         axis_theta      = 1.57 [rad] 
     
    6666        self.details['radius'] = ['[A]', None, None] 
    6767        self.details['length'] = ['[A]', None, None] 
    68         self.details['contrast'] = ['[1/A²]', None, None] 
     68        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    6969        self.details['background'] = ['[1/cm]', None, None] 
    7070        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/LamellarFFHGModel.py

    rf9bf661 r27972c1d  
    3535         t_length        = 15.0 [A] 
    3636         h_thickness     = 10.0 [A] 
    37          sld_tail        = 4e-007 [1/A²] 
    38          sld_head        = 3e-006 [1/A²] 
    39          sld_solvent     = 6e-006 [1/A²] 
     37         sld_tail        = 4e-007 [1/A^(2)] 
     38         sld_head        = 3e-006 [1/A^(2)] 
     39         sld_solvent     = 6e-006 [1/A^(2)] 
    4040         background      = 0.0 [1/cm] 
    4141 
     
    6666        self.details['t_length'] = ['[A]', None, None] 
    6767        self.details['h_thickness'] = ['[A]', None, None] 
    68         self.details['sld_tail'] = ['[1/A²]', None, None] 
    69         self.details['sld_head'] = ['[1/A²]', None, None] 
    70         self.details['sld_solvent'] = ['[1/A²]', None, None] 
     68        self.details['sld_tail'] = ['[1/A^(2)]', None, None] 
     69        self.details['sld_head'] = ['[1/A^(2)]', None, None] 
     70        self.details['sld_solvent'] = ['[1/A^(2)]', None, None] 
    7171        self.details['background'] = ['[1/cm]', None, None] 
    7272 
  • sansmodels/src/sans/models/LamellarModel.py

    rf9bf661 r27972c1d  
    3434         scale           = 1.0  
    3535         bi_thick        = 50.0 [A] 
    36          sld_bi          = 1e-006 [1/A²] 
    37          sld_sol         = 6.3e-006 [1/A²] 
     36         sld_bi          = 1e-006 [1/A^(2)] 
     37         sld_sol         = 6.3e-006 [1/A^(2)] 
    3838         background      = 0.0 [1/cm] 
    3939 
     
    6464        self.details['scale'] = ['', None, None] 
    6565        self.details['bi_thick'] = ['[A]', None, None] 
    66         self.details['sld_bi'] = ['[1/A²]', None, None] 
    67         self.details['sld_sol'] = ['[1/A²]', None, None] 
     66        self.details['sld_bi'] = ['[1/A^(2)]', None, None] 
     67        self.details['sld_sol'] = ['[1/A^(2)]', None, None] 
    6868        self.details['background'] = ['[1/cm]', None, None] 
    6969 
  • sansmodels/src/sans/models/LamellarPSHGModel.py

    rf9bf661 r27972c1d  
    3636         deltaT          = 10.0 [A] 
    3737         deltaH          = 2.0 [A] 
    38          sld_tail        = 4e-007 [1/A²] 
    39          sld_head        = 2e-006 [1/A²] 
    40          sld_solvent     = 6e-006 [1/A²] 
     38         sld_tail        = 4e-007 [1/A^(2)] 
     39         sld_head        = 2e-006 [1/A^(2)] 
     40         sld_solvent     = 6e-006 [1/A^(2)] 
    4141         n_plates        = 30.0  
    4242         caille          = 0.001  
     
    8181        self.details['deltaT'] = ['[A]', None, None] 
    8282        self.details['deltaH'] = ['[A]', None, None] 
    83         self.details['sld_tail'] = ['[1/A²]', None, None] 
    84         self.details['sld_head'] = ['[1/A²]', None, None] 
    85         self.details['sld_solvent'] = ['[1/A²]', None, None] 
     83        self.details['sld_tail'] = ['[1/A^(2)]', None, None] 
     84        self.details['sld_head'] = ['[1/A^(2)]', None, None] 
     85        self.details['sld_solvent'] = ['[1/A^(2)]', None, None] 
    8686        self.details['n_plates'] = ['', None, None] 
    8787        self.details['caille'] = ['', None, None] 
  • sansmodels/src/sans/models/LamellarPSModel.py

    rf9bf661 r27972c1d  
    3535         spacing         = 400.0 [A] 
    3636         delta           = 30.0 [A] 
    37          contrast        = 5.3e-006 [1/A²] 
     37         contrast        = 5.3e-006 [1/A^(2)] 
    3838         n_plates        = 20.0  
    3939         caille          = 0.1  
     
    7676        self.details['spacing'] = ['[A]', None, None] 
    7777        self.details['delta'] = ['[A]', None, None] 
    78         self.details['contrast'] = ['[1/A²]', None, None] 
     78        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    7979        self.details['n_plates'] = ['', None, None] 
    8080        self.details['caille'] = ['', None, None] 
  • sansmodels/src/sans/models/LogNormal.py

    r9ce41c6 r27972c1d  
    9191    def calculate_ER(self): 
    9292        """ Calculate the effective radius for P(q)*S(q) 
    93             @param x: input q, or [q,phi] 
    9493            @return: the value of the effective radius 
    9594        """        
  • sansmodels/src/sans/models/Lorentzian.py

    r5eb9154 r27972c1d  
    9191    def calculate_ER(self): 
    9292        """ Calculate the effective radius for P(q)*S(q) 
    93             @param x: input q, or [q,phi] 
    9493            @return: the value of the effective radius 
    9594        """        
  • sansmodels/src/sans/models/MultiShellModel.py

    rf9bf661 r27972c1d  
    3636         s_thickness     = 10.0 [A] 
    3737         w_thickness     = 10.0 [A] 
    38          core_sld        = 6.4e-006 [1/A²] 
    39          shell_sld       = 4e-007 [1/A²] 
     38         core_sld        = 6.4e-006 [1/A^(2)] 
     39         shell_sld       = 4e-007 [1/A^(2)] 
    4040         n_pairs         = 2.0  
    4141         background      = 0.0 [1/cm] 
     
    6969        self.details['s_thickness'] = ['[A]', None, None] 
    7070        self.details['w_thickness'] = ['[A]', None, None] 
    71         self.details['core_sld'] = ['[1/A²]', None, None] 
    72         self.details['shell_sld'] = ['[1/A²]', None, None] 
     71        self.details['core_sld'] = ['[1/A^(2)]', None, None] 
     72        self.details['shell_sld'] = ['[1/A^(2)]', None, None] 
    7373        self.details['n_pairs'] = ['', None, None] 
    7474        self.details['background'] = ['[1/cm]', None, None] 
  • sansmodels/src/sans/models/OblateModel.py

    rf9bf661 r27972c1d  
    3737         major_shell     = 250.0 [A] 
    3838         minor_shell     = 30.0 [A] 
    39          contrast        = 1e-006 [1/A²] 
    40          sld_solvent     = 6.3e-006 [1/A²] 
     39         contrast        = 1e-006 [1/A^(2)] 
     40         sld_solvent     = 6.3e-006 [1/A^(2)] 
    4141         background      = 0.001 [1/cm] 
    4242         axis_theta      = 1.0 [rad] 
     
    8080        self.details['major_shell'] = ['[A]', None, None] 
    8181        self.details['minor_shell'] = ['[A]', None, None] 
    82         self.details['contrast'] = ['[1/A²]', None, None] 
    83         self.details['sld_solvent'] = ['[1/A²]', None, None] 
     82        self.details['contrast'] = ['[1/A^(2)]', None, None] 
     83        self.details['sld_solvent'] = ['[1/A^(2)]', None, None] 
    8484        self.details['background'] = ['[1/cm]', None, None] 
    8585        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/ParallelepipedModel.py

    rf9bf661 r27972c1d  
    3636         short_b         = 75.0 [A] 
    3737         long_c          = 400.0 [A] 
    38          contrast        = 5.3e-006 [1/A²] 
     38         contrast        = 5.3e-006 [1/A^(2)] 
    3939         background      = 0.0 [1/cm] 
    4040         parallel_theta  = 0.0 [rad] 
     
    6969        self.details['short_b'] = ['[A]', None, None] 
    7070        self.details['long_c'] = ['[A]', None, None] 
    71         self.details['contrast'] = ['[1/A²]', None, None] 
     71        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    7272        self.details['background'] = ['[1/cm]', None, None] 
    7373        self.details['parallel_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/ProlateModel.py

    rf9bf661 r27972c1d  
    3737         major_shell     = 110.0 [A] 
    3838         minor_shell     = 60.0 [A] 
    39          contrast        = 1e-006 [1/A²] 
    40          sld_solvent     = 6.3e-006 [1/A²] 
     39         contrast        = 1e-006 [1/A^(2)] 
     40         sld_solvent     = 6.3e-006 [1/A^(2)] 
    4141         background      = 0.001 [1/cm] 
    4242 
     
    7878        self.details['major_shell'] = ['[A]', None, None] 
    7979        self.details['minor_shell'] = ['[A]', None, None] 
    80         self.details['contrast'] = ['[1/A²]', None, None] 
    81         self.details['sld_solvent'] = ['[1/A²]', None, None] 
     80        self.details['contrast'] = ['[1/A^(2)]', None, None] 
     81        self.details['sld_solvent'] = ['[1/A^(2)]', None, None] 
    8282        self.details['background'] = ['[1/cm]', None, None] 
    8383 
  • sansmodels/src/sans/models/Schulz.py

    r5eb9154 r27972c1d  
    9393    def calculate_ER(self): 
    9494        """ Calculate the effective radius for P(q)*S(q) 
    95             @param x: input q, or [q,phi] 
    9695            @return: the value of the effective radius 
    9796        """        
  • sansmodels/src/sans/models/SphereModel.py

    rf9bf661 r27972c1d  
    3434         scale           = 1.0  
    3535         radius          = 60.0 [A] 
    36          contrast        = 1e-006 [1/A²] 
     36         contrast        = 1e-006 [1/A^(2)] 
    3737         background      = 0.0 [1/cm] 
    3838 
     
    6464        self.details['scale'] = ['', None, None] 
    6565        self.details['radius'] = ['[A]', None, None] 
    66         self.details['contrast'] = ['[1/A²]', None, None] 
     66        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    6767        self.details['background'] = ['[1/cm]', None, None] 
    6868 
  • sansmodels/src/sans/models/StackedDisksModel.py

    r7ad9887 r27972c1d  
    3636         core_thick      = 10.0 [A] 
    3737         layer_thick     = 15.0 [A] 
    38          core_sld        = 4e-006 [1/A²] 
    39          layer_sld       = -4e-007 [1/A²] 
    40          solvent_sld     = 5e-006 [1/A²] 
     38         core_sld        = 4e-006 [1/A^(2)] 
     39         layer_sld       = -4e-007 [1/A^(2)] 
     40         solvent_sld     = 5e-006 [1/A^(2)] 
    4141         n_stacking      = 1.0  
    4242         sigma_d         = 0.0  
     
    7373        self.details['core_thick'] = ['[A]', None, None] 
    7474        self.details['layer_thick'] = ['[A]', None, None] 
    75         self.details['core_sld'] = ['[1/A²]', None, None] 
    76         self.details['layer_sld'] = ['[1/A²]', None, None] 
    77         self.details['solvent_sld'] = ['[1/A²]', None, None] 
     75        self.details['core_sld'] = ['[1/A^(2)]', None, None] 
     76        self.details['layer_sld'] = ['[1/A^(2)]', None, None] 
     77        self.details['solvent_sld'] = ['[1/A^(2)]', None, None] 
    7878        self.details['n_stacking'] = ['', None, None] 
    7979        self.details['sigma_d'] = ['', None, None] 
  • sansmodels/src/sans/models/TriaxialEllipsoidModel.py

    r7ad9887 r27972c1d  
    3636         semi_axisB      = 100.0 [A] 
    3737         semi_axisC      = 400.0 [A] 
    38          contrast        = 5.3e-006 [1/A²] 
     38         contrast        = 5.3e-006 [1/A^(2)] 
    3939         background      = 0.0 [1/cm] 
    4040         axis_theta      = 1.0 [rad] 
     
    6464        self.details['semi_axisB'] = ['[A]', None, None] 
    6565        self.details['semi_axisC'] = ['[A]', None, None] 
    66         self.details['contrast'] = ['[1/A²]', None, None] 
     66        self.details['contrast'] = ['[1/A^(2)]', None, None] 
    6767        self.details['background'] = ['[1/cm]', None, None] 
    6868        self.details['axis_theta'] = ['[rad]', None, None] 
  • sansmodels/src/sans/models/VesicleModel.py

    r7ad9887 r27972c1d  
    3535         radius          = 100.0 [A] 
    3636         thickness       = 30.0 [A] 
    37          core_sld        = 6.36e-006 [1/A²] 
    38          shell_sld       = 5e-007 [1/A²] 
     37         core_sld        = 6.36e-006 [1/A^(2)] 
     38         shell_sld       = 5e-007 [1/A^(2)] 
    3939         background      = 0.0 [1/cm] 
    4040 
     
    6363        self.details['radius'] = ['[A]', None, None] 
    6464        self.details['thickness'] = ['[A]', None, None] 
    65         self.details['core_sld'] = ['[1/A²]', None, None] 
    66         self.details['shell_sld'] = ['[1/A²]', None, None] 
     65        self.details['core_sld'] = ['[1/A^(2)]', None, None] 
     66        self.details['shell_sld'] = ['[1/A^(2)]', None, None] 
    6767        self.details['background'] = ['[1/cm]', None, None] 
    6868 
  • sansmodels/src/sans/models/c_extensions/binaryHS.h

    r515cc389 r27972c1d  
    3737    double vol_frac_ss; 
    3838 
    39         ///     large sphere scattering length density [1/Ų] 
    40     //  [DEFAULT]=ls_sld= 3.5e-6 [1/A²] 
     39        ///     large sphere scattering length density [1/A^(2)] 
     40    //  [DEFAULT]=ls_sld= 3.5e-6 [1/A^{2}] 
    4141    double ls_sld; 
    4242 
    43         ///     lsmall sphere scattering length density [1/Ų] 
    44     //  [DEFAULT]=ss_sld= 5e-7 [1/A²] 
     43        ///     lsmall sphere scattering length density [1/A^(2)] 
     44    //  [DEFAULT]=ss_sld= 5e-7 [1/A^(2)] 
    4545    double ss_sld; 
    4646 
    47     /// solvent scattering length density [1/Ų] 
    48     //  [DEFAULT]=solvent_sld= 6.36e-6 [1/A²] 
     47    /// solvent scattering length density [1/A^(2)] 
     48    //  [DEFAULT]=solvent_sld= 6.36e-6 [1/A^(2)] 
    4949    double solvent_sld; 
    5050 
  • sansmodels/src/sans/models/c_extensions/binaryHS_PSF11.h

    r2c4b289 r27972c1d  
    99        [DESCRIPTION] =<text> 
    1010                                                Model parameters: 
    11                                                  
     11 
    1212                                                l_radius : large radius of the binary hard sphere 
    1313                                                s_radius : small radius of the binary hard sphere 
    14                                                 vol_frac_ls : volume fraction of large spheres  
     14                                                vol_frac_ls : volume fraction of large spheres 
    1515                                                vol_frac_ss : volume fraction of small spheres 
    1616                                                ls_sld: large sphere  scattering length density 
     
    2323 */ 
    2424typedef struct { 
    25      
     25 
    2626        ///     large radius of the binary hard sphere [A] 
    2727    //  [DEFAULT]=l_radius= 160.0 [A] 
     
    3232    double s_radius; 
    3333 
    34         ///     volume fraction of large spheres  
    35     //  [DEFAULT]=vol_frac_ls= 0.2  
     34        ///     volume fraction of large spheres 
     35    //  [DEFAULT]=vol_frac_ls= 0.2 
    3636    double vol_frac_ls; 
    3737 
    38         ///     volume fraction of small spheres  
    39     //  [DEFAULT]=vol_frac_ss= 0.2  
     38        ///     volume fraction of small spheres 
     39    //  [DEFAULT]=vol_frac_ss= 0.2 
    4040    double vol_frac_ss; 
    4141 
    42         ///     large sphere scattering length density [1/Ų] 
    43     //  [DEFAULT]=ls_sld= 3.5e-6 [1/A²] 
     42        ///     large sphere scattering length density [1/A^(2)] 
     43    //  [DEFAULT]=ls_sld= 3.5e-6 [1/A^(2)] 
    4444    double ls_sld; 
    4545 
    46         ///     lsmall sphere scattering length density [1/Ų] 
    47     //  [DEFAULT]=ss_sld= 5e-7 [1/A²] 
     46        ///     lsmall sphere scattering length density [1/A^(2)] 
     47    //  [DEFAULT]=ss_sld= 5e-7 [1/A^(2)] 
    4848    double ss_sld; 
    4949 
    50     /// solvent scattering length density [1/Ų] 
    51     //  [DEFAULT]=solvent_sld= 6.36e-6 [1/A²] 
     50    /// solvent scattering length density [1/A^(2)] 
     51    //  [DEFAULT]=solvent_sld= 6.36e-6 [1/A^(2)] 
    5252    double solvent_sld; 
    5353 
  • sansmodels/src/sans/models/c_extensions/core_shell.h

    r1ed3834 r27972c1d  
    3131    //  [DEFAULT]=thickness=10 [A] 
    3232    double thickness; 
    33     /// Core SLD [1/A²] 1.0e-6 
    34     //  [DEFAULT]=core_sld=1.0e-6 [1/A²] 
     33    /// Core SLD [1/A^(2)] 1.0e-6 
     34    //  [DEFAULT]=core_sld=1.0e-6 [1/A^(2)] 
    3535    double core_sld; 
    36         /// Shell SLD [1/A²] 2.0e-6 
    37         //  [DEFAULT]=shell_sld=2.0e-6 [1/A²] 
     36        /// Shell SLD [1/A^(2)] 2.0e-6 
     37        //  [DEFAULT]=shell_sld=2.0e-6 [1/A^(2)] 
    3838        double shell_sld; 
    39         /// Solvent SLD [1/A²] 3.0e-6 
    40         //  [DEFAULT]=solvent_sld=3.0e-6 [1/A²] 
     39        /// Solvent SLD [1/A^(2)] 3.0e-6 
     40        //  [DEFAULT]=solvent_sld=3.0e-6 [1/A^(2)] 
    4141        double solvent_sld; 
    4242        /// Incoherent Background [1/cm] 0.000 
  • sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h

    r27fea3f r27972c1d  
    5353    double length; 
    5454 
    55     /// Core SLD [1/A²] 
    56     //  [DEFAULT]=core_sld=1.0e-6 [1/A²] 
     55    /// Core SLD [1/A^(2)] 
     56    //  [DEFAULT]=core_sld=1.0e-6 [1/A^(2)] 
    5757    double core_sld; 
    5858 
    59     /// Shell SLD [1/A²] 
    60     //  [DEFAULT]=shell_sld=4.0e-6 [1/A²] 
     59    /// Shell SLD [1/A^(2)] 
     60    //  [DEFAULT]=shell_sld=4.0e-6 [1/A^(2)] 
    6161    double shell_sld; 
    6262 
    63     /// Solvent SLD [1/A²] 
    64     //  [DEFAULT]=solvent_sld=1.0e-6 [1/A²] 
     63    /// Solvent SLD [1/A^(2)] 
     64    //  [DEFAULT]=solvent_sld=1.0e-6 [1/A^(2)] 
    6565    double solvent_sld; 
    6666 
  • sansmodels/src/sans/models/c_extensions/cylinder.h

    r1ed3834 r27972c1d  
    3333    //  [DEFAULT]=length=400.0 [A] 
    3434    double length; 
    35     /// Contrast [1/A²] 
    36     //  [DEFAULT]=contrast=3.0e-6 [1/A²] 
     35    /// Contrast [1/A^(2)] 
     36    //  [DEFAULT]=contrast=3.0e-6 [1/A^(2)] 
    3737    double contrast; 
    3838        /// Incoherent Background [1/cm] 0.00 
  • sansmodels/src/sans/models/c_extensions/ellipsoid.h

    rc1c29b6 r27972c1d  
    4646    double radius_b; 
    4747 
    48     /// Contrast [1/A²] 
    49     //  [DEFAULT]=contrast=3.0e-6 [1/A²] 
     48    /// Contrast [1/A^(2)] 
     49    //  [DEFAULT]=contrast=3.0e-6 [1/A^(2)] 
    5050    double contrast; 
    5151 
  • sansmodels/src/sans/models/c_extensions/elliptical_cylinder.h

    r7ad9887 r27972c1d  
    3131    //  [DEFAULT]=length=400.0 [A] 
    3232    double length; 
    33     /// Contrast [1/A²] 
    34     //  [DEFAULT]=contrast=3.0e-6 [1/A²] 
     33    /// Contrast [1/A^(2)] 
     34    //  [DEFAULT]=contrast=3.0e-6 [1/A^(2)] 
    3535    double contrast; 
    3636        /// Incoherent Background [1/cm] 0.000 
  • sansmodels/src/sans/models/c_extensions/flexible_cylinder.h

    re6fa43e r27972c1d  
    3131    //  [DEFAULT]=radius=20.0 [A] 
    3232    double radius; 
    33     /// Contrast [1/A²] 
    34     //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
     33    /// Contrast [1/A^(2)] 
     34    //  [DEFAULT]=contrast=5.3e-6 [1/A^(2)] 
    3535    double contrast; 
    3636        /// Incoherent Background [1/cm] 
  • sansmodels/src/sans/models/c_extensions/hollow_cylinder.h

    r7ad9887 r27972c1d  
    3535    double length; 
    3636 
    37     /// Contrast  [1/A²] 
    38     //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
     37    /// Contrast  [1/A^(2)] 
     38    //  [DEFAULT]=contrast=5.3e-6 [1/A^(2)] 
    3939    double contrast; 
    4040 
  • sansmodels/src/sans/models/c_extensions/lamellar.h

    rc1c29b6 r27972c1d  
    2323    //  [DEFAULT]=bi_thick=50.0 [A] 
    2424    double bi_thick; 
    25     /// SLD of bilayer [1/A²] 
    26     //  [DEFAULT]=sld_bi=1.0e-6 [1/A²] 
     25    /// SLD of bilayer [1/A^(2)] 
     26    //  [DEFAULT]=sld_bi=1.0e-6 [1/A^(2)] 
    2727    double sld_bi; 
    28     /// SLD of solvent [1/A²] 
    29     //  [DEFAULT]=sld_sol=6.3e-6 [1/A²] 
     28    /// SLD of solvent [1/A^(2)] 
     29    //  [DEFAULT]=sld_sol=6.3e-6 [1/A^(2)] 
    3030    double sld_sol; 
    3131        /// Incoherent Background [1/cm] 0.00 
  • sansmodels/src/sans/models/c_extensions/lamellarFF_HG.h

    rb4679de r27972c1d  
    2626    //  [DEFAULT]=h_thickness=10.0 [A] 
    2727    double h_thickness; 
    28         /// tail scrattering length density[1/A²] 
    29     //  [DEFAULT]=sld_tail=4e-7 [1/A²] 
     28        /// tail scrattering length density[1/A^(2)] 
     29    //  [DEFAULT]=sld_tail=4e-7 [1/A^(2)] 
    3030    double sld_tail; 
    31     /// head group scrattering length density[1/A²] 
    32     //  [DEFAULT]=sld_head=3e-6 [1/A²] 
     31    /// head group scrattering length density[1/A^(2)] 
     32    //  [DEFAULT]=sld_head=3e-6 [1/A^(2)] 
    3333    double sld_head; 
    34          /// solvent scrattering length density[1/A²] 
    35     //  [DEFAULT]=sld_solvent=6e-6 [1/A²] 
     34         /// solvent scrattering length density[1/A^(2)] 
     35    //  [DEFAULT]=sld_solvent=6e-6 [1/A^(2)] 
    3636    double sld_solvent; 
    3737        /// Incoherent Background [1/cm] 0.00 
  • sansmodels/src/sans/models/c_extensions/lamellarPS.h

    rc1c29b6 r27972c1d  
    4141    //  [DEFAULT]=delta=30 [A] 
    4242    double delta; 
    43     /// Contrast [1/A²] 
    44     //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
     43    /// Contrast [1/A^(2)] 
     44    //  [DEFAULT]=contrast=5.3e-6 [1/A^(2)] 
    4545    double contrast; 
    4646         /// Number of lamellar plates 
  • sansmodels/src/sans/models/c_extensions/lamellarPS_HG.h

    r96b59384 r27972c1d  
    4545    //  [DEFAULT]=deltaH=2.0 [A] 
    4646    double deltaH; 
    47     /// scattering density length of tails [1/A²] 
    48     //  [DEFAULT]=sld_tail=0.4e-6 [1/A²] 
     47    /// scattering density length of tails [1/A^(2)] 
     48    //  [DEFAULT]=sld_tail=0.4e-6 [1/A^(2)] 
    4949    double sld_tail; 
    50         /// scattering density length of head [1/A²] 
    51     //  [DEFAULT]=sld_head=2e-6 [1/A²] 
     50        /// scattering density length of head [1/A^(2)] 
     51    //  [DEFAULT]=sld_head=2e-6 [1/A^(2)] 
    5252    double sld_head; 
    53         /// scattering density length of solvent [1/A²] 
    54     //  [DEFAULT]=sld_solvent=6e-6 [1/A²] 
     53        /// scattering density length of solvent [1/A^(2)] 
     54    //  [DEFAULT]=sld_solvent=6e-6 [1/A^(2)] 
    5555    double sld_solvent; 
    5656         /// Number of lamellar plates 
  • sansmodels/src/sans/models/c_extensions/multishell.h

    r5eb9154 r27972c1d  
    2929    double core_radius; 
    3030 
    31         ///     shell thickness [Å] 
     31        ///     shell thickness [A] 
    3232    //  [DEFAULT]=s_thickness= 10.0 [A] 
    3333    double s_thickness; 
    3434 
    35     /// water thickness [Å] 
     35    /// water thickness [A] 
    3636    //  [DEFAULT]=w_thickness= 10.0 [A] 
    3737    double w_thickness; 
    3838 
    39         ///     core scattering length density [1/Ų] 
    40     //  [DEFAULT]=core_sld= 6.4e-6 [1/A²] 
     39        ///     core scattering length density [1/A^(2)] 
     40    //  [DEFAULT]=core_sld= 6.4e-6 [1/A^(2)] 
    4141    double core_sld; 
    4242 
    43     /// shell scattering length density [1/Ų] 
    44     //  [DEFAULT]=shell_sld= 4.0e-7 [1/A²] 
     43    /// shell scattering length density [1/A^(2)] 
     44    //  [DEFAULT]=shell_sld= 4.0e-7 [1/A^(2)] 
    4545    double shell_sld; 
    4646 
  • sansmodels/src/sans/models/c_extensions/oblate.h

    r975ec8e r27972c1d  
    4343    //  [DEFAULT]=minor_shell=30.0 [A] 
    4444    double minor_shell; 
    45     ///  Scattering contrast [1/A²] 
    46     //  [DEFAULT]=contrast=1.0e-6 [1/A²] 
     45    ///  Scattering contrast [1/A^(2)] 
     46    //  [DEFAULT]=contrast=1.0e-6 [1/A^(2)] 
    4747    double contrast; 
    48         /// Solvent scattering length density  [1/A²] 
    49     //  [DEFAULT]=sld_solvent=6.3e-6 [1/A²] 
     48        /// Solvent scattering length density  [1/A^(2)] 
     49    //  [DEFAULT]=sld_solvent=6.3e-6 [1/A^(2)] 
    5050    double sld_solvent; 
    5151        /// Incoherent Background [1/cm] 0.001 
  • sansmodels/src/sans/models/c_extensions/parallelepiped.h

    rbe8c217 r27972c1d  
    3535    //  [DEFAULT]=long_c=400 [A] 
    3636    double long_c; 
    37     /// Contrast [1/A²] 
    38     //  [DEFAULT]=contrast=53e-7 [1/A²] 
     37    /// Contrast [1/A^(2)] 
     38    //  [DEFAULT]=contrast=53e-7 [1/A^(2)] 
    3939    double contrast; 
    4040        /// Incoherent Background [1/cm] 
  • sansmodels/src/sans/models/c_extensions/prolate.h

    r8dc0b746 r27972c1d  
    4242    //  [DEFAULT]=minor_shell=60.0 [A] 
    4343    double minor_shell; 
    44     ///  Scattering contrast [1/A²] 
    45     //  [DEFAULT]=contrast=1.0e-6 [1/A²] 
     44    ///  Scattering contrast [1/A^(2)] 
     45    //  [DEFAULT]=contrast=1.0e-6 [1/A^(2)] 
    4646    double contrast; 
    47         /// Solvent scattering length density  [1/A²] 
    48     //  [DEFAULT]=sld_solvent=6.3e-6 [1/A²] 
     47        /// Solvent scattering length density  [1/A^(2)] 
     48    //  [DEFAULT]=sld_solvent=6.3e-6 [1/A^(2)] 
    4949    double sld_solvent; 
    5050        /// Incoherent Background [1/cm] 0.001 
  • sansmodels/src/sans/models/c_extensions/sphere.h

    r1ed3834 r27972c1d  
    3030    double radius; 
    3131 
    32     /// Contrast [1/Ų] 
    33     //  [DEFAULT]=contrast= 1.0e-6 [1/A²] 
     32    /// Contrast [1/A^(2)] 
     33    //  [DEFAULT]=contrast= 1.0e-6 [1/A^(2)] 
    3434    double contrast; 
    3535 
  • sansmodels/src/sans/models/c_extensions/spheroid.h

    r5eb9154 r27972c1d  
    4545    //  [DEFAULT]=polar_shell=30.0 [A] 
    4646    double polar_shell; 
    47     ///  Scattering contrast [1/A²] 
    48     //  [DEFAULT]=contrast=1.0e-6 [1/A²] 
     47    ///  Scattering contrast [1/A^(2)] 
     48    //  [DEFAULT]=contrast=1.0e-6 [1/A^(2)] 
    4949    double contrast; 
    50         /// Solvent scattering length density  [1/A²] 
    51     //  [DEFAULT]=sld_solvent=6.3e-6 [1/A²] 
     50        /// Solvent scattering length density  [1/A^(2)] 
     51    //  [DEFAULT]=sld_solvent=6.3e-6 [1/A^(2)] 
    5252    double sld_solvent; 
    5353        /// Incoherent Background [1/cm] 0.001 
  • sansmodels/src/sans/models/c_extensions/stacked_disks.h

    r7ad9887 r27972c1d  
    3636    //  [DEFAULT]=layer_thick=15.0 [A] 
    3737    double layer_thick; 
    38         /// Core scattering length density[1/A²] 
    39     //  [DEFAULT]=core_sld=4e-6 [1/A²] 
     38        /// Core scattering length density[1/A^(2)] 
     39    //  [DEFAULT]=core_sld=4e-6 [1/A^(2)] 
    4040    double core_sld; 
    41         /// layer scattering length density[1/A²] 
    42     //  [DEFAULT]=layer_sld=-4e-7 [1/A²] 
     41        /// layer scattering length density[1/A^(2)] 
     42    //  [DEFAULT]=layer_sld=-4e-7 [1/A^(2)] 
    4343    double layer_sld; 
    44         /// solvent scattering length density[1/A²] 
    45     //  [DEFAULT]=solvent_sld=5.0e-6 [1/A²] 
     44        /// solvent scattering length density[1/A^(2)] 
     45    //  [DEFAULT]=solvent_sld=5.0e-6 [1/A^(2)] 
    4646    double solvent_sld; 
    4747    /// number of stacking 
  • sansmodels/src/sans/models/c_extensions/triaxial_ellipsoid.h

    r7ad9887 r27972c1d  
    2424    //  [DEFAULT]=semi_axisC=400.0 [A] 
    2525    double semi_axisC; 
    26     /// Contrast [1/A²] 
    27     //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
     26    /// Contrast [1/A^(2)] 
     27    //  [DEFAULT]=contrast=5.3e-6 [1/A^(2)] 
    2828    double contrast; 
    2929        /// Incoherent Background [1/cm] 0.00 
  • sansmodels/src/sans/models/c_extensions/vesicle.h

    r7ad9887 r27972c1d  
    2525    double radius; 
    2626 
    27         ///     shell thickness [Å] 
     27        ///     shell thickness [A] 
    2828    //  [DEFAULT]=thickness= 30.0 [A] 
    2929    double thickness; 
    3030 
    31         ///     core scattering length density [1/Ų] 
    32     //  [DEFAULT]=core_sld= 6.36e-6 [1/A²] 
     31        ///     core scattering length density [1/A^(2)] 
     32    //  [DEFAULT]=core_sld= 6.36e-6 [1/A^(2)] 
    3333    double core_sld; 
    3434 
    35     /// shell scattering length density [1/Ų] 
    36     //  [DEFAULT]=shell_sld= 5.0e-7 [1/A²] 
     35    /// shell scattering length density [1/A^(2)] 
     36    //  [DEFAULT]=shell_sld= 5.0e-7 [1/A^(2)] 
    3737    double shell_sld; 
    3838 
  • sansmodels/src/sans/models/c_models/CBinaryHSModel.cpp

    rf9bf661 r27972c1d  
    8686         
    8787        // Initialize parameter dictionary 
     88        PyDict_SetItemString(self->params,"s_radius",Py_BuildValue("d",25.000000)); 
     89        PyDict_SetItemString(self->params,"vol_frac_ss",Py_BuildValue("d",0.200000)); 
     90        PyDict_SetItemString(self->params,"l_radius",Py_BuildValue("d",100.000000)); 
    8891        PyDict_SetItemString(self->params,"vol_frac_ls",Py_BuildValue("d",0.100000)); 
    89         PyDict_SetItemString(self->params,"background",Py_BuildValue("d",0.001000)); 
    90         PyDict_SetItemString(self->params,"vol_frac_ss",Py_BuildValue("d",0.200000)); 
    91         PyDict_SetItemString(self->params,"solvent_sld",Py_BuildValue("d",0.000006)); 
    92         PyDict_SetItemString(self->params,"ls_sld",Py_BuildValue("d",0.000003)); 
    93         PyDict_SetItemString(self->params,"ss_sld",Py_BuildValue("d",0.000000)); 
    94         PyDict_SetItemString(self->params,"s_radius",Py_BuildValue("d",25.000000)); 
    95         PyDict_SetItemString(self->params,"l_radius",Py_BuildValue("d",100.000000)); 
    9692        // Initialize dispersion / averaging parameter dict 
    9793        DispersionVisitor* visitor = new DispersionVisitor(); 
     
    234230         
    235231            // Reader parameter dictionary 
     232    self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
     233    self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
     234    self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    236235    self->model->vol_frac_ls = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ls") ); 
    237     self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") ); 
    238     self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
    239     self->model->solvent_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "solvent_sld") ); 
    240     self->model->ls_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ls_sld") ); 
    241     self->model->ss_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ss_sld") ); 
    242     self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
    243     self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    244236    // Read in dispersion parameters 
    245237    PyObject* disp_dict; 
     
    311303         
    312304            // Reader parameter dictionary 
     305    self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
     306    self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
     307    self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    313308    self->model->vol_frac_ls = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ls") ); 
    314     self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") ); 
    315     self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
    316     self->model->solvent_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "solvent_sld") ); 
    317     self->model->ls_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ls_sld") ); 
    318     self->model->ss_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ss_sld") ); 
    319     self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
    320     self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    321309    // Read in dispersion parameters 
    322310    PyObject* disp_dict; 
     
    375363         
    376364            // Reader parameter dictionary 
     365    self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
     366    self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
     367    self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    377368    self->model->vol_frac_ls = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ls") ); 
    378     self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") ); 
    379     self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
    380     self->model->solvent_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "solvent_sld") ); 
    381     self->model->ls_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ls_sld") ); 
    382     self->model->ss_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ss_sld") ); 
    383     self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
    384     self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    385369    // Read in dispersion parameters 
    386370    PyObject* disp_dict; 
     
    408392         
    409393            // Reader parameter dictionary 
     394    self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
     395    self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
     396    self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    410397    self->model->vol_frac_ls = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ls") ); 
    411     self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") ); 
    412     self->model->vol_frac_ss = PyFloat_AsDouble( PyDict_GetItemString(self->params, "vol_frac_ss") ); 
    413     self->model->solvent_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "solvent_sld") ); 
    414     self->model->ls_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ls_sld") ); 
    415     self->model->ss_sld = PyFloat_AsDouble( PyDict_GetItemString(self->params, "ss_sld") ); 
    416     self->model->s_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "s_radius") ); 
    417     self->model->l_radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "l_radius") ); 
    418398    // Read in dispersion parameters 
    419399    PyObject* disp_dict; 
Note: See TracChangeset for help on using the changeset viewer.