Version bump with wrappers

This commit is contained in:
Anne de Jong 2023-11-25 15:01:40 +01:00
parent 3f58b19442
commit 0e22dc754d
4 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/Cargo.lock /Cargo.lock
__pycache__ __pycache__
python/lasprs/_lasprs* python/lasprs/_lasprs*
.venv

View File

@ -1,6 +1,6 @@
[package] [package]
name = "lasprs" name = "lasprs"
version = "0.1.0" version = "0.2.0"
edition = "2021" edition = "2021"
authors = ["J.A. de Jong <j.a.dejong@ascee.nl>"] authors = ["J.A. de Jong <j.a.dejong@ascee.nl>"]
description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)" description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)"

14
noxfile.py Normal file
View File

@ -0,0 +1,14 @@
import nox
@nox.session
def tests(session):
session.install('pytest')
session.install('numpy')
session.install('maturin')
session.run('maturin','dev')
session.run('pytest')
#@nox.session
#def lint(session):
# session.install('flake8')
# session.run('flake8', '--import-order-style', 'google')

View File

@ -43,7 +43,7 @@ def test_seriesbiquad():
def test_biquadbank(): def test_biquadbank():
""" """
See if two filters See if two filters with half gain produce the output=input
""" """
input_ = np.array([1.0, 0, 0, 0, 0, 0, 0]) input_ = np.array([1.0, 0, 0, 0, 0, 0, 0])
f1 = [1., 0, 0, 1, 0, 0] f1 = [1., 0, 0, 1, 0, 0]