Skip to content

Commit 55da5ce

Browse files
committed
bump: version 0.24.0 -> 0.25.0
1 parent 199afec commit 55da5ce

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# Changelog
22

3+
## v0.25.0 (2025-08-05)
4+
5+
### Breaking changes
6+
7+
- Removed modulation classes in favor of decoupled [constellation](https://komm.dev/ref/Constellation) and [labeling](https://komm.dev/ref/Labeling) classes. For example, instead of
8+
9+
```
10+
modulation = komm.QAModulation(16, labeling="reflected_2d")
11+
```
12+
13+
use
14+
15+
```
16+
constellation = komm.QAMConstellation(16) # 16 symbols
17+
labeling = komm.ReflectedRectangularLabeling(4) # 4 bits per symbol
18+
```
19+
20+
- To recover old `modulate()` behavior: Instead of
21+
22+
```
23+
symbols = modulation.modulate(bits)
24+
```
25+
26+
use
27+
28+
```
29+
indices = labeling.bits_to_indices(bits)
30+
symbols = constellation.indices_to_symbols(indices)
31+
```
32+
33+
- To recover old `demodulate_hard()` behavior: Instead of
34+
35+
```
36+
bits_hat = modulation.demodulate_hard(received)
37+
```
38+
39+
use
40+
41+
```
42+
indices_hat = constellation.closest_indices(received)
43+
bits_hat = labeling.indices_to_bits(indices_hat)
44+
```
45+
46+
- To recover old `demodulate_soft()` behavior: Instead of
47+
48+
```
49+
l_values = modulation.demodulate_soft(received, snr=5.0)
50+
```
51+
52+
use
53+
54+
```
55+
posteriors = constellation.posteriors(received, snr=5.0)
56+
l_values = labeling.marginalize(posteriors)
57+
```
58+
59+
- The phase offset of constellations are now measured in [turns](<https://en.wikipedia.org/wiki/Turn_(angle)>) instead of radians.
60+
61+
- Renamed `__call__` methods to `emit`, in sources; `transmit`, in channels; and `decode`, in decoders.
62+
63+
### Added
64+
65+
- Added flag `bit_order` to [`bits_to_int`](https://komm.dev/ref/bits_to_int) and [`int_to_bits`](https://komm.dev/ref/int_to_bits) helper functions.
66+
367
## v0.24.0 (2025-06-18)
468
569
### Breaking changes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "komm"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
description = "An open-source library for Python 3 providing tools for analysis and simulation of analog and digital communication systems."
55
readme = "README.md"
66
authors = [{ name = "Roberto W. Nobrega", email = "rwnobrega@gmail.com" }]

0 commit comments

Comments
 (0)