Ignore:
Timestamp:
Jul 19, 2011 6:24:00 PM (11 years ago)
Author:
ajj
Message:
  • Temporary fix to PolyCore_and_NShells to have large enough number of integration steps. This required not using the XOP versions of the function. Fix of XOP will follow once build environments are setup again.
  • Added function to DataSetHandling?.ipf to resort a loaded dataset by Q. GRASP doesn't sort the data when joining data from different distances and this makes fits look odd. Note that function does not resort resolution wave at the moment. This was a quick hack for Hanna Wacklin and Lionel Porcar and a proper fix will be forthcoming.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/DataSetHandling.ipf

    r770 r819  
    17101710End 
    17111711 
     1712Function ReSortDataSet(set1name) 
     1713        String set1name 
     1714         
     1715        String set1Path = "root:"+set1Name+":" 
     1716        String curPath = GetDataFolder(1) 
     1717 
     1718        SetDataFolder set1Path 
     1719         
     1720        sort $(set1name+"_q"),$(set1name+"_q"),$(set1name+"_i"),$(set1name+"_s") 
     1721         
     1722        SetDataFolder curPath 
     1723 
     1724        return 0 
     1725End 
     1726 
    17121727 
    17131728///////////////////////////Other Utility functions //////////////////////////// 
Note: See TracChangeset for help on using the changeset viewer.