Changeset 1165 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Dec 14, 2013 8:54:05 AM (8 years ago)
Author:
vondreele
Message:

image calibration much better now - works on transposed data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r1160 r1165  
    4242
    4343DEBUG = False       #=True for various prints
     44TRANSP = False      #=true to transpose images for testing
    4445
    4546def sfloat(S):
     
    185186        Comments,Data,Npix,Image = GetG2Image(imagefile)
    186187    if imageOnly:
    187         return Image
     188        if TRANSP:
     189            return Image.T
     190        else:
     191            return Image
    188192    else:
    189         return Comments,Data,Npix,Image
     193        if TRANSP:
     194            return Comments,Data,Npix,Image.T
     195        else:
     196            return Comments,Data,Npix,Image
    190197       
    191198def PutG2Image(filename,Comments,Data,Npix,image):
Note: See TracChangeset for help on using the changeset viewer.