Skip to content

0.5 shift in spatial frequency array #6

@sevbogae

Description

@sevbogae

Hi,

In the array where you put the spatial frequency as a function of the Nyquist frequency (x-axis for MTF plot), you put an additional 0.5 shift. I assume this is to center it in the bin? But since we are working with frequencies at this point, this seems incorrect to me. The first element in the spatial frequency is now 0.5 Nyquist frequencies instead of 0 Nyquist frequencies. Personally, I would omit the 0.5. Is there a specific reason you added it?

I am talking about this formula:
sf[i] = 2.*(i+0.5)/ft_len;

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions