Skip to content

Commit

Permalink
Default to FFTW.MEASURE (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoerenm authored Dec 18, 2022
1 parent 309a097 commit 58aec5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Acquisition"
uuid = "d4bbf60b-102b-5ffb-8f97-a7ea5817e69f"
authors = ["Soeren Schoenbrod <[email protected]>"]
version = "0.0.5"
version = "0.0.6"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand Down
4 changes: 2 additions & 2 deletions src/plan_acquire.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
7 changes: 1 addition & 6 deletions test/acquire.jl
Original file line number Diff line number Diff line change
@@ -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
Expand Down

2 comments on commit 58aec5a

@zsoerenm
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/74319

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.0.6 -m "<description of version>" 58aec5ae4e6c0508b0275543315a09598c87b574
git push origin v0.0.6

Please sign in to comment.