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_WorkFolderUtils.ipf

    r1055 r1073  
    607607        // (3) dead time correction 
    608608        // TODO: 
    609         // x- remove the hard-wired test - done 
    610609        // -- test for correct operation 
    611610        // x- loop over all of the detectors 
     
    646645 
    647646        // (4) solid angle correction 
    648         // TODO -- this currently calculates the correction factor AND applys it to the data 
     647        // -- this currently calculates the correction factor AND applys it to the data 
    649648        //  -- as a result, the data values are very large since they are divided by a very small 
    650649        //     solid angle per pixel. But all of the count values are now on the basis of  
    651650        //    counts/(solid angle) --- meaning that they can all be binned together for I(q) 
    652         //    -and- TODO - this will need to be taken into account for absolute scaling (this part is already done) 
     651        //    -and- - this is taken into account for absolute scaling (this part is already done) 
    653652        // 
    654653        // the solid angle correction is calculated for ALL detector panels. 
Note: See TracChangeset for help on using the changeset viewer.