Skip to content

Commit

Permalink
better name
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Dec 10, 2023
1 parent fae5341 commit c5fe56d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions py4DSTEM/process/phase/iterative_parallax.py
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ def subpixel_alignment(
kde_upsample_factor=None,
kde_sigma_px=0.125,
kde_lowpass_filter=False,
lanczos_interpolation_alpha=None,
lanczos_interpolation_order=None,
additional_fourier_resampling_factor=None,
plot_upsampled_BF_comparison: bool = True,
plot_upsampled_FFT_comparison: bool = False,
Expand Down Expand Up @@ -1219,7 +1219,7 @@ def subpixel_alignment(
KDE gaussian kernel bandwidth in non-upsampled pixels
kde_lowpass_filter: bool, optional
If True, the resulting KDE upsampled image is lowpass-filtered using a sinc-function
lanczos_interpolation_alpha: int, optional
lanczos_interpolation_order: int, optional
If not None, Lanczos interpolation with the specified order is used instead of bilinear.
plot_upsampled_BF_comparison: bool, optional
If True, the pre/post alignment BF images are plotted for comparison
Expand Down Expand Up @@ -1333,7 +1333,7 @@ def subpixel_alignment(
self._stack_BF_unshifted,
pixel_output_shape,
kde_sigma_px * self._kde_upsample_factor,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
lowpass_filter=kde_lowpass_filter,
)
else:
Expand Down Expand Up @@ -1365,7 +1365,7 @@ def subpixel_alignment(
pix_output,
xa,
ya,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
)
- self._stack_BF_unshifted
),
Expand Down Expand Up @@ -1438,7 +1438,7 @@ def subpixel_alignment(
pix_output,
xa,
ya,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
)
- self._stack_BF_unshifted
),
Expand Down Expand Up @@ -1486,7 +1486,7 @@ def subpixel_alignment(
pix_output,
xa,
ya,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
)
- self._stack_BF_unshifted
),
Expand Down Expand Up @@ -1590,7 +1590,7 @@ def subpixel_alignment(
self._stack_BF_unshifted,
pixel_output_shape,
kde_sigma_px * self._kde_upsample_factor,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
lowpass_filter=kde_lowpass_filter,
)

Expand All @@ -1602,7 +1602,7 @@ def subpixel_alignment(
pix_output,
xa,
ya,
lanczos_alpha=lanczos_interpolation_alpha,
lanczos_alpha=lanczos_interpolation_order,
)
- self._stack_BF_unshifted
),
Expand Down

0 comments on commit c5fe56d

Please sign in to comment.