Skip to content

← signal_processing package

MSeq

Generates m sequence time series for the given order (m).

The length of sequence is L = 2^m-1. It can repeat each element of sequence r times. If the parameter m-repeat is set to zero, the m sequence is not going to be repeated. The sequence can be circularly shifted for the given values in parameter m_shift. Version 1.0.0

Ports/Properties

data

Output reference signals

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: OUT

m_order

Sequence order.

  • verbose name: M Order
  • default value: 3
  • port type: IntPort
  • value type: int (can be None)

seq_shift

The number of bits that the sequence is shifted.

  • verbose name: Seq Shift
  • default value: [0, 2, 4, 6]
  • port type: ListPort
  • value type: list (can be None)

bit_repeat

The number of times that each element is repeated.

  • verbose name: Bit Repeat
  • default value: 3
  • port type: IntPort
  • value type: int (can be None)

repeat_unit

Unit in which the sequence is shifted.

  • verbose name: Unit Of Measurement For Window Length
  • default value: seconds
  • port type: EnumPort
  • value type: str (can be None)

seq_repeat_or_length

The number of times that the sequence is repeated. If the Repeat unit is repeats, the sequence is repeated by the given number. If the Repeat unit is seconds, the sequence is repeated to fill the time length with the given sampling frequency. If the Repeat unit is samples, the sequence is going to have that many samples

  • verbose name: Seq Repeat Or Length
  • default value: 0.5
  • port type: FloatPort
  • value type: float (can be None)

fs

The sampling frequency. This is only used if Repeat unit is time.

  • verbose name: Fs
  • default value: 500
  • port type: FloatPort
  • value type: float (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)