Ignore:
Timestamp:
Jun 14, 2019 1:46:39 PM (3 years ago)
Author:
krzywon
Message:

Add 2D NXcanSAS output as SANS reduction option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/branches/nxcansas_writer/NCNR_User_Procedures/Common/NIST_NXcanSAS_v709.ipf

    r1170 r1171  
    268268         
    269269        // Run Name and title 
    270         NewDataFolder/O/S $(base + parentBase) 
    271         Make/O/T/N=1 $(base + parentBase + ":title") = {textw[6]} 
    272         CreateStrNxCansas(fileID,parentBase,"","title",$(base + parentBase + ":title"),empty,empty) 
    273         Make/O/T/N=1 $(base + parentBase + ":run") = {textw[0]} 
    274         CreateStrNxCansas(fileID,nxcansasBase,"","run",$(base + parentBase + ":run"),empty,empty) 
     270        NewDataFolder/O/S $(parentBase) 
     271        Make/O/T/N=1 $(parentBase + ":title") = {textw[6]} 
     272        CreateStrNxCansas(fileID,nxcansasBase,"","title",$(parentBase + ":title"),empty,empty) 
     273        Make/O/T/N=1 $(parentBase + ":run") = {textw[0]} 
     274        CreateStrNxCansas(fileID,nxcansasBase,"","run",$(parentBase + ":run"),empty,empty) 
    275275         
    276276        // SASData 
    277277        String dataParent = nxcansasBase + "sasdata/" 
    278278        // Create SASdata entry 
    279         String dataBase = base + parentBase + ":sasdata" 
     279        String dataBase = parentBase + ":sasdata" 
    280280        NewDataFolder/O/S $(dataBase) 
    281281        Make/O/T/N=5 $(dataBase + ":attr") = {"canSAS_class","signal","I_axes","NX_class","Q_indices", "timestamp"} 
Note: See TracChangeset for help on using the changeset viewer.