Ignore:
Timestamp:
Mar 3, 2009 4:12:26 PM (16 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:
fe2ade9
Parents:
18a3ee9
Message:

add comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/boxSlicer.py

    r18eba35 reba08f1a  
    2020class BoxInteractor(_BaseInteractor): 
    2121    """ 
    22          Select an annulus through a 2D plot 
     22         BoxInteractor define a rectangle that return data1D average of Data2D 
     23         in a rectangle area defined by -x, x ,y, -y 
    2324    """ 
    2425    def __init__(self,base,axes,color='black', zorder=3): 
     
    3839        ## Number of points on the plot 
    3940        self.nbins = 30 
    40         self.count=0 
    41         self.error=0 
     41        
    4242        self.averager=None 
    4343         
     
    5353                                      y= self.y) 
    5454        self.horizontal_lines.qmax= self.qmax 
    55          
    56        
    5755         
    5856        self.update() 
     
    459457 
    460458class BoxInteractorX(BoxInteractor): 
     459    """ 
     460        Average in Qx direction 
     461    """ 
    461462    def __init__(self,base,axes,color='black', zorder=3): 
    462463        BoxInteractor.__init__(self, base, axes, color=color) 
     
    469470 
    470471class BoxInteractorY(BoxInteractor): 
     472    """ 
     473         Average in Qy direction 
     474    """ 
    471475    def __init__(self,base,axes,color='black', zorder=3): 
    472476        BoxInteractor.__init__(self, base, axes, color=color) 
Note: See TracChangeset for help on using the changeset viewer.