Stimulus

make_apa_sequence()

Make an almost perfect auto-correlation (APA) sequence.

make_de_bruijn_sequence([k, n, seed])

Make a de Bruijn sequence.

make_golay_sequence()

Make complementary Golay sequences.

make_gold_codes([poly1, poly2, seed1, seed2])

Make a set of Gold codes.

make_m_sequence([poly, base, seed])

Make a maximum length sequence.

is_de_bruijn_sequence(stimulus[, k, n])

Check whether a stimulus is a de Bruijn sequence.

is_gold_code(stimulus)

Check whether a stimulus is a Gold code.

is_m_sequence(stimulus)

Check whether a stimulus is an m-sequence.

modulate(stimulus)

Modulate a stimulus.

optimize_subset_clustering(X, n_subset)

Optimize the subset by first clustering similar codes and subsequently selecting the best candidates from each cluster.

optimize_layout_incremental(X, neighbours[, ...])

Optimize the allocation of codes to a layout by considering the correlation between neighboring codes.