Ignore:
Timestamp:
Feb 22, 2013 3:21:48 PM (10 years ago)
Author:
srkline
Message:

10m SANS is now "on-center", so the tolerance for the center in ProDiv? has been re-instated

All waves in the CatTable? are now double precision so that the floating point details can be seen, like when the attenuator number = 2.997, rather than 3.

NCNR_utils - now rounds the attenuator number to get an integer. 2.9999 was being truncated to 2, not the "real" value of 3.

Some unfinished changes to the non-XOP 2D simulation, testing the pixel assignment.

File:
1 edited

Legend:

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

    r891 r901  
    11761176         
    11771177        //save the notebook and the graphic file 
     1178        // saving with a unique name can be an issue if there are a lot of files with similar names 
     1179        // and the fit function has a long name 
    11781180        if(yesSave) 
    1179                 String nameStr=CleanupName(func,0) 
    1180                 nameStr += "_"+dataname 
     1181                String nameStr 
     1182                // function first                
     1183//              nameStr=CleanupName(func,0) 
     1184//              nameStr += "_"+dataname 
     1185//              nameStr = ReplaceString("Smeared",nameStr,"Sm_")                //if Smeared function, shorten the name 
     1186                // -- or 
     1187                // data first 
     1188                nameStr = dataname+"_" 
     1189                nameStr += CleanupName(func,0) 
    11811190                nameStr = ReplaceString("Smeared",nameStr,"Sm_")                //if Smeared function, shorten the name 
     1191 
    11821192                //make sure the name is no more than 31 characters 
    11831193                namestr = namestr[0,30]         //if shorter than 31, this will NOT pad to 31 characters 
     1194                 
    11841195                Print "file saved as ",nameStr 
    11851196                SaveNotebook /O/P=home/S=2 $nb as nameStr 
Note: See TracChangeset for help on using the changeset viewer.