- Timestamp:
- Jan 21, 2010 2:58:55 PM (15 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:
- 1a2dc10
- Parents:
- deeba75
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Invariant/invariant.py
r76c1727 r91db958 940 940 """ 941 941 if contrast is None or porod_const is None: 942 return 942 return None 943 943 #Check whether we have Q star 944 944 if self._qstar is None: … … 973 973 """ 974 974 if contrast is None: 975 return 975 return None 976 976 if contrast < 0: 977 977 raise ValueError, "contrast must be greater than zero" … … 1033 1033 """ 1034 1034 if contrast is None: 1035 return 1035 return None, None 1036 1036 self._qstar, self._qstar_err = self.get_qstar_with_error() 1037 1037 … … 1068 1068 """ 1069 1069 if contrast is None or porod_const is None: 1070 return 1070 return None, None 1071 1071 v, dv = self.get_volume_fraction_with_error(contrast) 1072 1072 self._qstar, self._qstar_err = self.get_qstar_with_error()
Note: See TracChangeset
for help on using the changeset viewer.