Changeset 1184


Ignore:
Timestamp:
Feb 9, 2022 2:52:36 PM (6 months ago)
Author:
ilavsky
Message:

Fix old spec scan usaxs reduction for Diesel guys

Location:
trunk/User Procedures
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/User Procedures/Indra 2/IN3_Main.ipf

    r1180 r1184  
    13681368        SetVariable RemoveDropoutsFraction,limits={0,1,0.1},variable= root:Packages:Indra3:RemoveDropoutsFraction, proc=IN3_ParametersChanged
    13691369
     1370        //modify any parameetrs not for old spe scans
     1371        NVAR SmoothRCurveData = root:Packages:Indra3:SmoothRCurveData
     1372        CheckBox SmoothRCurveData,pos={10,590},size={150,14},title="Smooth?", proc=IN3_MainPanelCheckBox
     1373        CheckBox SmoothRCurveData,variable= root:Packages:Indra3:SmoothRCurveData, help={"Check, if you want to smooth the data when reducing it"}
     1374
    13701375        CheckBox FindMinQForData,pos={10,610},size={150,14},title="Find MinQ automatically?", noproc
    13711376        CheckBox FindMinQForData,variable= root:Packages:Indra3:FindMinQForData, help={"Check, if you want to locate min-q for data start"}
  • trunk/User Procedures/Indra 2/IN3_Rwave.ipf

    r1180 r1184  
    9898        Wave R_Error = root:Packages:Indra3:R_Error
    9999        Wave MeasTime = root:Packages:Indra3:MeasTime
    100         NVAR SmoothRCurveData=SmoothRCurveData
     100        NVAR SmoothRCurveData = root:Packages:Indra3:SmoothRCurveData
    101101        if(SmoothRCurveData)
    102102                //firs remove NaNs as this is really difficult to deal with...
  • trunk/User Procedures/Irena/IR3_SimpleFits.ipf

    r1180 r1184  
    33423342        Wave/Z InvBckgWaveModel
    33433343        if(WaveExists(InvBckgWaveModel))
    3344                 CheckDisplayed /W=IR3J_LogLogDataDisplay IntWave, InvBckgWaveModel
    3345                 if(V_Flag)
     3344                CheckDisplayed /W=IR3J_LogLogDataDisplay InvBckgWaveModel
     3345                if(!V_Flag)
    33463346                        AppendToGraph /W=IR3J_LogLogDataDisplay InvBckgWaveModel vs QWaveModel
    33473347                        ModifyGraph lstyle(InvBckgWaveModel)=3,rgb(InvBckgWaveModel)=(1,12815,52428)
     
    33893389        NVAR DataQstartPoint = root:Packages:Irena:SimpleFits:DataQstartPoint
    33903390        SVAR InvBackgModel = root:Packages:Irena:SimpleFits:InvBackgModel
    3391         Wave IntWave = root:Packages:Irena:SimpleFits:OriginalDataIntWave
     3391        Wave/Z IntWave = root:Packages:Irena:SimpleFits:OriginalDataIntWave
     3392        if(!WaveExists(IntWave))        //not yet setup properly, abort.
     3393                return 0
     3394        endif
    33923395        Wave QWave = root:Packages:Irena:SimpleFits:OriginalDataQWave
    33933396        NVAR InvBckgMinQ = root:Packages:Irena:SimpleFits:InvBckgMinQ
Note: See TracChangeset for help on using the changeset viewer.