View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Imsurfit scripting

spacermase wrote on Mar 07, 2010

Hello all,

So, this is probably a very simple mistake I'm making, but I haven't been able to figure out what it is.

I'm writing a script that involves imsurfit. The relevant part of the script is as follows:

imsurfit ("@input.list", "@fitted.list", 1, 1, type_output="clean", niter=1)

However, I must be screwing up something with the syntax, because I keep getting an error message saying the clean option requires a non-zero niter.

Any idea what's wrong?

Mike Fitzpatrick wrote on Mar 07, 2010

Try unlearning the task to reset the parameters: Having x/ymedian > 1 has the effect of resetting niter=0, leading to the message.

-Mike

Last post on Mar 07, 2010