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
Pipeline #109112 passed with stages
in 11 minutes and 47 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment