Ignore:
Timestamp:
Aug 15, 2019 2:33:23 PM (3 years ago)
Author:
krzywon
Message:

Output NSORT data as NXcanSAS. Mostly tested, but a couple TODOs and FIXMEs left.

File:
1 edited

Legend:

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

    r1190 r1194  
    202202        NVAR useXMLOutput = root:Packages:NIST:gXML_Write 
    203203        NVAR useNXcanSASOutput = root:Packages:NIST:gNXcanSAS_Write 
    204          
    205         // 
    206         // TODO: create WriteNSORTedNXcanSASFile 
    207         // 
    208204 
    209205        if (useXMLOutput == 1) 
     
    212208                else 
    213209                        WriteNSORTedXMLFile(q3,i3,sig3,firstFileName,secondFileName,thirdFileName,fourthFileName,normTo,norm12,norm23,norm34) 
     210                endif 
     211        elseif (useNXcanSASOutput == 1) 
     212                if(WaveExists(res)) 
     213                        WriteNSORTedNXcanSASFile(q3,i3,sig3,firstFileName,secondFileName,thirdFileName,fourthFileName,normTo,norm12,norm23,norm34,res=res) 
     214                else 
     215                        WriteNSORTedNXcanSASFile(q3,i3,sig3,firstFileName,secondFileName,thirdFileName,fourthFileName,normTo,norm12,norm23,norm34) 
    214216                endif 
    215217        else 
Note: See TracChangeset for help on using the changeset viewer.