import torch


def forward_fft(real_volume):
        """Take a real volume as a 3D tensor and return an RFFT of that tensor"""
        forward = torch.fft.fftn(real_volume)
        forward_shifted = torch.fft.fftshift(forward)
        return forward_shifted