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/PolyCore_and_Struct.ipf

    r127 r130  
    229229        Prompt qmax "Enter maximum q-value (^-1) for model: " 
    230230         
    231         if (DataFolderExists("root:HayPenMSA")) 
    232                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    233         else 
    234                 NewDataFolder root:HayPenMSA 
    235                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     231        if(!DataFolderExists(":HayPenMSA")) 
     232                NewDataFolder :HayPenMSA 
    236233        endif 
     234        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    237235         
    238236        Make/O/D/n=(num) xwave_PCF_SC,ywave_PCF_SC 
     
    264262        SetDataFolder $("root:"+str) 
    265263         
    266         if (DataFolderExists("root:HayPenMSA")) 
    267                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    268         else 
    269                 NewDataFolder root:HayPenMSA 
    270                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     264        if(!DataFolderExists(":HayPenMSA")) 
     265                NewDataFolder :HayPenMSA 
    271266        endif 
     267        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    272268         
    273269        // Setup parameter table for model function 
Note: See TracChangeset for help on using the changeset viewer.