Skip to content
Snippets Groups Projects
Commit 3d1aa1df authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #4589: Processed review comments.

parent 8d108355
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ FFT-16 {inplace} (if >1ch) ...@@ -100,7 +100,7 @@ FFT-16 {inplace} (if >1ch)
| [station][pol][samples][channel] [48][2][12288][16] = 144 MiB B | [station][pol][samples][channel] [48][2][12288][16] = 144 MiB B
| |
V V
Incoherent Stokes (*: no transpose) (*** kernel must be fixed: wrong input format ***) Incoherent Stokes (*: no transpose)
| [stokes][samples][channel] [4][12288][16] = 3 MiB E | [stokes][samples][channel] [4][12288][16] = 3 MiB E
V (float) V (float)
(output) (output)
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
* - @c NR_CHANNELS_2: a multiple of 16 * - @c NR_CHANNELS_2: a multiple of 16
* - @c NR_SAMPLES_PER_CHANNEL: > a multiple of 16 * - @c NR_SAMPLES_PER_CHANNEL: > a multiple of 16
* - @c NR_BITS_PER_SAMPLE: 8 or 16 * - @c NR_BITS_PER_SAMPLE: 8 or 16
* - @c DO_BANDPASS_CORRECTION: if defined, perform bandpass correction
*/ */
#include "gpu_math.cuh" #include "gpu_math.cuh"
...@@ -69,7 +70,8 @@ typedef const float (* BandPassFactorsType)[NR_CHANNELS_1 * NR_CHANNELS_2]; ...@@ -69,7 +70,8 @@ typedef const float (* BandPassFactorsType)[NR_CHANNELS_1 * NR_CHANNELS_2];
/** /**
* This kernel performs on the input data: * This kernel performs on the input data:
* - Apply a bandpass correction to compensate for the errors introduced by the * - If the preprocessor variable \c DO_BANDPASS_CORRECTION is defined, apply a
* bandpass correction to compensate for the errors introduced by the
* polyphase filter that produced the subbands. This error is deterministic, * polyphase filter that produced the subbands. This error is deterministic,
* hence it can be fully compensated for. * hence it can be fully compensated for.
* - Transpose the data so that the samples for each channel are placed * - Transpose the data so that the samples for each channel are placed
......
...@@ -205,7 +205,6 @@ namespace LOFAR ...@@ -205,7 +205,6 @@ namespace LOFAR
factories.incoherentStokesTranspose.create( factories.incoherentStokesTranspose.create(
queue, incoherentTransposeBuffers)), queue, incoherentTransposeBuffers)),
// TODO: Add a transpose
// inverse FFT: A -> A // inverse FFT: A -> A
incoherentInverseFFT( incoherentInverseFFT(
queue, BEAM_FORMER_NR_CHANNELS, queue, BEAM_FORMER_NR_CHANNELS,
...@@ -214,7 +213,6 @@ namespace LOFAR ...@@ -214,7 +213,6 @@ namespace LOFAR
false, devA), false, devA),
// FIR filter: A -> B // FIR filter: A -> B
// TODO: provide history samples separately
// TODO: do a FIR for each individual TAB!! // TODO: do a FIR for each individual TAB!!
devIncoherentFilterWeights( devIncoherentFilterWeights(
context, context,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment