Git Product home page Git Product logo

buqeye / frontiers-emulator-review Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 2.0 5.65 MB

Supplemental Material for "BUQEYE Guide to Projection-Based Emulators in Nuclear Physics"

License: MIT License

Python 77.18% Jupyter Notebook 22.82%
eigenvector-continuation emulators model-order-reduction model-reduction nuclear-physics reduced-basis reduced-order-modeling reduced-order-models scattering-physics parametric

frontiers-emulator-review's Introduction

BUQEYE Guide to Projection-Based Emulators in Nuclear Physics (Frontiers in Physics Article)

The BUQEYE collaboration presents a pedagogical introduction to projection-based, reduced-order emulators for applications in low-energy nuclear physics. All examples discussed in our Frontiers in Physics Article "BUQEYE Guide to Projection-Based Emulators in Nuclear Physics" (arXiv:2212.04912) and more are available here as interactive, open-source Python code so that practitioners can readily adapt projection-based emulators for their own work.

Documentation

The documentation is written using Quarto. Download the latest version of Quarto from here and then spin it up in development using

python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
export PYTHONPATH=$PYTHONPATH:`pwd`
quarto preview docs

Alternatively, you can spin it up using the management system conda:

conda env create -f environment.yml
conda activate frontiers-emulator-env
pip3 install .
quarto preview docs

The following flags are helpful:

  • --no-browser if you are developing in a supported IDE (VS Code)
  • --no-watch-inputs if you don't want the docs updating after every save, which is helpful if it takes a long time to build
  • --port Choose a default port (e.g., 1234) so that your browser link will not change. This is not necessary because a default is set in the _quarto.yml file.
  • Rather than specify docs you can instead use a file name to only render that file.

The files docs/*.qmd contain the sections of our manuscript. The user has these options to take advantage of the interactive content:

  • quarto convert docs/[filename].qmd converts the document docs/[filename].qmd to an interactive Jupyter Notebook, which can be evaluated cell by cell.
  • one can use any editor or IDE to edit the files docs/*.qmd and let quarto re-render the website on-the-fly using quarto preview docs. VS Code provides an extension for quarto.

A tutorial on using quarto can be found here.

Cite this work

Please cite this repository as:

@article{Drischler:2022ipa,
    author = "Drischler, C. and Melendez, J. A. and Furnstahl, R. J. and Garcia, A. J. and Zhang, Xilin",
    title = "{BUQEYE Guide to Projection-Based Emulators in Nuclear Physics}",
    eprint = "2212.04912",
    archivePrefix = "arXiv",
    primaryClass = "nucl-th",
    month = "12",
    JOURNAL={Front. Phys.},      
    VOLUME={10},
    pages=92931,
    YEAR={2023},      
    URL={https://www.frontiersin.org/articles/10.3389/fphy.2022.1092931},       
    DOI={10.3389/fphy.2022.1092931},    
    note          = {supplemental, interactive Python code can be found on the companion website~\url{https://github.com/buqeye/frontiers-emulator-review}},
    ISSN={2296-424X}   
}

See also our published literature guide Model reduction methods for nuclear emulators.

frontiers-emulator-review's People

Contributors

ajg91 avatar cdrischler avatar furnstahl avatar jordan-melendez avatar xilinz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.