diff --git a/CMakeLists.txt b/CMakeLists.txt index e2d39ec..d70d62b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(LASP LANGUAGES C CXX VERSION 1.1) +project(LASP LANGUAGES C CXX VERSION 1.6.2) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED) diff --git a/README.md b/README.md index 6f92c5c..d07e20c 100644 --- a/README.md +++ b/README.md @@ -144,3 +144,16 @@ This will build the documentation. It can be read by: - See examples directories for IPython notebooks. - Please refer to the [documentation](https://lasp.ascee.nl/) for features. + + +# Development docs + +## Bumping version number + +When bumping the version number, please update the number in + +- `pyproject.toml` +- `CMakeLists.txt` + +Then, create a commit with tag `vX.X.X`, and push it. + diff --git a/pyproject.toml b/pyproject.toml index 42291aa..b040966 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires-python = ">=3.10" description = "Library for Acoustic Signal Processing" license = { "file" = "LICENSE" } authors = [{ "name" = "J.A. de Jong", "email" = "j.a.dejong@ascee.nl" }] -version = "1.6.1" +version = "1.6.2" keywords = ["DSP", "DAQ", "Signal processing"] @@ -23,7 +23,7 @@ classifiers = [ urls = { "Documentation" = "https://lasp.ascee.nl" } dependencies = [ - "scipy==1.12", + "scipy>=1.13.1", "matplotlib>=3.7.2", "appdirs", "dataclasses_json", diff --git a/python_src/lasp/filter/fir_design.py b/python_src/lasp/filter/fir_design.py index ad742fb..5b43dfa 100644 --- a/python_src/lasp/filter/fir_design.py +++ b/python_src/lasp/filter/fir_design.py @@ -11,7 +11,8 @@ __all__ = ['freqResponse', 'bandpass_fir_design', 'lowpass_fir_design', 'arbitrary_fir_design'] import numpy as np -from scipy.signal import freqz, hann, firwin2 +from scipy.signal import freqz, firwin2 +from scipy.signal.windows import hann from ..lasp_config import empty