Changes in / [c476457:0fcb097] in sasview
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/data_info.py
ra4deca6 r45d7662 1037 1037 _str += " Z-axis: %s\t[%s]\n" % (self._zaxis, self._zunit) 1038 1038 _str += " Length: %g \n" % (len(self.data)) 1039 _str += " Shape: (%d, %d)\n" % (len(self.y_bins), len(self.x_bins)) 1039 1040 return _str 1040 1041 -
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
ra4deca6 r479799c 341 341 if dataset.data.ndim == 2: 342 342 (n_rows, n_cols) = dataset.data.shape 343 dataset.y_bins = dataset.qy_data[0::n_ rows]343 dataset.y_bins = dataset.qy_data[0::n_cols] 344 344 dataset.x_bins = dataset.qx_data[:n_cols] 345 345 dataset.data = dataset.data.flatten()
Note: See TracChangeset
for help on using the changeset viewer.