Difference between revisions of "TOI processing LFI"

From Planck PLA Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Overview==
 
==Overview==
 +
 +
The LFI Level2 Pipeline analyzes each horn of the instrument separately, one pointing period at time and store results in object the length of an OD. Each diode of the horn is corrected from systematic, differentiated and then combined with its couple in the same radiometer. The horn is then calibrated and the photometric calibration is applied.
 +
 +
==Preprocessing==
 +
 +
Before the run of the Level2 pipeline and to improve the analysis the Mission information and data sampling division are stored in the database.
 +
 +
The Mission information is a set of object, one for each Operational Day (OD, as defined in MISSING), in which are stored Pointing Period data: DPC pointing ID (where 1 is the first pointing of nominal mission), PSO pointing ID, start OBT of the pointing maneuver, start OBT of the stable pointing, end OBT of the pointing, spin axis ecliptic longitude and latitude.
 +
 +
The sampling information is a set of object, one for each LFI frequency, in which are stored for each pointing ID: start OBT of the pointing maneuver, start OBT of the stable pointing, end OBT of the pointing, number of samples of the pointing, number of stable samples of the pointing, start sample of the stable pointing and sample number from the start of the nominal mission. The sample number for each pointing is given by intersecting OBT of all the radiometers at the same frequency.
  
 
==ADC Correction==
 
==ADC Correction==
Line 65: Line 75:
  
 
==Gaps Filling==
 
==Gaps Filling==
 +
 +
During the mission some of the data packets were lost (see P02). Moreover in two different and very peculiar situation LFI was shutdown and restart, giving inconsistencies in data sampling. All of those data aren't used for scientific purpose but to avoid discrepancies in data analysis all of the radiometers at the same frequency must have the same number of samples.
 +
 +
To accomplish this purpose the length of the data stream to be reduced in a specific pointing period is compared with the data stored in the sample information object. If the length is not the same the OBT vector is filled with missing samples, the data vector is filled with zeros and in the flag column the bit for gap is raised.
  
 
==Gain Modulation Factor==
 
==Gain Modulation Factor==

Revision as of 18:37, 17 October 2012

Overview[edit]

The LFI Level2 Pipeline analyzes each horn of the instrument separately, one pointing period at time and store results in object the length of an OD. Each diode of the horn is corrected from systematic, differentiated and then combined with its couple in the same radiometer. The horn is then calibrated and the photometric calibration is applied.

Preprocessing[edit]

Before the run of the Level2 pipeline and to improve the analysis the Mission information and data sampling division are stored in the database.

The Mission information is a set of object, one for each Operational Day (OD, as defined in MISSING), in which are stored Pointing Period data: DPC pointing ID (where 1 is the first pointing of nominal mission), PSO pointing ID, start OBT of the pointing maneuver, start OBT of the stable pointing, end OBT of the pointing, spin axis ecliptic longitude and latitude.

The sampling information is a set of object, one for each LFI frequency, in which are stored for each pointing ID: start OBT of the pointing maneuver, start OBT of the stable pointing, end OBT of the pointing, number of samples of the pointing, number of stable samples of the pointing, start sample of the stable pointing and sample number from the start of the nominal mission. The sample number for each pointing is given by intersecting OBT of all the radiometers at the same frequency.

ADC Correction[edit]

More on P02 and P02a.

Evaluation[edit]

Application[edit]

For each of the 44 LFI diodes there is the corresponding object in the Database. Each object contains 4 columns: the input voltages coming from the sky channel and the corresponding linearized output, the input voltages coming from the reference channel and the corresponding linearized output.

Data loaded by the module are used to initialize two different interpolator using CSPLINE and the functions from gsl (GNU Scientific Libraries) libraries. The interpolators are then used to correct each sample.

Spikes Removal[edit]

Some of the LFI receivers exhibit a small artifact, visible in the power spectra. The effect is a set of spikes at 1 Hz and harmonics. More information can be found in P02 and P02a.

Modelization[edit]

The method to estimate the 1 Hz signal is to make use of linear filtering of a template. The first step is dividing the data into bins: this is done by taking fractional part of the sample time in seconds (using on-board time) and placing the time sample into a bin depending upon the particular fraction of a second in which it lays. The number of bins is computed using:

[math] nbins = fsamp * template\_resolution[/math]

where fsamp is the sampling frequency, while template resolution is 136 at 70 GHz, 80 at 44 GHz and 56 at 30 GHz. Then the bins vector is initialized with time intervals.

We can write the process adding an index to the time sample: lower index denotes the particular time sample, while the upper index labels the bin into which the sample falls. The linear filter can be written as:

[math] s(t_{i}^{j}) = a_j \left(1- \Delta x (t_{i}^{j}) \right) + a_{j+1} \Delta x (t_{i}^{j})[/math]

Here [math] \Delta x (t_{i}^{j})[/math] is the filter weight which is determined by where within the bin sample lies. If we use [math] t^j [/math] with only an upper index to denote the start of each bin, then we can write the filter wright as follows:

[math] \Delta x (t_{i}^{j}) = {{{t_i^j - t^j} \over {t^{j+1} - t^j}}} [/math]

In other words, the filter weight is the time sample value minus the start of the bin divided by the width of the bin.

We must estimate the parameters [math] a_j [/math] from the data. With the assumption that the instrument has stable noise properties, we can use a least square algorithm to estimate the bin values:

[math] {\partial \over \partial a_k} \sum_{i,j} \left( s(t_i^j) – d_i^j \right)^2 = 0 [/math]

This can be represented in matrix equation:

[math] M_{jk}a_k = b_j [/math]

with the following definitions:

[math] M_{k,k-1} = \sum_i (1 - \Delta x (t_i^{k-1})) \Delta x (t_i^{k-1}) [/math]
[math] M_{k,k} = \sum_i (1 - \Delta x (t_i^k))^2 \Delta x (t_i^{k-1})^2 [/math]
[math] M_{k,k+1} = \sum_i (1 - \Delta x (t_i^k)) \Delta x (t_i^k) [/math]
[math] M_{k,k+n} (|n| \gt 1) = 0 [/math]
[math] b_j = \sum_i d_i^k (1- \Delta x (t_k^i)) + d_i^{k-1}\Delta x (t_i^{k-1}) [/math]

With that definitions we have to make use of periodic boundary conditions to obtain the correct results, such that if [math] k = 0 [/math], [math] k-1 = n-1 [/math] and [math] k = n-1 [/math], [math] k+1 = 0 [/math]. Once this is done, we have a symmetric tridiagonal matrix with additional values at the upper right and lower left corners of the matrix. The matrix is solved with LU decomposition. In order to be certain of the numerical accuracy of the result, we can perform a simple iteration. The solving of the linear system and the iterative improvement of the solution are implemented as suggested in Numerical Recipes.

Application[edit]

For each of the 44 LFI diodes there is the corresponding object in the Database. Because of the amplitude of the spikes we choose to apply correction only on the 44 GHz radiometers. Each object contains 3 columns: the bins start time vector, the sky amplitudes and the reference amplitudes.

For each sample the value to be subtracted is computed using:

[math] V = skyAmp_k (1 - \Delta x (t_k)) + skyAmp_{k+1} \Delta x (t_k) [/math]

where k is the index of the bins at a given time.

Gaps Filling[edit]

During the mission some of the data packets were lost (see P02). Moreover in two different and very peculiar situation LFI was shutdown and restart, giving inconsistencies in data sampling. All of those data aren't used for scientific purpose but to avoid discrepancies in data analysis all of the radiometers at the same frequency must have the same number of samples.

To accomplish this purpose the length of the data stream to be reduced in a specific pointing period is compared with the data stored in the sample information object. If the length is not the same the OBT vector is filled with missing samples, the data vector is filled with zeros and in the flag column the bit for gap is raised.

Gain Modulation Factor[edit]

Diode Combination[edit]

Planet Flagging[edit]

Computation[edit]

Application[edit]

Photometric Calibration[edit]

(Planck) Low Frequency Instrument

Operation Day definition is geometric visibility driven as it runs from the start of a DTCP (satellite Acquisition Of Signal) to the start of the next DTCP. Given the different ground stations and spacecraft will takes which station for how long, the OD duration varies but it is basically once a day.

Data Processing Center

Planck Science Office

On-Board Time

analog to digital converter