Welcome to iraf.net Sunday, May 19 2024 @ 09:12 AM GMT
dbrenner |
09/24/2009 05:37PM (Read 1931 times)
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
imexpr ( expr= " ( ((sqrt ((I-125)*(I-125) + (J-125)*(J-125) ) > 10 *(a+ 1)) && ((sqrt ((I-125)*(I-125) + (J-125)*(J-125)) )) =< 10 *(a + 2) ) ? 1: 0", output = annulus//"[0,overwrite]", a = "/data/masks/ringvalue.fits", dims = dim, verbose = no)
ambiguous parameter a in searchpath
How do I solve this error? Can a be replaced by a variable? thanks
|
|
|
|
dbrenner |
09/24/2009 05:37PM
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
use a string variable to hold the expression.
|
|
|
|
fitz |
09/24/2009 05:37PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Thanks for posting the tip. See also https://iraf.net/phpBB2/viewtopic.php?t=83224&highlight=ambiguous+imexpr for a previous reply to the same problem.-Mike
|
|
|
|
| |
|
Content generated in: 0.11 seconds |
|