Welcome to iraf.net Sunday, May 19 2024 @ 09:12 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ambiguous parameter in imexpr
   
dbrenner
 09/24/2009 05:37PM (Read 1931 times)  
++++-
Regular Member

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

 
Profile Email
 Quote
dbrenner
 09/24/2009 05:37PM  
++++-
Regular Member

Status: offline


Registered: 05/05/2006
Posts: 115
use a string variable to hold the expression.

 
Profile Email
 Quote
fitz
 09/24/2009 05:37PM  
AAAAA
Admin

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

 
Profile Email
 Quote
   
Content generated in: 0.11 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login