Ignore:
Timestamp:
Jul 26, 2007 9:51:43 AM (16 years ago)
Author:
srkline
Message:

-Fixed RPA and HPMSA functions to be up-to-date and use data folders properly for the smeared calculations.

-Changed the coef/param naming scheme for RPA to be consistent with all other models.

-SANSModelPicker now finds Smeared Plot Procs with the correct number of parameters to populate the menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Cylinder_and_Struct.ipf

    r127 r130  
    203203        Prompt qmax "Enter maximum q-value (^-1) for model: " 
    204204         
    205         if (DataFolderExists("root:HayPenMSA")) 
    206                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    207         else 
    208                 NewDataFolder root:HayPenMSA 
    209                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     205        if(!DataFolderExists(":HayPenMSA")) 
     206                NewDataFolder :HayPenMSA 
    210207        endif 
     208        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    211209         
    212210        Make/O/D/n=(num) xwave_CYL_SC,ywave_CYL_SC 
     
    238236        SetDataFolder $("root:"+str) 
    239237         
    240         if (DataFolderExists("root:HayPenMSA")) 
    241                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    242         else 
    243                 NewDataFolder root:HayPenMSA 
    244                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     238        if(!DataFolderExists(":HayPenMSA")) 
     239                NewDataFolder :HayPenMSA 
    245240        endif 
     241        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    246242         
    247243        // Setup parameter table for model function 
Note: See TracChangeset for help on using the changeset viewer.