Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Normaliser.cu
1 #include "cheetah/dred/cuda/detail/Normaliser.cuh"
2 
3 #define LN4 1.3862943611198906f
4 
5 namespace ska {
6 namespace cheetah {
7 namespace dred {
8 namespace cuda {
9 namespace detail {
10 
11 
12 template <typename T>
13 inline __host__ __device__
14 thrust::complex<T> PowerNormalisingFunctor<T>::operator()(thrust::complex<T> input, T local_median) const
15 {
16  return input * T(sqrtf(LN4/local_median));
17 }
18 
19 
20 } // namespace detail
21 } // namespace cuda
22 } // namespace dred
23 } // namespace cheetah
24 } // namespace ska
Some limits and constants for FLDO.
Definition: Brdz.h:35