Ignore:
Timestamp:
Sep 21, 2007 3:18:47 PM (16 years ago)
Author:
srkline
Message:

Changed NSORT to display rescaling and overlap constants behind the OS file save dialog, allowing the user to cancel the save it something is amiss.

No significant change in trans=1 panel behavior in Correct.ipf

Cosmetic changes to RawWindowHook? (drawing order) to look nicer w/OS native panels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/NSORT.ipf

    r143 r167  
    767767        PopupMenu popup_3,mode=1,value= #"root:myGlobals:NSORT:gDataPopList_3" 
    768768        PopupMenu popup_3,help={"Choose the dataset with the highest overall q-value (shortest detector distance), or NONE if no third set desired"} 
    769         CheckBox AutoCheck,pos={14,310},size={100,20},title="Auto Scale",value=1 
     769        CheckBox AutoCheck,pos={14,310},size={100,20},title="Auto Scale",value=0 
    770770        CheckBox AutoCheck,help={"If checked, the scale factor will be automatically determined, if not checked, the current values in the fields will be used"} 
    771771EndMacro 
     
    831831        While(0) 
    832832        ControlUpdate/A/W=NSORT_Panel 
     833                DoUpdate 
    833834                 
    834835End 
     
    10501051                Sort q12, q12,i12,sig12 
    10511052                //at this point 1-2 are combined 
     1053                 
     1054                ControlUpdate/A/W=NSORT_Panel 
     1055                DoUpdate 
     1056                 
    10521057                //do we need to continue, or write out the set here and stop? 
    10531058                if(cmpstr(name3,"none") == 0) 
     
    11181123                Endif 
    11191124                 
     1125                ControlUpdate/A/W=NSORT_Panel 
     1126                DoUpdate 
     1127 
    11201128                //Print "NSORT-ed ",name1," + ", name2, " + ", name3 
    11211129                //Print "normalized to ",normTo 
     
    12171225                //Print "normalized to ",normTo 
    12181226                //Print "multiplicative factor = ",norm12 
    1219                  
     1227                ControlUpdate/A/W=NSORT_Panel 
     1228                DoUpdate 
     1229 
    12201230                 
    12211231                //Make the combined, scaled dataset by overwriting the old sets 
     
    13161326                //Print "normalized to ",normTo 
    13171327                //Print "multiplicative factor 1-2 = ",norm12," multiplicative factor 12 - 3 = ",norm23 
    1318                  
     1328                ControlUpdate/A/W=NSORT_Panel 
     1329                DoUpdate 
    13191330                 
    13201331                Make/O/N=(n123) q123,i123,sig123,sq123,qb123,fs123 
Note: See TracChangeset for help on using the changeset viewer.