Changeset 928
- Timestamp:
- Apr 20, 2020 11:47:18 AM (2 years ago)
- Location:
- trunk/User Procedures
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/User Procedures/Indra 2/Readme.txt
r853 r928 13 13 Modification history: 14 14 _____________________________________________________________________________________ 15 1.971 beta 4/20/2020 16 no change in main code. 17 18 15 19 1.97 2/9/2020 16 20 Many tools - changed code compiler instruction to rtGLobals=3, this is less forgiving compile which prevents more accidental bugs, but may generate new errors in old code. Report as many errors as possible to author, please. -
trunk/User Procedures/Irena/Modification history.txt
r889 r928 14 14 Fractals - added optional use of Unified Fit Sphere form factor. This removes high-q Bessel function oscillations which are nto reasonable for most cases. 15 15 Added Multi Data Plot tool, new tool to plot quickly many data sets. New ipf file... 16 Added Simple fits tool, new tool and new capabilities. Guinier, Porod, Sphere and Spheroid, more to coem as needed 16 Added Metadata Browser tool, enables relatively easy extraction of values from metadata in wave notes. 17 Added Basic fits tool, new tool and new capabilities. Guinier, Porod, Sphere and Spheroid, more to coem as needed 17 18 Added group of bioSAS tools - specialized simple import, data averaging and buffer subtraction, etc. Linked to menu also some existing tools for other functions bioSAS needs. 19 tools: Import ASCII, Average/Subtract/Scale tool, and PDDF + Molecular weight calculator. Uses ATSAS to get PDDF. 18 20 19 21 -
trunk/User Procedures/Nika/Modification history.txt
r903 r928 13 13 Modification history: 14 14 ******************************************** 15 1.8 3 - TBA15 1.821 beta 4/20/2020 16 16 Main panel - change sorting option "_001". This will now look from the end of name for first number. This si to help with NSLS samples names MyName_00001_waxs.ext etc. Will work for normal files Myname_0001.ext also. 17 17 Attempt to fix NXcanSAS data importer. WIP, no data to test against. 18 Fixed problem with Sector graph sometimes looking weird - apparently ImageLineProfile sometimes makes different point numbers and this needs to be accounted for. 19 Add Sector graph which accounts for tilts, requested by Josh. 18 20 19 21 1.82 - 2/9/2020 -
trunk/User Procedures/Nika/NI1_FileLoaders.ipf
r927 r928 3941 3941 UsedQXY = 0 3942 3942 UsedAzimAngle = 0 3943 string QUnits = "1/Angstrom" 3943 3944 //Abort "Need finishing NI1_ReadCalibCanSASNexusFile" 3944 3945 if (stringmatch(NewWaveName,"CCDImageToConvert")) 3945 //DataIdentification = "DataWv:"+TempDataPath+";"+"QWv:"+TempQPath+";"+"IdevWv:"+TempIdevPath+";"+"MaskWv:"+TempMaskPath+";"3946 // DataWv:/sasentry01/sasdata01/I;QWv:/sasentry01/sasdata01/Q;IdevWv:;MaskWv:;3946 //DataIdentification = "DataWv:"+TempDataPath+";"+"QWv:"+TempQPath+";"+"IdevWv:"+TempIdevPath+";"+"MaskWv:"+TempMaskPath+";" 3947 // DataWv:/sasentry01/sasdata01/I;QWv:/sasentry01/sasdata01/Q;IdevWv:;MaskWv:; 3947 3948 HDF5OpenFile/P=$(PathName)/R fileID as FileNameToLoad 3948 3949 //load data - Intensity … … 3968 3969 UsedQXY=1 3969 3970 endif 3971 QUnits = StringByKey("QUnits", FileContent, ":", ",") 3970 3972 TempStr = StringByKey("IdevWv", FileContent, ":", ",") 3971 3973 if(strlen(TempStr)>2) //only Q wave … … 4003 4005 Wave Qx2D 4004 4006 Wave Qy2D 4007 //convert Q in appropriate units... 4008 strswitch(QUnits) 4009 case "1/Angstrom": 4010 //this is OK, nothing to do... 4011 break 4012 case "1/nm": 4013 MatrixOp /O Qx2D = Qx2D/10 4014 MatrixOp /O Qy2D = Qy2D/10 4015 break 4016 case "1/m": 4017 MatrixOp /O Qx2D = Qx2D/(1e10) 4018 MatrixOp /O Qy2D = Qy2D/(1e10) 4019 break 4020 endswitch 4005 4021 if(!UsedAzimAngle) 4006 4022 MatrixOP/O AnglesWave = atan(Qy2D/Qx2D) … … 4017 4033 else //used just Q, need to create AzimuthalWave 4018 4034 Wave Q2Dwave 4019 Wave Qvector 4035 //Wave Qvector 4036 //convert Q in appropriate units... 4037 strswitch(QUnits) 4038 case "1/Angstrom": 4039 //this is OK, nothing to do... 4040 break 4041 case "1/nm": 4042 MatrixOp /O Q2Dwave = Q2Dwave/10 4043 break 4044 case "1/m": 4045 MatrixOp /O Q2Dwave = Q2Dwave/(1e10) 4046 break 4047 endswitch 4020 4048 Wavestats/Q Q2DWave 4021 4049 BeamCenterX = V_minRowLoc 4022 4050 BeamCenterY = V_minColLoc 4023 4051 if(!UsedAzimAngle) 4024 Duplicate/O Q vector, AnglesWave4052 Duplicate/O Q2Dwave, AnglesWave 4025 4053 Multithread AnglesWave = abs(atan2((BeamCenterY-q),(BeamCenterX-p))-pi) 4026 4054 endif 4027 4055 endif 4056 4057 4028 4058 Redimension/S AnglesWave 4029 4059 Wave CCDImageToConvert … … 4146 4176 OrigQyPath=" " 4147 4177 DataIdentification=" " 4178 string QUnits="1/angstrom" 4179 string tempStrUnits, tempStr65 4148 4180 4149 4181 HDF5OpenFile/P=$(PathName)/R fileID as FileNameToLoad … … 4169 4201 SignalNameAtrr=stringByKey("signal",AttribList) 4170 4202 QNamesAtrr=stringByKey("I_axes",AttribList) 4171 print ListOfDataSets4172 4203 TempDataPath = RemoveEnding(GrepList(ListOfDataSets, "I$",0,";"), ";") 4173 4204 if(StringMatch(QNamesAtrr, "Q,Q" )) 4174 4205 TempQPath = RemoveEnding(GrepList(ListOfDataSets, "Q$",0,";"), ";") 4206 //need to locate Q units here also... QUnits 4207 tempStrUnits = NI1_HdfReadAllAttributes(fileID, TempQPath,1) 4208 QUnits = StringByKey("units", tempStrUnits, ":", ";") 4209 elseif(StringMatch(QNamesAtrr, "Qx,Qy" )) 4210 tempStr65 = RemoveEnding(GrepList(ListOfDataSets, "Qx$",0,";"), ";") 4211 TempQPath = tempStr65+";" 4212 TempQPath += RemoveEnding(GrepList(ListOfDataSets, "Qy$",0,";"), ";")+";" 4213 //need to locate Q units here also... QUnits 4214 tempStrUnits = NI1_HdfReadAllAttributes(fileID, tempStr65,1) 4215 QUnits = StringByKey("units", tempStrUnits, ":", ";") 4175 4216 endif 4176 4217 TempAzAPath = RemoveEnding(GrepList(ListOfDataSets, "AzimAngles",0,";"), ";") … … 4179 4220 4180 4221 DataIdentification = "DataWv:"+TempDataPath+","+"QWv:"+TempQPath+","+"IdevWv:"+TempIdevPath+"," 4181 DataIdentification += "MaskWv:"+TempMaskPath+","+"AzimAngles:"+TempAzAPath+"," 4222 DataIdentification += "MaskWv:"+TempMaskPath+","+"AzimAngles:"+TempAzAPath+","+"QUnits:"+QUnits+";" 4182 4223 //DataIdentification += "UnbinnedQx:"+OrigQxPath+","+"UnbinnedQy:"+OrigQyPath+"," 4183 4224 break
Note: See TracChangeset
for help on using the changeset viewer.