Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
guarin committed Nov 7, 2024
1 parent 1afd12d commit 814d68a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lightly/transforms/phase_shift_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def __call__(self, freq_image: Tensor) -> Tensor:
# Adjust the phase
phase_shifted = phase + theta


# Recreate the complex spectrum with adjusted phase
real = amplitude * torch.cos(phase_shifted)
imag = amplitude * torch.sin(phase_shifted)
Expand Down

0 comments on commit 814d68a

Please sign in to comment.