Changeset f2eee4a in sasview


Ignore:
Timestamp:
Dec 18, 2008 8:51:02 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:
5554566
Parents:
ef0c170
Message:

nbins added as parameter for sector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/manipulations.py

    r2e83ff3 rf2eee4a  
    642642        Phi is defined between 0 and 2pi 
    643643    """ 
    644     def __init__(self, r_min, r_max, phi_min, phi_max): 
     644    def __init__(self, r_min, r_max, phi_min, phi_max,nbins=20): 
    645645        self.r_min = r_min 
    646646        self.r_max = r_max 
    647647        self.phi_min = phi_min 
    648648        self.phi_max = phi_max 
    649         self.nbins = 20 
     649        self.nbins = nbins 
    650650         
    651651    def _agv(self, data2D, run='phi'): 
Note: See TracChangeset for help on using the changeset viewer.