From 4dba3d296461f588f9dbbf223a542e811b3e1e4e Mon Sep 17 00:00:00 2001 From: Gavin Macaulay Date: Wed, 9 Oct 2024 15:36:37 +1300 Subject: [PATCH] bug fixes --- src/echosms/ptdwbamodel.py | 4 ++-- src/echosms/sdwbamodel.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/echosms/ptdwbamodel.py b/src/echosms/ptdwbamodel.py index 7b8d110..d95e193 100644 --- a/src/echosms/ptdwbamodel.py +++ b/src/echosms/ptdwbamodel.py @@ -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'] @@ -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 diff --git a/src/echosms/sdwbamodel.py b/src/echosms/sdwbamodel.py index 98768ce..bab169c 100644 --- a/src/echosms/sdwbamodel.py +++ b/src/echosms/sdwbamodel.py @@ -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