<div dir="ltr"><div dir="ltr">The code you're pointing to is in the `image_tools` package, which is my package.  It's not part of astropy and it's not an official affiliate.  It uses the astropy-template, which is why the documentation looks similar, but these tools have never been part of the astropy core package.<div><br></div><div>For a somewhat more up-to-date version of the azimuthally averaged power-spectrum, you should look at turbustat:</div><div><a href="https://turbustat.readthedocs.io/en/latest/api/turbustat.statistics.PowerSpectrum.html">https://turbustat.readthedocs.io/en/latest/api/turbustat.statistics.PowerSpectrum.html</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019 at 5:03 AM Eyal Saiet <<a href="mailto:ejsaiet@alaska.edu">ejsaiet@alaska.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div>As can be seen below, astropy 2.7 has the class fft_psd_tools and the radialAverageBins() function. Looking at astropy 3.1, I cannot find the class and respected function, fft_psd_tools and adialAverageBins(). Was it deprecated in astropy 3.0? <br></div><div>thanks<br></div><div><br></div><div><div><img src="cid:ii_jtc7e4jg0" alt="image.png" width="534" height="361"><br></div></div><div><br></div><div>* The radially averaged power spectrum(RAPS) is s the direction-independent mean spectrum, i.e. the average of all possible directional power spectra. The radially averaged power spectrum provides a convenient means to view and compare information contained in 2-D spectra in 1-D. This function computes and plots the RAPS of an input matrix (does not consider corner values outside averaging radius). The image can be rectangular but must be 2-D (e.g., multi-color channel data is not supported). The spatial resolution of the data is also specified (<a href="https://www.mathworks.com/matlabcentral/fileexchange/23636-radially-averaged-power-spectrum-of-2d-real-valued-matrix" target="_blank">https://www.mathworks.com/matlabcentral/fileexchange/23636-radially-averaged-power-spectrum-of-2d-real-valued-matrix </a>)</div><div><br></div><div><span class="gmail-m_5891651430290423526gmail-gr_ gmail-m_5891651430290423526gmail-gr_722 gmail-m_5891651430290423526gmail-gr-alert gmail-m_5891651430290423526gmail-gr_gramm gmail-m_5891651430290423526gmail-gr_inline_cards gmail-m_5891651430290423526gmail-gr_run_anim gmail-m_5891651430290423526gmail-Punctuation gmail-m_5891651430290423526gmail-multiReplace" id="gmail-m_5891651430290423526gmail-722"></span>Thanks</div>-- <br><div dir="ltr" class="gmail-m_5891651430290423526gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><font color="#0000ff"><br>Eyal<br></font></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@python.org" target="_blank">AstroPy@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/astropy</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Adam Ginsburg<br>Jansky fellow, National Radio Astronomy Observatory</div><div><a href="http://www.adamgginsburg.com/" target="_blank">http://www.adamgginsburg.com/</a></div></div></div></div></div>