Changeset 9f4d891 in sasview
- Timestamp:
- Aug 19, 2016 6:07:39 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 995f4eb
- Parents:
- edf0e06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/file_converter/nxcansas_writer.py
rfe498b83 r9f4d891 183 183 I = np.reshape(data.data, (n_rows, n_cols)) 184 184 dI = np.zeros((n_rows, n_cols)) 185 # import pdb; pdb.set_trace() 185 186 if not all(data.err_data == [None]): 186 187 dI = np.reshape(data.err_data, (n_rows, n_cols)) … … 193 194 Qy_entry = data_entry.create_dataset('Qy', data=qy) 194 195 Qy_entry.attrs['units'] = data.Q_unit 196 Idev_entry = data_entry.create_dataset('Idev', data=dI) 197 Idev_entry.attrs['units'] = data.I_unit
Note: See TracChangeset
for help on using the changeset viewer.