Skip to content
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
4 changes: 2 additions & 2 deletions src/aspire/abinitio/commonline_c2.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
self,
src,
n_rad=None,
n_theta=None,
n_theta=360,
max_shift=0.15,
shift_step=1,
epsilon=1e-3,
Expand All @@ -50,7 +50,7 @@ def __init__(

:param src: The source object of 2D denoised or class-averaged images with metadata
:param n_rad: The number of points in the radial direction
:param n_theta: The number of points in the theta direction
:param n_theta: The number of points in the theta direction. Default = 360.
:param max_shift: Maximum range for shifts as a proportion of resolution. Default = 0.15.
:param shift_step: Resolution of shift estimation in pixels. Default = 1 pixel.
:param epsilon: Tolerance for the power method.
Expand Down
4 changes: 2 additions & 2 deletions src/aspire/abinitio/commonline_c3_c4.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
src,
symmetry=None,
n_rad=None,
n_theta=None,
n_theta=360,
max_shift=0.15,
shift_step=1,
epsilon=1e-2,
Expand All @@ -59,7 +59,7 @@ def __init__(
:param src: The source object of 2D denoised or class-averaged images with metadata
:param symmetry: A string, 'C3' or 'C4', indicating the symmetry type.
:param n_rad: The number of points in the radial direction
:param n_theta: The number of points in the theta direction
:param n_theta: The number of points in the theta direction. Default = 360.
:param max_shift: Maximum range for shifts as a proportion of resolution. Default = 0.15.
:param shift_step: Resolution of shift estimation in pixels. Default = 1 pixel.
:param epsilon: Tolerance for the power method.
Expand Down
4 changes: 2 additions & 2 deletions src/aspire/abinitio/commonline_cn.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
src,
symmetry=None,
n_rad=None,
n_theta=None,
n_theta=360,
max_shift=0.15,
shift_step=1,
epsilon=1e-3,
Expand All @@ -48,7 +48,7 @@ def __init__(
:param src: The source object of 2D denoised or class-averaged images with metadata
:param symmetry: A string, 'Cn', indicating the symmetry type.
:param n_rad: The number of points in the radial direction.
:param n_theta: The number of points in the theta direction.
:param n_theta: The number of points in the theta direction. Default = 360.
:param max_shift: Maximum range for shifts as a proportion of resolution. Default = 0.15.
:param shift_step: Resolution of shift estimation in pixels. Default = 1 pixel.
:param epsilon: Tolerance for the power method.
Expand Down
4 changes: 2 additions & 2 deletions src/aspire/abinitio/commonline_d2.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
self,
src,
n_rad=None,
n_theta=None,
n_theta=360,
max_shift=0.15,
shift_step=1,
grid_res=1200,
Expand All @@ -43,7 +43,7 @@ def __init__(

:param src: The source object of 2D denoised or class-averaged images with metadata
:param n_rad: The number of points in the radial direction of Fourier image.
:param n_theta: The number of points in the theta direction of Fourier image.
:param n_theta: The number of points in the theta direction of Fourier image. Default = 360.
:param max_shift: Maximum range for shifts as a proportion of resolution. Default = 0.15.
:param shift_step: Resolution of shift estimation in pixels. Default = 1 pixel.
:param grid_res: Number of sampling points on sphere for projetion directions.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_orient_symmetric.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def source_orientation_objs(n_img, L, order, dtype):
seed=seed,
)

# Use default n_theta = 360.
cl_kwargs = dict(
src=src,
n_theta=360,
max_shift=1 / L,
seed=seed,
mask=False,
Expand Down
Loading