Changeset 77bf7c0 in sasview


Ignore:
Timestamp:
Feb 19, 2009 7:45:43 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
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:
4937983
Parents:
50c769e
Message:

annulus averaging 1d plot shifted to -pi to pi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/manipulations.py

    rbd89dea r77bf7c0  
    10171017                x[i] = ((self.phi_max-self.phi_min)/self.nbins*(1.0*i + 0.5)+self.phi_min-2*math.pi)*180/math.pi 
    10181018                if x[i]<0: 
    1019                     x[i]=360+x[i] 
     1019                    x[i]=180+x[i] 
    10201020            else: 
    10211021                x[i] = (qmax-qmin)/self.nbins*(1.0*i + 0.5)+qmin 
Note: See TracChangeset for help on using the changeset viewer.