<div dir="ltr"><div>Got it thanks for this explanation. Is image_tools not up-to-date?  Are you associated with turbostat?</div><div>Thanks again for your help!<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 27, 2019 at 2:30 AM Adam Ginsburg <<a href="mailto:adam.g.ginsburg@gmail.com">adam.g.ginsburg@gmail.com</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">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" target="_blank">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" target="_blank">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_-4241619669534054978gmail-m_5891651430290423526gmail-gr_ gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-gr_722 gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-gr-alert gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-gr_gramm gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-gr_inline_cards gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-gr_run_anim gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-Punctuation gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-multiReplace" id="gmail-m_-4241619669534054978gmail-m_5891651430290423526gmail-722"></span>Thanks</div>-- <br><div dir="ltr" class="gmail-m_-4241619669534054978gmail-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-m_-4241619669534054978gmail_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>
_______________________________________________<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"><br>-- <br><div dir="ltr" class="gmail_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><br>Eyal Saiet<br><br></font></div><div style="font-size:12.8px"><font color="#0000ff">Project manager<br></font></div><div style="font-size:12.8px"><span style="border-spacing:0px;border-collapse:separate;font-size:medium;font-family:Helvetica"><span style="border-spacing:0px;border-collapse:separate;font-size:12px"><div><font color="#0000ff">Remote sensing and in-situ measurements</font></div><div><font color="#0000ff"><br>Geophysical Institute </font></div><div><font color="#0000ff">University of Alaska Fairbanks</font></div><div><font color="#0000ff">Fairbanks, AK 99775</font></div><div><font color="#0000ff"><a value="+19073224084">(907) 750 6555</a> (cell)</font></div></span></span><span style="border-spacing:0px;border-collapse:separate;font-size:medium;font-family:Helvetica"><span style="border-spacing:0px;border-collapse:separate;font-size:12px"><div style="color:rgb(136,136,136)"><br></div></span></span></div><font color="#888888"><img src="https://docs.google.com/uc?export=download&id=0Bw-TEoUBhZViNml6LVlhWlVLb0k&revid=0Bw-TEoUBhZViaExrREttazdzRklqL3BkM3laNDY3QXFQWmpvPQ" width="96" height="96"><br></font><span><br><font size="2" color="#0000ff">The mind is not a vessel to be filled, but a fire to be kindled. Plutarch</font></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div>