def get_decode_and_transmit_cycles(n_neurons_in_cluster, size_out):
    """Cycles required to decode spikes and transmit packets."""
    # Based on thesis profiling
    return 2*n_neurons_in_cluster*size_out + 143*size_out + 173