Ignore:
Timestamp:
Jul 22, 2009 5:43:18 PM (14 years ago)
Author:
srkline
Message:

(1) changes to ProDiv? to get the linear scaling correct with the new panel.

(2) bug fix in NCNR_Utils in file open dialog

(3) assorted changes to SASCALC and Simulation procedures to allow 1D simulation of data collection. 2D is now hidden and will be brought back later, as needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Models/NewModels_2006/Parallelepiped_v40.ipf

    r510 r541  
    237237        return(0) 
    238238End 
     239 
     240 
     241 
     242////////////For testing 
     243 
     244Macro PP_Rg_and_IZero() 
     245 
     246        variable rg2,iz 
     247         
     248        iz = coef_Parallelepiped[0] 
     249        iz *= coef_Parallelepiped[1]*coef_Parallelepiped[2]*coef_Parallelepiped[3] 
     250        iz *= (coef_Parallelepiped[4]-coef_Parallelepiped[5])^2 
     251        iz -= coef_Parallelepiped[6] 
     252        iz *= 1e8 
     253         
     254         
     255        rg2 = coef_Parallelepiped[1]^2 
     256        rg2 += coef_Parallelepiped[2]^2 
     257        rg2 += coef_Parallelepiped[3]^2 
     258        rg2 /= 12 
     259         
     260         
     261        Print "I(q=0) [cm^-1] = ",iz 
     262        Print "Rg [A] = ",sqrt(rg2) 
     263end 
Note: See TracChangeset for help on using the changeset viewer.