Skip to content

Commit

Permalink
even more time reductions in examples and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lschneiderbauer committed Jun 13, 2024
1 parent bb16c5e commit a63295e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/fcwt.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#' `dim = c(length(signal), n_freqs)`.
#'
#' @examples
#' ts_sin_440 <- sin((1:44100) * 2 * pi * 440 / 44100)
#' ts_sin_440 <- sin((1:5000) * 2 * pi * 440 / 44100)
#'
#' res <-
#' fcwt(
Expand Down
2 changes: 1 addition & 1 deletion man/fcwt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-fcwtr_scalogram.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test_that("as.data.frame() `time_ind` columns is reasonable", {
time <-
as.data.frame(
fcwt(
ts_sin_440,
ts_sin_440[1:1000],
sample_freq = 44100,
freq_begin = 50,
freq_end = 1000,
Expand Down

0 comments on commit a63295e

Please sign in to comment.