Skip to main content

Sapsan project

Project description

Sapsan Sapsan logo

Sapsan is a pipeline for easy Machine Learning implementation in scientific projects. That being said, its primary goal and featured models are geared towards dynamic MHD turbulence subgrid modeling. Sapsan will soon feature Physics-Informed Machine Learning models in its set of tools to accurately capture the turbulent nature applicable to Core-Collapse Supernovae.

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. Clone from git (recommended)

git clone https://github.com/pikarpov-LANL/Sapsan.git
cd Sapsan/
python setup.py install

For GPU enabled version change the last line to

python setup_gpu.py install

2. Install via pip (cpu-only)

pip install sapsan

Note: make sure you are using the latest release version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sapsan-0.2.6.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

sapsan-0.2.6-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file sapsan-0.2.6.tar.gz.

File metadata

  • Download URL: sapsan-0.2.6.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for sapsan-0.2.6.tar.gz
Algorithm Hash digest
SHA256 c1fe32d7db3a584f7ba7fdb63d6dc147872f7137fb1674ffaa33922f9899c20c
MD5 31f240f881389ed98f255e01112d3b54
BLAKE2b-256 e4e66d2eb088fe08d55c1eba1df2233938e1734ce65122059fea775961b48b91

See more details on using hashes here.

Provenance

File details

Details for the file sapsan-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: sapsan-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for sapsan-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 12bcfa4dbba2ed56c191b1d8cd6718e98e9e9a89d7637192fb8c1efd6d6b43bb
MD5 1b9ab0d69a1e08977bb7958e196f1269
BLAKE2b-256 def4e9165a04e83d0f0c8434200110d77a9dd7f79242a815ec2e9ed8b67969b1

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page