View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

PSF + matchbyid=no

Vallery Stanishev wrote on Oct 29, 2010

Hi,

What is the matching radius in PSF if the parameter matchbyid=no? I would guess it is "matchrad" in "daopars", but this does not seems to be documented anywhere. Could you please confirm? Thanks.

Vallery

Mike Fitzpatrick wrote on Oct 29, 2010

From the help page:


If 'matchbyid' is "no" or there is no input psf star list "PSFMAG" is
set to the magnitude of the first PSF star in the input photometry file.


So it appears to be always just the first value, no matching at all. The code seems to bear this out.

Vallery Stanishev wrote on Oct 29, 2010

fitz

From the help page:


If 'matchbyid' is "no" or there is no input psf star list "PSFMAG" is
set to the magnitude of the first PSF star in the input photometry file.


So it appears to be always just the first value, no matching at all. The code seems to bear this out.


My question was not about the magnitude of the PSF, but rather how the stars in the photometry and the PSF star files are matched if "matchbyid=no". If it is set to "yes" it is clear: the stars are matched by ID. If it is "no", I guess the stars are matched by their (x,y) positions with some tolerance. The question was if the tolerance is "matchred" in daopars. The help says "matchrad" is used when PSF stars are selected interactively.

Mike Fitzpatrick wrote on Oct 29, 2010

Sorry, misunderstood. It actually appears to be "2 * matchrad" as the critical radius. The code in question is daophot$psf/dplocstar.x

Vallery Stanishev wrote on Oct 29, 2010

fitz

Sorry, misunderstood. It actually appears to be "2 * matchrad" as the critical radius. The code in question is daophot$psf/dplocstar.x


thanks

Last post on Oct 29, 2010