Skip to content

Releases: signaloid/signaloid-python

Version 1.9.0

11 May 09:30
4c0b837

Choose a tag to compare

Changelog

  • Added histogram plotting fallback logic for non-TTR input. In PlotData._construct_plot_data, if the TTR pipeline fails or the input is not a valid TTR, the code uses a uniform-width histogram approach, ensuring more robust and meaningful binning for arbitrary Dirac deltas.
  • Removed all from __future__ import annotations statements.
  • Updated some typing annotations.
  • Updated dependencies.

Version 1.8.0

30 Mar 11:17
49369de

Choose a tag to compare

Changelog

  • Added Python 3.14 to supported versions.
  • Added Python 3.12 and 3.14 to test targets.
  • Updated dependencies on pyproject.toml for better/wider compatibility, only allowing prebuilds of numpy and matplotlib.
  • Added the DistributionalValue.from_samples and the PlotData.from_samples methods with their corresponding tests.
  • Added support for plotting samples.
  • Changed to open the test_ux_value_pairs.csv relatively to script's path for maximum compatibility.
  • Optimized plotting and TTR binning performance.
  • Updated the distributional_information_plotting/README.md.
  • Fixes related signaloid-python issue 1.

Version 1.7.3

13 Mar 15:08
6d7aee8

Choose a tag to compare

Changelog

Version 1.7.2

18 Feb 17:30
37dc31a

Choose a tag to compare

Changelog

  • Updated type hinting.
  • Project reformatting.

Version 1.7.0

06 Feb 18:59
8f82e20

Choose a tag to compare

Changelog

  • Updated all dependencies to their latest version that support at least Python 3.9.
  • Moved to NumPy 2.

Version 1.6.1

29 Jan 14:37
9d7aff5

Choose a tag to compare

Changelog

  • Updated wheel to version 0.46.2 to fix security issue "Arbitrary File Permission Modification via Path Traversal in wheel unpack".

Version 1.6.0

15 Jan 11:04
86d47b4

Choose a tag to compare

Changelog

  • Added the uxdata_tools.py: A set of tools for working with Signaloid Ux data. Currently supporting a simple plot-to-image command.
  • Added support for automatic format detection and parsing of a given distribution on the DistributionalValue.parse method.
    • Tries to parse the given dist as Ux-bytes when it is a string, but is not in a valid Ux-string format.
    • Tries to detect the floating point precision (single/double) when the double_precision parameter is not defined.

Example use

# Set Python environment
python3 -m venv .venv
source .venv/bin/activate
poetry install

# Run plot command with a Ux-string
signaloid-uxdata-toolkit plot 0.40007Ux0000000000000000013FD99AC12423C7C7000000013FD99AC12423C7C78000000000000000

# Run plot command with a Ux-bytes
signaloid-uxdata-toolkit plot 09168733bf9ad93f000100000000000000c7c72324c19ad93f01000000c7c72324c19ad93f0000000000000080

# Run plot command with a specified output path
signaloid-uxdata-toolkit plot -o output.png 0.40007Ux0000000000000000013FD99AC12423C7C7000000013FD99AC12423C7C78000000000000000```

Version 1.5.0

08 Jan 21:46
a4bd9d5

Choose a tag to compare

Changelog

  • Created the DiracDelta class to hold the position and mass of each Dirac Delta of the DistributionalValue, and apply arithmetic operations on them.
  • Applied multiple fixes and simplifications to the DistributionalValue class for better performance, readability, and maintainability.
    • Added support for scientific (E) notation and non-finite particle values in UX-string parsing.
    • Refactored bytes export to __bytes__.
    • Explicitly defined endianness for data packing/unpacking.
    • Added more parameters for initializing a DistributionalValue object.
    • Added dirac_deltas and finite_dirac_deltas calculated properties.
    • Removed unused properties
    • Removed unused calculate_steps function.
  • Created the PlotData class to encapsulate plotting data (boundaries/heights).
  • Centralized plot rendering in plot_wrapper.py, for easier integration with different environments.
  • Added CircuitPython support with a dedicated NumpyWrapper module for supporting all numpy functions used, and a CircuitPython plot wrapper module based on uplot.
  • Added new tests and typing improvements across modules.
  • Removed redundant imports from package __init__ files to improve CircuitPython compatibility.
  • Removed redundant py.typed file.

Version 1.3.0

25 Apr 20:05
a7f0774

Choose a tag to compare

Changelog

Updated DistributionalValue to support parsing Ux strings and Ux bytes that encode the DD positions as single-precision floats.

Version 1.2.0

01 Nov 14:00
bd1bf27

Choose a tag to compare

v1.2.0

Bump up to version 1.2