assertlen(nyquists)==1,"all banks must have the same Nyquist frequency to define a consistent horizon distance function (got %s)"%", ".join("%g"%rateforrateinsorted(nyquists))
# assume default 32 s PSD. this is not required to be correct, but
# for best accuracy it should not be larger than the true value and
# for best performance it should not be smaller than the true
# value.
deltaF=1./32.
# FIXME (from Chad) What is the 5/3 for???
# pick (m1, m2) from the median template ranked by Mchirp^(5/3)
# to provide the canonical waveform model. See Maggiore equation
# (4.3).
assertlen(sngl_inspiral_table)>0,"no templates: must have templates to define horizon distance function"