Ignore:
Timestamp:
Apr 22, 2016 5:02:30 PM (7 years ago)
Author:
srkline
Message:

lots of changes to plotting of q-values, generating fake data with non-linear corrections, masking of data, etc.

File:
1 edited

Legend:

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

    r992 r993  
    21082108end 
    21092109 
    2110 // TODO -- this may not exist for VSANS 
    2111 Function V_writeVS_tilt(fname,val) 
    2112         String fname 
    2113         Variable val 
    2114          
    2115 //      String path = "entry:instrument:beam:monochromator:velocity_selector:vs_tilt"    
    2116          
    2117         Make/O/D/N=1 wTmpWrite 
    2118 //      Make/O/R/N=1 wTmpWrite 
    2119         String groupName = "/entry/instrument/beam/monochromator/velocity_selector"      
    2120         String varName = "vs_tilt" 
    2121         wTmpWrite[0] = val 
    2122  
    2123         variable err 
    2124         err = V_WriteWaveToHDF(fname, groupName, varName, wTmpWrite) 
    2125         if(err) 
    2126                 Print "HDF write err = ",err 
    2127         endif 
    2128         // now be sure to kill the data folder to force a re-read of the data next time this file is read in 
    2129 //      err = V_KillNamedDataFolder(fname) 
    2130 //      if(err) 
    2131 //              Print "DataFolder kill err = ",err 
    2132 //      endif 
    2133         return(err) 
    2134 end 
     2110//// DONE - this does not exist for VSANS - per JGB 4/2016 
     2111//Function V_writeVS_tilt(fname,val) 
     2112//      String fname 
     2113//      Variable val 
     2114//       
     2115////    String path = "entry:instrument:beam:monochromator:velocity_selector:vs_tilt"    
     2116//       
     2117//      Make/O/D/N=1 wTmpWrite 
     2118////    Make/O/R/N=1 wTmpWrite 
     2119//      String groupName = "/entry/instrument/beam/monochromator/velocity_selector"      
     2120//      String varName = "vs_tilt" 
     2121//      wTmpWrite[0] = val 
     2122// 
     2123//      variable err 
     2124//      err = V_WriteWaveToHDF(fname, groupName, varName, wTmpWrite) 
     2125//      if(err) 
     2126//              Print "HDF write err = ",err 
     2127//      endif 
     2128//      // now be sure to kill the data folder to force a re-read of the data next time this file is read in 
     2129////    err = V_KillNamedDataFolder(fname) 
     2130////    if(err) 
     2131////            Print "DataFolder kill err = ",err 
     2132////    endif 
     2133//      return(err) 
     2134//end 
    21352135 
    21362136Function V_writeVSWavelength(fname,val) 
Note: See TracChangeset for help on using the changeset viewer.