def is_sim_f(ts_kname):
    """ Returns True if the TSDist is actually a similarity and not a distance
    """
    return ts_kname in ('linear_allpairs',
                        'linear_crosscor',
                        'cross_correlation',
                        'hsdotprod_autocor_truncated',
                        'hsdotprod_autocor_cyclic')