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

    r127 r130  
    228228        Prompt qmax "Enter maximum q-value (^-1) for model: " 
    229229         
    230         if (DataFolderExists("root:HayPenMSA")) 
    231                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    232         else 
    233                 NewDataFolder root:HayPenMSA 
    234                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     230        if(!DataFolderExists(":HayPenMSA")) 
     231                NewDataFolder :HayPenMSA 
    235232        endif 
     233        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    236234         
    237235        Make/O/D/n=(num) xwave_PCR_SC,ywave_PCR_SC 
     
    263261        SetDataFolder $("root:"+str) 
    264262         
    265         if (DataFolderExists("root:HayPenMSA")) 
    266                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    267         else 
    268                 NewDataFolder root:HayPenMSA 
    269                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     263        if(!DataFolderExists(":HayPenMSA")) 
     264                NewDataFolder :HayPenMSA 
    270265        endif 
     266        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    271267         
    272268        // Setup parameter table for model function 
Note: See TracChangeset for help on using the changeset viewer.