| 
       
     | 
      
        
          patread(filename,
        station=None,
        readpat=False,
        readstr=False,
        headeronly=False,
        colsonly=False) 
      Reads in a file from SprOutputWriterApp. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          inforead(filename) 
      Reads the printout of SprBaggerDecisionTreeApp and returns info. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          rewrite_results(patpath,
        resultpath) 
      Rewrites the output of SprOutputWriterApp because it couldn't be 
      bothered to save the numbers to full precision. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          sort_inj_ts(data) 
      Sorts data into injections and timeslides | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          ROC(timeslides,
        injections) 
      Computes true and false positive rates. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          wilson(p,
        n) 
      Calculates the Wilson interval, the confidence interval for a 
      binomial distribution. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          stairs(x,
        y) 
      Transforms lists (x,y) into (x1,y1) such that plotting them will 
      create a stairs graph. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          top_events(data,
        cols,
        n,
        stations,
        mvsc_to_fan=None) 
      Finds the n events with the highest MVSC values. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          ROCplot(data_inj,
        data_ts,
        cols,
        op_point=1,
        ts_trig_ratio=25) 
      Creates an ROC plot from one file. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          mvsc_vs_effsnr(data_inj,
        data_ts,
        cols,
        mvsc_cutoff=None,
        effsnr_cutoff=None,
        zerodata=None) 
      Plots mvsc values vs the sum of the squares of effective snr. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          fraction_detected(data_inj,
        data_ts,
        cols,
        afar=None,
        mvsc_cutoff=None,
        distance=False) 
      Graphs the fraction detected vs snr or distance. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          snr_vs_chisqr(data_inj,
        data_ts,
        cols,
        afar=1.0/2000,
        zerodata=None) 
      Plots SNR vs Chi Squared, indicating which triggers were correctly 
      classified, and which were incorrectly classified. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          FARplot(data_ts,
        cols,
        zerodata=None,
        ts_trig_ratio=25) 
      Graphs the cumulative number of detections vs MVSC threshold. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          IFANplot(data_ts,
        cols,
        zerodata,
        ts_trig_ratio=25) 
      Plots the inverse false alarm number vs cumulative number of 
      detections. | 
          
            source code
            
           | 
         
       
      
     |