Changeset d555416 in sasview for sansdataloader/src/sans/dataloader


Ignore:
Timestamp:
Apr 4, 2013 4:16:09 PM (12 years ago)
Author:
smk78
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
Message:

Fix to Ticket #101; Modified Slicer Panel for Box Sum to display total sum and number of points summed; renamed captions for values accordingly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansdataloader/src/sans/dataloader/manipulations.py

    rf60a8c2 rd555416  
    294294        :param data2D: Data2D object 
    295295         
    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 
    297298         
    298299        """ 
     
    303304        error = 0 if y_counts == 0 else math.sqrt(err_y) 
    304305         
    305         return counts, error 
     306        # Added y_counts to return, SMK & PDB, 04/03/2013 
     307        return counts, error, y_counts 
    306308         
    307309    def _sum(self, data2D): 
Note: See TracChangeset for help on using the changeset viewer.