def num_trls_column_names(cond1, cond2, fast_rt, slow_rt, blocks,
    incl_excl_switch, weighted):
    """Column names for number of trials overall, within condition and within block 
       (with a switch to name both before and after excluding fast\\slow trials).

    08-2017
    Alexander Millner <alexmillner@gmail.com
    """
    if weighted == True:
        block_num_col_names = ['overall_num_trls_%s_fastslow_rt' %
            incl_excl_switch, '%s_num_trls_%s_fastslow_rt' % (cond1,
            incl_excl_switch), '%s_num_trls_%s_fastslow_rt' % (cond2,
            incl_excl_switch)]
        for bl in range(1, int(len(blocks) / 2) + 1):
            block_num_col_names.append('%s_bl%d_num_trls_%s_fastslow_rt' %
                (cond1, bl, incl_excl_switch))
            block_num_col_names.append('%s_bl%d_num_trls_%s_fastslow_rt' %
                (cond2, bl, incl_excl_switch))
    elif weighted == False:
        block_num_col_names = ['overall_num_trls_%s_fastslow_rt' %
            incl_excl_switch, '%s_num_trls_%s_fastslow_rt' % (cond1,
            incl_excl_switch), '%s_num_trls_%s_fastslow_rt' % (cond2,
            incl_excl_switch)]
    return block_num_col_names
