Code
+= 1
+ A = np.linspace(-A, A, 301)[1:-1]
+ u -A, 2*A))
+ plt.plot(u, stats.arcsine.pdf(u, -A, ls=':', lw=1, color='k');
+ plt.axvline(=':', lw=1, color='k');
+ plt.axvline(A, ls'Displacement')
+ plt.xlabel('Probability density'); plt.ylabel(
diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/01_LAMMPS_Tutorial_files/figure-html/cell-6-output-2.png b/01_LAMMPS_Tutorial_files/figure-html/cell-6-output-2.png new file mode 100644 index 0000000..00d661c Binary files /dev/null and b/01_LAMMPS_Tutorial_files/figure-html/cell-6-output-2.png differ diff --git a/01_LAMMPS_Tutorial_files/figure-html/cell-7-output-1.png b/01_LAMMPS_Tutorial_files/figure-html/cell-7-output-1.png new file mode 100644 index 0000000..961388c Binary files /dev/null and b/01_LAMMPS_Tutorial_files/figure-html/cell-7-output-1.png differ diff --git a/01_LAMMPS_Tutorial_files/figure-html/cell-8-output-1.png b/01_LAMMPS_Tutorial_files/figure-html/cell-8-output-1.png new file mode 100644 index 0000000..43bf665 Binary files /dev/null and b/01_LAMMPS_Tutorial_files/figure-html/cell-8-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-11-output-2.png b/01_VASP_Tutorial_files/figure-html/cell-11-output-2.png new file mode 100644 index 0000000..33d122a Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-11-output-2.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-15-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-15-output-1.png new file mode 100644 index 0000000..16b246e Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-15-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-15-output-2.png b/01_VASP_Tutorial_files/figure-html/cell-15-output-2.png new file mode 100644 index 0000000..e53fe3e Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-15-output-2.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-17-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-17-output-1.png new file mode 100644 index 0000000..21a1c12 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-17-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-18-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-18-output-1.png new file mode 100644 index 0000000..1f4c14f Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-18-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-19-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-19-output-1.png new file mode 100644 index 0000000..8f36a58 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-19-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-21-output-2.png b/01_VASP_Tutorial_files/figure-html/cell-21-output-2.png new file mode 100644 index 0000000..7fb9e71 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-21-output-2.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-23-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-23-output-1.png new file mode 100644 index 0000000..c39ca02 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-23-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-23-output-2.png b/01_VASP_Tutorial_files/figure-html/cell-23-output-2.png new file mode 100644 index 0000000..97710e8 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-23-output-2.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-26-output-1.png b/01_VASP_Tutorial_files/figure-html/cell-26-output-1.png new file mode 100644 index 0000000..7368a20 Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-26-output-1.png differ diff --git a/01_VASP_Tutorial_files/figure-html/cell-26-output-2.png b/01_VASP_Tutorial_files/figure-html/cell-26-output-2.png new file mode 100644 index 0000000..9153ead Binary files /dev/null and b/01_VASP_Tutorial_files/figure-html/cell-26-output-2.png differ diff --git a/02_CLI_files/figure-html/cell-10-output-2.png b/02_CLI_files/figure-html/cell-10-output-2.png new file mode 100644 index 0000000..d4ba503 Binary files /dev/null and b/02_CLI_files/figure-html/cell-10-output-2.png differ diff --git a/02_CLI_files/figure-html/cell-11-output-2.png b/02_CLI_files/figure-html/cell-11-output-2.png new file mode 100644 index 0000000..7a3e9e0 Binary files /dev/null and b/02_CLI_files/figure-html/cell-11-output-2.png differ diff --git a/02_CLI_files/figure-html/cell-7-output-2.png b/02_CLI_files/figure-html/cell-7-output-2.png new file mode 100644 index 0000000..45433a6 Binary files /dev/null and b/02_CLI_files/figure-html/cell-7-output-2.png differ diff --git a/02_CLI_files/figure-html/cell-7-output-3.png b/02_CLI_files/figure-html/cell-7-output-3.png new file mode 100644 index 0000000..ab5a04a Binary files /dev/null and b/02_CLI_files/figure-html/cell-7-output-3.png differ diff --git a/02_CLI_files/figure-html/cell-8-output-2.png b/02_CLI_files/figure-html/cell-8-output-2.png new file mode 100644 index 0000000..4f1033e Binary files /dev/null and b/02_CLI_files/figure-html/cell-8-output-2.png differ diff --git a/02_CLI_files/figure-html/cell-9-output-2.png b/02_CLI_files/figure-html/cell-9-output-2.png new file mode 100644 index 0000000..c9e3e63 Binary files /dev/null and b/02_CLI_files/figure-html/cell-9-output-2.png differ diff --git a/03_monitor_stats_files/figure-html/cell-3-output-1.png b/03_monitor_stats_files/figure-html/cell-3-output-1.png new file mode 100644 index 0000000..7a203f1 Binary files /dev/null and b/03_monitor_stats_files/figure-html/cell-3-output-1.png differ diff --git a/03_monitor_stats_files/figure-html/cell-4-output-1.png b/03_monitor_stats_files/figure-html/cell-4-output-1.png new file mode 100644 index 0000000..dd8cff6 Binary files /dev/null and b/03_monitor_stats_files/figure-html/cell-4-output-1.png differ diff --git a/03_monitor_stats_files/figure-html/cell-5-output-1.png b/03_monitor_stats_files/figure-html/cell-5-output-1.png new file mode 100644 index 0000000..5a43288 Binary files /dev/null and b/03_monitor_stats_files/figure-html/cell-5-output-1.png differ diff --git a/04_monitor_phonons_files/figure-html/cell-3-output-1.png b/04_monitor_phonons_files/figure-html/cell-3-output-1.png new file mode 100644 index 0000000..fa58d7c Binary files /dev/null and b/04_monitor_phonons_files/figure-html/cell-3-output-1.png differ diff --git a/04_monitor_phonons_files/figure-html/cell-4-output-1.png b/04_monitor_phonons_files/figure-html/cell-4-output-1.png new file mode 100644 index 0000000..8cc1808 Binary files /dev/null and b/04_monitor_phonons_files/figure-html/cell-4-output-1.png differ diff --git a/05_vasp_workflow_files/figure-html/cell-11-output-2.png b/05_vasp_workflow_files/figure-html/cell-11-output-2.png new file mode 100644 index 0000000..575ff87 Binary files /dev/null and b/05_vasp_workflow_files/figure-html/cell-11-output-2.png differ diff --git a/05_vasp_workflow_files/figure-html/cell-13-output-1.png b/05_vasp_workflow_files/figure-html/cell-13-output-1.png new file mode 100644 index 0000000..ce28654 Binary files /dev/null and b/05_vasp_workflow_files/figure-html/cell-13-output-1.png differ diff --git a/05_vasp_workflow_files/figure-html/cell-13-output-2.png b/05_vasp_workflow_files/figure-html/cell-13-output-2.png new file mode 100644 index 0000000..b79a87f Binary files /dev/null and b/05_vasp_workflow_files/figure-html/cell-13-output-2.png differ diff --git a/05_vasp_workflow_files/figure-html/cell-13-output-3.png b/05_vasp_workflow_files/figure-html/cell-13-output-3.png new file mode 100644 index 0000000..6176c0f Binary files /dev/null and b/05_vasp_workflow_files/figure-html/cell-13-output-3.png differ diff --git a/10_Background_files/figure-html/fig-harmonic-output-1.png b/10_Background_files/figure-html/fig-harmonic-output-1.png new file mode 100644 index 0000000..203f8f6 Binary files /dev/null and b/10_Background_files/figure-html/fig-harmonic-output-1.png differ diff --git a/10_Background_files/figure-html/fig-posterior-output-1.png b/10_Background_files/figure-html/fig-posterior-output-1.png new file mode 100644 index 0000000..9497256 Binary files /dev/null and b/10_Background_files/figure-html/fig-posterior-output-1.png differ diff --git a/10_Background_files/figure-html/fig-prior-output-1.png b/10_Background_files/figure-html/fig-prior-output-1.png new file mode 100644 index 0000000..b55cdad Binary files /dev/null and b/10_Background_files/figure-html/fig-prior-output-1.png differ diff --git a/10_Background_files/figure-html/fig-rayleigh-output-1.png b/10_Background_files/figure-html/fig-rayleigh-output-1.png new file mode 100644 index 0000000..22343b7 Binary files /dev/null and b/10_Background_files/figure-html/fig-rayleigh-output-1.png differ diff --git a/11_core_files/figure-html/cell-10-output-1.png b/11_core_files/figure-html/cell-10-output-1.png new file mode 100644 index 0000000..3167337 Binary files /dev/null and b/11_core_files/figure-html/cell-10-output-1.png differ diff --git a/11_core_files/figure-html/cell-11-output-10.png b/11_core_files/figure-html/cell-11-output-10.png new file mode 100644 index 0000000..ae3c702 Binary files /dev/null and b/11_core_files/figure-html/cell-11-output-10.png differ diff --git a/11_core_files/figure-html/cell-12-output-2.png b/11_core_files/figure-html/cell-12-output-2.png new file mode 100644 index 0000000..6d6f160 Binary files /dev/null and b/11_core_files/figure-html/cell-12-output-2.png differ diff --git a/11_core_files/figure-html/cell-13-output-1.png b/11_core_files/figure-html/cell-13-output-1.png new file mode 100644 index 0000000..1dcc170 Binary files /dev/null and b/11_core_files/figure-html/cell-13-output-1.png differ diff --git a/11_core_files/figure-html/cell-14-output-1.png b/11_core_files/figure-html/cell-14-output-1.png new file mode 100644 index 0000000..d0cc96a Binary files /dev/null and b/11_core_files/figure-html/cell-14-output-1.png differ diff --git a/11_core_files/figure-html/cell-18-output-1.png b/11_core_files/figure-html/cell-18-output-1.png new file mode 100644 index 0000000..6577377 Binary files /dev/null and b/11_core_files/figure-html/cell-18-output-1.png differ diff --git a/11_core_files/figure-html/cell-19-output-1.png b/11_core_files/figure-html/cell-19-output-1.png new file mode 100644 index 0000000..2ee9444 Binary files /dev/null and b/11_core_files/figure-html/cell-19-output-1.png differ diff --git a/11_core_files/figure-html/cell-20-output-1.png b/11_core_files/figure-html/cell-20-output-1.png new file mode 100644 index 0000000..06d4a66 Binary files /dev/null and b/11_core_files/figure-html/cell-20-output-1.png differ diff --git a/11_core_files/figure-html/cell-21-output-2.png b/11_core_files/figure-html/cell-21-output-2.png new file mode 100644 index 0000000..7d0dbe4 Binary files /dev/null and b/11_core_files/figure-html/cell-21-output-2.png differ diff --git a/11_core_files/figure-html/cell-9-output-2.png b/11_core_files/figure-html/cell-9-output-2.png new file mode 100644 index 0000000..de82266 Binary files /dev/null and b/11_core_files/figure-html/cell-9-output-2.png differ diff --git a/11_parallel_files/figure-html/cell-17-output-1.png b/11_parallel_files/figure-html/cell-17-output-1.png new file mode 100644 index 0000000..7f0f0a0 Binary files /dev/null and b/11_parallel_files/figure-html/cell-17-output-1.png differ diff --git a/11_parallel_files/figure-html/cell-18-output-1.png b/11_parallel_files/figure-html/cell-18-output-1.png new file mode 100644 index 0000000..89ce78b Binary files /dev/null and b/11_parallel_files/figure-html/cell-18-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-3-output-1.png b/12_optimize_files/figure-html/cell-3-output-1.png new file mode 100644 index 0000000..81e4f8a Binary files /dev/null and b/12_optimize_files/figure-html/cell-3-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-3-output-2.png b/12_optimize_files/figure-html/cell-3-output-2.png new file mode 100644 index 0000000..160b643 Binary files /dev/null and b/12_optimize_files/figure-html/cell-3-output-2.png differ diff --git a/12_optimize_files/figure-html/cell-5-output-1.png b/12_optimize_files/figure-html/cell-5-output-1.png new file mode 100644 index 0000000..9650cb6 Binary files /dev/null and b/12_optimize_files/figure-html/cell-5-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-5-output-2.png b/12_optimize_files/figure-html/cell-5-output-2.png new file mode 100644 index 0000000..987a421 Binary files /dev/null and b/12_optimize_files/figure-html/cell-5-output-2.png differ diff --git a/12_optimize_files/figure-html/cell-5-output-3.png b/12_optimize_files/figure-html/cell-5-output-3.png new file mode 100644 index 0000000..6b7d740 Binary files /dev/null and b/12_optimize_files/figure-html/cell-5-output-3.png differ diff --git a/12_optimize_files/figure-html/cell-6-output-1.png b/12_optimize_files/figure-html/cell-6-output-1.png new file mode 100644 index 0000000..7d2aab9 Binary files /dev/null and b/12_optimize_files/figure-html/cell-6-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-6-output-2.png b/12_optimize_files/figure-html/cell-6-output-2.png new file mode 100644 index 0000000..cd700de Binary files /dev/null and b/12_optimize_files/figure-html/cell-6-output-2.png differ diff --git a/12_optimize_files/figure-html/cell-6-output-3.png b/12_optimize_files/figure-html/cell-6-output-3.png new file mode 100644 index 0000000..c302e74 Binary files /dev/null and b/12_optimize_files/figure-html/cell-6-output-3.png differ diff --git a/12_optimize_files/figure-html/cell-8-output-1.png b/12_optimize_files/figure-html/cell-8-output-1.png new file mode 100644 index 0000000..d3e8da5 Binary files /dev/null and b/12_optimize_files/figure-html/cell-8-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-9-output-1.png b/12_optimize_files/figure-html/cell-9-output-1.png new file mode 100644 index 0000000..85df12e Binary files /dev/null and b/12_optimize_files/figure-html/cell-9-output-1.png differ diff --git a/12_optimize_files/figure-html/cell-9-output-3.png b/12_optimize_files/figure-html/cell-9-output-3.png new file mode 100644 index 0000000..67694cf Binary files /dev/null and b/12_optimize_files/figure-html/cell-9-output-3.png differ diff --git a/12_optimize_files/figure-html/cell-9-output-4.png b/12_optimize_files/figure-html/cell-9-output-4.png new file mode 100644 index 0000000..0a241df Binary files /dev/null and b/12_optimize_files/figure-html/cell-9-output-4.png differ diff --git a/13_planner_files/figure-html/cell-10-output-1.png b/13_planner_files/figure-html/cell-10-output-1.png new file mode 100644 index 0000000..aa49818 Binary files /dev/null and b/13_planner_files/figure-html/cell-10-output-1.png differ diff --git a/13_planner_files/figure-html/cell-11-output-1.png b/13_planner_files/figure-html/cell-11-output-1.png new file mode 100644 index 0000000..a237b43 Binary files /dev/null and b/13_planner_files/figure-html/cell-11-output-1.png differ diff --git a/13_planner_files/figure-html/cell-14-output-1.png b/13_planner_files/figure-html/cell-14-output-1.png new file mode 100644 index 0000000..35fad2e Binary files /dev/null and b/13_planner_files/figure-html/cell-14-output-1.png differ diff --git a/13_planner_files/figure-html/cell-15-output-1.png b/13_planner_files/figure-html/cell-15-output-1.png new file mode 100644 index 0000000..577128f Binary files /dev/null and b/13_planner_files/figure-html/cell-15-output-1.png differ diff --git a/13_planner_files/figure-html/cell-15-output-3.png b/13_planner_files/figure-html/cell-15-output-3.png new file mode 100644 index 0000000..96c5b92 Binary files /dev/null and b/13_planner_files/figure-html/cell-15-output-3.png differ diff --git a/13_planner_files/figure-html/cell-15-output-4.png b/13_planner_files/figure-html/cell-15-output-4.png new file mode 100644 index 0000000..e0f653c Binary files /dev/null and b/13_planner_files/figure-html/cell-15-output-4.png differ diff --git a/13_planner_files/figure-html/cell-16-output-1.png b/13_planner_files/figure-html/cell-16-output-1.png new file mode 100644 index 0000000..4dff38d Binary files /dev/null and b/13_planner_files/figure-html/cell-16-output-1.png differ diff --git a/13_planner_files/figure-html/cell-17-output-1.png b/13_planner_files/figure-html/cell-17-output-1.png new file mode 100644 index 0000000..d986d07 Binary files /dev/null and b/13_planner_files/figure-html/cell-17-output-1.png differ diff --git a/13_planner_files/figure-html/cell-18-output-1.png b/13_planner_files/figure-html/cell-18-output-1.png new file mode 100644 index 0000000..cd4f27e Binary files /dev/null and b/13_planner_files/figure-html/cell-18-output-1.png differ diff --git a/13_planner_files/figure-html/cell-19-output-2.png b/13_planner_files/figure-html/cell-19-output-2.png new file mode 100644 index 0000000..84a40d8 Binary files /dev/null and b/13_planner_files/figure-html/cell-19-output-2.png differ diff --git a/13_planner_files/figure-html/cell-3-output-2.png b/13_planner_files/figure-html/cell-3-output-2.png new file mode 100644 index 0000000..b458c95 Binary files /dev/null and b/13_planner_files/figure-html/cell-3-output-2.png differ diff --git a/13_planner_files/figure-html/cell-6-output-1.png b/13_planner_files/figure-html/cell-6-output-1.png new file mode 100644 index 0000000..41dde80 Binary files /dev/null and b/13_planner_files/figure-html/cell-6-output-1.png differ diff --git a/13_planner_files/figure-html/cell-9-output-1.png b/13_planner_files/figure-html/cell-9-output-1.png new file mode 100644 index 0000000..ce09940 Binary files /dev/null and b/13_planner_files/figure-html/cell-9-output-1.png differ diff --git a/15_monitor_files/figure-html/cell-12-output-1.png b/15_monitor_files/figure-html/cell-12-output-1.png new file mode 100644 index 0000000..d2427f8 Binary files /dev/null and b/15_monitor_files/figure-html/cell-12-output-1.png differ diff --git a/15_monitor_files/figure-html/cell-14-output-1.png b/15_monitor_files/figure-html/cell-14-output-1.png new file mode 100644 index 0000000..dd8cff6 Binary files /dev/null and b/15_monitor_files/figure-html/cell-14-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-10-output-1.png b/17_xscale_files/figure-html/cell-10-output-1.png new file mode 100644 index 0000000..a0d61f9 Binary files /dev/null and b/17_xscale_files/figure-html/cell-10-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-10-output-2.png b/17_xscale_files/figure-html/cell-10-output-2.png new file mode 100644 index 0000000..925650c Binary files /dev/null and b/17_xscale_files/figure-html/cell-10-output-2.png differ diff --git a/17_xscale_files/figure-html/cell-11-output-1.png b/17_xscale_files/figure-html/cell-11-output-1.png new file mode 100644 index 0000000..63a7c62 Binary files /dev/null and b/17_xscale_files/figure-html/cell-11-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-11-output-2.png b/17_xscale_files/figure-html/cell-11-output-2.png new file mode 100644 index 0000000..b2385b9 Binary files /dev/null and b/17_xscale_files/figure-html/cell-11-output-2.png differ diff --git a/17_xscale_files/figure-html/cell-17-output-2.png b/17_xscale_files/figure-html/cell-17-output-2.png new file mode 100644 index 0000000..376d355 Binary files /dev/null and b/17_xscale_files/figure-html/cell-17-output-2.png differ diff --git a/17_xscale_files/figure-html/cell-18-output-1.png b/17_xscale_files/figure-html/cell-18-output-1.png new file mode 100644 index 0000000..a69a0e5 Binary files /dev/null and b/17_xscale_files/figure-html/cell-18-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-6-output-1.png b/17_xscale_files/figure-html/cell-6-output-1.png new file mode 100644 index 0000000..19f1f15 Binary files /dev/null and b/17_xscale_files/figure-html/cell-6-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-7-output-1.png b/17_xscale_files/figure-html/cell-7-output-1.png new file mode 100644 index 0000000..d8d3b85 Binary files /dev/null and b/17_xscale_files/figure-html/cell-7-output-1.png differ diff --git a/17_xscale_files/figure-html/cell-9-output-1.png b/17_xscale_files/figure-html/cell-9-output-1.png new file mode 100644 index 0000000..5dcc890 Binary files /dev/null and b/17_xscale_files/figure-html/cell-9-output-1.png differ diff --git a/99_mh_files/figure-html/cell-5-output-1.png b/99_mh_files/figure-html/cell-5-output-1.png new file mode 100644 index 0000000..a1c36d9 Binary files /dev/null and b/99_mh_files/figure-html/cell-5-output-1.png differ diff --git a/99_mh_files/figure-html/cell-6-output-1.png b/99_mh_files/figure-html/cell-6-output-1.png new file mode 100644 index 0000000..557faf4 Binary files /dev/null and b/99_mh_files/figure-html/cell-6-output-1.png differ diff --git a/99_mh_files/figure-html/cell-9-output-2.png b/99_mh_files/figure-html/cell-9-output-2.png new file mode 100644 index 0000000..865390d Binary files /dev/null and b/99_mh_files/figure-html/cell-9-output-2.png differ diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html new file mode 100644 index 0000000..7030577 --- /dev/null +++ b/CONTRIBUTING.html @@ -0,0 +1,675 @@ + +
+ + + + + + + +${missingFields[0]}
field.`,
+ message: `The items being returned for this search do not include all the required fields. Please ensure that your index items include the ${missingFields[0]}
field or use index-fields
in your _quarto.yml
file to specify the field names.`,
+ };
+ } else if (missingFields.length > 1) {
+ const missingFieldList = missingFields
+ .map((field) => {
+ return `${field}
`;
+ })
+ .join(", ");
+
+ throw {
+ name: `Error: Search index is missing the following fields: ${missingFieldList}.`,
+ message: `The items being returned for this search do not include all the required fields. Please ensure that your index items includes the following fields: ${missingFieldList}, or use index-fields
in your _quarto.yml
file to specify the field names.`,
+ };
+ }
+ }
+}
+
+let lastQuery = null;
+function showCopyLink(query, options) {
+ const language = options.language;
+ lastQuery = query;
+ // Insert share icon
+ const inputSuffixEl = window.document.body.querySelector(
+ ".aa-Form .aa-InputWrapperSuffix"
+ );
+
+ if (inputSuffixEl) {
+ let copyButtonEl = window.document.body.querySelector(
+ ".aa-Form .aa-InputWrapperSuffix .aa-CopyButton"
+ );
+
+ if (copyButtonEl === null) {
+ copyButtonEl = window.document.createElement("button");
+ copyButtonEl.setAttribute("class", "aa-CopyButton");
+ copyButtonEl.setAttribute("type", "button");
+ copyButtonEl.setAttribute("title", language["search-copy-link-title"]);
+ copyButtonEl.onmousedown = (e) => {
+ e.preventDefault();
+ e.stopPropagation();
+ };
+
+ const linkIcon = "bi-clipboard";
+ const checkIcon = "bi-check2";
+
+ const shareIconEl = window.document.createElement("i");
+ shareIconEl.setAttribute("class", `bi ${linkIcon}`);
+ copyButtonEl.appendChild(shareIconEl);
+ inputSuffixEl.prepend(copyButtonEl);
+
+ const clipboard = new window.ClipboardJS(".aa-CopyButton", {
+ text: function (_trigger) {
+ const copyUrl = new URL(window.location);
+ copyUrl.searchParams.set(kQueryArg, lastQuery);
+ copyUrl.searchParams.set(kResultsArg, "1");
+ return copyUrl.toString();
+ },
+ });
+ clipboard.on("success", function (e) {
+ // Focus the input
+
+ // button target
+ const button = e.trigger;
+ const icon = button.querySelector("i.bi");
+
+ // flash "checked"
+ icon.classList.add(checkIcon);
+ icon.classList.remove(linkIcon);
+ setTimeout(function () {
+ icon.classList.remove(checkIcon);
+ icon.classList.add(linkIcon);
+ }, 1000);
+ });
+ }
+
+ // If there is a query, show the link icon
+ if (copyButtonEl) {
+ if (lastQuery && options["copy-button"]) {
+ copyButtonEl.style.display = "flex";
+ } else {
+ copyButtonEl.style.display = "none";
+ }
+ }
+ }
+}
+
+/* Search Index Handling */
+// create the index
+var fuseIndex = undefined;
+var shownWarning = false;
+async function readSearchData() {
+ // Initialize the search index on demand
+ if (fuseIndex === undefined) {
+ if (window.location.protocol === "file:" && !shownWarning) {
+ window.alert(
+ "Search requires JavaScript features disabled when running in file://... URLs. In order to use search, please run this document in a web server."
+ );
+ shownWarning = true;
+ return;
+ }
+ // create fuse index
+ const options = {
+ keys: [
+ { name: "title", weight: 20 },
+ { name: "section", weight: 20 },
+ { name: "text", weight: 10 },
+ ],
+ ignoreLocation: true,
+ threshold: 0.1,
+ };
+ const fuse = new window.Fuse([], options);
+
+ // fetch the main search.json
+ const response = await fetch(offsetURL("search.json"));
+ if (response.status == 200) {
+ return response.json().then(function (searchDocs) {
+ searchDocs.forEach(function (searchDoc) {
+ fuse.add(searchDoc);
+ });
+ fuseIndex = fuse;
+ return fuseIndex;
+ });
+ } else {
+ return Promise.reject(
+ new Error(
+ "Unexpected status from search index request: " + response.status
+ )
+ );
+ }
+ }
+
+ return fuseIndex;
+}
+
+function inputElement() {
+ return window.document.body.querySelector(".aa-Form .aa-Input");
+}
+
+function focusSearchInput() {
+ setTimeout(() => {
+ const inputEl = inputElement();
+ if (inputEl) {
+ inputEl.focus();
+ }
+ }, 50);
+}
+
+/* Panels */
+const kItemTypeDoc = "document";
+const kItemTypeMore = "document-more";
+const kItemTypeItem = "document-item";
+const kItemTypeError = "error";
+
+function renderItem(
+ item,
+ createElement,
+ state,
+ setActiveItemId,
+ setContext,
+ refresh,
+ quartoSearchOptions
+) {
+ switch (item.type) {
+ case kItemTypeDoc:
+ return createDocumentCard(
+ createElement,
+ "file-richtext",
+ item.title,
+ item.section,
+ item.text,
+ item.href,
+ item.crumbs,
+ quartoSearchOptions
+ );
+ case kItemTypeMore:
+ return createMoreCard(
+ createElement,
+ item,
+ state,
+ setActiveItemId,
+ setContext,
+ refresh
+ );
+ case kItemTypeItem:
+ return createSectionCard(
+ createElement,
+ item.section,
+ item.text,
+ item.href
+ );
+ case kItemTypeError:
+ return createErrorCard(createElement, item.title, item.text);
+ default:
+ return undefined;
+ }
+}
+
+function createDocumentCard(
+ createElement,
+ icon,
+ title,
+ section,
+ text,
+ href,
+ crumbs,
+ quartoSearchOptions
+) {
+ const iconEl = createElement("i", {
+ class: `bi bi-${icon} search-result-icon`,
+ });
+ const titleEl = createElement("p", { class: "search-result-title" }, title);
+ const titleContents = [iconEl, titleEl];
+ const showParent = quartoSearchOptions["show-item-context"];
+ if (crumbs && showParent) {
+ let crumbsOut = undefined;
+ const crumbClz = ["search-result-crumbs"];
+ if (showParent === "root") {
+ crumbsOut = crumbs.length > 1 ? crumbs[0] : undefined;
+ } else if (showParent === "parent") {
+ crumbsOut = crumbs.length > 1 ? crumbs[crumbs.length - 2] : undefined;
+ } else {
+ crumbsOut = crumbs.length > 1 ? crumbs.join(" > ") : undefined;
+ crumbClz.push("search-result-crumbs-wrap");
+ }
+
+ const crumbEl = createElement(
+ "p",
+ { class: crumbClz.join(" ") },
+ crumbsOut
+ );
+ titleContents.push(crumbEl);
+ }
+
+ const titleContainerEl = createElement(
+ "div",
+ { class: "search-result-title-container" },
+ titleContents
+ );
+
+ const textEls = [];
+ if (section) {
+ const sectionEl = createElement(
+ "p",
+ { class: "search-result-section" },
+ section
+ );
+ textEls.push(sectionEl);
+ }
+ const descEl = createElement("p", {
+ class: "search-result-text",
+ dangerouslySetInnerHTML: {
+ __html: text,
+ },
+ });
+ textEls.push(descEl);
+
+ const textContainerEl = createElement(
+ "div",
+ { class: "search-result-text-container" },
+ textEls
+ );
+
+ const containerEl = createElement(
+ "div",
+ {
+ class: "search-result-container",
+ },
+ [titleContainerEl, textContainerEl]
+ );
+
+ const linkEl = createElement(
+ "a",
+ {
+ href: offsetURL(href),
+ class: "search-result-link",
+ },
+ containerEl
+ );
+
+ const classes = ["search-result-doc", "search-item"];
+ if (!section) {
+ classes.push("document-selectable");
+ }
+
+ return createElement(
+ "div",
+ {
+ class: classes.join(" "),
+ },
+ linkEl
+ );
+}
+
+function createMoreCard(
+ createElement,
+ item,
+ state,
+ setActiveItemId,
+ setContext,
+ refresh
+) {
+ const moreCardEl = createElement(
+ "div",
+ {
+ class: "search-result-more search-item",
+ onClick: (e) => {
+ // Handle expanding the sections by adding the expanded
+ // section to the list of expanded sections
+ toggleExpanded(item, state, setContext, setActiveItemId, refresh);
+ e.stopPropagation();
+ },
+ },
+ item.title
+ );
+
+ return moreCardEl;
+}
+
+function toggleExpanded(item, state, setContext, setActiveItemId, refresh) {
+ const expanded = state.context.expanded || [];
+ if (expanded.includes(item.target)) {
+ setContext({
+ expanded: expanded.filter((target) => target !== item.target),
+ });
+ } else {
+ setContext({ expanded: [...expanded, item.target] });
+ }
+
+ refresh();
+ setActiveItemId(item.__autocomplete_id);
+}
+
+function createSectionCard(createElement, section, text, href) {
+ const sectionEl = createSection(createElement, section, text, href);
+ return createElement(
+ "div",
+ {
+ class: "search-result-doc-section search-item",
+ },
+ sectionEl
+ );
+}
+
+function createSection(createElement, title, text, href) {
+ const descEl = createElement("p", {
+ class: "search-result-text",
+ dangerouslySetInnerHTML: {
+ __html: text,
+ },
+ });
+
+ const titleEl = createElement("p", { class: "search-result-section" }, title);
+ const linkEl = createElement(
+ "a",
+ {
+ href: offsetURL(href),
+ class: "search-result-link",
+ },
+ [titleEl, descEl]
+ );
+ return linkEl;
+}
+
+function createErrorCard(createElement, title, text) {
+ const descEl = createElement("p", {
+ class: "search-error-text",
+ dangerouslySetInnerHTML: {
+ __html: text,
+ },
+ });
+
+ const titleEl = createElement("p", {
+ class: "search-error-title",
+ dangerouslySetInnerHTML: {
+ __html: ` ${title}`,
+ },
+ });
+ const errorEl = createElement("div", { class: "search-error" }, [
+ titleEl,
+ descEl,
+ ]);
+ return errorEl;
+}
+
+function positionPanel(pos) {
+ const panelEl = window.document.querySelector(
+ "#quarto-search-results .aa-Panel"
+ );
+ const inputEl = window.document.querySelector(
+ "#quarto-search .aa-Autocomplete"
+ );
+
+ if (panelEl && inputEl) {
+ panelEl.style.top = `${Math.round(panelEl.offsetTop)}px`;
+ if (pos === "start") {
+ panelEl.style.left = `${Math.round(inputEl.left)}px`;
+ } else {
+ panelEl.style.right = `${Math.round(inputEl.offsetRight)}px`;
+ }
+ }
+}
+
+/* Highlighting */
+// highlighting functions
+function highlightMatch(query, text) {
+ if (text) {
+ const start = text.toLowerCase().indexOf(query.toLowerCase());
+ if (start !== -1) {
+ const startMark = "";
+ const endMark = "";
+
+ const end = start + query.length;
+ text =
+ text.slice(0, start) +
+ startMark +
+ text.slice(start, end) +
+ endMark +
+ text.slice(end);
+ const startInfo = clipStart(text, start);
+ const endInfo = clipEnd(
+ text,
+ startInfo.position + startMark.length + endMark.length
+ );
+ text =
+ startInfo.prefix +
+ text.slice(startInfo.position, endInfo.position) +
+ endInfo.suffix;
+
+ return text;
+ } else {
+ return text;
+ }
+ } else {
+ return text;
+ }
+}
+
+function clipStart(text, pos) {
+ const clipStart = pos - 50;
+ if (clipStart < 0) {
+ // This will just return the start of the string
+ return {
+ position: 0,
+ prefix: "",
+ };
+ } else {
+ // We're clipping before the start of the string, walk backwards to the first space.
+ const spacePos = findSpace(text, pos, -1);
+ return {
+ position: spacePos.position,
+ prefix: "",
+ };
+ }
+}
+
+function clipEnd(text, pos) {
+ const clipEnd = pos + 200;
+ if (clipEnd > text.length) {
+ return {
+ position: text.length,
+ suffix: "",
+ };
+ } else {
+ const spacePos = findSpace(text, clipEnd, 1);
+ return {
+ position: spacePos.position,
+ suffix: spacePos.clipped ? "…" : "",
+ };
+ }
+}
+
+function findSpace(text, start, step) {
+ let stepPos = start;
+ while (stepPos > -1 && stepPos < text.length) {
+ const char = text[stepPos];
+ if (char === " " || char === "," || char === ":") {
+ return {
+ position: step === 1 ? stepPos : stepPos - step,
+ clipped: stepPos > 1 && stepPos < text.length,
+ };
+ }
+ stepPos = stepPos + step;
+ }
+
+ return {
+ position: stepPos - step,
+ clipped: false,
+ };
+}
+
+// removes highlighting as implemented by the mark tag
+function clearHighlight(searchterm, el) {
+ const childNodes = el.childNodes;
+ for (let i = childNodes.length - 1; i >= 0; i--) {
+ const node = childNodes[i];
+ if (node.nodeType === Node.ELEMENT_NODE) {
+ if (
+ node.tagName === "MARK" &&
+ node.innerText.toLowerCase() === searchterm.toLowerCase()
+ ) {
+ el.replaceChild(document.createTextNode(node.innerText), node);
+ } else {
+ clearHighlight(searchterm, node);
+ }
+ }
+ }
+}
+
+function escapeRegExp(string) {
+ return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
+}
+
+// highlight matches
+function highlight(term, el) {
+ const termRegex = new RegExp(term, "ig");
+ const childNodes = el.childNodes;
+
+ // walk back to front avoid mutating elements in front of us
+ for (let i = childNodes.length - 1; i >= 0; i--) {
+ const node = childNodes[i];
+
+ if (node.nodeType === Node.TEXT_NODE) {
+ // Search text nodes for text to highlight
+ const text = node.nodeValue;
+
+ let startIndex = 0;
+ let matchIndex = text.search(termRegex);
+ if (matchIndex > -1) {
+ const markFragment = document.createDocumentFragment();
+ while (matchIndex > -1) {
+ const prefix = text.slice(startIndex, matchIndex);
+ markFragment.appendChild(document.createTextNode(prefix));
+
+ const mark = document.createElement("mark");
+ mark.appendChild(
+ document.createTextNode(
+ text.slice(matchIndex, matchIndex + term.length)
+ )
+ );
+ markFragment.appendChild(mark);
+
+ startIndex = matchIndex + term.length;
+ matchIndex = text.slice(startIndex).search(new RegExp(term, "ig"));
+ if (matchIndex > -1) {
+ matchIndex = startIndex + matchIndex;
+ }
+ }
+ if (startIndex < text.length) {
+ markFragment.appendChild(
+ document.createTextNode(text.slice(startIndex, text.length))
+ );
+ }
+
+ el.replaceChild(markFragment, node);
+ }
+ } else if (node.nodeType === Node.ELEMENT_NODE) {
+ // recurse through elements
+ highlight(term, node);
+ }
+ }
+}
+
+/* Link Handling */
+// get the offset from this page for a given site root relative url
+function offsetURL(url) {
+ var offset = getMeta("quarto:offset");
+ return offset ? offset + url : url;
+}
+
+// read a meta tag value
+function getMeta(metaName) {
+ var metas = window.document.getElementsByTagName("meta");
+ for (let i = 0; i < metas.length; i++) {
+ if (metas[i].getAttribute("name") === metaName) {
+ return metas[i].getAttribute("content");
+ }
+ }
+ return "";
+}
+
+function algoliaSearch(query, limit, algoliaOptions) {
+ const { getAlgoliaResults } = window["@algolia/autocomplete-preset-algolia"];
+
+ const applicationId = algoliaOptions["application-id"];
+ const searchOnlyApiKey = algoliaOptions["search-only-api-key"];
+ const indexName = algoliaOptions["index-name"];
+ const indexFields = algoliaOptions["index-fields"];
+ const searchClient = window.algoliasearch(applicationId, searchOnlyApiKey);
+ const searchParams = algoliaOptions["params"];
+ const searchAnalytics = !!algoliaOptions["analytics-events"];
+
+ return getAlgoliaResults({
+ searchClient,
+ queries: [
+ {
+ indexName: indexName,
+ query,
+ params: {
+ hitsPerPage: limit,
+ clickAnalytics: searchAnalytics,
+ ...searchParams,
+ },
+ },
+ ],
+ transformResponse: (response) => {
+ if (!indexFields) {
+ return response.hits.map((hit) => {
+ return hit.map((item) => {
+ return {
+ ...item,
+ text: highlightMatch(query, item.text),
+ };
+ });
+ });
+ } else {
+ const remappedHits = response.hits.map((hit) => {
+ return hit.map((item) => {
+ const newItem = { ...item };
+ ["href", "section", "title", "text", "crumbs"].forEach(
+ (keyName) => {
+ const mappedName = indexFields[keyName];
+ if (
+ mappedName &&
+ item[mappedName] !== undefined &&
+ mappedName !== keyName
+ ) {
+ newItem[keyName] = item[mappedName];
+ delete newItem[mappedName];
+ }
+ }
+ );
+ newItem.text = highlightMatch(query, newItem.text);
+ return newItem;
+ });
+ });
+ return remappedHits;
+ }
+ },
+ });
+}
+
+function fuseSearch(query, fuse, fuseOptions) {
+ return fuse.search(query, fuseOptions).map((result) => {
+ const addParam = (url, name, value) => {
+ const anchorParts = url.split("#");
+ const baseUrl = anchorParts[0];
+ const sep = baseUrl.search("\\?") > 0 ? "&" : "?";
+ anchorParts[0] = baseUrl + sep + name + "=" + value;
+ return anchorParts.join("#");
+ };
+
+ return {
+ title: result.item.title,
+ section: result.item.section,
+ href: addParam(result.item.href, kQueryArg, query),
+ text: highlightMatch(query, result.item.text),
+ crumbs: result.item.crumbs,
+ };
+ });
+}
diff --git a/sitemap.xml b/sitemap.xml
new file mode 100644
index 0000000..2ecfafc
--- /dev/null
+++ b/sitemap.xml
@@ -0,0 +1,79 @@
+
+