Changeset 59a2dab in sasview for DataLoader
- Timestamp:
- May 12, 2010 3:20:08 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:
- fd50e2f
- Parents:
- 952afaa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/readers/red2d_reader.py
r952afaa r59a2dab 282 282 detector.distance = distance 283 283 284 # optional data: if any of dq data == 0, do not pass to output 285 if len(dqx_data) == len(qx_data): 286 output.dqx_data = dqx_data 287 if len(dqy_data) == len(qy_data): 288 output.dqy_data = dqy_data 284 # optional data: if all of dq data == 0, do not pass to output 285 if len(dqx_data) == len(qx_data) and dqx_data.any()!=0: 286 # if no dqx_data, do not pass dqy_data.(1 axis dq is not supported yet). 287 if len(dqy_data) == len(qy_data) and dqy_data.any()!=0: 288 output.dqx_data = dqx_data 289 output.dqy_data = dqy_data 289 290 290 291 # Units of axes
Note: See TracChangeset
for help on using the changeset viewer.