RENEWLab  1.1.0
RENEW project
find_lts Namespace Reference

Functions

def find_zc_pilot (iq, thresh=0.8, us=1, seq_length=512, cp=32, pilot_seq=[])
 
def find_lts (iq, thresh=0.8, us=1, cp=32, flip=False, lts_seq=[])
 

Variables

 zcpilot
 
 _
 
 preamble_type
 
 seq_length
 
 cp
 
 upsample
 
 reps
 
 iq
 

Detailed Description

 find_lts.py

 Find LTS sequence

---------------------------------------------------------------------
 Copyright © 2018-2019. Rice University.
 RENEW OPEN SOURCE LICENSE: http://renew-wireless.org/license
---------------------------------------------------------------------

Function Documentation

◆ find_lts()

def find_lts.find_lts (   iq,
  thresh = 0.8,
  us = 1,
  cp = 32,
  flip = False,
  lts_seq = [] 
)
    Find the indices of LTSs in the input "iq" signal (upsampled by a factor of "up").
    "thresh" sets sensitivity.

    Inputs:
        iq: IQ samples
        thresh: threshold to detect peak
        us: upsampling factor, needed for generate_training_seq() function
        cp: cyclic prefix
        flip: Flag to specify order or LTS sequence.
        lts_seq: if transmitted lts sequence is provided, use it, otherwise generate it

    Returns:
        best_pk: highest LTS peak,
        lts_pks: the list of all detected LTSs, and
        lts_corr: the correlated signal, multiplied by itself delayed by 1/2 an LTS
Here is the call graph for this function:

◆ find_zc_pilot()

def find_lts.find_zc_pilot (   iq,
  thresh = 0.8,
  us = 1,
  seq_length = 512,
  cp = 32,
  pilot_seq = [] 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ _

find_lts._
private

◆ cp

find_lts.cp

◆ iq

find_lts.iq

◆ preamble_type

find_lts.preamble_type

◆ reps

find_lts.reps

◆ seq_length

find_lts.seq_length

◆ upsample

find_lts.upsample

◆ zcpilot

find_lts.zcpilot