Paper: SPySort: Neuronal Spike Sorting with Python (Christophe Pouzat)

f_i and f_i' should be introduced above