@explorable-viz/fluid 0.8.3 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.spago/aff/v7.0.0/.editorconfig +13 -0
- package/.spago/aff/v7.0.0/.eslintrc.json +28 -0
- package/.spago/aff/v7.0.0/.gitignore +14 -0
- package/.spago/aff/v7.0.0/.tidyrc.json +10 -0
- package/.spago/affjax/v13.0.0/.editorconfig +13 -0
- package/.spago/affjax/v13.0.0/.eslintrc.json +28 -0
- package/.spago/affjax/v13.0.0/.gitignore +14 -0
- package/.spago/affjax/v13.0.0/.tidyrc.json +10 -0
- package/.spago/affjax-web/v1.0.0/.editorconfig +13 -0
- package/.spago/affjax-web/v1.0.0/.eslintrc.json +30 -0
- package/.spago/affjax-web/v1.0.0/.gitignore +14 -0
- package/.spago/affjax-web/v1.0.0/.tidyrc.json +10 -0
- package/.spago/argonaut-codecs/v9.0.0/.editorconfig +13 -0
- package/.spago/argonaut-codecs/v9.0.0/.gitignore +9 -0
- package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +10 -0
- package/.spago/argonaut-core/v7.0.0/.editorconfig +13 -0
- package/.spago/argonaut-core/v7.0.0/.eslintrc.json +29 -0
- package/.spago/argonaut-core/v7.0.0/.gitignore +14 -0
- package/.spago/argonaut-core/v7.0.0/.tidyrc.json +10 -0
- package/.spago/arraybuffer-types/v3.0.2/.editorconfig +13 -0
- package/.spago/arraybuffer-types/v3.0.2/.gitignore +9 -0
- package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +10 -0
- package/.spago/arrays/v7.0.0/.eslintrc.json +26 -0
- package/.spago/arrays/v7.0.0/.gitignore +9 -0
- package/.spago/assert/v6.0.0/.eslintrc.json +26 -0
- package/.spago/assert/v6.0.0/.gitignore +8 -0
- package/.spago/bifunctors/v6.0.0/.gitignore +7 -0
- package/.spago/catenable-lists/v7.0.0/.gitignore +7 -0
- package/.spago/console/v6.0.0/.eslintrc.json +30 -0
- package/.spago/console/v6.0.0/.gitignore +9 -0
- package/.spago/const/v6.0.0/.gitignore +7 -0
- package/.spago/contravariant/v6.0.0/.gitignore +7 -0
- package/.spago/control/v6.0.0/.gitignore +7 -0
- package/.spago/datetime/v6.1.0/.eslintrc.json +26 -0
- package/.spago/datetime/v6.1.0/.gitignore +8 -0
- package/.spago/debug/v6.0.0/.eslintrc.json +36 -0
- package/.spago/debug/v6.0.0/.gitignore +8 -0
- package/.spago/distributive/v6.0.0/.gitignore +7 -0
- package/.spago/effect/v4.0.0/.eslintrc.json +26 -0
- package/.spago/effect/v4.0.0/.gitignore +8 -0
- package/.spago/either/v6.1.0/.gitignore +7 -0
- package/.spago/enums/v6.0.0/.gitignore +7 -0
- package/.spago/exceptions/v6.0.0/.eslintrc.json +26 -0
- package/.spago/exceptions/v6.0.0/.gitignore +8 -0
- package/.spago/exists/v6.0.0/.gitignore +7 -0
- package/.spago/filterable/v5.0.0/.gitignore +11 -0
- package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +26 -0
- package/.spago/foldable-traversable/v6.0.0/.gitignore +8 -0
- package/.spago/foreign/v7.0.0/.eslintrc.json +26 -0
- package/.spago/foreign/v7.0.0/.gitignore +8 -0
- package/.spago/foreign-object/v4.0.0/.eslintrc.json +26 -0
- package/.spago/foreign-object/v4.0.0/.gitignore +8 -0
- package/.spago/form-urlencoded/v7.0.0/.editorconfig +13 -0
- package/.spago/form-urlencoded/v7.0.0/.gitignore +9 -0
- package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +10 -0
- package/.spago/free/v7.0.0/.gitignore +8 -0
- package/.spago/functions/v6.0.0/.eslintrc.json +26 -0
- package/.spago/functions/v6.0.0/.gitignore +8 -0
- package/.spago/functors/v5.0.0/.gitignore +7 -0
- package/.spago/gen/v4.0.0/.gitignore +8 -0
- package/.spago/graphs/v8.0.0/.gitignore +7 -0
- package/.spago/http-methods/v6.0.0/.editorconfig +13 -0
- package/.spago/http-methods/v6.0.0/.gitignore +9 -0
- package/.spago/http-methods/v6.0.0/.tidyrc.json +10 -0
- package/.spago/identity/v6.0.0/.gitignore +7 -0
- package/.spago/integers/v6.0.0/.eslintrc.json +26 -0
- package/.spago/integers/v6.0.0/.gitignore +8 -0
- package/.spago/invariant/v6.0.0/.gitignore +7 -0
- package/.spago/js-date/v8.0.0/.editorconfig +13 -0
- package/.spago/js-date/v8.0.0/.eslintrc.json +29 -0
- package/.spago/js-date/v8.0.0/.gitignore +14 -0
- package/.spago/js-date/v8.0.0/.tidyrc.json +10 -0
- package/.spago/js-uri/v3.0.0/.eslintrc.json +30 -0
- package/.spago/js-uri/v3.0.0/.gitignore +14 -0
- package/.spago/js-uri/v3.0.0/.tidyrc.json +10 -0
- package/.spago/lazy/v6.0.0/.eslintrc.json +26 -0
- package/.spago/lazy/v6.0.0/.gitignore +8 -0
- package/.spago/lcg/v4.0.0/.gitignore +8 -0
- package/.spago/lists/v7.0.0/.gitignore +7 -0
- package/.spago/maybe/v6.0.0/.gitignore +7 -0
- package/.spago/media-types/v6.0.0/.editorconfig +13 -0
- package/.spago/media-types/v6.0.0/.gitignore +9 -0
- package/.spago/media-types/v6.0.0/.tidyrc.json +10 -0
- package/.spago/newtype/v5.0.0/.gitignore +7 -0
- package/.spago/node-buffer/v8.0.0/.eslintrc.json +26 -0
- package/.spago/node-buffer/v8.0.0/.gitignore +8 -0
- package/.spago/node-child-process/v9.0.0/.eslintrc.json +29 -0
- package/.spago/node-child-process/v9.0.0/.gitignore +8 -0
- package/.spago/node-fs/v9.1.0/.eslintrc.json +29 -0
- package/.spago/node-fs/v9.1.0/.gitignore +9 -0
- package/.spago/node-path/v5.0.0/.eslintrc.json +26 -0
- package/.spago/node-path/v5.0.0/.gitignore +8 -0
- package/.spago/node-process/v10.0.0/.eslintrc.json +29 -0
- package/.spago/node-process/v10.0.0/.gitignore +8 -0
- package/.spago/node-streams/v7.0.0/.eslintrc.json +29 -0
- package/.spago/node-streams/v7.0.0/.gitignore +8 -0
- package/.spago/nonempty/v7.0.0/.gitignore +7 -0
- package/.spago/now/v6.0.0/.editorconfig +13 -0
- package/.spago/now/v6.0.0/.eslintrc.json +29 -0
- package/.spago/now/v6.0.0/.gitignore +14 -0
- package/.spago/now/v6.0.0/.tidyrc.json +10 -0
- package/.spago/nullable/v6.0.0/.editorconfig +13 -0
- package/.spago/nullable/v6.0.0/.eslintrc.json +29 -0
- package/.spago/nullable/v6.0.0/.gitignore +14 -0
- package/.spago/nullable/v6.0.0/.tidyrc.json +10 -0
- package/.spago/optparse/v5.0.0/.gitignore +8 -0
- package/.spago/optparse/v5.0.0/.npmrc +1 -0
- package/.spago/ordered-collections/v3.0.0/.gitignore +8 -0
- package/.spago/orders/v6.0.0/.gitignore +7 -0
- package/.spago/parallel/v6.0.0/.gitignore +7 -0
- package/.spago/parsing/v10.0.0/.editorconfig +13 -0
- package/.spago/parsing/v10.0.0/.gitignore +10 -0
- package/.spago/parsing/v10.0.0/.tidyoperators +231 -0
- package/.spago/parsing/v10.0.0/.tidyrc.json +10 -0
- package/.spago/partial/v4.0.0/.eslintrc.json +26 -0
- package/.spago/partial/v4.0.0/.gitignore +8 -0
- package/.spago/posix-types/v6.0.0/.gitignore +7 -0
- package/.spago/prelude/v6.0.0/.eslintrc.json +26 -0
- package/.spago/prelude/v6.0.0/.gitignore +8 -0
- package/.spago/profunctor/v6.0.0/.gitignore +7 -0
- package/.spago/psci-support/v6.0.0/.eslintrc.json +28 -0
- package/.spago/psci-support/v6.0.0/.gitignore +8 -0
- package/.spago/quickcheck/v8.0.1/.eslintrc.json +26 -0
- package/.spago/quickcheck/v8.0.1/.gitignore +8 -0
- package/.spago/random/v6.0.0/.eslintrc.json +26 -0
- package/.spago/random/v6.0.0/.gitignore +8 -0
- package/.spago/record/v4.0.0/.eslintrc.json +26 -0
- package/.spago/record/v4.0.0/.gitignore +8 -0
- package/.spago/refs/v6.0.0/.eslintrc.json +26 -0
- package/.spago/refs/v6.0.0/.gitignore +8 -0
- package/.spago/st/v6.0.0/.eslintrc.json +26 -0
- package/.spago/st/v6.0.0/.gitignore +8 -0
- package/.spago/strings/v6.0.0/.eslintrc.json +26 -0
- package/.spago/strings/v6.0.0/.gitignore +8 -0
- package/.spago/tailrec/v6.0.0/.gitignore +7 -0
- package/.spago/transformers/v6.0.0/.gitignore +7 -0
- package/.spago/tuples/v7.0.0/.gitignore +7 -0
- package/.spago/type-equality/v4.0.1/.gitignore +7 -0
- package/.spago/typelevel-prelude/v7.0.0/.gitignore +8 -0
- package/.spago/unfoldable/v6.0.0/.eslintrc.json +26 -0
- package/.spago/unfoldable/v6.0.0/.gitignore +8 -0
- package/.spago/unicode/v6.0.0/.editorconfig +13 -0
- package/.spago/unicode/v6.0.0/.gitattributes +2 -0
- package/.spago/unicode/v6.0.0/.gitignore +19 -0
- package/.spago/unicode/v6.0.0/.tidyrc.json +10 -0
- package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +26 -0
- package/.spago/unsafe-coerce/v6.0.0/.gitignore +8 -0
- package/.spago/web-dom/v6.0.0/.eslintrc.json +29 -0
- package/.spago/web-dom/v6.0.0/.gitignore +9 -0
- package/.spago/web-events/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-events/v4.0.0/.gitignore +8 -0
- package/.spago/web-file/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-file/v4.0.0/.gitignore +8 -0
- package/.spago/web-html/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-html/v4.0.0/.gitignore +8 -0
- package/.spago/web-storage/v5.0.0/.eslintrc.json +29 -0
- package/.spago/web-storage/v5.0.0/.gitignore +8 -0
- package/.spago/web-xhr/v5.0.0/.eslintrc.json +29 -0
- package/.spago/web-xhr/v5.0.0/.gitignore +8 -0
- package/dist/fluid/fluid/lib/matrix.fld +6 -4
- package/dist/fluid/shared/fluid.mjs +3668 -3881
- package/dist/fluid/shared/load-figure.js +5490 -4439
- package/dist/fluid/shared/webtest-lib.js +45094 -23097
- package/package.json +3 -6
- package/website/article/convolution/index.html +0 -1
- package/website/article/convolution/spec.json +0 -1
- package/website/{css → article/css}/styles.css +0 -4
- package/website/{css → article/css}/view-styles.css +8 -0
- package/website/article/favicon.ico +0 -0
- package/website/article/fluid/convolution.fld +1 -1
- package/website/article/fluid/dataset/methane-emissions.json +111 -0
- package/website/article/fluid/dataset/non-renewables.json +67 -0
- package/website/article/fluid/dataset/renewable.json +301 -0
- package/website/article/fluid/methane.fld +1 -0
- package/website/article/fluid/moving-average.fld +2 -0
- package/website/article/fluid/non-renewables.fld +2 -0
- package/website/article/fluid/nonRenewables.fld +2 -0
- package/website/article/index.html +2 -2
- package/website/article/moving-average/index.html +1 -2
- package/website/article/moving-average/spec.json +0 -1
- package/website/article/non-renewables/index.html +0 -1
- package/website/article/non-renewables/spec.json +0 -1
- package/website/article/fluid/dataset/methane-emissions.fld +0 -123
- package/website/article/fluid/dataset/non-renewables.fld +0 -67
- package/website/article/fluid/dataset/renewables-new.fld +0 -301
- package/website/article/fluid/dataset/scigen/1805.02474v1-10.fld +0 -17
- package/website/article/fluid/util.fld +0 -36
- package/website/shared/footer.html +0 -6
- package/website/shared/header.html +0 -27
- package/website/shared/sub-header.html +0 -12
- package/website/shared/util.js +0 -72
- /package/website/{font → article/font}/GraphikLight.woff2 +0 -0
- /package/website/{font → article/font}/GraphikLightItalic.woff2 +0 -0
- /package/website/{font → article/font}/GraphikMedium.woff2 +0 -0
- /package/website/{font → article/font}/GraphikMediumItalic.woff2 +0 -0
- /package/website/{font → article/font}/OdiseanTech.woff2 +0 -0
@@ -1,301 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{ year: 2013, country: "BRA", energyType: "Bio", output: 39.27, capacity: 101.62},
|
3
|
-
{ year: 2013, country: "BRA", energyType: "Hydro", output: 390.99, capacity: 753.54},
|
4
|
-
{ year: 2013, country: "BRA", energyType: "Solar", output: 0.0, capacity: 0.09},
|
5
|
-
{ year: 2013, country: "BRA", energyType: "Wind", output: 6.58, capacity: 19.27},
|
6
|
-
|
7
|
-
{ year: 2013, country: "CHN", energyType: "Bio", output: 37.13, capacity: 38.46},
|
8
|
-
{ year: 2013, country: "CHN", energyType: "Hydro", output: 909.61, capacity: 2268.05},
|
9
|
-
{ year: 2013, country: "CHN", energyType: "Solar", output: 8.37, capacity: 155.58},
|
10
|
-
{ year: 2013, country: "CHN", energyType: "Wind", output: 138.26, capacity: 672.15},
|
11
|
-
|
12
|
-
{ year: 2013, country: "DEU", energyType: "Bio", output: 45.51, capacity: 61.58},
|
13
|
-
{ year: 2013, country: "DEU", energyType: "Hydro", output: 23.0, capacity: 48.97},
|
14
|
-
{ year: 2013, country: "DEU", energyType: "Solar", output: 30.62, capacity: 321.58},
|
15
|
-
{ year: 2013, country: "DEU", energyType: "Wind", output: 52.74, capacity: 293.28},
|
16
|
-
|
17
|
-
{ year: 2013, country: "FRA", energyType: "Bio", output: 5.68, capacity: 6.66},
|
18
|
-
{ year: 2013, country: "FRA", energyType: "Hydro", output: 71.92, capacity: 208.84},
|
19
|
-
{ year: 2013, country: "FRA", energyType: "Solar", output: 5.19, capacity: 46.25},
|
20
|
-
{ year: 2013, country: "FRA", energyType: "Wind", output: 16.13, capacity: 71.48},
|
21
|
-
|
22
|
-
{ year: 2013, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
23
|
-
{ year: 2013, country: "EGY", energyType: "Hydro", output: 13.22, capacity: 24.53},
|
24
|
-
{ year: 2013, country: "EGY", energyType: "Solar", output: 0.11, capacity: 0.26},
|
25
|
-
{ year: 2013, country: "EGY", energyType: "Wind", output: 1.33, capacity: 4.91},
|
26
|
-
|
27
|
-
{ year: 2013, country: "IND", energyType: "Bio", output: 22.48, capacity: 35.74},
|
28
|
-
{ year: 2013, country: "IND", energyType: "Hydro", output: 131.98, capacity: 345.06},
|
29
|
-
{ year: 2013, country: "IND", energyType: "Solar", output: 3.43, capacity: 14.02},
|
30
|
-
{ year: 2013, country: "IND", energyType: "Wind", output: 30.01, capacity: 161.36},
|
31
|
-
|
32
|
-
{ year: 2013, country: "JPN", energyType: "Bio", output: 23.18, capacity: 5.78},
|
33
|
-
{ year: 2013, country: "JPN", energyType: "Hydro", output: 79.33, capacity: 243.62},
|
34
|
-
{ year: 2013, country: "JPN", energyType: "Solar", output: 12.91, capacity: 119.14},
|
35
|
-
{ year: 2013, country: "JPN", energyType: "Wind", output: 5.13, capacity: 23.21},
|
36
|
-
|
37
|
-
{ year: 2013, country: "MEX", energyType: "Bio", output: 6.89, capacity: 4.47},
|
38
|
-
{ year: 2013, country: "MEX", energyType: "Hydro", output: 27.72, capacity: 101.88},
|
39
|
-
{ year: 2013, country: "MEX", energyType: "Solar", output: 0.11, capacity: 0.96},
|
40
|
-
{ year: 2013, country: "MEX", energyType: "Wind", output: 4.17, capacity: 18.57},
|
41
|
-
|
42
|
-
{ year: 2013, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
|
43
|
-
{ year: 2013, country: "NGA", energyType: "Hydro", output: 5.27, capacity: 18.48},
|
44
|
-
{ year: 2013, country: "NGA", energyType: "Solar", output: 0.02, capacity: 0.00},
|
45
|
-
{ year: 2013, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
46
|
-
|
47
|
-
{ year: 2013, country: "USA", energyType: "Bio", output: 60.86, capacity: 97.85},
|
48
|
-
{ year: 2013, country: "USA", energyType: "Hydro", output: 263.88, capacity: 727.17},
|
49
|
-
{ year: 2013, country: "USA", energyType: "Solar", output: 9.04, capacity: 116.07},
|
50
|
-
{ year: 2013, country: "USA", energyType: "Wind", output: 167.84, capacity: 527.35},
|
51
|
-
|
52
|
-
{ year: 2014, country: "BRA", energyType: "Bio", output: 45.15, capacity: 108.10},
|
53
|
-
{ year: 2014, country: "BRA", energyType: "Hydro", output: 373.44, capacity: 781.30},
|
54
|
-
{ year: 2014, country: "BRA", energyType: "Solar", output: 0.02, capacity: 0.18},
|
55
|
-
{ year: 2014, country: "BRA", energyType: "Wind", output: 12.21, capacity: 42.84},
|
56
|
-
|
57
|
-
{ year: 2014, country: "CHN", energyType: "Bio", output: 46.27, capacity: 41.70},
|
58
|
-
{ year: 2014, country: "CHN", energyType: "Hydro", output: 1059.69, capacity: 2476.89},
|
59
|
-
{ year: 2014, country: "CHN", energyType: "Solar", output: 23.51, capacity: 248.78},
|
60
|
-
{ year: 2014, country: "CHN", energyType: "Wind", output: 159.76, capacity: 848.14},
|
61
|
-
|
62
|
-
{ year: 2014, country: "DEU", energyType: "Bio", output: 48.29, capacity: 63.60},
|
63
|
-
{ year: 2014, country: "DEU", energyType: "Hydro", output: 19.59, capacity: 48.88},
|
64
|
-
{ year: 2014, country: "DEU", energyType: "Solar", output: 35.45, capacity: 332.00},
|
65
|
-
{ year: 2014, country: "DEU", energyType: "Wind", output: 58.5, capacity: 338.22},
|
66
|
-
|
67
|
-
{ year: 2014, country: "FRA", energyType: "Bio", output: 5.99, capacity: 7.18},
|
68
|
-
{ year: 2014, country: "FRA", energyType: "Hydro", output: 63.77, capacity: 208.93},
|
69
|
-
{ year: 2014, country: "FRA", energyType: "Solar", output: 6.39, capacity: 52.82},
|
70
|
-
{ year: 2014, country: "FRA", energyType: "Wind", output: 17.32, capacity: 80.59},
|
71
|
-
|
72
|
-
{ year: 2014, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
73
|
-
{ year: 2014, country: "EGY", energyType: "Hydro", output: 13.68, capacity: 24.53},
|
74
|
-
{ year: 2014, country: "EGY", energyType: "Solar", output: 0.24, capacity: 0.26},
|
75
|
-
{ year: 2014, country: "EGY", energyType: "Wind", output: 1.44, capacity: 4.91},
|
76
|
-
|
77
|
-
{ year: 2014, country: "IND", energyType: "Bio", output: 24.68, capacity: 43.01},
|
78
|
-
{ year: 2014, country: "IND", energyType: "Hydro", output: 139.0, capacity: 355.83},
|
79
|
-
{ year: 2014, country: "IND", energyType: "Solar", output: 4.91, capacity: 33.11},
|
80
|
-
{ year: 2014, country: "IND", energyType: "Wind", output: 33.45, capacity: 196.84},
|
81
|
-
|
82
|
-
{ year: 2014, country: "JPN", energyType: "Bio", output: 23.63, capacity: 6.57},
|
83
|
-
{ year: 2014, country: "JPN", energyType: "Hydro", output: 81.71, capacity: 244.14},
|
84
|
-
{ year: 2014, country: "JPN", energyType: "Solar", output: 23.55, capacity: 204.46},
|
85
|
-
{ year: 2014, country: "JPN", energyType: "Wind", output: 5.01, capacity: 24.09},
|
86
|
-
|
87
|
-
{ year: 2014, country: "MEX", energyType: "Bio", output: 6.62, capacity: 5.34},
|
88
|
-
{ year: 2014, country: "MEX", energyType: "Hydro", output: 38.55, capacity: 109.15},
|
89
|
-
{ year: 2014, country: "MEX", energyType: "Solar", output: 0.22, capacity: 1.49},
|
90
|
-
{ year: 2014, country: "MEX", energyType: "Wind", output: 6.35, capacity: 22.51},
|
91
|
-
|
92
|
-
{ year: 2014, country: "NGA", energyType: "Bio", output: 0.03, capacity: 0.09},
|
93
|
-
{ year: 2014, country: "NGA", energyType: "Hydro", output: 5.29, capacity: 18.48},
|
94
|
-
{ year: 2014, country: "NGA", energyType: "Solar", output: 0.02, capacity: 0.00},
|
95
|
-
{ year: 2014, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
96
|
-
|
97
|
-
{ year: 2014, country: "USA", energyType: "Bio", output: 63.99, capacity: 98.99},
|
98
|
-
{ year: 2014, country: "USA", energyType: "Hydro", output: 253.19, capacity: 731.37},
|
99
|
-
{ year: 2014, country: "USA", energyType: "Solar", output: 28.92, capacity: 158.64},
|
100
|
-
{ year: 2014, country: "USA", energyType: "Wind", output: 181.65, capacity: 564.41},
|
101
|
-
|
102
|
-
{ year: 2015, country: "BRA", energyType: "Bio", output: 47.54, capacity: 116.60},
|
103
|
-
{ year: 2015, country: "BRA", energyType: "Hydro", output: 359.74, capacity: 802.85},
|
104
|
-
{ year: 2015, country: "BRA", energyType: "Solar", output: 0.06, capacity: 0.44},
|
105
|
-
{ year: 2015, country: "BRA", energyType: "Wind", output: 21.47, capacity: 66.84},
|
106
|
-
|
107
|
-
{ year: 2015, country: "CHN", energyType: "Bio", output: 54.07, capacity: 49.41},
|
108
|
-
{ year: 2015, country: "CHN", energyType: "Hydro", output: 1114.52, capacity: 2597.34},
|
109
|
-
{ year: 2015, country: "CHN", energyType: "Solar", output: 39.48, capacity: 381.50},
|
110
|
-
{ year: 2015, country: "CHN", energyType: "Wind", output: 185.59, capacity: 1148.00},
|
111
|
-
|
112
|
-
{ year: 2015, country: "DEU", energyType: "Bio", output: 50.33, capacity: 65.44},
|
113
|
-
{ year: 2015, country: "DEU", energyType: "Hydro", output: 18.98, capacity: 48.97},
|
114
|
-
{ year: 2015, country: "DEU", energyType: "Solar", output: 38.08, capacity: 343.57},
|
115
|
-
{ year: 2015, country: "DEU", energyType: "Wind", output: 80.62, capacity: 390.52},
|
116
|
-
|
117
|
-
{ year: 2015, country: "FRA", energyType: "Bio", output: 6.53, capacity: 8.15},
|
118
|
-
{ year: 2015, country: "FRA", energyType: "Hydro", output: 55.56, capacity: 208.66},
|
119
|
-
{ year: 2015, country: "FRA", energyType: "Solar", output: 7.75, capacity: 62.55},
|
120
|
-
{ year: 2015, country: "FRA", energyType: "Wind", output: 21.42, capacity: 90.23},
|
121
|
-
|
122
|
-
{ year: 2015, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
123
|
-
{ year: 2015, country: "EGY", energyType: "Hydro", output: 13.41, capacity: 24.53},
|
124
|
-
{ year: 2015, country: "EGY", energyType: "Solar", output: 0.17, capacity: 0.35},
|
125
|
-
{ year: 2015, country: "EGY", energyType: "Wind", output: 2.06, capacity: 6.57},
|
126
|
-
|
127
|
-
{ year: 2015, country: "IND", energyType: "Bio", output: 30.62, capacity: 46.78},
|
128
|
-
{ year: 2015, country: "IND", energyType: "Hydro", output: 133.28, capacity: 370.72},
|
129
|
-
{ year: 2015, country: "IND", energyType: "Solar", output: 6.57, capacity: 49.93},
|
130
|
-
{ year: 2015, country: "IND", energyType: "Wind", output: 32.74, capacity: 219.79},
|
131
|
-
|
132
|
-
{ year: 2015, country: "JPN", energyType: "Bio", output: 28.49, capacity: 8.76},
|
133
|
-
{ year: 2015, country: "JPN", energyType: "Hydro", output: 85.77, capacity: 246.24},
|
134
|
-
{ year: 2015, country: "JPN", energyType: "Solar", output: 34.54, capacity: 299.15},
|
135
|
-
{ year: 2015, country: "JPN", energyType: "Wind", output: 5.22, capacity: 24.62},
|
136
|
-
|
137
|
-
{ year: 2015, country: "MEX", energyType: "Bio", output: 7.12, capacity: 6.31},
|
138
|
-
{ year: 2015, country: "MEX", energyType: "Hydro", output: 30.61, capacity: 107.05},
|
139
|
-
{ year: 2015, country: "MEX", energyType: "Solar", output: 0.24, capacity: 2.54},
|
140
|
-
{ year: 2015, country: "MEX", energyType: "Wind", output: 8.45, capacity: 28.65},
|
141
|
-
|
142
|
-
{ year: 2015, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
|
143
|
-
{ year: 2015, country: "NGA", energyType: "Hydro", output: 5.66, capacity: 18.48},
|
144
|
-
{ year: 2015, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.09},
|
145
|
-
{ year: 2015, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
146
|
-
|
147
|
-
{ year: 2015, country: "USA", energyType: "Bio", output: 63.63, capacity: 103.81},
|
148
|
-
{ year: 2015, country: "USA", energyType: "Hydro", output: 243.99, capacity: 731.46},
|
149
|
-
{ year: 2015, country: "USA", energyType: "Solar", output: 39.03, capacity: 212.34},
|
150
|
-
{ year: 2015, country: "USA", energyType: "Wind", output: 190.72, capacity: 637.47},
|
151
|
-
|
152
|
-
{ year: 2016, country: "BRA", energyType: "Bio", output: 49.14, capacity: 124.22},
|
153
|
-
{ year: 2016, country: "BRA", energyType: "Hydro", output: 380.91, capacity: 849.11},
|
154
|
-
{ year: 2016, country: "BRA", energyType: "Solar", output: 0.08, capacity: 1.14},
|
155
|
-
{ year: 2016, country: "BRA", energyType: "Wind", output: 33.24, capacity: 88.74},
|
156
|
-
|
157
|
-
{ year: 2016, country: "CHN", energyType: "Bio", output: 62.13, capacity: 56.06},
|
158
|
-
{ year: 2016, country: "CHN", energyType: "Hydro", output: 1153.27, capacity: 2675.13},
|
159
|
-
{ year: 2016, country: "CHN", energyType: "Solar", output: 66.53, capacity: 681.70},
|
160
|
-
{ year: 2016, country: "CHN", energyType: "Wind", output: 240.86, capacity: 1301.04},
|
161
|
-
|
162
|
-
{ year: 2016, country: "DEU", energyType: "Bio", output: 50.93, capacity: 67.28},
|
163
|
-
{ year: 2016, country: "DEU", energyType: "Hydro", output: 20.55, capacity: 49.32},
|
164
|
-
{ year: 2016, country: "DEU", energyType: "Solar", output: 37.56, capacity: 356.36},
|
165
|
-
{ year: 2016, country: "DEU", energyType: "Wind", output: 79.92, capacity: 433.09},
|
166
|
-
|
167
|
-
{ year: 2016, country: "FRA", energyType: "Bio", output: 7.52, capacity: 9.11},
|
168
|
-
{ year: 2016, country: "FRA", energyType: "Hydro", output: 60.84, capacity: 209.28},
|
169
|
-
{ year: 2016, country: "FRA", energyType: "Solar", output: 8.66, capacity: 67.45},
|
170
|
-
{ year: 2016, country: "FRA", energyType: "Wind", output: 21.38, capacity: 101.35},
|
171
|
-
|
172
|
-
{ year: 2016, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
173
|
-
{ year: 2016, country: "EGY", energyType: "Hydro", output: 12.72, capacity: 24.53},
|
174
|
-
{ year: 2016, country: "EGY", energyType: "Solar", output: 0.58, capacity: 0.53},
|
175
|
-
{ year: 2016, country: "EGY", energyType: "Wind", output: 2.2, capacity: 6.57},
|
176
|
-
|
177
|
-
{ year: 2016, country: "IND", energyType: "Bio", output: 24.82, capacity: 76.74},
|
178
|
-
{ year: 2016, country: "IND", energyType: "Hydro", output: 128.38, capacity: 375.28},
|
179
|
-
{ year: 2016, country: "IND", energyType: "Solar", output: 11.56, capacity: 87.42},
|
180
|
-
{ year: 2016, country: "IND", energyType: "Wind", output: 43.45, capacity: 251.41},
|
181
|
-
|
182
|
-
{ year: 2016, country: "JPN", energyType: "Bio", output: 23.67, capacity: 11.30},
|
183
|
-
{ year: 2016, country: "JPN", energyType: "Hydro", output: 79.43, capacity: 246.68},
|
184
|
-
{ year: 2016, country: "JPN", energyType: "Solar", output: 43.33, capacity: 368.27},
|
185
|
-
{ year: 2016, country: "JPN", energyType: "Wind", output: 5.34, capacity: 28.12},
|
186
|
-
|
187
|
-
{ year: 2016, country: "MEX", energyType: "Bio", output: 7.02, capacity: 7.36},
|
188
|
-
{ year: 2016, country: "MEX", energyType: "Hydro", output: 29.74, capacity: 110.20},
|
189
|
-
{ year: 2016, country: "MEX", energyType: "Solar", output: 0.46, capacity: 5.52},
|
190
|
-
{ year: 2016, country: "MEX", energyType: "Wind", output: 9.93, capacity: 35.48},
|
191
|
-
|
192
|
-
{ year: 2016, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
|
193
|
-
{ year: 2016, country: "NGA", energyType: "Hydro", output: 8.07, capacity: 18.48},
|
194
|
-
{ year: 2016, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.09},
|
195
|
-
{ year: 2016, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
196
|
-
|
197
|
-
{ year: 2016, country: "USA", energyType: "Bio", output: 62.76, capacity: 103.19},
|
198
|
-
{ year: 2016, country: "USA", energyType: "Hydro", output: 261.13, capacity: 734.26},
|
199
|
-
{ year: 2016, country: "USA", energyType: "Solar", output: 54.87, capacity: 310.37},
|
200
|
-
{ year: 2016, country: "USA", energyType: "Wind", output: 226.99, capacity: 713.94},
|
201
|
-
|
202
|
-
{ year: 2017, country: "BRA", energyType: "Bio", output: 50.6, capacity: 127.63},
|
203
|
-
{ year: 2017, country: "BRA", energyType: "Hydro", output: 370.91, capacity: 878.89},
|
204
|
-
{ year: 2017, country: "BRA", energyType: "Solar", output: 0.83, capacity: 10.60},
|
205
|
-
{ year: 2017, country: "BRA", energyType: "Wind", output: 42.06, capacity: 107.75},
|
206
|
-
|
207
|
-
{ year: 2017, country: "CHN", energyType: "Bio", output: 79.6, capacity: 66.49},
|
208
|
-
{ year: 2017, country: "CHN", energyType: "Hydro", output: 1165.06, capacity: 2753.97},
|
209
|
-
{ year: 2017, country: "CHN", energyType: "Solar", output: 117.8, capacity: 1146.07},
|
210
|
-
{ year: 2017, country: "CHN", energyType: "Wind", output: 304.6, capacity: 1439.88},
|
211
|
-
|
212
|
-
{ year: 2017, country: "DEU", energyType: "Bio", output: 50.92, capacity: 69.90},
|
213
|
-
{ year: 2017, country: "DEU", energyType: "Hydro", output: 20.15, capacity: 49.32},
|
214
|
-
{ year: 2017, country: "DEU", energyType: "Solar", output: 38.76, capacity: 370.46},
|
215
|
-
{ year: 2017, country: "DEU", energyType: "Wind", output: 105.69, capacity: 486.88},
|
216
|
-
|
217
|
-
{ year: 2017, country: "FRA", energyType: "Bio", output: 7.78, capacity: 9.55},
|
218
|
-
{ year: 2017, country: "FRA", energyType: "Hydro", output: 50.0, capacity: 210.06},
|
219
|
-
{ year: 2017, country: "FRA", energyType: "Solar", output: 9.59, capacity: 75.42},
|
220
|
-
{ year: 2017, country: "FRA", energyType: "Wind", output: 24.61, capacity: 118.26},
|
221
|
-
|
222
|
-
{ year: 2017, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
223
|
-
{ year: 2017, country: "EGY", energyType: "Hydro", output: 12.6, capacity: 24.53},
|
224
|
-
{ year: 2017, country: "EGY", energyType: "Solar", output: 0.6, capacity: 1.58},
|
225
|
-
{ year: 2017, country: "EGY", energyType: "Wind", output: 2.33, capacity: 6.57},
|
226
|
-
|
227
|
-
{ year: 2017, country: "IND", energyType: "Bio", output: 24.91, capacity: 81.21},
|
228
|
-
{ year: 2017, country: "IND", energyType: "Hydro", output: 135.82, capacity: 391.92},
|
229
|
-
{ year: 2017, country: "IND", energyType: "Solar", output: 21.54, capacity: 159.96},
|
230
|
-
{ year: 2017, country: "IND", energyType: "Wind", output: 52.63, capacity: 287.77},
|
231
|
-
|
232
|
-
{ year: 2017, country: "JPN", energyType: "Bio", output: 27.39, capacity: 14.63},
|
233
|
-
{ year: 2017, country: "JPN", energyType: "Hydro", output: 79.29, capacity: 246.33},
|
234
|
-
{ year: 2017, country: "JPN", energyType: "Solar", output: 54.24, capacity: 433.62},
|
235
|
-
{ year: 2017, country: "JPN", energyType: "Wind", output: 5.83, capacity: 30.48},
|
236
|
-
|
237
|
-
{ year: 2017, country: "MEX", energyType: "Bio", output: 7.4, capacity: 7.62},
|
238
|
-
{ year: 2017, country: "MEX", energyType: "Hydro", output: 31.74, capacity: 110.64},
|
239
|
-
{ year: 2017, country: "MEX", energyType: "Solar", output: 1.07, capacity: 9.90},
|
240
|
-
{ year: 2017, country: "MEX", energyType: "Wind", output: 9.91, capacity: 36.62},
|
241
|
-
|
242
|
-
{ year: 2017, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
|
243
|
-
{ year: 2017, country: "NGA", energyType: "Hydro", output: 7.67, capacity: 18.48},
|
244
|
-
{ year: 2017, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.18},
|
245
|
-
{ year: 2017, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
246
|
-
|
247
|
-
{ year: 2017, country: "USA", energyType: "Bio", output: 62.73, capacity: 102.67},
|
248
|
-
{ year: 2017, country: "USA", energyType: "Hydro", output: 293.84, capacity: 734.00},
|
249
|
-
{ year: 2017, country: "USA", energyType: "Solar", output: 77.28, capacity: 383.43},
|
250
|
-
{ year: 2017, country: "USA", energyType: "Wind", output: 254.3, capacity: 769.39},
|
251
|
-
|
252
|
-
{ year: 2018, country: "BRA", energyType: "Bio", output: 52.13, capacity: 129.74},
|
253
|
-
{ year: 2018, country: "BRA", energyType: "Hydro", output: 388.97, capacity: 915.24},
|
254
|
-
{ year: 2018, country: "BRA", energyType: "Solar", output: 3.44, capacity: 21.37},
|
255
|
-
{ year: 2018, country: "BRA", energyType: "Wind", output: 48.12, capacity: 130.00},
|
256
|
-
|
257
|
-
{ year: 2018, country: "CHN", energyType: "Bio", output: 93.73, capacity: 75.86},
|
258
|
-
{ year: 2018, country: "CHN", energyType: "Hydro", output: 1198.89, capacity: 2823.09},
|
259
|
-
{ year: 2018, country: "CHN", energyType: "Solar", output: 176.9, capacity: 1535.28},
|
260
|
-
{ year: 2018, country: "CHN", energyType: "Wind", output: 365.8, capacity: 1617.62},
|
261
|
-
|
262
|
-
{ year: 2018, country: "DEU", energyType: "Bio", output: 50.79, capacity: 75.34},
|
263
|
-
{ year: 2018, country: "DEU", energyType: "Hydro", output: 17.69, capacity: 46.69},
|
264
|
-
{ year: 2018, country: "DEU", energyType: "Solar", output: 44.32, capacity: 395.60},
|
265
|
-
{ year: 2018, country: "DEU", energyType: "Wind", output: 109.95, capacity: 514.39},
|
266
|
-
|
267
|
-
{ year: 2018, country: "FRA", energyType: "Bio", output: 8.38, capacity: 11.48},
|
268
|
-
{ year: 2018, country: "FRA", energyType: "Hydro", output: 65.11, capacity: 210.24},
|
269
|
-
{ year: 2018, country: "FRA", energyType: "Solar", output: 10.81, capacity: 84.71},
|
270
|
-
{ year: 2018, country: "FRA", energyType: "Wind", output: 28.6, capacity: 130.52},
|
271
|
-
|
272
|
-
{ year: 2018, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
|
273
|
-
{ year: 2018, country: "EGY", energyType: "Hydro", output: 12.77, capacity: 24.79},
|
274
|
-
{ year: 2018, country: "EGY", energyType: "Solar", output: 1.52, capacity: 6.66},
|
275
|
-
{ year: 2018, country: "EGY", energyType: "Wind", output: 3.02, capacity: 9.90},
|
276
|
-
|
277
|
-
{ year: 2018, country: "IND", energyType: "Bio", output: 27.22, capacity: 87.42},
|
278
|
-
{ year: 2018, country: "IND", energyType: "Hydro", output: 139.75, capacity: 397.00},
|
279
|
-
{ year: 2018, country: "IND", energyType: "Solar", output: 36.33, capacity: 240.72},
|
280
|
-
{ year: 2018, country: "IND", energyType: "Wind", output: 60.31, capacity: 309.14},
|
281
|
-
|
282
|
-
{ year: 2018, country: "JPN", energyType: "Bio", output: 30.13, capacity: 18.22},
|
283
|
-
{ year: 2018, country: "JPN", energyType: "Hydro", output: 81.11, capacity: 246.51},
|
284
|
-
{ year: 2018, country: "JPN", energyType: "Solar", output: 62.11, capacity: 491.96},
|
285
|
-
{ year: 2018, country: "JPN", energyType: "Wind", output: 6.44, capacity: 30.66},
|
286
|
-
|
287
|
-
{ year: 2018, country: "MEX", energyType: "Bio", output: 6.85, capacity: 7.62},
|
288
|
-
{ year: 2018, country: "MEX", energyType: "Hydro", output: 32.3, capacity: 110.73},
|
289
|
-
{ year: 2018, country: "MEX", energyType: "Solar", output: 1.36, capacity: 22.60},
|
290
|
-
{ year: 2018, country: "MEX", energyType: "Wind", output: 12.53, capacity: 36.62},
|
291
|
-
|
292
|
-
{ year: 2018, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
|
293
|
-
{ year: 2018, country: "NGA", energyType: "Hydro", output: 7.69, capacity: 18.48},
|
294
|
-
{ year: 2018, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.18},
|
295
|
-
{ year: 2018, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
|
296
|
-
|
297
|
-
{ year: 2018, country: "USA", energyType: "Bio", output: 61.83, capacity: 100.74},
|
298
|
-
{ year: 2018, country: "USA", energyType: "Hydro", output: 286.62, capacity: 734.79},
|
299
|
-
{ year: 2018, country: "USA", energyType: "Solar", output: 93.36, capacity: 455.43},
|
300
|
-
{ year: 2018, country: "USA", energyType: "Wind", output: 272.67, capacity: 829.31}
|
301
|
-
]
|
@@ -1,17 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{model: "LSTM", time_s: 99.0, acc: 80.72, param: 5977},
|
3
|
-
{model: "BiLSTM", time_s: 106, acc: 81.73, param: 7059},
|
4
|
-
{model: "2 stacked BiLSTM", time_s: 207, acc: 81.97, param: 9221},
|
5
|
-
{model: "3 stacked BiLSTM", time_s: 310, acc: 81.53, param: 11383},
|
6
|
-
{model: "4 stacked BiLSTM", time_s: 411, acc: 81.37, param: 13546},
|
7
|
-
{model: "S-LSTM", time_s: 65, acc: 82.64, param: 8768},
|
8
|
-
{model: "CNN", time_s: 34, acc: 80.35, param: 5637},
|
9
|
-
{model: "2 stacked CNN", time_s: 40, acc: 80.97, param: 5717},
|
10
|
-
{model: "3 stacked CNN", time_s: 47, acc: 81.46, param: 5808},
|
11
|
-
{model: "4 stacked CNN", time_s: 51, acc: 81.39, param: 5855},
|
12
|
-
{model: "Transformer (N=6)", time_s: 138, acc: 81.03, param: 7234},
|
13
|
-
{model: "Transformer (N=8)", time_s: 174, acc: 81.86, param: 7615},
|
14
|
-
{model: "Transformer (N=10)", time_s: 214, acc: 81.63, param: 8004},
|
15
|
-
{model: "BiLSTM+Attention", time_s: 126, acc: 82.37, param: 7419},
|
16
|
-
{model: "S-LSTM+Attention", time_s: 87, acc: "83.07*", param: 8858}
|
17
|
-
]
|
@@ -1,36 +0,0 @@
|
|
1
|
-
let insert cmp x sorted =
|
2
|
-
let helper [] = [x];
|
3
|
-
helper (y: ys) =
|
4
|
-
if cmp x y
|
5
|
-
then x : (y: ys)
|
6
|
-
else y : helper ys
|
7
|
-
in helper sorted;
|
8
|
-
|
9
|
-
let insertionSort cmp lst =
|
10
|
-
let helper [] sorted = sorted;
|
11
|
-
helper (x: xs) sorted = helper xs (insert cmp x sorted)
|
12
|
-
in helper lst [];
|
13
|
-
|
14
|
-
let findIndex fName x ys =
|
15
|
-
let helper [] rank = -1;
|
16
|
-
helper (y: ys') rank =
|
17
|
-
if y.[fName] == x then rank
|
18
|
-
else helper ys' (rank + 1)
|
19
|
-
in helper ys 1;
|
20
|
-
|
21
|
-
let findWithKey' fName x table =
|
22
|
-
fromSome (findWithKey fName x table);
|
23
|
-
|
24
|
-
let findWhere pred table =
|
25
|
-
fromSome (find pred table);
|
26
|
-
|
27
|
-
let cmpTime a b = a.time_s < b.time_s;
|
28
|
-
let cmpParam a b = a.param < b.param;
|
29
|
-
|
30
|
-
-- (a -> Number) -> List a -> a
|
31
|
-
let maximumBy f [] = error "Empty list!";
|
32
|
-
maximumBy f (x: xs) =
|
33
|
-
let helper [] current = current;
|
34
|
-
helper (y: ys) current =
|
35
|
-
if f y > f current then helper ys y else helper ys current
|
36
|
-
in helper xs x;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<div class="header-grid-container">
|
2
|
-
<div class="flex-right-align right-border">
|
3
|
-
<img class="fluid-logo" src="/image/fluid-logo.png" width="150px">
|
4
|
-
<h2 class="fluid-subtitle">explorable, self-explanatory research outputs</h2>
|
5
|
-
</div>
|
6
|
-
<div class="flex-left-align" style="justify-content: center; margin-left: 5px;">
|
7
|
-
<nav>
|
8
|
-
<ul>
|
9
|
-
<li><a href="https://github.com/explorable-viz/fluid">GitHub</a></li>
|
10
|
-
<li><a href="https://dl.acm.org/doi/10.1145/3498668">POPL 2022 paper</a></li>
|
11
|
-
<li><a href="https://www.youtube.com/watch?v=M_ePrtD9axk">POPL 2022 talk</a></li>
|
12
|
-
<li><a href="https://www.youtube.com/watch?v=2-S6yVyzypU">PROPL 2024</a></li>
|
13
|
-
<li><a href="https://www.youtube.com/watch?v=F3JaftEnFfM">ICCS Summer School</a></li>
|
14
|
-
<li><a href="https://arxiv.org/abs/2403.04403">ESOP 2025 preprint</a></li>
|
15
|
-
</ul>
|
16
|
-
</nav>
|
17
|
-
<nav>
|
18
|
-
<ul>
|
19
|
-
<li><a href="/">Overview</a></li>
|
20
|
-
<li><a href="/faq">FAQ</a></li>
|
21
|
-
<li><a href="/contributors">Contributors & Funding</a></li>
|
22
|
-
<li><a href="/student-projects">Student Projects</a></li>
|
23
|
-
</ul>
|
24
|
-
</nav>
|
25
|
-
<div></div>
|
26
|
-
</div>
|
27
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div></div>
|
2
|
-
<div></div>
|
3
|
-
<div>
|
4
|
-
<h3 class="title">Overview</h3>
|
5
|
-
<nav class="sub-header">
|
6
|
-
<ul>
|
7
|
-
<li><a href="/">Transparent research outputs</a></li>
|
8
|
-
<li><a href="/convolution">Matrix convolution</a></li>
|
9
|
-
<li><a href="/moving-average">Moving average</a></li>
|
10
|
-
</ul>
|
11
|
-
</nav>
|
12
|
-
</div>
|
package/website/shared/util.js
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
function loadHeader () {
|
2
|
-
fetch('/shared/header.html')
|
3
|
-
.then(response => response.text())
|
4
|
-
.then(data => {
|
5
|
-
const header = document.createElement('div')
|
6
|
-
header.innerHTML = data
|
7
|
-
activateCurrentLink(header)
|
8
|
-
const divElement = header.children[0]
|
9
|
-
const grid = document.getElementById('grid')
|
10
|
-
grid.parentNode.insertBefore(divElement, grid)
|
11
|
-
})
|
12
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
13
|
-
|
14
|
-
fetch('/shared/footer.html')
|
15
|
-
.then(response => response.text())
|
16
|
-
.then(data => {
|
17
|
-
const footer = document.createElement('div')
|
18
|
-
footer.innerHTML = data
|
19
|
-
const divElement = footer.children[0]
|
20
|
-
const grid = document.getElementById('grid')
|
21
|
-
grid.parentNode.appendChild(divElement)
|
22
|
-
})
|
23
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
24
|
-
}
|
25
|
-
|
26
|
-
function eqPaths (path1, path2) {
|
27
|
-
const trailingSlashes = /\/+$/
|
28
|
-
return path1.replace(trailingSlashes, '') === path2.replace(trailingSlashes, '')
|
29
|
-
}
|
30
|
-
|
31
|
-
function activateCurrentLink (el) {
|
32
|
-
const listItems = el.querySelectorAll('li')
|
33
|
-
const n_ = Array.from(listItems).findIndex(li => {
|
34
|
-
const link = li.querySelector('a')
|
35
|
-
return link && eqPaths(link.getAttribute('href'), window.location.pathname)
|
36
|
-
})
|
37
|
-
if (n_ !== -1) {
|
38
|
-
listItems[n_].classList.add('active-page')
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
function loadSubHeader () {
|
43
|
-
fetch('/shared/sub-header.html')
|
44
|
-
.then(response => response.text())
|
45
|
-
.then(data => {
|
46
|
-
const header = document.createElement('div')
|
47
|
-
header.innerHTML = data
|
48
|
-
activateCurrentLink(header)
|
49
|
-
const divElements = header.children
|
50
|
-
const grid = document.getElementById('grid')
|
51
|
-
for (let i = Math.min(4, divElements.length - 1); i >= 0; --i) {
|
52
|
-
grid.insertBefore(divElements[i], grid.firstChild)
|
53
|
-
}
|
54
|
-
})
|
55
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
56
|
-
}
|
57
|
-
|
58
|
-
function toggleDataPane(gridId) {
|
59
|
-
const grid = document.getElementById(gridId)
|
60
|
-
const hidden = grid.classList.contains('data-pane-hidden')
|
61
|
-
const dataPaneButton = document.querySelector('.data-pane-button')
|
62
|
-
|
63
|
-
if (hidden) {
|
64
|
-
grid.classList.remove('data-pane-hidden')
|
65
|
-
dataPaneButton.classList.remove('fa-eye-slash')
|
66
|
-
dataPaneButton.classList.add('fa-eye')
|
67
|
-
} else {
|
68
|
-
grid.classList.add('data-pane-hidden')
|
69
|
-
dataPaneButton.classList.remove('fa-eye')
|
70
|
-
dataPaneButton.classList.add('fa-eye-slash')
|
71
|
-
}
|
72
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|