From d1452cdee18881a80fb7eb14e0956a1959b9c6a7 Mon Sep 17 00:00:00 2001 From: lschneiderbauer Date: Thu, 30 May 2024 11:02:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20lschneid?= =?UTF-8?q?erbauer/fcwtr@5209bddbe45d11a18102e435bc9e3a8ef6eb202e=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 42 +++++++++++------- pkgdown.yml | 2 +- .../figures/README-example_long_df-1.png | Bin 105266 -> 163837 bytes search.json | 2 +- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index e3f1723..46c2b75 100644 --- a/index.html +++ b/index.html @@ -64,10 +64,17 @@

Dependenciesfftw library (used by fcwt) -
  • Optional: a CPU/compiler supporting the AVX2 instruction set
  • +
  • Optional: a CPU/compiler supporting the AVX instruction set
  • +
  • Optional: OpenMP +
      +
    • On Windows, OpenMP support is disabled since rtools decided to compile fftw without OpenMP support.
    • +
    • On Linux and MacOS the build scripts should automatically detect whether OpenMP support is available.
    • +
    +
  • -

    If you are an R user that has a CPU supporting AVX2 and want to make use of it, you might need to manually enable compiler flags to let R know about it, and install the package by source (so that it gets compiled on your machine). One way to enable the flags is to create a file ~/.R/Makevars with the following content:

    -
    CXXFLAGS = -mavx2
    +

    By default, most compiler setups do not make use of AVX to increase portability of the binary. If you are an R user that has a CPU supporting AVX and want to make use of it, you might need to manually enable compiler flags to let R know about it, and install the package from source (so that it gets compiled on your machine). One way to enable the flags is to create a file ~/.R/Makevars with the following content:

    +
    CPPFLAGS = -mavx
    +CXXFLAGS = -mavx

    Installation @@ -119,19 +126,22 @@

    Example
     plot(output)

    - - - - - - - - - - - - - +

    For long sequences, the required memory can exceed your local memory. In this case it can be useful to reduce the time resolution of the result and process the data in batches. This can be done with fcwt_batch(). In case the batch size is not explicitly provided, some heuristics are used to determine a batch size automatically:

    +
    +
    +batch_result <-
    +  fcwt_batch(
    +    rep(ts_sin_sin, 10),
    +    sample_freq = 44100,
    +    freq_begin = 10,
    +    freq_end = 12000,
    +    n_freqs = 200,
    +    sigma = 4,
    +    time_resolution = 1 / 44100
    +  )
    +
    +plot(batch_result)
    +

    diff --git a/pkgdown.yml b/pkgdown.yml index 9be2195..31fbe03 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.0.9 pkgdown_sha: ~ articles: {} -last_built: 2024-05-20T17:43Z +last_built: 2024-05-30T11:02Z urls: reference: https://lschneiderbauer.github.io/fcwtr/reference article: https://lschneiderbauer.github.io/fcwtr/articles diff --git a/reference/figures/README-example_long_df-1.png b/reference/figures/README-example_long_df-1.png index c03dfe6b3beb0588656e5b393a2e47f3e6fc509c..7d04565a772eb056e307b024bdf1ac140f7d1274 100644 GIT binary patch literal 163837 zcmdSA2UJt-)-{@dhy}rp3W_BJ5d;fOK;V6?8%XFNAVq0XLK6s`@LCWQ(IkKn0;2S) zR7q$SKtMnVJp>S>C6LfdLXx}jJ?Fb;+&jj-=R4o{?;ZahL7ow^_kQxMx#pT{?#F0D z+9_$KEK=E_^iL$-lOBA z_bUg7>z|*Azl)1)YFs%i@vZNWVB^6Ri2CPuhwglFe)#g-U5OJXw%p9=F7))T49?A~ zUTsv3xH>3Zn&9d0?4NfbbyD&gjj-C-_O(52h!x9mc1*Bx2WJQ#7@vDc_TNJYMkWq= z;_vaZC;wZIzW&M(gCGf347c)uK@_zD@B3HNXW4hR6;A0%MrrBQWVt3cc5L^7<#*@x zoY9lCNz3E~$Y!FbxXZ^p{cU>vZDjN$iS#e?#zZxRumlyf%s#I