[AstroPy] fft_psd_tools and radialAverageBins() in astropy 3.1

Eyal Saiet ejsaiet at alaska.edu
Wed Mar 27 12:36:33 EDT 2019


Got it thanks for this explanation. Is image_tools not up-to-date?  Are you
associated with turbostat?
Thanks again for your help!

On Wed, Mar 27, 2019 at 2:30 AM Adam Ginsburg <adam.g.ginsburg at gmail.com>
wrote:

> 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.
>
> For a somewhat more up-to-date version of the azimuthally averaged
> power-spectrum, you should look at turbustat:
>
> https://turbustat.readthedocs.io/en/latest/api/turbustat.statistics.PowerSpectrum.html
>
> On Wed, Mar 20, 2019 at 5:03 AM Eyal Saiet <ejsaiet at alaska.edu> wrote:
>
>> Hello,
>> 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?
>> thanks
>>
>> [image: image.png]
>>
>> * 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 (https://www.mathworks.com/matlabcentral/fileexchange/23636-radially-averaged-power-spectrum-of-2d-real-valued-matrix
>> )
>>
>> Thanks
>> --
>>
>> Eyal
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at python.org
>> https://mail.python.org/mailman/listinfo/astropy
>>
>
>
> --
> Adam Ginsburg
> Jansky fellow, National Radio Astronomy Observatory
> http://www.adamgginsburg.com/
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org
> https://mail.python.org/mailman/listinfo/astropy
>


-- 


Eyal Saiet

Project manager
Remote sensing and in-situ measurements

Geophysical Institute
University of Alaska Fairbanks
Fairbanks, AK 99775
(907) 750 6555 (cell)



The mind is not a vessel to be filled, but a fire to be kindled. Plutarch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20190327/ef3ad6cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 127927 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/astropy/attachments/20190327/ef3ad6cd/attachment-0001.png>


More information about the AstroPy mailing list