Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 78 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[tool.poetry]
name = "signaloid"
version = "1.6.1"
version = "1.7.0"
description = ""
authors = [
"Signaloid <info@signaloid.com>"
]

packages = [
{ include = "signaloid", from = "src" }
{ include = "signaloid", from = "src" }
]

[tool.poetry.group.dev.dependencies]
wheel = "^0.46.2"
pex = "^2.1.159"
types-toml = "^0.10.8.7"
pytest = "^7.4.4"
mypy = "^1.8.0"
flake8 = "^7.0.0"
wheel = "^0.46.3"
pex = "^2.87.0"
types-toml = "^0.10.8.20240310"
pytest = "^8.4.2"
mypy = "^1.19.1"
flake8 = "^7.3.0"
toml = "^0.10.2"

[build-system]
Expand All @@ -25,8 +25,8 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = ">=3.9,<3.14"
numpy = "^1.26.4"
matplotlib = "^3.8.3"
numpy = "~2.0.2"
matplotlib = "~3.9.4"

[tool.poetry.scripts]
signaloid-uxdata-toolkit = "signaloid.uxdata_toolkit:main"
Expand Down
2 changes: 1 addition & 1 deletion src/signaloid/circuitpython/extended_ulab_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

class NumpyWrapper:
def __init__(self):
self.float_ = ulab_np.float
self.float64 = ulab_np.float

def __getattr__(self, name):
"""
Expand Down
12 changes: 6 additions & 6 deletions src/signaloid/distributional/distributional.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,23 +112,23 @@ def finite_dirac_deltas(self) -> list[DiracDelta]:
return self.dirac_deltas

@property
def positions(self) -> NDArray[np.float_]:
def positions(self) -> NDArray[np.float64]:
"""The list af all the Dirac Delta positions.

:return: The list of all the Dirac Delta positions.
:rtype: NDArray[np.float_]
:rtype: NDArray[np.float64]
"""
arr: NDArray[np.float_] = np.array([dd.position for dd in self.dirac_deltas], dtype=np.float_)
arr: NDArray[np.float64] = np.array([dd.position for dd in self.dirac_deltas], dtype=np.float64)
return arr

@property
def masses(self) -> NDArray[np.float_]:
def masses(self) -> NDArray[np.float64]:
"""The list af all the Dirac Delta floating-point masses.

:return: The list of all the Dirac Delta floating-point masses.
:rtype: NDArray[np.float_]
:rtype: NDArray[np.float64]
"""
arr: NDArray[np.float_] = np.array([dd.mass for dd in self.dirac_deltas], dtype=np.float_)
arr: NDArray[np.float64] = np.array([dd.mass for dd in self.dirac_deltas], dtype=np.float64)
return arr

@property
Expand Down
Loading
Loading