Changeset b76cf0d in sasview for sasview/sasview.py

Timestamp:
Sep 15, 2016 6:33:57 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
7743c09
Parents:
6d8f692
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/18/16 08:19:47)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 06:33:57)
Message:

Improve efficiency of CanSAS 2.0 reader

When it came to reading the Q and I data values, the reader was looping
through every single data point in the hdf5 file and appending it to an
array. This caused problems when loading very large files, rendering
SasView? unresponsive. Now, the reader saves the entire array from the
file, instead of looping through each point.

(No files)

Note: See TracChangeset for help on using the changeset viewer.