Changeset 6bd3a8d1 in sasview for src/sas/calculator/kiessig_calculator.py
- Timestamp:
- Mar 2, 2015 4:09:46 PM (10 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:
- 13e46abe
- Parents:
- c93122e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/calculator/kiessig_calculator.py
r79492222 r6bd3a8d1 13 13 """ 14 14 def __init__(self): 15 15 16 16 # dq value 17 17 self.deltaq = _DQ_DEFAULT … … 20 20 # unit of the thickness 21 21 self.thickness_unit = 'A' 22 22 23 23 def set_deltaq(self, dq=None): 24 24 """ 25 25 Receive deltaQ value 26 26 27 27 :param dq: q fringe width in 1/A unit 28 28 """ 29 29 # set dq 30 30 self.deltaq = dq 31 31 32 32 def get_deltaq(self): 33 33 """ … … 40 40 """ 41 41 Calculate thickness. 42 42 43 43 :return: the thickness. 44 44 """ … … 56 56 # return thickness value 57 57 return thickness 58 58 59 59 def get_thickness_unit(self): 60 60 """
Note: See TracChangeset
for help on using the changeset viewer.