Ignore:
Timestamp:
Oct 18, 2019 1:08:35 PM (3 years ago)
Author:
srkline
Message:

Updated help file for VSANS. Graphics were not PNG.

Removed HFIR SANS package since if requires XML XOP - no longer supported.

Improved quality of graphics export for Analysis reports.

Added more support for super_white_beam mode on VSANS

Corrected printf bug (Igor 8) when printing out % sign

Added utilities for patching wavelength and monochromator type on VSANS since the type is still not written out correctly by NICE, and super_white_beam is not yet defined in NICE

Adjusted panel dimensions for the temperature sensor display on VSANS (needed onWindows)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf

    r1001 r1222  
    345345                        // make the necessary waves if they don't exist already 
    346346                        if(exists("Hold_"+suffix) == 0) 
    347                                 Make/O/D/N=(num) $("epsilon_"+suffix),$("Hold_"+suffix) 
    348                                 Make/O/T/N=(num) $("LoLim_"+suffix),$("HiLim_"+suffix) 
    349                                 Wave eps = $("epsilon_"+suffix) 
    350                                 Wave coef=$popStr 
    351                                 if(eps[0] == 0)         //if eps already if filled, don't change it 
    352                                         eps = abs(coef*1e-4) + 1e-10                    //default eps is proportional to the coefficients 
    353                                 endif 
    354                         endif 
     347                                Make/O/D/N=(num) $("Hold_"+suffix) 
     348                        endif 
     349                        if(exists("epsilon_"+suffix) == 0) 
     350                                Make/O/D/N=(num) $("epsilon_"+suffix) 
     351                        endif 
     352                        if(exists("LoLim_"+suffix) == 0) 
     353                                Make/O/T/N=(num) $("LoLim_"+suffix) 
     354                        endif 
     355                        if(exists("HiLim_"+suffix) == 0) 
     356                                Make/O/T/N=(num) $("HiLim_"+suffix) 
     357                        endif 
     358                                                 
     359                        Wave eps = $("epsilon_"+suffix) 
     360                        Wave coef=$popStr 
     361                        if(eps[0] == 0)         //if eps already if filled, don't change it 
     362                                eps = abs(coef*1e-4) + 1e-10                    //default eps is proportional to the coefficients 
     363                        endif 
     364                         
    355365                        // default epsilon values, sometimes needed for the fit 
    356366                         
     
    11691179         
    11701180        // insert graphs 
     1181        // extra flag "2" (Igor >=7.00) is 2x screen resolution 
    11711182        if(WaveExists(dataXw)) 
    11721183//              Notebook $nb picture={$topGraph(0, 0, 400, 300), -5, 1}, text="\r" 
    1173                 Notebook $nb scaling={50, 50}, picture={$topGraph(0, 0, 800, 600), -5, 1}, text="\r" 
     1184                Notebook $nb scaling={50, 50}, picture={$topGraph(0, 0, 800, 600), -5, 1,2}, text="\r" 
    11741185        // 
    11751186        else            //must be 2D Gizmo 
    11761187                Execute "ExportGizmo Clip"                      //this ALWAYS is a PICT or BMP. Gizmo windows are different... 
    11771188                LoadPict/Q/O "Clipboard",tmp_Gizmo 
    1178                 Notebook $nb picture={tmp_Gizmo(0, 0, 800, 600), 0, 1}, text="\r" 
     1189                Notebook $nb picture={tmp_Gizmo(0, 0, 800, 600), 0, 1,2}, text="\r" 
    11791190        endif 
    11801191         
     
    12111222///             SavePICT /E=-5/O/P=home /I/W=(0,0,3,3) as pictStr 
    12121223                if(WaveExists(dataXw)) 
    1213                         SavePICT /E=-5/O/P=home/WIN=$topGraph /W=(0,0,800,600) as pictStr 
     1224                        SavePICT /E=-5/O/B=144/P=home/WIN=$topGraph /W=(0,0,800,600) as pictStr 
    12141225                else 
    12151226                        Execute "ExportGizmo /P=home as \""+pictStr+"\""                //this won't be of very high quality 
Note: See TracChangeset for help on using the changeset viewer.