Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anisotropic_thin -> oriented_thick #378

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions recOrder/cli/apply_inverse_transfer_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)
from recOrder.io import utils
from waveorder.models import (
inplane_anisotropic_thin_pol3d,
inplane_oriented_thick_pol3d,
isotropic_thin_3d,
phase_thick_3d,
)
Expand Down Expand Up @@ -168,7 +168,7 @@ def apply_inverse_transfer_function_cli(
for time_index in range(t_shape):
# Apply
reconstructed_parameters = (
inplane_anisotropic_thin_pol3d.apply_inverse_transfer_function(
inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
tczyx_data[time_index],
intensity_to_stokes_matrix,
wavelength,
Expand Down Expand Up @@ -277,7 +277,7 @@ def apply_inverse_transfer_function_cli(

for time_index in range(t_shape):
# Apply
reconstructed_parameters_2d = inplane_anisotropic_thin_pol3d.apply_inverse_transfer_function(
reconstructed_parameters_2d = inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
tczyx_data[time_index],
intensity_to_stokes_matrix,
wavelength,
Expand All @@ -286,7 +286,7 @@ def apply_inverse_transfer_function_cli(
**biref_inverse_dict,
)

reconstructed_parameters_3d = inplane_anisotropic_thin_pol3d.apply_inverse_transfer_function(
reconstructed_parameters_3d = inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
tczyx_data[time_index],
intensity_to_stokes_matrix,
wavelength,
Expand Down Expand Up @@ -339,7 +339,7 @@ def apply_inverse_transfer_function_cli(

# Apply
for time_index in range(t_shape):
reconstructed_parameters_3d = inplane_anisotropic_thin_pol3d.apply_inverse_transfer_function(
reconstructed_parameters_3d = inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
tczyx_data[time_index],
intensity_to_stokes_matrix,
wavelength,
Expand Down
4 changes: 2 additions & 2 deletions recOrder/cli/compute_transfer_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from recOrder.cli.settings import TransferFunctionSettings
from recOrder.cli.parsing import config_path_option, output_dataset_options
from waveorder.models import (
inplane_anisotropic_thin_pol3d,
inplane_oriented_thick_pol3d,
isotropic_thin_3d,
phase_thick_3d,
)
Expand Down Expand Up @@ -41,7 +41,7 @@ def compute_transfer_function_cli(config_path, output_path):

# Calculate transfer functions
intensity_to_stokes_matrix = (
inplane_anisotropic_thin_pol3d.calculate_transfer_function(
inplane_oriented_thick_pol3d.calculate_transfer_function(
**settings.birefringence_transfer_function_settings.dict()
)
)
Expand Down