Skip to content

Commit

Permalink
add deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
talonchandler committed Dec 21, 2024
1 parent ae47738 commit a84ddb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions waveorder/waveorder_reconstructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import itertools
import time
import os
import warnings
from numpy.fft import fft, ifft, fft2, ifft2, fftn, ifftn, fftshift, ifftshift
from IPython import display
from scipy.ndimage import uniform_filter
Expand Down Expand Up @@ -161,6 +162,7 @@ def instrument_matrix_calibration(I_cali_norm, I_meas):

class waveorder_microscopy:
"""
DEPRECATED: Please see `waveorder.models` for maintained alternatives.
waveorder_microscopy contains reconstruction algorithms for label-free
microscopy with various types of dataset:
Expand Down Expand Up @@ -366,6 +368,10 @@ def __init__(
initialize the system parameters for phase and orders microscopy
"""
warnings.warn(
"Please see `waveorder.models` for maintained alternatives.",
category=DeprecationWarning,
)

t0 = time.time()

Expand Down

0 comments on commit a84ddb4

Please sign in to comment.