Ignore:
Timestamp:
Sep 16, 2010 5:13:31 PM (12 years ago)
Author:
srkline
Message:

ticket #281: added a check for SAM and EMP data to both be present when updating the USANS transmission. An alert is presented if one or the other is missing.

ticket #194: added two more options for curve fitting information. users can no with checkboxes add residuals to the fit graph, and add a textbox of fit information. unchecking the boxes provides the option for removing them from the graph.

-- still need to make sure that the residuals stay in sync. if they are on the graph and then use is un-selected, the residual won't update with the new fit. The textbox is fine - it's automatically killed if not selected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/COR_Graph.ipf

    r624 r743  
    360360        SVAR USANSFolder = root:Packages:NIST:USANS:Globals:gUSANSFolder 
    361361         
    362         Wave samCts=$(USANSFolder+":SAM:DetCts") 
    363         Wave empCts=$(USANSFolder+":EMP:DetCts") 
     362        Wave/Z samCts=$(USANSFolder+":SAM:DetCts") 
     363        Wave/Z empCts=$(USANSFolder+":EMP:DetCts") 
    364364        if((WaveExists(samCts)==0) || (WaveExists(empCts)==0)) 
     365                DoAlert 0,"Sample and Empty data must both be plotted before you can calculate the transmission" 
    365366                Variable/G $(USANSFolder+":Globals:MainPanel:gTransWide")=NaN           //error 
    366367                Variable/G $(USANSFolder+":Globals:MainPanel:gTransRock")=NaN 
Note: See TracChangeset for help on using the changeset viewer.