diff --git a/docs/_images/compute_paths.svg b/docs/_images/compute_paths.svg new file mode 100644 index 00000000..12b33247 --- /dev/null +++ b/docs/_images/compute_paths.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/_images/coverage_map_visualization.png b/docs/_images/coverage_map_visualization.png index 83c1865a..58b15199 100644 Binary files a/docs/_images/coverage_map_visualization.png and b/docs/_images/coverage_map_visualization.png differ diff --git a/docs/_images/examples_Neural_Receiver_49_0.png b/docs/_images/examples_Neural_Receiver_49_0.png index 99641a63..42f04164 100644 Binary files a/docs/_images/examples_Neural_Receiver_49_0.png and b/docs/_images/examples_Neural_Receiver_49_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_12_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_13_0.png similarity index 100% rename from docs/_images/examples_Sionna_Ray_Tracing_Diffraction_12_0.png rename to docs/_images/examples_Sionna_Ray_Tracing_Diffraction_13_0.png diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_18_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_19_0.png similarity index 100% rename from docs/_images/examples_Sionna_Ray_Tracing_Diffraction_18_0.png rename to docs/_images/examples_Sionna_Ray_Tracing_Diffraction_19_0.png diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_23_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_24_0.png similarity index 100% rename from docs/_images/examples_Sionna_Ray_Tracing_Diffraction_23_0.png rename to docs/_images/examples_Sionna_Ray_Tracing_Diffraction_24_0.png diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_27_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_27_0.png deleted file mode 100644 index 06f646f9..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_27_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_28_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_28_0.png new file mode 100644 index 00000000..f84f3943 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_28_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_30_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_30_0.png deleted file mode 100644 index b3eebf15..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_30_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_31_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_31_0.png new file mode 100644 index 00000000..2b8b71d1 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_31_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_32_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_32_0.png deleted file mode 100644 index e7c58f92..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_32_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_33_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_33_0.png new file mode 100644 index 00000000..db6a48d3 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_33_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_34_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_34_0.png deleted file mode 100644 index 7d0dc602..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_34_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_35_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_35_0.png new file mode 100644 index 00000000..f8882df1 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_35_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_38_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_38_0.png deleted file mode 100644 index 16d49f30..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_38_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_39_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_39_0.png new file mode 100644 index 00000000..2fc8309c Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_39_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_42_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_42_0.png deleted file mode 100644 index 6d2b190b..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_42_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_43_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_43_0.png new file mode 100644 index 00000000..bb3dc74a Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_43_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_46_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_46_0.png deleted file mode 100644 index 0b9c1fe7..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_46_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_47_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_47_0.png new file mode 100644 index 00000000..baf47255 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_47_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_48_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_48_0.png deleted file mode 100644 index 14137229..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_48_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_49_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_49_0.png new file mode 100644 index 00000000..f091c1ab Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_49_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_0.png deleted file mode 100644 index 1daae013..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_0.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_1.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_1.png deleted file mode 100644 index e5661547..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_51_1.png and /dev/null differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_0.png new file mode 100644 index 00000000..1b90e8b8 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_1.png b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_1.png new file mode 100644 index 00000000..d3259c50 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Diffraction_52_1.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_10_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_10_0.png index 4ea6abff..cf2a909e 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_10_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_10_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_16_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_16_0.png index c33b392e..6052e59c 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_16_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_16_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_25_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_25_0.png index 18ec701c..1dd7060a 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_25_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_25_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_37_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_37_0.png index 5c0d1001..f8bbf75f 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_37_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_37_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_50_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_50_0.png index 34ee1f1d..d919e907 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_50_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_50_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_57_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_57_0.png index 57ab2c99..b24112a6 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_57_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_57_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_60_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_60_0.png index 25d9b499..a0487b12 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_60_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_60_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_62_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_62_0.png index 0ab3ca9b..32f37252 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_62_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_62_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_73_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_73_0.png index cf20f509..bca347b3 100644 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_73_0.png and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_73_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_85_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_85_0.png new file mode 100644 index 00000000..62d86bf0 Binary files /dev/null and b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_85_0.png differ diff --git a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_87_0.png b/docs/_images/examples_Sionna_Ray_Tracing_Introduction_87_0.png deleted file mode 100644 index 0f101053..00000000 Binary files a/docs/_images/examples_Sionna_Ray_Tracing_Introduction_87_0.png and /dev/null differ diff --git a/docs/_modules/index.html b/docs/_modules/index.html index d5937c83..27a88a06 100644 --- a/docs/_modules/index.html +++ b/docs/_modules/index.html @@ -3,7 +3,7 @@
-
sign_val = tf.sign(msg)
- sign_val = tf.where(tf.equal(sign_val, 0),
- tf.ones_like(sign_val),
- sign_val)
+ # TF2.14 does not support XLA for tf.where and ragged tensors in
+ # CPU mode. The following code provides a workaround that supports XLA
+ # sign_val = tf.where(tf.equal(sign_val, 0),
+ # tf.ones_like(sign_val),
+ # sign_val)
+ sign_val = tf.ragged.map_flat_values(lambda x :
+ tf.where(tf.equal(x, 0),
+ tf.ones_like(x),x),
+ sign_val)
sign_node = tf.reduce_prod(sign_val, axis=1)
diff --git a/docs/_modules/sionna/fec/ldpc/encoding.html b/docs/_modules/sionna/fec/ldpc/encoding.html
index bcd13fa7..589b3122 100644
--- a/docs/_modules/sionna/fec/ldpc/encoding.html
+++ b/docs/_modules/sionna/fec/ldpc/encoding.html
@@ -3,7 +3,7 @@
- sionna.fec.ldpc.encoding — Sionna 0.15.1 documentation
+ sionna.fec.ldpc.encoding — Sionna 0.16.0 documentation
@@ -360,6 +360,9 @@
# bring in upper triangular form
for idx_c in range(m):
- success = False
- # step 1: find next leading "1"
- for idx_r in range(idx_c,m):
- # skip if entry is "0"
- if mat[idx_r, idx_c]:
- mat[[idx_c, idx_r]] = mat[[idx_r, idx_c]] # swap rows
- success = True
- break
+ success = mat[idx_c, idx_c]
+ if not success: # skip if leading "1" already occurred
+ # step 1: find next leading "1"
+ for idx_r in range(idx_c+1,m):
+ # skip if entry is "0"
+ if mat[idx_r, idx_c]:
+ mat[[idx_c, idx_r]] = mat[[idx_r, idx_c]] # swap rows
+ success = True
+ break
# Could not find "1"-entry for column idx_c
# => swap with columns from non-sys part
# The task is to find a column with index idx_cc that has a "1" at
# row idx_c
if not success:
- for idx_cc in range(m, n):
+ for idx_cc in range(idx_c+1, n):
if mat[idx_c, idx_cc]:
# swap columns
mat[:,[idx_c, idx_cc]] = mat[:,[idx_cc, idx_c]]
column_swaps.append([idx_c, idx_cc])
- success=True
+ success = True
break
if not success:
@@ -1953,12 +1957,12 @@ Source code for sionna.fec.utils
# bring identity part to end of matrix if parity-check matrix is provided
if is_pcm:
- im = np.copy(mat[:,:m])
- mat[:,:m] = mat[:,-m:]
- mat[:,-m:] = im
- # and track column swaps
- for idx in range(m):
- column_swaps.append([idx, n-m+idx])
+ # individual column swaps instead of copying entire block
+ # this simplifies the tracking of column swaps.
+ for i in range(n-1, (n-1)-m, -1):
+ j = i - (n-m)
+ mat[:,[i, j]] = mat[:,[j, i]]
+ column_swaps.append([i, j])
# return integer array
mat = mat.astype(int)
diff --git a/docs/_modules/sionna/mapping.html b/docs/_modules/sionna/mapping.html
index cc36b481..c3a965a2 100644
--- a/docs/_modules/sionna/mapping.html
+++ b/docs/_modules/sionna/mapping.html
@@ -3,7 +3,7 @@
- sionna.mapping — Sionna 0.15.1 documentation
+ sionna.mapping — Sionna 0.16.0 documentation
@@ -360,6 +360,9 @@
- Tutorial on Diffraction
+
+- Wedge vs Edge
- “Made with Sionna”