Ignore:
Timestamp:
May 24, 2019 1:29:26 PM (3 years ago)
Author:
srkline
Message:

more fixes to DIV file generation using the high-resolution detector

added extra header lines to the the QxQy? ASCII output format. there are now 30 header lines, and 7 or so are unused to allow for future additions.

the default mask for the high res detector has been enlarged to account for the large beamstop that is used during collection of the sensitivity file.

File:
1 edited

Legend:

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

    r1151 r1152  
    396396        Variable numTextLines,ii,jj,kk 
    397397        Variable pixSizeX,pixSizeY 
    398  
    399         numTextLines = 23 
     398        Variable duration 
     399 
     400        numTextLines = 30 
    400401        Make/O/T/N=(numTextLines) labelWave 
    401402 
     
    448449                pixSizeX = V_getDet_x_pixel_size(type,detStr) 
    449450                pixSizeY = V_getDet_y_pixel_size(type,detStr) 
     451                 
     452                duration = V_getCount_time(type) 
    450453                 
    451454        ///////// 
     
    471474                labelWave[17] = "NumYPixels="+num2str(pixY) 
    472475                labelWave[18] = "YPixelSize_mm="+num2str(pixSizeY) 
    473                 labelWave[19] = "*** Data written from "+type+" folder and may not be a fully corrected data file ***" 
     476                labelWave[19] = "Duration (s)="+num2str(duration) 
     477                labelWave[20] = "reserved for future file definition changes" 
     478                labelWave[21] = "reserved for future file definition changes" 
     479                labelWave[22] = "reserved for future file definition changes" 
     480                labelWave[23] = "reserved for future file definition changes" 
     481                labelWave[24] = "reserved for future file definition changes" 
     482                labelWave[25] = "reserved for future file definition changes" 
     483 
     484                labelWave[26] = "*** Data written from "+type+" folder and may not be a fully corrected data file ***" 
    474485//              labelWave[20] = "Data columns are Qx - Qy - Qz - I(Qx,Qy) - Err I(Qx,Qy)" 
    475486        //      labelWave[20] = "Data columns are Qx - Qy - I(Qx,Qy) - Qz - SigmaQ_parall - SigmaQ_perp - fSubS(beam stop shadow)" 
    476                 labelWave[20] = "Data columns are Qx - Qy - I(Qx,Qy) - err(I) - Qz - SigmaQ_parall - SigmaQ_perp - fSubS(beam stop shadow)" 
    477                 labelWave[21] = "The error wave may not be properly propagated (1/2019)" 
    478                 labelWave[22] = "ASCII data created " +date()+" "+time() 
     487                labelWave[27] = "Data columns are Qx - Qy - I(Qx,Qy) - err(I) - Qz - SigmaQ_parall - SigmaQ_perp - fSubS(beam stop shadow)" 
     488                labelWave[28] = "The error wave may not be properly propagated (1/2019)" 
     489                labelWave[29] = "ASCII data created " +date()+" "+time() 
    479490                //strings can be too long to print-- must trim to 255 chars 
    480491                for(jj=0;jj<numTextLines;jj+=1) 
Note: See TracChangeset for help on using the changeset viewer.