Ignore:
Timestamp:
Dec 2, 2013 1:36:53 PM (9 years ago)
Author:
srkline
Message:

Added utilities to RealSpaceModeling? to allow previously saved matrices to be added together. currently they are strictly added - that is overlapping voxels are added together, which may not be the optimal behavior, but this can be changed as needed.

Also added utility to allow arbitrary rotation of a 3D object. No interpolation is done, so the rotation is lossy. Rotation is applied in xyz order, which can make a difference. Beware.

Documentation to follow (eventually).

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction
Files:
2 edited

Legend:

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

    r917 r926  
    16951695 
    16961696//////  integer values 
    1697  
     1697// reads 32 bit integer 
    16981698Function getIntegerFromHeader(fname,start) 
    16991699        String fname                            //full path:name 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/U_CALC.ipf

    r911 r926  
    874874        NVAR omega = root:Packages:NIST:USANS:Globals:U_Sim:gAnalyzerOmega 
    875875         
    876         if(exists(funcStr) != 0) 
     876//      if(exists(funcStr) != 0) 
     877        if(cmpstr(funcStr,"default") != 0) 
    877878                FUNCREF SANSModelAAO_proto func=$("fSmeared"+funcStr)                   //a wrapper for the structure version 
    878879                FUNCREF SANSModelAAO_proto funcUnsmeared=$(funcStr)             //unsmeared 
     
    13011302        list = SortList(list) 
    13021303         
     1304        list = "default;"+ list 
    13031305        return(list) 
    13041306End      
Note: See TracChangeset for help on using the changeset viewer.