Ignore:
Timestamp:
May 4, 2011 9:47:33 AM (12 years ago)
Author:
srkline
Message:

Changed the 2D resolution calculation to include gravity. This seems to work, but will still require some testing. It requires no modifications to the smearing calculation, still using parallel and perpendicular directions.

Added a Fake Update feature to the RealTime? update. There are specific, separate instructions for how to set this up. Usef (possibly) for summer schools or demos.

Adjusted the 2D MonteCarlo? simulation to a corrected beam center. The Gauss Peak was not symmetric around the old beam center.

Corrected the AAO resolution smearing functions to work with cursors.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Analysis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Cylinder_Fills.ipf

    r798 r800  
    400400        prompt len,"length of cylinders" 
    401401        prompt periodic,"1=periodic, 0=non-periodic boundaries" 
     402        Prompt sobol,"1=Sobol, 0=random" 
    402403         
    403404        $w=0 
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_KR_Parser.ipf

    r798 r800  
    383383        Variable/G root:KR_Npt = 100 
    384384 
     385        FFT_MakeMatrixButtonProc("") 
     386 
    385387        NewPanel /W=(241,44,1169,458)/N=MultiCyl/K=1 as "Multi-Cylinder" 
    386388        ModifyPanel cbRGB=(49825,57306,65535) 
    387389 
    388         Button button_0,pos={45,79},size={100,20},proc=KR_Show3DButtonProc,title="Show 3D" 
     390        Button button_0,pos={45,80},size={100,20},proc=KR_Show3DButtonProc,title="Show 3D" 
    389391        Button button_1,pos={46,51},size={100,20},proc=KR_Plot1DButtonProc,title="Plot 1D" 
    390392        Button button_2,pos={178,80},size={120,20},proc=KR_DoCalcButtonProc,title="Do Calculation" 
     393        Button button_3,pos={600,50},size={120,20},proc=KR_DeleteRow,title="Delete Row(s)" 
    391394        ValDisplay valdisp_0,pos={339,16},size={80,13},title="FFT_T" 
    392395        ValDisplay valdisp_0,limits={0,0,0},barmisc={0,1000},value= #"root:FFT_T" 
     
    433436                        endif 
    434437         
     438                        break 
     439        endswitch 
     440 
     441        return 0 
     442End 
     443 
     444Function KR_DeleteRow(ba) : ButtonControl 
     445        STRUCT WMButtonAction &ba 
     446 
     447        switch( ba.eventCode ) 
     448                case 2: // mouse up 
     449                         
     450                        GetSelection table, MultiCyl#T0,3 
     451//                      Print V_flag, V_startRow, V_startCol, V_endRow, V_endCol 
     452                        DoAlert 1, "Do want to delete rows "+num2Str(V_StartRow)+" through "+num2str(V_endRow)+" ?" 
     453                        if(V_flag==1)                    
     454                                DeletePoints V_StartRow,(V_endRow-V_StartRow+1),xx,yy,zz,rri,hti,sbp,rotx,roty,sld 
     455                        endif 
     456                         
    435457                        break 
    436458        endswitch 
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Models/Models_2D/PeakGauss2D_v40.ipf

    r794 r800  
    182182        //no threads 
    183183//      Smear_2DModel_PP(PeakGauss2D_noThread,s,10) 
     184//      Smear_2DModel_PPG(PeakGauss2D_noThread,s,10) 
    184185 
    185186        //or threaded... 
Note: See TracChangeset for help on using the changeset viewer.