Ignore:
Timestamp:
Sep 6, 2019 2:06:49 PM (3 years ago)
Author:
krzywon
Message:

Add 2D NXcanSAS output as an option in Averaging Panel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/branches/nxcansas_writer/NCNR_User_Procedures/Reduction/SANS/AvgGraphics.ipf

    r1165 r1206  
    136136                        CircularAverageTo1D(type)               //graph is drawn here 
    137137                        break 
     138                case "2D_NXcanSAS": 
     139                        WriteNxCanSAS2D(type,"",1) 
     140                        break 
    138141                case "2D ASCII": 
    139142                        Fast2dExport(type,"",1) 
     
    156159                        case "2D ASCII": 
    157160                        case "QxQy ASCII": 
     161                        case "2D_NXcanSAS": 
    158162                                break 
    159163                        default: 
     
    225229                case "2D ASCII":                // execute if case matches expression 
    226230                case "QxQy ASCII": 
     231                case "2D_NXcanSAS": 
    227232                        String/G root:myGlobals:Drawing:gDrawInfoStr = ReplaceStringByKey("AVTYPE", tempStr, choice, "=", ";") 
    228233                        Button P_DoAvg,title="Save ASCII" 
     
    253258        strswitch(choice)       // string switch 
    254259                case "2D ASCII": 
    255                 case "QxQy ASCII":                                       
     260                case "QxQy ASCII":       
     261                case "2D_NXcanSAS":      
    256262                case "Circular":                //disable everything for these three choices 
    257263                        SetVariable Phi_p,disable=yes 
     
    307313        PopupMenu av_choice,pos={61,7},size={144,20},proc=AvTypePopMenuProc,title="AverageType" 
    308314        PopupMenu av_choice,help={"Select the type of average to perform, then make the required selections below and click \"DoAverage\" to plot the results"} 
    309         PopupMenu av_choice,mode=1,popvalue="Circular",value= #"\"Circular;Sector;Annular;Rectangular;2D ASCII;QxQy ASCII;Sector_PlusMinus;\"" 
     315        PopupMenu av_choice,mode=1,popvalue="Circular",value= #"\"Circular;Sector;Annular;Rectangular;2D_NXcanSAS;2D ASCII;QxQy ASCII;Sector_PlusMinus;\"" 
    310316        Button ave_help,pos={260,7},size={25,20},proc=ShowAvePanelHelp,title="?" 
    311317        Button ave_help,help={"Show the help file for averaging options"} 
Note: See TracChangeset for help on using the changeset viewer.