HERA-Team / uvtools

Tools useful for the handling, visualization, and analysis of interferometric data.
MIT License
1 stars 1 forks source link

Fix fft normalization #88

Closed r-pascua closed 4 years ago

r-pascua commented 4 years ago

This PR fixes the normalization of the FFT data in plot.labeled_waterfall and the functions that wrap it (currently just plot.fourier_transform_waterfalls). Previously, the FFT data only used the shifted output from np.fft.fft; now, the data is scaled by the resolution of the axis that the transform is performed over, in order to ensure correct units of transformed data.

review-notebook-app[bot] commented 4 years ago

Check out this pull request on  ReviewNB

Review Jupyter notebook visual diffs & provide feedback on notebooks.


Powered by ReviewNB

r-pascua commented 4 years ago

Closing to reopen so that tests can re-run.