Ignore:
Timestamp:
Feb 12, 2016 2:41:12 PM (7 years ago)
Author:
srkline
Message:

more minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_HDF5_RW_Utils.ipf

    r979 r980  
    2222 
    2323 
     24// passing null file string presents a dialog 
     25Proc LoadFakeDIVData() 
     26        V_LoadHDF5Data("","DIV") 
     27End 
    2428 
    2529// passing null file string presents a dialog 
     
    3034 
    3135// TODO: 
    32 //  x- move the initializtion of the raw data folder to be in the as-yet unwritten initialization routine for 
     36//  x- move the initialization of the raw data folder to be in the as-yet unwritten initialization routine for 
    3337// reduction. be sure that it's duplicated in the VCALC initialization too. 
    3438// -- as needed, get rid of the FAKE redimension of the data from 3D->2D and from 128x128 to something else for VSANS 
    3539//    This is a fake since I don't have anything close to correct fake data yet. (1/29/16) 
     40// 
     41// TODO: -- is there an extra "entry" heading? Am I adding this by mistake by setting base_name="entry" for RAW data? 
    3642// 
    3743Function V_LoadHDF5Data(file,folder) 
     
    4450                base_name="entry" 
    4551        else 
    46                 base_name="" 
     52                base_name="entry"               //TODO -- remove this / change behavior in V_LoadHDF5_NoAtt() 
    4753        endif 
    4854         
     
    8490                SetDataFolder root:Packages:NIST:VSANS:RAW:entry:entry:instrument:detector_B 
    8591                Wave det_B=data 
    86                 Redimension/N=(300,300)/E=1 det_B 
    87                  
    88                 Variable ctr=20,npix=100 
     92                Redimension/N=(320,320)/E=1 det_B 
     93                 
     94                Variable ctr=20,npix=128 
    8995                SetDataFolder root:Packages:NIST:VSANS:RAW:entry:entry:instrument:detector_MT 
    9096                Wave det_MT=data 
Note: See TracChangeset for help on using the changeset viewer.