Ignore:
Timestamp:
Jan 9, 2018 10:02:45 AM (5 years ago)
Author:
srkline
Message:

cleanup of TODO items in code, no noteworthy changes

prepare a test release package for the January startup of VSANS, not a general release (since no changes to SANS or USANS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf

    r1078 r1079  
    363363//TODO: be sure that this works correctly and can be included in either 
    364364// 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                           
     365// -- since this is a Proc, not a function, #conditional compile does not work, 
     366// but, since it's a Proc, it is not compiled, so missing functions aren't flagged as a compile error 
     367                                if (exists("NCNR_VSANS")==6)                    //defined in the main  VSANS #includes file. 
     368                                                                DoAlert 0,"**Treating data as VSANS data**" 
     369                                                                Duplicate/O $w3,$(baseStr+"_dQv")                       //save a copy for VSANS 
     370                                                                $(baseStr+"_dQv") = -$(baseStr+"_dQv") 
     371                                                                V_USANS_CalcWeights(baseStr,dQv) 
     372                                else 
     373                                                                DoAlert 0,"Treating data as USANS (normal slit-smeared data)" 
     374                                                                USANS_CalcWeights(baseStr,dQv) 
     375                                endif                            
    374376 
    375377                                 
     
    13441346        list = RemoveFromList("DoAnnulusGraph;DoArcGraph;",list,";") 
    13451347         
     1348// from 2017-2018 VSANS reduction 
     1349        list = RemoveFromList("V_BroadPeak_Pix2D;V_BroadPeak_Pix2D_noThread;V_CleanupTimes;V_I_BroadPeak_Pix2D;V_IndexForHistogram;V_MakeFibonacciWave;V_UpdatePix2Mat;xJointHistogram;",list,";") 
    13461350                         
    13471351        list = SortList(list) 
Note: See TracChangeset for help on using the changeset viewer.