Home > reduc > calculateStokes_PolOnly.m

calculateStokes_PolOnly

PURPOSE ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SYNOPSIS ^

function d = calculateStokes_PolOnly(d)

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 This function calculates the instrument Stokes parameters from the
 data register. The d.antenna0.receiver.data register is then updated
 with the Stokes parameters. The columns of the data register are:
 [I1 Q1 U1 Q2 U2 Q3 U3 I2]
 where (Qi,Ui) are the linear Stokes set i.

 OGK, 24 Feb 2011
 mod: ogk 31 Oct 2011: to use dataF register instead of data
 mod: act 29 Nov 2011: revert to data register until pipeline fully integrated
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function d = calculateStokes_PolOnly(d)
0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0003 % This function calculates the instrument Stokes parameters from the
0004 % data register. The d.antenna0.receiver.data register is then updated
0005 % with the Stokes parameters. The columns of the data register are:
0006 % [I1 Q1 U1 Q2 U2 Q3 U3 I2]
0007 % where (Qi,Ui) are the linear Stokes set i.
0008 %
0009 % OGK, 24 Feb 2011
0010 % mod: ogk 31 Oct 2011: to use dataF register instead of data
0011   % mod: act 29 Nov 2011: revert to data register until pipeline fully integrated
0012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0013 
0014 if size(d.antenna0.receiver.data,2) ~= 8
0015     error('Run assembleAlphaStreams_PolOnly first!');
0016 end
0017 
0018 % This is an empty function - it is not needed in this version of the
0019 % pipeline. The dataC register is already in the correct form.
0020 
0021 end

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005