Changeset 1078 for sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf
- Timestamp:
- Jan 5, 2018 10:32:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf
r1039 r1078 360 360 //$(baseStr+"_res")[][3] = $w0[p] //Qvalues 361 361 dQv = -$w3[0] 362 363 //TODO: be sure that this works correctly and can be included in either 364 // a VSANS reduction experiment, or a standalone analysis package 365 #if (exists("NCNR_VSANS")==6) //defined in the main #includes file. 366 DoAlert 0,"**Treating data as VSANS data**" 367 Duplicate/O $w3,$(baseStr+"_dQv") //save a copy for VSANS 368 $(baseStr+"_dQv") = -$(baseStr+"_dQv") 369 V_USANS_CalcWeights(baseStr,dQv) 370 #else 371 DoAlert 0,"Treating data as USANS (normal slit-smeared data)" 372 USANS_CalcWeights(baseStr,dQv) 373 #endif 374 362 375 363 USANS_CalcWeights(baseStr,dQv)364 376 365 377 endif
Note: See TracChangeset
for help on using the changeset viewer.