Add response_at, update readme, create utils.jl #57
Annotations
4 errors and 7 warnings
Documentation:
src/utils.jl#L11
doctest failure in ~/work/EasyFFTs.jl/EasyFFTs.jl/src/utils.jl:11-28
```jldoctest
julia> using EasyFFTs
julia> fs = 100; # 100 samples per second
julia> timestamps = range(0, 1, step = 1/fs);
julia> s = sin.(2π * 2 * timestamps); # sine of frequency = 2 Hz
julia> easymirror(ef)
EasyFFT with 101 samples.
Dominant component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
-1.9802 │ 0.4923
╶─────────────┼─────────────╴
1.9802 │ 0.4923
```
Subexpression:
easymirror(ef)
Evaluated output:
ERROR: UndefVarError: `ef` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
EasyFFT with 101 samples.
Dominant component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
-1.9802 │ 0.4923
╶─────────────┼─────────────╴
1.9802 │ 0.4923
diff =
Warning: Diff output requires color.
EasyFFT with 101 samples.
Dominant component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
-1.9802 │ 0.4923
╶─────────────┼─────────────╴
1.9802 │ 0.4923ERROR: UndefVarError: `ef` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
src/EasyFFTs.jl#L32
doctest failure in ~/work/EasyFFTs.jl/EasyFFTs.jl/src/EasyFFTs.jl:32-55
```jldoctest
julia> using EasyFFTs
julia> fs = 100; # 100 samples per second
julia> timestamps = range(0, 1, step = 1/fs);
julia> s = sin.(2π * 2 * timestamps); # sine of frequency = 2 Hz
julia> easyfft(s, fs)
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
1.9802 │ 0.98461
julia> easyfft(s) # `fs` defaults to 1
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
0.019802 │ 0.98461
╵
```
Subexpression:
easyfft(s, fs)
Evaluated output:
EasyFFT with 51 samples.
Dominant component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
1.9802 │ 0.98461
╵
Expected output:
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
1.9802 │ 0.98461
diff =
Warning: Diff output requires color.
EasyFFT with 51 samples.
Dominant component(s):
component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
│ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
1.9802 │ 0.98461│ 0.98461
╵
|
Documentation:
src/EasyFFTs.jl#L32
doctest failure in ~/work/EasyFFTs.jl/EasyFFTs.jl/src/EasyFFTs.jl:32-55
```jldoctest
julia> using EasyFFTs
julia> fs = 100; # 100 samples per second
julia> timestamps = range(0, 1, step = 1/fs);
julia> s = sin.(2π * 2 * timestamps); # sine of frequency = 2 Hz
julia> easyfft(s, fs)
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
1.9802 │ 0.98461
julia> easyfft(s) # `fs` defaults to 1
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
0.019802 │ 0.98461
╵
```
Subexpression:
easyfft(s) # `fs` defaults to 1
Evaluated output:
EasyFFT with 51 samples.
Dominant component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
0.019802 │ 0.98461
╵
Expected output:
EasyFFT with 51 samples.
Dominant component(s):
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
0.019802 │ 0.98461
╵
diff =
Warning: Diff output requires color.
EasyFFT with 51 samples.
Dominant component(s):
component(s): ╷
Frequency │ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
│ Magnitude
╺━━━━━━━━━━━━━┿━━━━━━━━━━━━━╸
0.019802 │ 0.98461
╵│ 0.98461
╵
|
Documentation
Process completed with exit code 1.
|
Julia nightly - ubuntu-latest - x64 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Julia 1.8 - ubuntu-latest - x86 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Julia 1.6 - ubuntu-latest - x64 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Julia nightly - ubuntu-latest - x86 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Julia 1.8 - ubuntu-latest - x64 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Julia 1.6 - ubuntu-latest - x86 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|