diff --git a/LICENSE.txt b/LICENSE.txt index 85fa35f8..485211e6 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2017-2019, Intel Corporation +Copyright (c) 2017-2025, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index 50910a8d..26c0916f 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ It implements the following functions: `rfft2_numpy(x, s=None, axes=(-2,-1))` - real 2D Fourier transform, like `numpy.fft.rfft2` -`rfftn_numpy(x, s=None, axes=None)` - real 2D Fourier transform, like `numpy.fft.rfftn` +`rfftn_numpy(x, s=None, axes=None)` - real ND Fourier transform, like `numpy.fft.rfftn` ... and similar `irfft*` functions. diff --git a/mkl_fft/__init__.py b/mkl_fft/__init__.py index 51ae19d4..5c25992b 100644 --- a/mkl_fft/__init__.py +++ b/mkl_fft/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/_float_utils.py b/mkl_fft/_float_utils.py index cc500f18..77e1322f 100644 --- a/mkl_fft/_float_utils.py +++ b/mkl_fft/_float_utils.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/_numpy_fft.py b/mkl_fft/_numpy_fft.py index 1ecf9b92..9cf48ff2 100644 --- a/mkl_fft/_numpy_fft.py +++ b/mkl_fft/_numpy_fft.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -207,7 +207,7 @@ def fft(a, n=None, axis=-1, norm=None): else: output = trycall( mkl_fft.fft, - (x, ), + (x,), {'n': n, 'axis': axis, 'forward_scale': ortho_sc_1d(n, x.shape[axis])}) return output @@ -306,7 +306,7 @@ def ifft(a, n=None, axis=-1, norm=None): mkl_fft.ifft, (x,), {'n': n, 'axis':axis}) elif norm == "forward": output = trycall( - mkl_fft.ifft, (x, ), + mkl_fft.ifft, (x,), {'n': n, 'axis': axis, 'forward_scale': frwd_sc_1d(n, x.shape[axis])}) else: @@ -614,17 +614,17 @@ def hfft(a, n=None, axis=-1, norm=None): if (norm in (None, "backward")): res = trycall( irfft, - (x, ), + (x,), {'n': n, 'axis': axis, 'norm': 'forward'}) elif norm == "forward": res = trycall( irfft, - (x, ), + (x,), {'n': n, 'axis': axis, 'norm': 'backward'}) else: res = trycall( irfft, - (x, ), + (x,), {'n': n, 'axis': axis, 'norm': 'ortho'}) return res diff --git a/mkl_fft/_pydfti.pyx b/mkl_fft/_pydfti.pyx index b20c7bd6..f4f949ac 100644 --- a/mkl_fft/_pydfti.pyx +++ b/mkl_fft/_pydfti.pyx @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/_scipy_fft.py b/mkl_fft/_scipy_fft.py index bdd54972..bc613cc0 100644 --- a/mkl_fft/_scipy_fft.py +++ b/mkl_fft/_scipy_fft.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/_scipy_fft_backend.py b/mkl_fft/_scipy_fft_backend.py index 51c8186a..830acc3f 100644 --- a/mkl_fft/_scipy_fft_backend.py +++ b/mkl_fft/_scipy_fft_backend.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2019-2024, Intel Corporation +# Copyright (c) 2019-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/interfaces/__init__.py b/mkl_fft/interfaces/__init__.py index a40be229..c126fb25 100644 --- a/mkl_fft/interfaces/__init__.py +++ b/mkl_fft/interfaces/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/interfaces/numpy_fft.py b/mkl_fft/interfaces/numpy_fft.py index a319661a..c1c5f449 100644 --- a/mkl_fft/interfaces/numpy_fft.py +++ b/mkl_fft/interfaces/numpy_fft.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/interfaces/scipy_fft.py b/mkl_fft/interfaces/scipy_fft.py index 8c44c473..9e6d57e3 100644 --- a/mkl_fft/interfaces/scipy_fft.py +++ b/mkl_fft/interfaces/scipy_fft.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/src/mklfft.c.src b/mkl_fft/src/mklfft.c.src index d1fc6d10..5f0d4ac7 100644 --- a/mkl_fft/src/mklfft.c.src +++ b/mkl_fft/src/mklfft.c.src @@ -1,5 +1,5 @@ /* - Copyright (c) 2017-2024, Intel Corporation + Copyright (c) 2017-2025, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/src/mklfft.h b/mkl_fft/src/mklfft.h index eea7a80b..5212b871 100644 --- a/mkl_fft/src/mklfft.h +++ b/mkl_fft/src/mklfft.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2017-2024, Intel Corporation + Copyright (c) 2017-2025, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/src/multi_iter.h b/mkl_fft/src/multi_iter.h index 196fb6d8..1429da78 100644 --- a/mkl_fft/src/multi_iter.h +++ b/mkl_fft/src/multi_iter.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2017-2024, Intel Corporation + Copyright (c) 2017-2025, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/tests/test_fft1d.py b/mkl_fft/tests/test_fft1d.py index dcfff041..da4464e1 100644 --- a/mkl_fft/tests/test_fft1d.py +++ b/mkl_fft/tests/test_fft1d.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2023, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/tests/test_fftnd.py b/mkl_fft/tests/test_fftnd.py index 41bd0d34..766007d2 100644 --- a/mkl_fft/tests/test_fftnd.py +++ b/mkl_fft/tests/test_fftnd.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2023, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/mkl_fft/tests/test_interfaces.py b/mkl_fft/tests/test_interfaces.py index e052a00f..954ed56c 100644 --- a/mkl_fft/tests/test_interfaces.py +++ b/mkl_fft/tests/test_interfaces.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2023, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/setup.py b/setup.py index 9686a7f9..907efd85 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2017-2024, Intel Corporation +# Copyright (c) 2017-2025, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: