Skip to content
Snippets Groups Projects
Commit a9591eb6 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Merge branch 'devel' into 'devel'

Gated Dualpol Spectrometer: Fix integration over multiple blocks

See merge request !17
parents 01045803 7db5188e
No related branches found
No related tags found
1 merge request!17Gated Dualpol Spectrometer: Fix integration over multiple blocks
Pipeline #109112 passed
......@@ -372,7 +372,7 @@ void GatedSpectrometer<HandlerType, InputType, OutputType>::process(SinglePolari
thrust::raw_pointer_cast(outputDataStream->G0.data.a().data()),
_nchans,
inputDataStream->_channelised_voltage_G0.size(),
_naccumulate,
_naccumulate / _nBlocks,
1, 0., 1, 0);
kernels::detect_and_accumulate<IntegratedPowerType> <<<1024, 1024, 0, _proc_stream>>>(
......@@ -380,7 +380,7 @@ void GatedSpectrometer<HandlerType, InputType, OutputType>::process(SinglePolari
thrust::raw_pointer_cast(outputDataStream->G1.data.a().data()),
_nchans,
inputDataStream->_channelised_voltage_G1.size(),
_naccumulate,
_naccumulate / _nBlocks,
1, 0., 1, 0);
// count saturated samples
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment