Skip to content

Commit

Permalink
remove LPI inverse function (was renamed filter_inverse in a previous…
Browse files Browse the repository at this point in the history
… release)
  • Loading branch information
grlee77 committed Nov 13, 2023
1 parent 7d56b5e commit cb9e1ce
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions python/cucim/src/cucim/skimage/filters/lpi_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np
from cupyx.scipy import fft

from .._shared.utils import _supported_float_type, check_nD, deprecate_func
from .._shared.utils import _supported_float_type, check_nD

eps = np.finfo(float).eps

Expand Down Expand Up @@ -174,23 +174,6 @@ def filter_forward(
return predefined_filter(data)


@deprecate_func(
hint="use cucim.skimage.filters.lpi_filter.filter_inverse instead",
deprecated_version="",
removed_version="2023.12.00",
)
def inverse(
data,
impulse_response=None,
filter_params=None,
max_gain=2,
predefined_filter=None,
):
return filter_inverse(
data, impulse_response, filter_params, max_gain, predefined_filter
)


def filter_inverse(
data,
impulse_response=None,
Expand Down

0 comments on commit cb9e1ce

Please sign in to comment.