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

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/COR_Graph.ipf

    r477 r544  
    300300                        CheckBox $ctrlName, value=0             //not checked 
    301301                        HideInfo/W=COR_Graph 
    302                         Cursor/K A 
    303                         Cursor/K B 
     302                        Cursor/K/W=COR_Graph A 
     303                        Cursor/K/W=COR_Graph B 
    304304                        DoAlert 0,type+" data is not on the graph" 
    305305                endif 
     
    307307                //hide info and cursors, if there are any displayed 
    308308                HideInfo/W=COR_Graph 
    309                 Cursor/K A 
    310                 Cursor/K B 
    311                 CheckBox useCrsrCheck,value= 0 
     309                Cursor/K/W=COR_Graph A 
     310                Cursor/K/W=COR_Graph B 
     311                CheckBox useCrsrCheck,win=COR_Graph,value= 0 
    312312        endif 
    313313        DoUpdate 
     
    335335                        break 
    336336        endswitch 
    337         CheckBox CORCheck,value= (gRadioVal==1) 
    338         CheckBox SAMCheck,value= (gRadioVal==2) 
    339         CheckBox EMPCheck,value= (gRadioVal==3) 
     337        CheckBox CORCheck,win=COR_Graph,value= (gRadioVal==1) 
     338        CheckBox SAMCheck,win=COR_Graph,value= (gRadioVal==2) 
     339        CheckBox EMPCheck,win=COR_Graph,value= (gRadioVal==3) 
    340340         
    341341        //move the cursors to the correct trace on the graph 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/Main_USANS.ipf

    r540 r544  
    2727        "Load USANS Data",A_LoadOneDData() 
    2828        "Convert to 6 Columns",Convert3ColTo6Col() 
     29        "-" 
     30        "USANS Simulator",Show_UCALC() 
    2931        "-" 
    3032        "Feedback or Bug Report",U_OpenTracTicketPage("") 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/USANS_Includes.ipf

    r473 r544  
    2020#include "CheckVersionFTP"                              //added June 2008 
    2121#include "GaussUtils_v40"                               //added Oct 2008 for unified file loading 
     22 
     23// USANS simulation test 
     24#include "U_CALC" 
Note: See TracChangeset for help on using the changeset viewer.