Ignore:
Timestamp:
Jul 22, 2019 10:30:38 AM (4 years ago)
Author:
krzywon
Message:

Add QxQy_NXcanSAS as a reduction option in protocol menu.

File:
1 edited

Legend:

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

    r1182 r1185  
    13451345 
    13461346//      Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII;PNG_Graphic;Sector_PlusMinus;" 
    1347         Prompt av_typ, "Type of Average",popup,"Circular;Narrow_Slit;Annular;Sector;QxQy_ASCII;" 
     1347        Prompt av_typ, "Type of Average",popup,"Circular;Narrow_Slit;Annular;Sector;QxQy_ASCII;QxQy_NXcanSAS" 
    13481348 
    13491349// comment out above line in DEMO_MODIFIED version, and uncomment the line below (to disable PNG save) 
     
    14921492        String av_typ,autoSave,AutoName,autoPlot,side 
    14931493        Variable phi=0,dphi=10,width=10,Qctr = 0.01,qDelta=10 
    1494         Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII;PNG_Graphic;Sector_PlusMinus;" 
     1494        Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII;QxQy_NXcanSAS;PNG_Graphic;Sector_PlusMinus;" 
    14951495// comment out above line in DEMO_MODIFIED version, and uncomment the line below (to disable PNG save) 
    14961496//      Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII" 
     
    33513351//                                      prot[9] = collimationStr 
    33523352                                        if (useNXcanSASOutput == 1) 
    3353                                                 WriteNxCanSAS1D(activeType,fullPath,dialog) 
     3353                                                V_WriteNXcanSAS1DData("root:Packages:NIST:VSANS:",activeType,newFileName+".h5") 
    33543354                                        else 
    33553355                                                V_Write1DData("root:Packages:NIST:VSANS:",activeType,newFileName+"."+exten)             //don't pass the full path, just the name 
     
    33763376                                V_QxQy_Export(activeType,fullPath,newFileName,dialog) 
    33773377                                break 
    3378                         case "2D_NXcanSAS": 
     3378                        case "QxQy_NXcanSAS": 
    33793379                                fullPath = S_Path + newFileName+".h5" 
    33803380                                V_WriteNXcanSAS2DData(activeType,fullPath,newFileName,dialog) 
Note: See TracChangeset for help on using the changeset viewer.