Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmacaulay committed Oct 9, 2024
1 parent 42c5095 commit 4dba3d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/echosms/ptdwbamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self):
self.long_name = 'phase-tracking distorted-wave Born approximation'
self.short_name = 'pt-dwba'
self.analytical_type = 'approximate'
self.boundary_types = 'weakly scattering'
self.boundary_types = ['weakly scattering']
self.shapes = ['unrestricted voxel-based']
self.max_ka = 20
self.no_expand_parameters = ['volume', 'voxel_size', 'rho', 'c']
Expand Down Expand Up @@ -43,7 +43,7 @@ def calculate_ts_single(self, volume, theta, phi, f, voxel_size, rho, c,
- axis 0 (rows) is the _x_-axis
- axis 1 (columns) is the _y_-axis
- axis 2: (slices) is the _z_-axis
Increasing axes indices correspond to increasing _x_, _y_, and _z_ values.
theta : float
Expand Down
2 changes: 1 addition & 1 deletion src/echosms/sdwbamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self):
self.long_name = "stochastic distorted-wave Born approximation"
self.short_name = "sdwba"
self.analytical_type = "approximate"
self.boundary_types = "weakly scattering"
self.boundary_types = ["weakly scattering"]
self.shapes = ["any"]
self.max_ka = 20

Expand Down

0 comments on commit 4dba3d2

Please sign in to comment.