Ignore:
Timestamp:
Jan 30, 2010 1:19:41 AM (13 years ago)
Author:
ajj
Message:

Added pixel number and size to 2D output
resolved #247

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NSORT.ipf

    r627 r628  
    293293        Return err 
    294294End 
    295  
    296  
    297  
    298295 
    299296 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/WriteQIS.ipf

    r616 r628  
    404404        labelWave[5] = num2str(rw[16])+"  "+num2str(rw[17])+"  "+num2str(rw[23])+"  "+num2str(rw[24])+"  " 
    405405        labelWave[5] += num2str(rw[25])+"  "+num2str(rw[27])+"  "+num2str(rw[21])+"  "+textW[9] 
    406         labelWave[6] =  "SAM: "+rawTag+samFiles 
    407         labelWave[7] =  "BGD: "+proto[0] 
    408         labelWave[8] =  "EMP: "+proto[1] 
    409         labelWave[9] =  "DIV: "+proto[2] 
    410         labelWave[10] =  "MASK: "+proto[3] 
    411         labelWave[11] =  "ABS Parameters (3-6): "+proto[4] 
    412         labelWave[12] = "Average Choices: "+proto[5] 
    413         labelWave[13] = "" 
    414         labelWave[14] = "*** Data written from "+type+" folder and may not be a fully corrected data file ***" 
    415         labelWave[15] = "The detector image is a standard X-Y coordinate system" 
    416         labelWave[16] = "Data is written by row, starting with Y=1 and X=(1->128)" 
    417         labelWave[17] = "ASCII data created " +date()+" "+time() 
     406        labelWave[6] = "PIXELS(X)    PIXELS(Y)   PIXELSIZE X (mm)  PIXELSIZE Y (mm)" 
     407        labelWave[7] += num2str(pixelsX)+"    "+num2str(pixelsY)+"    "+num2str(rw[10])+"    "+num2str(rw[13]) 
     408        labelWave[8] =  "SAM: "+rawTag+samFiles 
     409        labelWave[9] =  "BGD: "+proto[0] 
     410        labelWave[10] =  "EMP: "+proto[1] 
     411        labelWave[11] =  "DIV: "+proto[2] 
     412        labelWave[12] =  "MASK: "+proto[3] 
     413        labelWave[13] =  "ABS Parameters (3-6): "+proto[4] 
     414        labelWave[14] = "Average Choices: "+proto[5] 
     415        labelWave[15] = "" 
     416        labelWave[16] = "*** Data written from "+type+" folder and may not be a fully corrected data file ***" 
     417        labelWave[17] = "The detector image is a standard X-Y coordinate system" 
     418        labelWave[18] = "Data is written by row, starting with Y=1 and X=(1->128)" 
     419        labelWave[19] = "ASCII data created " +date()+" "+time() 
    418420        //strings can be too long to print-- must trim to 255 chars 
    419421        Variable ii 
     
    863865        return(0) 
    864866End 
    865  
Note: See TracChangeset for help on using the changeset viewer.