Ignore:
Timestamp:
Sep 8, 2011 3:19:48 PM (12 years ago)
Author:
srkline
Message:

Lots of changes to the polarization routines, mostly to incorporate error propagation to the matrix inversion for the polarization correction to the data. Switched the big PolCor? panel to use listboxes to specify files to add together rather than individual popups. Right now 10 files can be added, but this could be expanded to an unlimited number.

Also some minor bug fixes and error handling.

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

Legend:

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

    r777 r829  
    281281        // works on a copy of the linear_data, so that the original data is always preserved 
    282282         
    283         Duplicate/O $(dest + ":data") $(dest + ":linear_data")          //wrong way, linear_data not protected 
     283//      Duplicate/O $(dest + ":data") $(dest + ":linear_data")          //wrong way, linear_data not protected 
    284284//              but if the folder is being coverted to log, then "data" is linear 
    285285 
    286 //      Duplicate/O $(dest + ":linear_data") $(dest + ":data")          // right way, but linear_data not always copied to the next step 
     286        Duplicate/O $(dest + ":linear_data") $(dest + ":data")          // right way, but linear_data not always copied to the next step 
    287287 
    288288// if the folder is being coverted to log, then "data" is linear 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/RawWindowHook.ipf

    r708 r829  
    133133        WAVE NIHColors = $"root:myGlobals:NIHColors" 
    134134        AppendImage data 
    135         WaveStats/Q $(curPath + ":data") 
    136         if(cmpstr(cur_folder,"MSK")==0) 
     135   WaveStats/Q $(curPath + ":data") 
     136   if(cmpstr(cur_folder,"MSK")==0) 
    137137                ModifyImage data ctab={0,1,BlueRedGreen,0} 
    138138   else 
    139                 //Call the procedure that would normally be called if the sliders were moved 
    140 //              MapSliderProc("both", 0, 1) 
    141                 MapSliderProc("reset", 0, 1) 
     139        //Call the procedure that would normally be called if the sliders were moved 
     140//      MapSliderProc("both", 0, 1) 
     141        MapSliderProc("reset", 0, 1) 
    142142    //  ScaleColorsToData(V_min, V_max, NIHColors) 
    143143         //  ModifyImage data cindex=NIHColors 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/WriteQIS.ipf

    r800 r829  
    743743//      labelWave[15] = "Data columns are Qx - Qy - I(Qx,Qy) - Qz - SigmaQ_parall - SigmaQ_perp - fSubS(beam stop shadow)" 
    744744        labelWave[15] = "Data columns are Qx - Qy - I(Qx,Qy) - err(I) - Qz - SigmaQ_parall - SigmaQ_perp - fSubS(beam stop shadow)" 
    745         labelWave[16] = "ERROR WAVE IS ONLY AN ESTIMATE  - 6/2010" 
     745        labelWave[16] = "Error wave is properly propagated through all reduction steps 8/2011" 
    746746        labelWave[17] = "ASCII data created " +date()+" "+time() 
    747747        //strings can be too long to print-- must trim to 255 chars 
Note: See TracChangeset for help on using the changeset viewer.