Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
djps committed Sep 29, 2024
1 parent 1320db1 commit cbe3271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kwave/kWaveSimulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def kelvin_voigt_model(self):

is_elastic_simulation = self.options.simulation_type.is_elastic_simulation()
if is_elastic_simulation:
if ((self.medium.alpha_coeff_compression is not None) and (self.medium.alpha_shear is not None)):
if ((self.medium.alpha_coeff_compression is not None) and (self.medium.alpha_coeff_shear is not None)):
return True
return False

Expand Down
5 changes: 3 additions & 2 deletions kwave/pstdElastic3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tqdm import tqdm
from typing import Union
from copy import deepcopy
import logging
# import logging

from kwave.kgrid import kWaveGrid
from kwave.kmedium import kWaveMedium
Expand All @@ -23,7 +23,8 @@

from kwave.options.simulation_options import SimulationOptions

from kwave.kWaveSimulation_helper import extract_sensor_data, reorder_cuboid_corners, save_intensity
from kwave.kWaveSimulation_helper import extract_sensor_data, save_intensity
#from kwave.kWaveSimulation_helper import reorder_cuboid_corners

def pstd_elastic_3d(kgrid: kWaveGrid,
source: kSource,
Expand Down

0 comments on commit cbe3271

Please sign in to comment.