Ignore:
Timestamp:
Feb 9, 2018 3:47:28 PM (5 years ago)
Author:
srkline
Message:

minor changes to allow patching of more incorrect metadata

added simple way to estimate beam centers from a single measurement (stiil to be thoroughly verified!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Transmission.ipf

    r1072 r1083  
    1010// ?? redesign the panel based on the CATALOG? 
    1111// -- refresh the catalog, then work with those waves? 
     12// 
     13// -- this still seems to be very awkward to use. Come up with something better 
     14// 
     15// -- need more checks - be sure that the files match 
     16// -- SDD, wavelength, beam on proper panel, etc. 
     17// 
     18// -- need popups (transmission, open) to respond to popup changes and 
     19//   update their fields, since they may be auto-located incorrectly. 
    1220//  
    1321 
     
    3442        PopupMenu popup_1,pos={102,248},size={72.00,23.00},proc=V_TTransmFilePopMenuProc,title="Transmission" 
    3543        PopupMenu popup_1,mode=1,value= V_getFilePurposeList("TRANSMISSION",0) 
    36         PopupMenu popup_2,pos={164,353},size={72.00,23.00},proc=V_TEmpBeamPopMenuProc,title="Empty Beam" 
    37         PopupMenu popup_2,mode=1,value= V_getFileIntentList("EMPTY BEAM",0) 
     44        PopupMenu popup_2,pos={164,353},size={72.00,23.00},proc=V_TEmpBeamPopMenuProc,title="Open Beam" 
     45//      PopupMenu popup_2,mode=1,value= V_getFileIntentList("EMPTY BEAM",0) 
     46        PopupMenu popup_2,mode=1,value= V_getFileIntentList("OPEN BEAM",0) 
    3847        Button button_0,pos={37,193},size={100.00,20.00},proc=V_CalcTransmButtonProc,title="Calculate" 
    3948//      Button button_1,pos={23.00,491.00},size={100.00,20.00},proc=V_WriteTransmButtonProc,title="Write" 
     
    124133                // x- fill in the XY box 
    125134                // x-  Detector Panel field is hard-wired for "B" 
     135                // -- do I use "EMPTY BEAM", "OPEN BEAM" or both?? I think "OPEN BEAM" is what NICE will use in a drop-down menu 
    126136                //       
    127                         list = V_getFileIntentList("EMPTY BEAM",0) 
     137//                      list = V_getFileIntentList("EMPTY BEAM",0) 
     138                        list = V_getFileIntentList("OPEN BEAM",0) 
    128139                         
    129140                        for(ii=0;ii<np;ii+=1) 
    130                                 if(cmpstr(intentW[ii],"EMPTY BEAM")==0) 
    131                                         Print "empty beam match at ",filenameW[ii] 
     141                                if(cmpstr(intentW[ii],"OPEN BEAM")==0) 
     142                                        Print "Open beam match at ",filenameW[ii] 
    132143                                        SetVariable setvar_4,value=labelW[ii] 
    133144                                        PopupMenu popup_2,mode=WhichListItem(fileNameW[ii], list )+1,popValue=fileNameW[ii] 
Note: See TracChangeset for help on using the changeset viewer.