Changeset 956 for sans/Dev


Ignore:
Timestamp:
May 22, 2015 1:02:15 PM (8 years ago)
Author:
srkline
Message:

another iteration of the proposed Nexus file structure for SANS and VSANS

added 2D fit function to be able to fit the pixel beam center for an arc on the detector. this is still in a rudimentary form, but is somewhat functional.

Location:
sans/Dev/trunk/NCNR_User_Procedures
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtils2D_v40.ipf

    r927 r956  
    392392         
    393393        String folderStr=GetWavesDataFolder(Qx,1) 
    394         NVAR gIsLogScale=$(folderStr+"gIsLogScale") 
     394        NVAR/Z gIsLogScale=$(folderStr+"gIsLogScale") 
    395395         
    396396        linMat = inten[q*xrows+p] 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/Nexus_SANS_Write.ipf

    r955 r956  
    3737                Make/O/D/N=1    collection_time = 300 
    3838                Make/O/T/N=1    run_cycle       = "S22-23" 
    39                 Make/O/T/N=1    intent  = "RAW" 
     39                Make/O/T/N=1    program_name    = "runPoint={'stuff'}" 
    4040                Make/O/T/N=1    data_directory  = "[NG7SANS41]" 
    4141                NewDataFolder/O/S  root:SANS_file:entry1:user            
     
    5757                        Make/O/D/N=1    efficiency      = 0.01 
    5858                        Make/O/D/N=1    sampled_fraction        = 1 
    59                         Make/O/D/N=1    nominal = 1e8 
    60                         Make/O/D/N=1    data    = 1 
    61                         Make/O/D/N=1    nx_distance     = 13.1 
    6259                        Make/O/D/N=1    detector_counts = 100111222 
    6360                        Make/O/D/N=1    detector_preset = 1e5 
    64                         Make/O/D/N=1    detector_mask   = 1 
    65                 NewDataFolder/O/S  root:SANS_file:entry1:program_name            
     61                        Make/O/D/N=1    count_start     = 1 
     62                        Make/O/D/N=1    count_end       = 1 
     63                        Make/O/D/N=1    count_time      = 1 
     64                        Make/O/D/N=1    count_time_preset       = 1 
     65                NewDataFolder/O/S  root:SANS_file:entry1:program_data            
    6666                        Make/O/T/N=1    data    = "program data" 
    6767                        Make/O/T/N=1    description     = "acquisition" 
     
    324324                Note/K collection_time, "units=s" 
    325325                //      run_cycle                
    326                 //      intent           
    327                 //      data_directory           
     326                //      data_directory 
     327                //      program_name     
    328328                SetDataFolder  root:SANS_file:entry1:user                
    329329                        Make/O/N=0 Igor___folder_attributes      
     
    348348                        //      efficiency               
    349349                        //      sampled_fraction                 
    350                         //      nominal          
    351                         //      data             
    352                         //      nx_distance              
    353                         Note/K nx_distance, "units=m" 
    354350                        //      detector_counts          
    355                         //      detector_preset          
    356                         //      detector_mask            
    357                 SetDataFolder  root:SANS_file:entry1:program_name                
     351                        //      detector_preset 
     352                        //      count_start 
     353                        Note/K count_start, "units=s" 
     354                        //      count_end 
     355                        Note/K count_end, "units=s" 
     356                        //      count_time 
     357                        Note/K count_time, "units=s" 
     358                        //      count_time_preset 
     359                        Note/K count_time_preset, "units=s" 
     360                SetDataFolder  root:SANS_file:entry1:program_data                
    358361                        Make/O/N=0 Igor___folder_attributes      
    359362                        //      data             
     
    738741                        collection_time = 300 
    739742                        run_cycle       = "S22-23" 
    740                         intent  = "RAW" 
     743                        program_name    = "runPoint={stuff}" 
    741744                        data_directory  = "[NG7SANS41]" 
    742745                SetDataFolder  root:SANS_file:entry1:user                
     
    758761                                efficiency      = 0.01 
    759762                                sampled_fraction        = 1 
    760                                 nominal = 1e8 
    761                                 data    = 1 
    762                                 nx_distance     = 13.1 
    763763                                detector_counts = 100111222 
    764764                                detector_preset = 1e5 
    765                                 detector_mask   = 1 
    766                 SetDataFolder  root:SANS_file:entry1:program_name                
     765                                count_start = 1 
     766                                count_end = 1 
     767                                count_time = 1 
     768                                count_time_preset = 1 
     769                SetDataFolder  root:SANS_file:entry1:program_data                
    767770                                data    = "program data" 
    768771                                description     = "acquisition" 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/Nexus_VSANS_Write.ipf

    r955 r956  
    7070                Make/O/D/N=1    collection_time = 300 
    7171                Make/O/T/N=1    run_cycle       = "S22-23" 
    72                 Make/O/T/N=1    intent  = "RAW" 
     72                Make/O/T/N=1    program_name    = "runPoint={'stuff'}" 
    7373                Make/O/T/N=1    data_directory  = "[VSANS_VSANS]" 
    7474                NewDataFolder/O/S root:VSANS_file:entry1:user            
     
    9090                        Make/O/D/N=1    efficiency      = 0.01 
    9191                        Make/O/D/N=1    sampled_fraction        = 1 
    92                         Make/O/D/N=1    nominal = 1e8 
    93                         Make/O/D/N=1    data    = 1 
    94                         Make/O/D/N=1    nx_distance     = 13.1 
    9592                        Make/O/D/N=1    detector_counts = 100111222 
    9693                        Make/O/D/N=1    detector_preset = 1e5 
    97                         Make/O/D/N=1    detector_mask   = 1 
    98                 NewDataFolder/O/S root:VSANS_file:entry1:program_name            
     94                        Make/O/D/N=1    count_start     = 1 
     95                        Make/O/D/N=1    count_end       = 1 
     96                        Make/O/D/N=1    count_time      = 1 
     97                        Make/O/D/N=1    count_time_preset       = 1 
     98                NewDataFolder/O/S root:VSANS_file:entry1:program_data            
    9999                        Make/O/T/N=1    data    = "program data" 
    100100                        Make/O/T/N=1    description     = "acquisition" 
     
    661661                Note/K collection_time, "units=s" 
    662662                //run_cycle              
    663                 //intent                 
     663                //program_name   
    664664                //data_directory                 
    665665                SetDataFolder root:VSANS_file:entry1:user                
     
    685685                        //efficiency             
    686686                        //sampled_fraction               
    687                         //nominal                
    688                         //data           
    689                         //nx_distance            
    690                         Note/K nx_distance, "units=m" 
    691687                        //detector_counts                
    692                         //detector_preset                
    693                         //detector_mask          
    694                 SetDataFolder root:VSANS_file:entry1:program_name                        
     688                        //detector_preset 
     689                        //      count_start 
     690                        Note/K count_start, "units=s" 
     691                        //      count_end 
     692                        Note/K count_end, "units=s" 
     693                        //      count_time 
     694                        Note/K count_time, "units=s" 
     695                        //      count_time_preset 
     696                        Note/K count_time_preset, "units=s"              
     697                SetDataFolder root:VSANS_file:entry1:program_data                        
    695698                        //data           
    696699                        //description            
     
    14971500                collection_time = 300 
    14981501                run_cycle       = "S22-23" 
    1499                 intent  = "RAW" 
     1502                program_name    = "runPoint={stuff}" 
    15001503                data_directory  = "[VSANS_VSANS]" 
    15011504                SetDataFolder root:VSANS_file:entry1:user                
     
    15171520                        efficiency      = 0.01 
    15181521                        sampled_fraction        = 1 
    1519                         nominal = 1e8 
    1520                         data    = 1 
    1521                         nx_distance     = 13.1 
    15221522                        detector_counts = 100111222 
    15231523                        detector_preset = 1e5 
    1524                         detector_mask   = 1 
    1525                 SetDataFolder root:VSANS_file:entry1:program_name                
     1524                        count_start = 1 
     1525                        count_end = 1 
     1526                        count_time = 1 
     1527                        count_time_preset = 1 
     1528                SetDataFolder root:VSANS_file:entry1:program_data                
    15261529                        data    = "program data" 
    15271530                        description     = "acquisition" 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VSANS_Includes.ipf

    r955 r956  
    1313#include "Nexus_SANS_Write" 
    1414#include "Nexus_VSANS_Write" 
     15 
     16// for possible peak fitting 
     17#include "BroadPeak_Pix_2D" 
Note: See TracChangeset for help on using the changeset viewer.