-
etspy.datasets.get_catalyst_data(misalign: bool =
False
, minshift: int =-5
, maxshift: int =5
, tiltshift: int =0
, tiltrotate: int =0
, y_only: bool =False
, noise: bool =False
, noise_factor: float =0.2
) TomoStack [source] Load a model-simulated catalyst tilt series.
Data size is 90 tilt projections and 600 x 600 pixel images.
- Parameters:¶
- misalign: bool =
False
¶ If True, apply random shifts to each projection to simulated drift
- minshift: int =
-5
¶ Lower bound for random shifts
- maxshift: int =
5
¶ Upper bound for random shifts
- tiltshift: int =
0
¶ Number of pixels by which to shift entire tilt series. Simulates offset tilt axis.
- tiltrotate: int =
0
¶ Angle by which to rotate entire tilt series. Simulates non-vertical tilt axis.
- y_only: bool =
False
¶ If
True
, shifts are only applied along the Y-axis- noise: bool =
False
¶ If
True
, add Gaussian noise to the stack- noise_factor: float =
0.2
¶ Percentage noise to be added. Must be between 0 and 1.
- misalign: bool =
- Returns:¶
catalyst – TomoStack containing the simulated catalyst tilt series
- Return type:¶