Changeset 53ddcdb in sasview for calculatorview/perspectives
- Timestamp:
- Nov 15, 2010 1:37:56 PM (14 years ago)
- 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:
- 6996942
- Parents:
- 0aee80d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/sld_panel.py
r44148f0 r53ddcdb 374 374 375 375 (sld_real, sld_im, _), (_, absorp, incoh), \ 376 length = neutron_scattering(self.compound, 377 self.density, self.wavelength) 376 length = neutron_scattering(compound=self.compound, 377 density=self.density, 378 wavelength=self.wavelength) 378 379 cu_real, cu_im = self.calculate_sld_helper(element="Cu", 379 380 density=self.density, … … 403 404 self.wavelength_ctl.SetValue(str(self.wavelength)) 404 405 except: 406 raise 407 """ 405 408 if self.base is not None: 406 409 msg = "SLD Calculator: %s"%(sys.exc_value) … … 409 412 raise 410 413 return 414 """ 411 415 if event is not None: 412 416 event.Skip()
Note: See TracChangeset
for help on using the changeset viewer.