Ignore:
Timestamp:
May 18, 2017 11:34:30 AM (6 years ago)
Author:
srkline
Message:

changes to incorporate trimming and plotting of data that has been saved as individual detector I(q), as Igor .itx format. This allows the trimming parameters to be set for each detector panel, which can then be used during the reduction protocol to automatically trim and combine the panels. Next step is to incorporate this into the actual protocol definintion by expanding the current definition.

File:
1 edited

Legend:

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

    r1038 r1039  
    24372437// TODO: 
    24382438// -- fill in all of the cases, default is only the "standard" circular average I(q) 
     2439// -- get the trim strings from somewhere-- from the file or from the protocol?? 
     2440//   then replace the null strings being passed 
    24392441 
    24402442                                if(cmpstr(saveType,"Yes - Concatenate")==0) 
    2441                                         V_Trim1DDataStr(activeType,binType,"","")                       // TODO -- passing null strings uses default trimmings 
     2443                                        V_Trim1DDataStr(activeType,binType,"","")                       // TODO -- passing null strings uses global or default trim values 
    24422444//                                      V_Trim1DData(activeType,binType,nBeg,nEnd) 
    2443                                         V_ConcatenateForSave(activeType,binType)                // this removes q=0 point, concatenates, sorts 
    2444                                         V_Write1DData(activeType,newFileName+"."+exten)         //don't pass the full path, just the name 
     2445                                        V_ConcatenateForSave("root:Packages:NIST:VSANS:",activeType,"",binType)         // this removes q=0 point, concatenates, sorts 
     2446                                        V_Write1DData("root:Packages:NIST:VSANS:",activeType,newFileName+"."+exten)             //don't pass the full path, just the name 
    24452447                                else 
    24462448                                        // remove the q=0 point from the back detector, if it's there 
    2447                                         // does not need to know binType 
    24482449                                        // does not trim any of the data 
    24492450                                        V_RemoveQ0_B(activeType) 
    2450                                         V_Write1DData_NoConcat(activeType,newFileName,binType) 
     2451                                        V_Write1DData_NoConcat("root:Packages:NIST:VSANS:",activeType,newFileName,binType) 
    24512452                                endif 
    24522453 
Note: See TracChangeset for help on using the changeset viewer.