-InMinMax::Matrix, OutMinMax::Matrix)</code></pre><p>This is the fundamental struct used to obtain the <span>$C_\ell$</span>'s from an emulator. It contains:</p><ul><li><p><code>TrainedEmulator::AbstractTrainedEmulators</code>, the trained emulator</p></li><li><p><code>ℓgrid::AbstractVector</code>, the <span>$\ell$</span>-grid the emulator has been trained on.</p></li><li><p><code>InMinMax::AbstractMatrix</code>, the <code>Matrix</code> used for the MinMax normalization of the input features</p></li><li><p><code>OutMinMax::AbstractMatrix</code>, the <code>Matrix</code> used for the MinMax normalization of the output features</p></li><li><p><code>Postprocessing::Function</code>, the <code>Function</code> used for the postprocessing of the NN output</p></li></ul></div><a class="docs-sourcelink" target="_blank" href="https://github.com/CosmologicalEmulators/Capse.jl/blob/6948f27d716a0686237e702252febfeeed105a5c/src/Capse.jl#L14-L30">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Capse.get_Cℓ" href="#Capse.get_Cℓ"><code>Capse.get_Cℓ</code></a> — <span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">get_Cℓ(input_params, Cℓemu::AbstractCℓEmulators)</code></pre><p>Computes and returns the <span>$C_\ell$</span>'s on the <span>$\ell$</span>-grid the emulator has been trained on given input array <code>input_params</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/CosmologicalEmulators/Capse.jl/blob/6948f27d716a0686237e702252febfeeed105a5c/src/Capse.jl#L41-L45">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Capse.get_ℓgrid" href="#Capse.get_ℓgrid"><code>Capse.get_ℓgrid</code></a> — <span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">get_ℓgrid(CℓEmulator::AbstractCℓEmulators)</code></pre><p>Returns the <span>$\ell$</span>-grid the emulator has been trained on.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/CosmologicalEmulators/Capse.jl/blob/6948f27d716a0686237e702252febfeeed105a5c/src/Capse.jl#L53-L56">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="AbstractCosmologicalEmulators.get_emulator_description" href="#AbstractCosmologicalEmulators.get_emulator_description"><code>AbstractCosmologicalEmulators.get_emulator_description</code></a> — <span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">get_emulator_description(Cℓemu::AbstractCℓEmulators)</code></pre><p>Print on screen the emulator description.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/CosmologicalEmulators/Capse.jl/blob/6948f27d716a0686237e702252febfeeed105a5c/src/Capse.jl#L61-L64">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Capse.load_emulator" href="#Capse.load_emulator"><code>Capse.load_emulator</code></a> — <span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">load_emulator(path::String, emu_backend::AbstractTrainedEmulators)</code></pre><p>Load the emulator with the files in the folder <code>path</code>, using the backend defined by <code>emu_backend</code>. The following keyword arguments are used to specify the name of the files used to load the emulator:</p><ul><li><code>ℓ_file</code>, default <code>l.npy</code></li><li><code>weights_file</code>, default <code>weights.npy</code></li><li><code>inminmax_file</code>, default <code>inminmax.npy</code></li><li><code>outminmax_file</code>, default <code>outminmax.npy</code></li><li><code>nn_setup_file</code>, default <code>nn_setup.json</code></li><li><code>postprocessing_file</code>, default <code>postprocessing.jl</code></li></ul><p>If the corresponding file in the folder you are trying to load have different names, change the default values accordingly.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/CosmologicalEmulators/Capse.jl/blob/6948f27d716a0686237e702252febfeeed105a5c/src/Capse.jl#L69-L81">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Sunday 19 January 2025 08:48">Sunday 19 January 2025</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments