Function: CONPVARS
Purpose: Determine parameters of 2d-gaussian needed to convolve
'oldbeam' to 'newbeam'
Files: convpars.shl
Author: M. Vogelaar
Category: CONVOLUTION
Use: INTEGER CONVPARS( oldbeam, I REAL ARRAY
newbeam, I REAL ARRAY
phiold, I REAL
phinew, I REAL
conbeam, O REAL ARRAY
phicon O REAL )
Description: Note that all angles are in DEGREES and wrt. pos. X-axis!
Conv. beam values can be calculated with formulas given by
J. P. Wild in Aust. J. Phys.,1970,23,113-115
A distribution (F2) is convolved with a gaussian (F1) and the
result is a new distribution (F0). For the distributions we can
write: F0 = F1*F2 (where * denotes a 2-dim convolution).
This function finds the beam and angle of F1.
In what follows a and b denote the major and minor SEMI-axes
and 'th' is the angle of the major axis with the positive
X-axis.
Notes: All angles are in DEGREES and wrt. pos. X-axis!
Updates: Sep 10, MV, Document created