Ignore:
Timestamp:
Nov 16, 2017 10:57:32 AM (5 years ago)
Author:
srkline
Message:

lots of changes here:
many little fixes to clean up TODO items and marke them DONE

changed the handling of the panel "gap" to split the gap evenly. Q-calculations have been re-verified with this change.

re-named the list of "bin Type" values, and added a few more choices. Streamlined how the averaging and plotting works with this list so that it can be more easily modified as different combinations of binning are envisioned. This resulted in a lot of excess code being cut out and replaced with cleaner logic. This change has also been verified to work as intended.

Attenuation is now always calculated from the table. The table also by (NEW) definition has values for the white beam (one waelength) and graphite (multiple possible wavelengths) where the wavelengths are artificially scaled (*1000) or *1e6) so that the interpolations can be done internally without the need for multiple attenuator tables.

File:
1 edited

Legend:

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

    r1059 r1073  
    88// and the number of bins to divide the 360 degree circle 
    99// 
     10// qWidth is +/- around the q-center 
    1011// 
    1112// 
     
    3536// TODO -- binType == 4 (slit mode) should never end up here, as it makes no sense 
    3637// 
    37 // -- really, the onle binning that makes any sense is "one", treating each panel individually, 
     38// -- really, the only binning that makes any sense is "one", treating each panel individually, 
    3839// so I may scrap the parameter, or ignore it. so don't count on it in the future. 
    3940// 
     
    5657// TODO          
    5758                // detStr = "FLRTB" or "MLRTB", depending which panel the q-ring is centered on/ 
    58                 // for now, no crossing of the rings onto different panels 
     59                // for now, no crossing of the rings onto different carriages 
    5960                 
    6061        V_fDoAnnularBin_QxQy2D(folderStr,detStr,qCtr_Ann,qWidth) 
Note: See TracChangeset for help on using the changeset viewer.