Ignore:
Timestamp:
Feb 2, 2017 9:52:47 AM (6 years ago)
Author:
srkline
Message:

ADDED:

included common NCNR procedures for the PlotManager?, to allow plotting of 1D data sets using a familiar interface

greatly expanded Patch functionality to include input in the multiple sections of the Nexus file, including separate panels to handle patching of waves to the file - needed for non-linear coefficients, dead time, and XY beam centers. All patch operations are expandable as more fields become necessary to patch.

removed bug of group_id being defined in /reduction and in /sample (removed R/W that referenced /reduction)

added panel to "isolate" a single detector panel, allowing the corrections to be applied/removed/recalculated as needed to directly see their effects.

linked new procedures to their appropriate action buttons

Added more data fields (label, intent, etc.) to the VCALC to Nexus data writer to get more realistic values into the fake data files for testing

Added VCALC simulation functions with EMP and BGD in anticipation of testing the CORRECT step

more little bug and documentation fixes which I can't remember, but they are all important...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Utilities_General.ipf

    r1012 r1022  
    3030                return(1) 
    3131        else 
    32                 //set the global to the path (as a string) 
    33                 // need 4 \ since it is the escape character 
    34                 if(cmpstr("\\\\",dum[0,1])==0)  //Windows user going through network neighborhood 
    35                         DoAlert 0,alertStr 
    36                         KillPath catPathName 
    37                         return(1) 
    38                 endif 
     32        // SRK 2016, for windows 10, try to eliminate this restriction   
     33        //---- connecting through the network neighborhood seems to be perfectly fine except for  
     34        //     path issues with GBLoadWave, which only affects VAX data sets 
     35                 
     36//              print igorinfo(3) 
     37//              //set the global to the path (as a string) 
     38//              // need 4 \ since it is the escape character 
     39//              if(cmpstr("\\\\",dum[0,1])==0)  //Windows user going through network neighborhood 
     40//                      DoAlert 0,alertStr 
     41//                      KillPath catPathName 
     42//                      return(1) 
     43//              endif 
    3944                String/G root:Packges:NIST:VSANS:Globals:gCatPathStr = dum 
    4045                return(0)               //no error 
    4146        endif 
     47         
    4248End 
    4349 
     
    518524        String fullName="",partialName="",item="" 
    519525        //get list of raw data files in folder that match "num" 
    520 //      if( (num>9999) || (num<=0) ) 
    521 //              Print "error in  FindFileFromRunNumber(num), file number too large or too small" 
    522 //              Return ("") 
    523 //      Endif 
     526 
    524527        String numStr="" 
    525528        numStr = num2str(num) 
    526 //      if(num<10) 
    527 //              numStr = "000"+num2str(num) 
    528 //      else 
    529 //              if(num<100) 
    530 //                      numStr = "00"+num2str(num) 
    531 //              else 
    532 //                      if(num<1000) 
    533 //                              numstr = "0"+num2str(num) 
    534 //                      else 
    535 //                              numStr = num2str(num) 
    536 //                      endif 
    537 //              Endif 
    538 //      Endif 
    539         //Print "numstr = ",numstr 
    540          
     529 
    541530        //make sure that path exists 
    542531        PathInfo catPathName 
     
    667656        else 
    668657                //found, get the characters preceeding it, but still after the "sans" characters 
    669                 if (pos-1 <= 4) 
     658                if (pos-1 < 4) 
    670659                        //not enough characters 
    671660                        return (invalid) 
     
    975964// called by Marquee.ipf, MultipleReduce.ipf, ProtocolAsPanel.ipf 
    976965// 
    977 Function/S ParseRunNumberList(list) 
     966Function/S V_ParseRunNumberList(list) 
    978967        String list 
    979968         
Note: See TracChangeset for help on using the changeset viewer.