CALPOL

Calculates polarisation parameters

Description:

This routine calculates various parameters describing the polarisation described by four intensity arrays analysed at 0° , 45° , 90° , and 135°  to a reference direction. Variance values are stored in the output NDFs   if all the input NDFs have variances and you give a TRUE  value for Parameter VARIANCE.

By default, three output NDFs are created holding percentage polarisation, polarisation angle and total intensity. However, NDFs holding other quantities, such as the Stokes parameters, can also be produced by overriding the default null values associated with the corresponding parameters. The creation of any output NDF can be suppressed by supplying a null value for the corresponding parameter.

There is an option to correct the calculated values of percentage polarisation and polarised intensity to take account of the statistical bias introduced by the asymmetric distribution of percentage polarisation (see Parameter DEBIAS). This correction subtracts the variance of the percentage polarisation from the squared percentage polarisation, and uses the square root of this as the corrected percentage polarisation. The corresponding polarised intensity is then found by multiplying the corrected percentage polarisation by the total intensity. Returned variance values take no account of this correction.

Usage:

calpol in1 in2 in3 in4 p theta i

Parameters:

DEBIAS = _LOGICAL (Read)
TRUE if a correction for statistical bias is to be made to percentage polarisation and polarised intensity. This correction cannot be used if any of the input NDFs do not contain variance values, or if you supply a FALSE value for Parameter VARIANCE. [FALSE]
I = NDF (Write)
An output NDF holding the total intensity derived from all four input NDFs.
IN1 = NDF (Read)
An NDF holding the measured intensity analysed at an angle of 0°  to the reference direction. The primary input NDF.
IN2 = NDF (Read)
An NDF holding the measured intensity analysed at an angle of 45°  to the reference direction. The suggested default is the current value.
IN3 = NDF (Read)
An NDF holding the measured intensity analysed at an angle of 90°  to the reference direction. The suggested default is the current value.
IN4 = NDF (Read)
An NDF holding the measured intensity analysed at an angle of 135°  to the reference direction. The suggested default is the current value.
IA = NDF (Write)
An output NDF holding the total intensity derived from input NDFs IN1 and IN3. [!]
IB = NDF (Write)
An output NDF holding the total intensity derived from input NDFs IN2 and IN4. [!]
IP = NDF (Write)
An output NDF holding the polarised intensity. [!]
P = NDF (Write)
An output NDF holding percentage polarisation.
Q = NDF (Write)
An output NDF holding the normalised Stokes parameter, Q. [!]
U = NDF (Write)
An output NDF holding the normalised Stokes parameter, U. [!]
THETA = NDF (Write)
An output NDF holding the polarisation angle in degrees.
VARIANCE = _LOGICAL (Read)
TRUE if output variances are to be calculated. This parameter is only accessed if all input NDFs contain variances, otherwise no variances are generated. [TRUE]

Examples:

calpol m51_0 m51_45 m51_90 m51_135 m51_p m51_t m51_i ip=m51_ip
This example produces NDFs holding percentage polarisation, polarisation angle, total intensity and polarised intensity, based on the four NDFs M51_0, m51_45, m51_90 and m51_135.
calpol m51_0 m51_45 m51_90 m51_135 m51_p m51_t m51_i ip=m51_ip novariance
As above except that variance arrays are not computed.
calpol m51_0 m51_45 m51_90 m51_135 m51_p m51_t m51_i ip=m51_ip
As the first example except that there is a correction for statistical bias in the percentage polarisation and polarised intensity, assuming that all the input NDFs have a VARIANCE array.
calpol m51_0 m51_45 m51_90 m51_135 q=m51_q p=m51_p
This example produces NDFs holding the Stokes Q and U parameters, again based on the four NDFs M51_0, m51_45, m51_90 and m51_135.

Notes:

Related Applications

KAPPA: VECPLOT; POLPACK: POLCAL, POLVEC; TSP.

Implementation Status: