Changeset 891 for sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Timestamp:
- Jan 28, 2013 5:23:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf
r890 r891 166 166 167 167 PlotEC_Empirical(100,0.001,0.7) // plot an empirical empty cell, only used for the simulation, not needed for SASCALC 168 KillTopGraphAndTable(1) // then kill the graph and table that the macro generates 168 // KillTopGraphAndTable(1) // then kill the graph and table that the macro generates (but the function is in Wrapper, which is often not loaded 169 String topGraph= WinName(0,1) //this is the topmost graph 170 String topTable= WinName(0,2) //this is the topmost table 171 KillWindow $topGraph 172 KillWindow $topTable 173 169 174 170 175 //tick labels for SDD slider … … 1023 1028 // 1024 1029 // depending on the state of the 2D flag, open the 1d or 2d control panel 1030 // AND - if doing simulation, check first that the Analysis package is loaded - otheriwse lots of errors 1025 1031 Function SimCheckProc(CB_Struct) : CheckBoxControl 1026 1032 STRUCT WMCheckboxAction &CB_Struct … … 1028 1034 1029 1035 if(CB_Struct.checked) 1036 if(exists("SANS_ANA_VERSION")!=2) //if the analysis package is not loaded 1037 // be sure that the SANS Analysis is loaded and compiles 1038 NCNR_AnalysisLoader("Load NCNR Analysis Macros") 1039 endif 1040 1030 1041 NVAR do2D = root:Packages:NIST:SAS:gDoMonteCarlo 1031 1042
Note: See TracChangeset
for help on using the changeset viewer.