Processing math: 44%

REMIP

Remove instrumental polarisation from SCUBA pol data

Description:

This task calculates and removes the instrumental polarisation signal from SCUBA polarimeter data.

For a fractional instrumental polarisation PI(e) at angle θ(e) and elevation e (the instrumental polarisation is elevation dependent) the correction to the measured flux at waveplate angle W is:

SActual=SMeasuredSMeanPI(e)(1+cos(1)

For SCUBA, we can not trivially measure the mean flux level (since each bolometer is jiggling to different areas on the sky) so this task uses an approximate form of the above equation to correct for instrumental polarisation that is valid for IPs of a few percent:

SActual SMeasured (1 PI(e)(1 + cos(4W 2θ(e)))) (2)

where we have made the approximation that SMean SMeasured.

Usage:

remip in ipfile out

Parameters:

IN = NDF (Read)
Input data file.
IPFILE = FILE (Read)
File containing the IP ‘flatfield
MSG_FILTER = CHAR (Read)
Message filter level. Options are QUIET, NORMAL and VERBOSE. Default is NORM.
OUT = NDF (Write)
Output file containing IP removed data. Default output filename is ‘_ip (‘i for short form).

Examples:

remip file1 ipfile.dat
Correct file1.sdf using ipfile.dat and write IP corrected data to the default output file (eg file1_ip).

Notes: