Ignore:
Timestamp:
May 2, 2012 10:35:55 AM (11 years ago)
Author:
srkline
Message:

Added a menu option in the SANS Models ->1D to show the correlation matrix. This brings up a panel that shows the values along with the current parameter names. The help button links directly to the WM help file that explains the calculation. May want to add coloring for warning, if anyone uses it...

Most important would be to make it more visible and in the users line of sight if there is a problem...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/Polarization/Pol_PolarizationPanels.ipf

    r851 r855  
    815815                                 
    816816                        endfor          //loop over rows 
    817                          
    818                         // now get a running average of muP, Po, and the errors 
    819                         avg_muP = sum_muP/numRows 
    820                         avg_Po = sum_Po/numRows 
    821                         err_avg_muP = sqrt(err_avg_muP) / numRows 
    822                         err_avg_Po = sqrt(err_avg_Po) / numRows 
    823                          
     817 
     818 
     819////// 26 APR 12 -- why was I getting a running average of these values??               not sure, so I commented them out... 
     820//                              they aren't returned or used anywhere... 
     821//                      // now get a running average of muP, Po, and the errors 
     822//                      avg_muP = sum_muP/numRows 
     823//                      avg_Po = sum_Po/numRows 
     824//                      err_avg_muP = sqrt(err_avg_muP) / numRows 
     825//                      err_avg_Po = sqrt(err_avg_Po) / numRows 
     826//       
     827// 
     828//                      Printf "Average muP = %g +/- %g (%g%)\r",avg_muP,err_avg_muP,err_avg_muP/avg_muP*100 
     829//                      Printf "Average Po = %g +/- %g (%g%)\r",avg_Po,err_avg_Po,err_avg_Po/avg_Po*100 
     830//                       
     831//              E  26 APR 12 
     832                 
    824833//                      str = "muP=2,err_muP=0,P0=0.6,err_P0=0,T0=asdf,gamma=200,err_gamma=0," 
    825834 
     
    835844//                      Note w, noteStr 
    836845                                         
    837                         Printf "Average muP = %g +/- %g (%g%)\r",avg_muP,err_avg_muP,err_avg_muP/avg_muP*100 
    838                         Printf "Average Po = %g +/- %g (%g%)\r",avg_Po,err_avg_Po,err_avg_Po/avg_Po*100 
     846 
    839847                         
    840848                        //update the global values for display (not these, but after the fit) 
Note: See TracChangeset for help on using the changeset viewer.