- Timestamp:
- Jan 9, 2018 10:02:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_RAW_Data_Panel.ipf
r1075 r1079 17 17 // 18 18 // -- have the status automatically fill in when a new file is loaded, rather than needing a click of the "status" button 19 // -- need a place somewhere to show the currently displayed folder20 // -- checkboxes for "active" corrections?21 // -- display of Q, counts, QxQy, X and Y22 // -- do I need a color bar? or is this not used at all? I like it to be there, or the colors are a waste of information19 // x- need a place somewhere to show the currently displayed folder 20 // x- checkboxes for "active" corrections? 21 // x- display of Q, counts, QxQy, X and Y 22 // x- do I need a color bar? or is this not used at all? I like it to be there, or the colors are a waste of information 23 23 // (then... where do I put the color bar?) 24 // -- define the "hook" function, and attach it to the panel (or the main detector subwindow?)24 // x- define the "hook" function, and attach it to the panel (or the main detector subwindow?) 25 25 // 26 26 … … 400 400 // now figure out q 401 401 // calculate the q-values, will be different depending on which panel is up (pixel size, geometry, etc.) 402 // TODO: !!!! get rid of the hard-wired values403 // TODO: be sure that the units from HDF are what I expect404 // TODO: beam center XY are pixels in the file, expected in the function, but are better suited for mm or cm405 // TODO: units of xy pixel size are likely wrong402 // DONE: !!!! get rid of the hard-wired values 403 // DONE: be sure that the units from HDF are what I expect 404 // DONE: beam center XY are pixels in the file, expected in the function, but are better suited for mm or cm 405 // DONE: units of xy pixel size are likely wrong 406 406 // xctr = V_getDet_beam_center_x(gCurDispType,detStr) //written in pixels 407 407 // yctr = V_getDet_beam_center_y(gCurDispType,detStr) … … 419 419 Wave data_realDistY = $(destPath + ":entry:instrument:detector_"+detStr+":data_realDistY") 420 420 421 // TODO: figure out what coordinates I need to pass -- xloc, yloc, textX, testY, (+1 on any?)421 // DONE: figure out what coordinates I need to pass -- xloc, yloc, textX, testY, (+1 on any?) 422 422 //gQQ = VC_CalcQval(testX,testY,xctr,yctr,sdd,lam,pixSizeX,pixSizeY) 423 423 //gQX = VC_CalcQX(testX,testY,xctr,yctr,sdd,lam,pixSizeX,pixSizeY) … … 718 718 End 719 719 720 // TODO720 // 721 721 // 722 722 // move one file number back … … 738 738 End 739 739 740 // TODO740 // 741 741 // 742 742 // move one file number forward … … 817 817 // if the data display is RAW, convert to the specified WORK data type 818 818 // 819 // TODO820 // -- better error checking821 // -- if the data type is not RAW, can I Copy Folder instead?819 // DONE 820 // x- better error checking 821 // x- if the data type is not RAW, can I Copy Folder instead? 822 822 // 823 823 Function V_ToWorkFileButtonProc(ba) : ButtonControl … … 827 827 case 2: // mouse up 828 828 // click code here 829 //Convert_to_Workfile(newtype, doadd) // a proc829 830 830 Execute "V_Convert_to_Workfile()" 831 831 … … 890 890 End 891 891 892 // TODO892 // 893 893 // 894 894 // gets the status of the currently displayed file and dumps it to the panel (not the cmd window) … … 1122 1122 End 1123 1123 1124 // TODO1124 // 1125 1125 // 1126 1126 // this "spreads" the display of panels to a nominal separation for easier viewing … … 1142 1142 End 1143 1143 1144 // TODO1144 // 1145 1145 // 1146 1146 // this "restores" the display of panels to their actual position based on the apparent beam center
Note: See TracChangeset
for help on using the changeset viewer.