FFT RawPS in macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FFT RawPS in macro

Peter Haub
Hi,

I would like to create the FFT RawPS per macro.

Executing
      run("FFT Options...", "raw");
      run("FFT");
delivers the FFT but not the RawPS.

Changing the FFT options also doesn't help.

There seems to be an issue with the static option variables in FFT.java.

Or is this a my mistake?

(Tested with IJ 1.53f26)

Thanks and regards
Peter

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FFT RawPS in macro

Wayne Rasband-2
> On Oct 11, 2020, at 6:21 AM, Peter Haub <[hidden email]> wrote:
>
> Hi,
>
> I would like to create the FFT RawPS per macro.
>
> Executing
>      run("FFT Options...", "raw");
>      run("FFT");
> delivers the FFT but not the RawPS.
>
> Changing the FFT options also doesn't help.

Use

  run("FFT Options...", "raw do”);

The ‘do’ enables the “Do forward transform” option, which is required.

-wayne


> There seems to be an issue with the static option variables in FFT.java.
>
> Or is this a my mistake?
>
> (Tested with IJ 1.53f26)
>
> Thanks and regards
> Peter

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FFT RawPS in macro

Herbie
In reply to this post by Peter Haub
For unknown reasons my mail submitted 12h50 wasn't posted, so I try again...

::::::::::::::::::::::::::::::::::::::::
Greetings Peter,

the macro call

run("FFT Options...", "raw do");

works for me.

But may I suggest trying my macro-recordable Plugin "Easy_PowerSpectrum"
that provides more features and executes a bit speedier:
<https://www.gluender.de/Miscellanea/MiscTexts/UtilitiesText.html#Gl-2020-2>

Regards

Herbie

::::::::::::::::::::::::::::::::::::::::
Am 11.10.20 um 12:21 schrieb Peter Haub:

> Hi,
>
> I would like to create the FFT RawPS per macro.
>
> Executing
>       run("FFT Options...", "raw");
>       run("FFT");
> delivers the FFT but not the RawPS.
>
> Changing the FFT options also doesn't help.
>
> There seems to be an issue with the static option variables in FFT.java.
>
> Or is this a my mistake?
>
> (Tested with IJ 1.53f26)
>
> Thanks and regards
> Peter
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FFT RawPS in macro

Herbie
In reply to this post by Peter Haub
For unknown reasons my mail submitted 12h50 and several times since
wasn't posted, so I try again...

::::::::::::::::::::::::::::::::::::::::
Greetings Peter,

the macro call

run("FFT Options...", "raw do");

works for me.

But may I suggest trying my macro-recordable Plugin "Easy_PowerSpectrum"
that provides more features and executes a bit speedier:
<https://www.gluender.de/Miscellanea/MiscTexts/UtilitiesText.html#Gl-2020-2>

Regards

Herbie

::::::::::::::::::::::::::::::::::::::::
Am 11.10.20 um 12:21 schrieb Peter Haub:

> Hi,
>
> I would like to create the FFT RawPS per macro.
>
> Executing
>       run("FFT Options...", "raw");
>       run("FFT");
> delivers the FFT but not the RawPS.
>
> Changing the FFT options also doesn't help.
>
> There seems to be an issue with the static option variables in FFT.java.
>
> Or is this a my mistake?
>
> (Tested with IJ 1.53f26)
>
> Thanks and regards
> Peter
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: FFT RawPS in macro

Peter Haub
In reply to this post by Wayne Rasband-2
Thank you @Herbie and @Wayne !

Just a little "do" .. so easy.
:-)

Sorry for being stumped. I didn't had the intuition to only macro-record
the FFT Options instead of  macro-recording FFT.
:-(

Peter


On 11.10.2020 15:42, Wayne Rasband wrote:

>> On Oct 11, 2020, at 6:21 AM, Peter Haub <[hidden email]> wrote:
>>
>> Hi,
>>
>> I would like to create the FFT RawPS per macro.
>>
>> Executing
>>       run("FFT Options...", "raw");
>>       run("FFT");
>> delivers the FFT but not the RawPS.
>>
>> Changing the FFT options also doesn't help.
> Use
>
>    run("FFT Options...", "raw do”);
>
> The ‘do’ enables the “Do forward transform” option, which is required.
>
> -wayne
>
>
>> There seems to be an issue with the static option variables in FFT.java.
>>
>> Or is this a my mistake?
>>
>> (Tested with IJ 1.53f26)
>>
>> Thanks and regards
>> Peter
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html