Changeset f6f9835 in sasview for sansdataloader/src/sans
- Timestamp:
- Jun 4, 2012 10:52:14 AM (13 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:
- 8a9f699
- Parents:
- a42ea15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/src/sans/dataloader/data_info.py
r0c24e98 rf6f9835 911 911 msg = "Unable to perform operation: data length are not equal" 912 912 raise ValueError, msg 913 # Here we could also extrapolate between data points914 for i in range(numpy.size(self.data)):915 if numpy.size(self.data) < 2:916 msg = "Incompatible data sets: I-values do not match"917 raise ValueError, msg918 if self.qx_data[i] != other.qx_data[i]:919 msg = "Incompatible data sets: qx-values do not match"920 raise ValueError, msg921 if self.qy_data[i] != other.qy_data[i]:922 msg = "Incompatible data sets: qy-values do not match"923 raise ValueError, msg924 913 925 914 # Check that the scales match
Note: See TracChangeset
for help on using the changeset viewer.