/sequences

Python code that generates three different sequences; LFSR, Gold sequence (given two Maximum Length Sequences (MLS)), and Zadoff-Chu.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Sequences

  • Linear Feedback Shift Register, LFSR. The Fibonacci Implementation.
  • Gold sequence (constructed with 2 maximum length sequences (MLS) LFSR).
  • Zadoff-Chu

Setup

IF you whish to work in a virtual environment, run

VENV=$HOME/VirtualEnvironments/sequences

python3 -m venv $VENV
source $VENV/bin/activate

pip3 install -U pip
pip3 install -U -r requirements.txt

Will create a python3 venv environment in your home-folder, in $HOME/VirtualEnvironments/sequences. It will also download numpy.

Else, if you don't whish to use venv you will need python3 and numpy.

Run

python3 sequences/Gold.py

Ref

Wikipedia: Gold code

Wikipedia: LFSR (The Fibonacci Implemenation)

Wikipedia: Maximum Length Sequences (MLS)

NewWaveInstruments (WebArchive)