Ignore:
Timestamp:
Apr 6, 2018 3:02:01 PM (5 years ago)
Author:
srkline
Message:

corrected issues with transmission calculation where the popup menu of sample files was limited in number. this limitation has been removed.

fixed the re-calculation of transmission when the same value is to be patched to multiple sample files with the same group ID. now the transmission is calculated once, for the first file in the popup and the values are simply written to the remaining files.

when the box for the open beam is defined, the panel where it is located is written to the file in a new field under /reduction. it is later recalled in the transmission panel.

Defined a "Reference" beam center position for each carriage as the RIGHT panel center. then all other panel centers (L, T, B) can be derived from this value. if the beam center is measured on the Left panel, it is converted to "right" coordinates before reporting.

File:
1 edited

Legend:

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

    r1093 r1094  
    498498        //     so that they are DP, not integer 
    499499        // TODO 
    500         // -- currently only redimensioning the data and linear_data_error - What else??? 
    501         // -- ?? some of this is done at load time for RAW data. shouldn't be an issue to re-do the redimension 
     500        // -- currently only redimensioning the data and linear_data_error - anything else??? 
     501        // -- ?? some of this is done at load time for RAW data. Not a problem to re-do the redimension 
    502502        for(ii=0;ii<ItemsInList(ksDetectorListAll);ii+=1) 
    503503                detStr = StringFromList(ii, ksDetectorListAll, ";") 
     
    533533        // x-  the "B" detector is calculated in its own routines 
    534534        // -- document what is generated here: 
    535         //    **in each detector folder: data_realDistX and data_realDistY (2D waves of the mm? position of the pixel) 
     535        //    **in each detector folder: data_realDistX and data_realDistY (2D waves of the [mm] position of each pixel) 
    536536        // x- these spatial calculations ARE DONE as the RAW data is loaded. It allows the RAW 
    537537        //    data to be properly displayed, but without all of the (complete) set of detector corrections 
     
    625625 
    626626        // (3) dead time correction 
    627         // TODO: 
    628         // -- test for correct operation 
     627        // DONE: 
     628        // x- test for correct operation 
    629629        // x- loop over all of the detectors 
    630630        // x- B detector is a special case (do separately, then loop over NoB) 
    631         // -- this DOES alter the data 
    632         // -- verify the error propagation (not done yet) 
     631        // x- this DOES alter the data 
     632        // x- verify the error propagation (not done yet) 
    633633        // 
    634634        Variable countRate 
Note: See TracChangeset for help on using the changeset viewer.