Changeset 66bfacf in sasview for calculatorview/test


Ignore:
Timestamp:
Dec 6, 2010 5:32:46 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
bdcc69e
Parents:
82826c4
Message:

add a unitest for gui sld calculator

Location:
calculatorview/test
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/test/utest_sld.py

    r810f196 r66bfacf  
    4545        #Compute incoherence , absorption, and incoherence 
    4646        (sld_real,sld_im,sld_inc), (coh,abs,incoh), length = neutron_scattering(self.compound, 
    47                                        self.density, self.wavelength)  
     47                                       density=self.density, wavelength=self.wavelength)  
    4848        cu_reel, cu_im = calculate_xray_sld(element="Cu", density=self.density, 
    4949                                  molecule_formula=self.sld_formula) 
     
    8585        #Compute incoherence , absorption, and incoherence 
    8686        (sld_real,sld_im,sld_inc), (coh,abs,incoh), length = neutron_scattering(self.compound, 
    87                                        self.density, self.wavelength)  
     87                                       density=self.density, wavelength=self.wavelength)  
    8888        cu_reel, cu_im = calculate_xray_sld(element="Cu", density=self.density, 
    8989                                  molecule_formula=self.sld_formula) 
     
    125125        #Compute incoherence , absorption, and incoherence 
    126126        (sld_real,sld_im,sld_inc), (coh,abs,incoh), length = neutron_scattering(self.compound, 
    127                                        self.density, self.wavelength)  
     127                                density=self.density, wavelength=self.wavelength)  
    128128        cu_reel, cu_im = calculate_xray_sld(element="Cu", density=self.density, 
    129129                                  molecule_formula=self.sld_formula) 
Note: See TracChangeset for help on using the changeset viewer.