inspiralrange(f,
        S,
        snr=8,
        m1=1.4,
        m2=1.4,
        fmin=10,
        fmax=None,
        horizon=False)
  
   | source code 
     | 
    
  
  Calculate the sensitivity distance to an inspiral with the given 
  masses, for the given signal-to-noise ratio. See the following reference 
  for information on the integral performed: 
  
  https://dcc.ligo.org/cgi-bin/private/DocDB/ShowDocument?docid=27267 
  
    - Parameters:
 
    
        f (numpy.array) - frequency array 
        S (numpy.array) - power spectral density array 
        snr (float) - signal-to-noise ratio at which to calculate range 
        m1 (float) - mass (in solar masses) of first binary component, default: 1.4 
        m2 (float) - mass (in solar masses) of second binary component, default: 1.4 
        fmin (float) - minimum frequency limit of integral, default: 10 Hz 
        fmax (float) - maximum frequency limit of integral, default: ISCO 
        horizon (bool) - return horizon distance in stead of angle-averaged, default: 
          False 
      
    - Returns: 
float 
        - sensitive distance to an inspiral (in solar masses) for the given
          PSD and parameters
 
   
 |