Sapsan project
Project description
Sapsan
Sapsan is a pipeline for Machine Learning (ML) based turbulence modeling. While turbulence is important in a wide range of mediums, the pipeline primarily focuses on astrophysical application. With Sapsan, one can create their own custom models or use either conventional or physics-informed ML approaches for turbulence modeling included with the pipeline (estimators). Sapsan is designed to take out all the hard work from data preparation and analysis, leaving you focused on ML model design, layer by layer.
Feel free to check out a website version at sapsan.app. The interface is indentical to the GUI of the local version of Sapsan, except lacking the ability to edit the model code on the fly.
Sapsan's Wiki
Please refer to Sapsan's github wiki to learn more about framework's details and capabilities.
Quick Start
1. Install PyTorch (prerequisite)
Sapsan can be run on both cpu and gpu. Please follow the instructions on PyTorch to install the latest version (torch>=1.7.1 & CUDA>=11.0).
2. Clone from git (recommended)
git clone https://github.com/pikarpov-LANL/Sapsan.git
cd Sapsan/
python setup.py install
OR Install via pip
pip install sapsan
Note: see Installation Page on the Wiki for complete instructions with Graphviz and Docker installation.
Run Examples
To make sure everything is alright and to familiarize yourself with the interface, please run the following CNN example on 3D data:
jupyter notebook sapsan/examples/cnn_example.ipynb
alternatively, you can try out the physics-informed convolutional auto-encoder (PICAE) example on random 3D data:
jupyter notebook sapsan/examples/picae_example.ipynb
or a KRR example on 2D data:
jupyter notebook sapsan/examples/krr_example.ipynb
Sapsan has a BSD-style license, as found in the LICENSE file.
© (or copyright) 2019. Triad National Security, LLC. All rights reserved. This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sapsan-0.2.9.tar.gz
.
File metadata
- Download URL: sapsan-0.2.9.tar.gz
- Upload date:
- Size: 50.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ad8f9d9449f2532da45c3c7b912eaf156d5d51d342fd6269088f8a2002b67b |
|
MD5 | 901660f7942fc4ebad58da46e9374eb0 |
|
BLAKE2b-256 | c901d1b655de2e5f7203bd71bc6f471cc0e55677ddfd157e391d683efc3776cf |
Provenance
File details
Details for the file sapsan-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: sapsan-0.2.9-py3-none-any.whl
- Upload date:
- Size: 67.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b0f6c57af4b17ca164e7e7eeab1150294b638dffc2684a87797e9e52670c434 |
|
MD5 | a892f2a77d1f80b1940974a1821ec2d4 |
|
BLAKE2b-256 | d4e7d32d40c4e2a85eaac2b503972c1cbe82b80662fd6fb12332ff459e4dfe98 |