Skip to content

Commit

Permalink
add deprication warning of beamforming code
Browse files Browse the repository at this point in the history
  • Loading branch information
waltsims committed Dec 19, 2023
1 parent 78f4ec1 commit 1c6ea64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kwave/reconstruction/beamform.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging
import os
from typing import Tuple, Optional
from warnings import warn

import numpy as np
import scipy
Expand All @@ -26,6 +27,7 @@ def beamform(channel_data: ChannelData) -> None:
Returns:
"""
warn("This method is no longer supported and will be depricated in v0.4.0 of k-wave-python.", DeprecationWarning, stacklevel=2)
f_number = 1.2
num_px_z = 256
imaging_depth = 40e-3
Expand Down

0 comments on commit 1c6ea64

Please sign in to comment.