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/NewModels_2006/SchulzSpheres_and_Struct.ipf

    r129 r130  
    222222        Prompt qmax "Enter maximum q-value (^-1) for model: " 
    223223         
    224         if (DataFolderExists("root:HayPenMSA")) 
    225                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    226         else 
    227                 NewDataFolder root:HayPenMSA 
    228                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     224        if(!DataFolderExists(":HayPenMSA")) 
     225                NewDataFolder :HayPenMSA 
    229226        endif 
     227        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    230228 
    231229        Make/O/D/N=(num) xwave_sch_SC,ywave_sch_SC 
     
    256254        SetDataFolder $("root:"+str) 
    257255         
    258         if (DataFolderExists("root:HayPenMSA")) 
    259                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
    260         else 
    261                 NewDataFolder root:HayPenMSA 
    262                 Make/O/D/N=17 root:HayPenMSA:gMSAWave 
     256        if(!DataFolderExists(":HayPenMSA")) 
     257                NewDataFolder :HayPenMSA 
    263258        endif 
     259        Make/O/D/N=17 :HayPenMSA:gMSAWave 
    264260         
    265261        // Setup parameter table for model function 
Note: See TracChangeset for help on using the changeset viewer.