diff --git a/Project.toml b/Project.toml index 8b94c9e..0733c4c 100755 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Acquisition" uuid = "d4bbf60b-102b-5ffb-8f97-a7ea5817e69f" authors = ["Soeren Schoenbrod "] -version = "0.0.5" +version = "0.0.6" [deps] DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" diff --git a/src/plan_acquire.jl b/src/plan_acquire.jl index c1ebb7b..af1d086 100644 --- a/src/plan_acquire.jl +++ b/src/plan_acquire.jl @@ -20,7 +20,7 @@ function AcquisitionPlan( max_doppler = 7000Hz, dopplers = -max_doppler:1/3/(signal_length/sampling_freq):max_doppler, prns = 1:34, - fft_flag = FFTW.PATIENT, + fft_flag = FFTW.MEASURE, ) signal_baseband, signal_baseband_freq_domain, @@ -66,7 +66,7 @@ function CoarseFineAcquisitionPlan( coarse_step = 1 / 3 / (signal_length / sampling_freq), fine_step = 1 / 12 / (signal_length / sampling_freq), prns = 1:34, - fft_flag = FFTW.PATIENT, + fft_flag = FFTW.MEASURE, ) coarse_dopplers = -max_doppler:coarse_step:max_doppler signal_baseband, diff --git a/test/acquire.jl b/test/acquire.jl index 3f79eca..bcd3e38 100644 --- a/test/acquire.jl +++ b/test/acquire.jl @@ -1,9 +1,4 @@ -@testset "Acquire signal $(get_system_string(system)) and signal type $type" for system in - [ - GPSL1(), - GalileoE1B(), - ], - type in [Float64, Float32, Int16, Int32] +@testset "Acquire signal $(get_system_string(system)) and signal type $type" for system in [GPSL1(), GalileoE1B()], type in [Float64, Float32, Int16, Int32] Random.seed!(2345) num_samples = 20000