Skip to content

Commit 68c096a

Browse files
authored
Merge pull request #24 from BastienTr/master
Adds SISO and MIMO channel models with Rayleigh or rician fading & minor compatibility fixes.
2 parents 303bb7c + 8d3f1a8 commit 68c096a

File tree

11 files changed

+894
-109
lines changed

11 files changed

+894
-109
lines changed

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2012-2015, Veeresh Taranalli
3+
Copyright (c) 2012-2018, Veeresh Taranalli & contributors
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Channel Coding
3131

3232
Channel Models
3333
--------------
34+
- SISO Channel with Rayleigh or Rician fading.
35+
- MIMO Channel with Rayleigh or Rician fading.
3436
- Binary Erasure Channel (BEC)
3537
- Binary Symmetric Channel (BSC)
3638
- Binary AWGN Channel (BAWGNC)
@@ -61,6 +63,7 @@ Utilities
6163
- Decimal to bit-array, bit-array to decimal.
6264
- Hamming distance, Euclidean distance.
6365
- Upsample
66+
- Power of a discrete-time signal
6467

6568
FAQs
6669
----

commpy/channelcoding/convcode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Trellis:
7676
>>> from numpy import array
7777
>>> import commpy.channelcoding.convcode as cc
7878
>>> memory = array([2])
79-
>>> g_matrix = array([[05, 07]]) # G(D) = [1+D^2, 1+D+D^2]
79+
>>> g_matrix = array([[0o5, 0o7]]) # G(D) = [1+D^2, 1+D+D^2]
8080
>>> trellis = cc.Trellis(memory, g_matrix)
8181
>>> print trellis.k
8282
1

0 commit comments

Comments
 (0)