Changeset 6d55d81 in sasview for Invariant


Ignore:
Timestamp:
Apr 21, 2010 4:23:01 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
1c271f2
Parents:
d8731ca
Message:

make sure the data is updated when the scale change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Invariant/invariant.py

    rc4f52e3 r6d55d81  
    385385            #Process only data that inherited from DataLoader.Data_info.Data1D 
    386386            raise ValueError,"Data must be of type DataLoader.Data1D" 
     387        #from copy import deepcopy 
    387388        new_data = (self._scale * data) - self._background    
    388389         
     
    517518        return result_data 
    518519     
     520    def get_data(self): 
     521        """ 
     522            @return self._data 
     523        """ 
     524        return self._data 
     525     
    519526    def get_extrapolation_power(self, range='high'): 
    520527        """ 
Note: See TracChangeset for help on using the changeset viewer.