Ignore:
Timestamp:
Jun 7, 2019 2:50:13 PM (3 years ago)
Author:
srkline
Message:

changed the file extension on VSANS QxQyASCII output to have the panel tag in th
e middle of the name to keep the .DAT extension visible for sasView

Changed the behavior of the VSANS averaging protocol. When "saving file" is selceted, choices are either to concatenate or individual. concatenate has NOT been changed. Individual save will now save each individual detector panel data in as
eparate file with the detectr panel string tagged on the end. This replaces the
tedious procedure of multiple mask files an multiple reduction passes.

The save as ITX function is still available through a menu option but is current
ly not an option for a protocol.

File:
1 edited

Legend:

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

    r1154 r1166  
    33503350                                         
    33513351                                        V_Write1DData("root:Packages:NIST:VSANS:",activeType,newFileName+"."+exten)             //don't pass the full path, just the name 
    3352                                  
     3352                                        Print "data written to:  "+ newFileName+"."+exten 
    33533353                                endif 
    33543354                                 
     
    33573357                                        // does not trim any other points from the data 
    33583358                                        V_RemoveQ0_B(activeType) 
    3359                                         V_Write1DData_ITX("root:Packages:NIST:VSANS:",activeType,newFileName,binType) 
     3359//                                      V_Write1DData_ITX("root:Packages:NIST:VSANS:",activeType,newFileName,binType) 
     3360 
     3361                                        V_Write1DData_Individual("root:Packages:NIST:VSANS:",activeType,newFileName,exten,binType) 
    33603362                                endif 
    3361                                 Print "data written to:  "+ newFileName+"."+exten 
    33623363 
    33633364                                break 
    33643365         
    33653366                                 
    3366                                 case "2D_ASCII": 
     3367                        case "2D_ASCII": 
    33673368//                              Fast2DExport(activeType,fullPath,dialog) 
    33683369                                break 
    33693370                        case "QxQy_ASCII": 
    3370                                 fullPath = S_Path + newFileName+".DAT" 
     3371                                fullPath = S_Path + newFileName  //+".DAT"              add the .DAT and detector panel in the writer, not here 
    33713372                                V_QxQy_Export(activeType,fullPath,newFileName,dialog) 
    33723373                                break 
Note: See TracChangeset for help on using the changeset viewer.