Changeset d555416 in sasview for sansdataloader/src/sans/dataloader
- Timestamp:
- Apr 4, 2013 4:16:09 PM (12 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:
- 6a84c0c
- Parents:
- 240bdc80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/src/sans/dataloader/manipulations.py
rf60a8c2 rd555416 294 294 :param data2D: Data2D object 295 295 296 :return: number of counts, error on number of counts 296 :return: number of counts, error on number of counts, 297 number of points summed 297 298 298 299 """ … … 303 304 error = 0 if y_counts == 0 else math.sqrt(err_y) 304 305 305 return counts, error 306 # Added y_counts to return, SMK & PDB, 04/03/2013 307 return counts, error, y_counts 306 308 307 309 def _sum(self, data2D):
Note: See TracChangeset
for help on using the changeset viewer.