Density.fourier_shell_correlation#

static Density.fourier_shell_correlation(density1, density2)[source]#

Computes the Fourier Shell Correlation (FSC) between two instances of Density.

The Fourier transforms of the input maps are divided into shells based on their spatial frequency. The correlation between corresponding shells in the two maps is computed to give the FSC.

Parameters:
density1Density

An instance of Density class for the first map for comparison.

density2Density

An instance of Density class for the second map for comparison.

Returns:
NDArray

An array of shape (N, 2), where N is the number of shells, the first column represents the spatial frequency for each shell and the second column represents the corresponding FSC.

References