Skip to main content

Python package for the data-driven Rosenbluth-Fokker-Planck equation.

Project description

Python Package for the Rosenbluth Fokker Planck (RFP) Equation

Currently, heavily under renovation (refactoring) from my old code (in my other private repository)

Description

This package is refactored version of a part of the pystops_ml code. I've separated only data generation and training part from pystops_ml.

Unlike pystops_ml, this module doesn't utilize distributed training. (DDP feature not needed)

This code is part of my paper, Data-Driven Stochastic Particle Scheme for Collisional Plasma Simulations.

  • Preprint is available at SSRN

Features

  • Data generation
    • Uncertainty quantification using the maximum entropy distribution (using pymaxed)
    • Axisymmetric evaluation of the Rosenbluth potentials and their derivatives
  • Data training: supports cpu, cuda, and mps training
  • Data-driven simulation: rfp-ann

Installation

You can install via pip

$python3 -m pip install pyrfp

Dependencies

  • Global

  • python >=3.10

  • torch >= 1.13.1

  • Personal project

    • pymaxed (for the Maximum Entropy Distribution)
    • pyapes (for the field solver)
    • pymytools (miscellaneous tools including data IO, logging, and progress bar)

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

pyrfp-0.1.2.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

pyrfp-0.1.2-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pyrfp-0.1.2.tar.gz.

File metadata

  • Download URL: pyrfp-0.1.2.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for pyrfp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 922f09bfcd189cf017ebfa04477a1a036f0c645619a082993866bb0de60deb98
MD5 618f871876076ea0cf0808e06140cff3
BLAKE2b-256 294069ff771b6d148fc3e7aae787e804445883ea77cfac2b8c103ee078caea73

See more details on using hashes here.

File details

Details for the file pyrfp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyrfp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for pyrfp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd3fa3334d0129088589a96309947e638b823ab7ca820ed396361cdb9cdbc63
MD5 12362b8de158d3a2d9804e437b176078
BLAKE2b-256 c5479b41ef3f65ee5c82fe93253f63b966f30a08aa42637307d064fecfe639f1

See more details on using hashes here.

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