View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

issue with imcentroid

christian wrote on May 06, 2010

Hi,

I have a problem with imcentroid and wanted to ask if this is maybe something like a known issue or if I am just being stupid and doing something wrong...

I tried to start incentroid giving it an image and a coordinate file, so that it computes the centroids of the sources at the given coordinates...in return I get this:

ERROR: parameter `maxshift' not found
called as: `imcentroid ()'

As far as the help goes this parameter should be INDEF if not explicitly given.
Could that be a bad installation of Iraf (I am using 2.14.1) or is there something else that I have not taken into account ?

Any help would be highly appreciated.

Christian

Mike Fitzpatrick wrote on May 06, 2010

Try "unlearn imcentroid" to reset the parameters. The 'maxshift' param was added way back in 2000 but you may have an old set of parameters in your uparm directory. In general, with each major release you should re-run MKIRAF to reinitiaize your uparm directory.

christian wrote on May 06, 2010

Thanks, that was already it :)

Last post on May 06, 2010