comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: RADON: user-specified angular range possible?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: RADON: user-specified angular range possible? [message #39620] Fri, 04 June 2004 01:41 Go to previous message
Timm Weitkamp is currently offline  Timm Weitkamp
Messages: 66
Registered: August 2002
Member
Thanks for replying, Chris and Bob.

Chris wrote:

> The theta keyword should work - I used it a couple of years ago quite a
> lot and don't remember any quirks. Are you setting theta to the of
> angles you want to use before calling radon, and making sure that the
> ntheta keyword is not set?

And actually, now it works for me too. What on earth did I do before?
Maybe this:

IDL> r = RADON(img, THETA = !PI * 0.01 * FINDGEN(10)
% RADON: Expression must be named variable in this context: <FLOAT
Array[4]>.
% Execution halted at: $MAIN$

And when using a named variable, it actually works. Now why would you
require a named variable for an input parameter? Beats me.

I admit that careful analysis of the on-line help should have got me on
the right way. There it says, "THETA: For the forward transform, set this
keyword to a named variable containing a vector of angular (q) coordinates
to use for the transform. [...]"

Bob, I don't think I'll need to look at your code anymore. I can also
throw mine away, which I wrote yesterday (but that was basically only a
FOR loop with calls to ROT and TOTAL inside). Sorry for bothering.

Cheers,
Timm

--
Timm Weitkamp <http://people.web.psi.ch/weitkamp>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: RADON: user-specified angular range possible?
Next Topic: Polar Surfaces?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:48:49 PDT 2025

Total time taken to generate the page: 1.20564 seconds