Jun 2, 2017 11:29:54 AM (5 years ago)

moved dead time correction to before the solid angle correction, so that the dead time would be correcting counts, not counts per solid angle

added a routine to kill all of the waves and folders possible, if the overall DF kill failed. This is to prevent stray folders and waves from being present if different data files are loaded - since different data blocks are present for say, 3He data, data with temperature logging, etc.
This kill routine is used every time, before raw data is loaded, DIV or MASK loaded, or data is converted to WORK.

changed the "Save I(q)" button on the data display panel to save as ITX format, since the data has not been processed, and data can more easily be used for trimming input.

picking protocols in dialogs now excludes/includes appropriate waves

menus are consolidated

Fixed bug in SANS macros where the DRK[] item in the protocol could be null, and force the read of a DRK file, even if it was not desired.

1 edited


  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Menu.ipf

    r1025 r1042  
    3232                "Load Fake MASK Data" 
    3333                "Correct Data",V_CorrectData() 
     34        End 
     35        SubMenu "Nexus File RW" 
     36//              "Fill_Nexus_V_Template" 
     37//              "Save_Nexus_V_Template" 
     38//              "Load_Nexus_V_Template" 
     39//              "-" 
     40//              "IgorOnly_Setup_VSANS_Struct" 
     41//              "IgorOnly_Save_VSANS_Nexus" 
     42//              "IgorOnly_Setup_SANS_Struct" 
     43//              "IgorOnly_Save_SANS_Struct" 
     44                "Setup_VSANS_DIV_Struct" 
     45                "Save_VSANS_DIV_Nexus" 
     46                "Setup_VSANS_MASK_Struct" 
     47                "Save_VSANS_MASK_Nexus" 
     48                "-" 
     49                "Read_Nexus with attributes",Read_Nexus_Xref()          //this will read with attributes 
     50                "Write_Nexus with attributes",Write_Nexus_Xref()                                //this will write out with attributes if read in by Read_Nexus_Xref 
     51                "-" 
     52                "Dump_V_getFP" 
     53                "Dump_V_getFP_Det" 
     54                "Dump_V_getSTR" 
     55                "Dump_V_getSTR_Det" 
    3456        End 
Note: See TracChangeset for help on using the changeset viewer.