Expand description
Gold codes.
A Gold family for register length n consists of the two m-sequences of a preferred pair
together with the 2^n - 1 sequences obtained by adding the second sequence at every cyclic
shift to the first. Their periodic cross-correlations take only three values,
-1, -t(n) and t(n) - 2, where t(n) = 1 + 2^((n+1)/2) for odd n and
1 + 2^((n+2)/2) for n ≡ 2 (mod 4).
See the book entry LFSRs and Gold codes.
Functions§
- gold_
codes - Generates the Gold family for register length
n(3..=20, not a multiple of 4). - gold_
correlation_ bound - The magnitude bound
t(n)on the Gold-code correlation values, orNoneif no Gold family exists forn(that is, whennis a multiple of 4).