Changeset 2835 for trunk/GSASIIimage.py


Ignore:
Timestamp:
May 16, 2017 4:02:31 PM (4 years ago)
Author:
vondreele
Message:

add self.scriptable=False to ImportBaseClass?
set it True in various PWDR readers
when selecting points for image calibration, shift key forces selection at cursor
Status bar text changes to reflect this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2826 r2835  
    319319       
    320320def GetDetectorXY(dsp,azm,data):
    321     'Needs a doc string'
    322    
     321    '''Get detector x,y position from d-spacing (dsp), azimuth (azm,deg)
     322    & image controls dictionary (data)
     323    it seems to be only used in plotting
     324    '''   
    323325    elcent,phi,radii = GetEllipse(dsp,data)
    324326    phi = data['rotation']-90.          #to give rotation of major axis
     
    363365def GetDetXYfromThAzm(Th,Azm,data):
    364366    '''Computes a detector position from a 2theta angle and an azimultal
    365     angle (both in degrees)
     367    angle (both in degrees) - apparently not used!
    366368    '''
    367369    dsp = data['wavelength']/(2.0*npsind(Th))   
Note: See TracChangeset for help on using the changeset viewer.