Changeset 1217 for sans/Dev/trunk
- Timestamp:
- Sep 26, 2019 1:13:02 PM (3 years ago)
- Location:
- sans/Dev/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Utils.ipf
r1209 r1217 1447 1447 NewDataFolder/O root:myGlobals:Attenuators 1448 1448 //do explicitly to avoid data folder problems, redundant, but it must work without fail 1449 Variable num=10 //10 needed for tables after June 2007 1449 // Variable num=10 //10 needed for tables after June 2007 1450 Variable num=11 //11 needed for tables after Sep 2019 1450 1451 1451 1452 Make/O/N=(num) root:myGlobals:Attenuators:ng3att0 … … 1608 1609 // xxxx JAN 2013 -- Using John's measured values from 23 JAN 2013 1609 1610 // 1610 // xxxx there are 13 discrete wavelengths in NGBLambda = 13 (only 10 used for 30m)1611 // xxxx there are only 9 attenuators, not 10 as in the 30m1612 1611 // 1613 1612 // -- updated MAY 2013 -- … … 1620 1619 NewDataFolder/O root:myGlobals:Attenuators 1621 1620 1622 // Variable num=13 //13 needed for tables to cover 3A - 30A1623 1621 Variable num=12 //12 needed for tables to cover 3A - 30A 1624 1622 … … 1648 1646 Make/O/N=(num) root:myGlobals:Attenuators:NGBatt10_err 1649 1647 1650 //NGB wave has 1 3elements, the transmission of att# at the wavelengths1648 //NGB wave has 12 elements, the transmission of att# at the wavelengths 1651 1649 //lambda = 3A to 30A 1652 1650 // note that some of the higher attenuations and ALL of the 30A data is interpolated … … 1657 1655 1658 1656 // new calibrations MAY 2013 1659 root:myGlobals:Attenuators:NGBatt0 = {1,1,1,1,1,1,1,1,1,1,1,1 ,1}1657 root:myGlobals:Attenuators:NGBatt0 = {1,1,1,1,1,1,1,1,1,1,1,1} 1660 1658 root:myGlobals:Attenuators:NGBatt1 = {0.512,0.474,0.418,0.392,0.354,0.325,0.294,0.27,0.255,0.222,0.185,0.155} 1661 1659 root:myGlobals:Attenuators:NGBatt2 = {0.268,0.227,0.184,0.16,0.129,0.108,0.0904,0.0777,0.0689,0.0526,0.0372,0.0263} … … 1671 1669 // percent errors as measured, MAY 2013 values 1672 1670 // zero error for zero attenuators, large values put in for unknown values (either 2% or 5%) 1673 root:myGlobals:Attenuators:NGBatt0_err = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0}1671 root:myGlobals:Attenuators:NGBatt0_err = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 1674 1672 root:myGlobals:Attenuators:NGBatt1_err = {0.174,0.256,0.21,0.219,0.323,0.613,0.28,0.135,0.195,0.216,0.214,19.8} 1675 1673 root:myGlobals:Attenuators:NGBatt2_err = {0.261,0.458,0.388,0.419,0.354,0.668,0.321,0.206,0.302,0.305,0.315,31.1} … … 1684 1682 1685 1683 1686 //// (old) Newcalibration, Jan 2013 John Barker1684 //// (old) calibration, Jan 2013 John Barker 1687 1685 // root:myGlobals:Attenuators:NGBatt0 = {1,1,1,1,1,1,1,1,1,1,1,1,1} 1688 1686 // root:myGlobals:Attenuators:NGBatt1 = {0.522,0.476,0.42007,0.39298,0.36996,0.35462,0.31637,0.29422,0.27617,0.24904,0.22263,0.18525,0.15} -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_VCALCPanel_MockUp.ipf
r1142 r1217 98 98 SetVariable setVar_a,limits={0.3,30,0.2},value=_NUM:28 99 99 100 ValDisplay valDisp_a,pos={30,380},size={ 150,15},fstyle=1,title="Beam Intensity",value=root:Packages:NIST:VSANS:VCALC:gBeamIntensity100 ValDisplay valDisp_a,pos={30,380},size={200,15},fstyle=1,title="Beam Intensity",value=root:Packages:NIST:VSANS:VCALC:gBeamIntensity 101 101 102 102 SetDrawEnv fstyle= 1 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Sector_Average.ipf
r1152 r1217 19 19 String folderStr,detStr,folderPath 20 20 21 22 Variable xctr = V_getDet_beam_center_x_pix(folderStr,detStr) 23 Variable yctr = V_getDet_beam_center_y_pix(folderStr,detStr) 21 Variable xctr,yctr 22 23 if(cmpstr(detStr,"B")==0) 24 //if "B", the center is already in pixels by definition, and x_pix, y_pix fields do not exist 25 xctr = V_getDet_beam_center_x(folderStr,detStr) 26 yctr = V_getDet_beam_center_y(folderStr,detStr) 27 else 28 xctr = V_getDet_beam_center_x_pix(folderStr,detStr) 29 yctr = V_getDet_beam_center_y_pix(folderStr,detStr) 30 endif 31 24 32 25 33 Duplicate/O qTotal,$(folderPath+":phi")
Note: See TracChangeset
for help on using the changeset viewer.