Ignore:
Timestamp:
Aug 3, 2009 6:22:39 PM (13 years ago)
Author:
srkline
Message:

Lots of changes to add the first version of a USANS simulator, like SASCALC

(!) first issue is with the entanglement of dependencies - need to load SANS macros first!

otherwise, worth a first test for interface and accuracy. behavior is similar to the 1D SASCALC

File:
1 edited

Legend:

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

    r509 r544  
    436436        //not demo- compatible, but approx 100x faster!! 
    437437         
    438 #if(cmpstr(stringbykey("IGORKIND",IgorInfo(0),":",";"),"pro") == 0) 
    439         Save/G/M="\r\n" labelWave,spWave as fullPath 
    440 #else 
     438// for some reason, Igor 6.10 barfs on this and the Save operation gives an out-of-memory error! 
     439// so for now, go back to the old way... 
     440 
     441//#if(cmpstr(stringbykey("IGORKIND",IgorInfo(0),":",";"),"pro") == 0) 
     442//      Save/G/M="\r\n" labelWave,spWave as fullPath 
     443//#else 
    441444        Open refNum as fullpath 
    442445        wfprintf refNum,"%s\r\n",labelWave 
     
    444447        wfprintf refNum,"%g\r\n",spWave 
    445448        Close refNum 
    446 #endif 
     449//#endif 
    447450 
    448451        Killwaves/Z spWave,labelWave            //don't delete proto! 
Note: See TracChangeset for help on using the changeset viewer.