IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#927 closed enhancement (fixed)

Choose direction of convolution separately from subtraction in 'ppSub'

Reported by: Michael Wood-Vasey Owned by: Paul Price
Priority: normal Milestone:
Component: ppSub Version: unspecified
Severity: minor Keywords:
Cc:

Description

This is a request to add the option to choose the direction of convolution separately from the direction of subtraction in 'ppSub'. The choice of which was is better can be handled by the wrappers that will call 'ppSub'.

Thanks,
Michael

Change History (4)

comment:1 by Michael Wood-Vasey, 19 years ago

Oh, I see, the '-reverse' command does this if one reads the arguments to ppSub as

ppSub imageToNotChange imageToConvolve

with a default output of

outputImage=imageToNotChange-imageToConvolve

but '-reverse' that allows

outputImage=imageToConvolve-imageToNotChange

OK. I guess this addresses the technical ability but the documentation and help message isn't clear that this is what would happen. I suggest then that the help message be changed to clarify this behavior sinc it currently referse to

Usage: ppSub INPUT.fits REFERENCE.fits OUTPUT_ROOT

and everyone will assume REFERENCE.fits primarily means the image to subtract rather than the image to convolve. Alternatively, the structure of the options and behavior could be changed to always subtract OUTPUT=INPUT-REFERENCE but with an option to reverse the image that is _convolved_.

Thanks,
Michael

comment:2 by Michael Wood-Vasey, 19 years ago

Priority: highnormal

comment:3 by Paul Price, 19 years ago

Resolution: fixed
Status: newclosed

I added a line to the help output that states the sense of the subtraction (in CVS head). Also, perhaps "template" is a better name for the "reference"?

Current help message:

Pan-STARRS PSF-matched image subtraction

Usage: ppSub INPUT.fits REFERENCE.fits OUTPUT_ROOT

[-psf REFERENCE.psf.fitspsflist REFERENCE.list]


This subtracts the convolved REFERENCE from the INPUT, by default.

Optional arguments, with default values:
[...]

comment:4 by Michael Wood-Vasey, 19 years ago

Thanks.

As far as I'm concerned, "template" and "reference" effectively mean the same thing. The difference (at least in the various groups I've been involved with) is a matter of cultural usage rather than technical distinction. I personally prefer "reference" because to me "template" implies some level of standardization or whatnot, but I don't think it's an important distinction.

Note: See TracTickets for help on using tickets.