Skip to main content

Fokker-Planck Score Learning: Efficient Free-Energy Estimation Under Periodic Boundary Conditions

This package contains a proof-of-concept implementation of the Fokker-Planck score learning approach.

This package is published in:

Fokker-Planck Score Learning: Efficient Free-Energy Estimation Under Periodic Boundary Conditions,
D. Nagel, and T. Bereau,
arXiv 2025,
doi: 10.48550/arXiv.2506.15653

We kindly ask you to cite this article in case you use this software package for published works.

Features

  • TBA
  • Documentation including tutorials
  • Supports Python 3.10-3.13

Getting started

Installation

The package is called fpsl and will be soon available via PyPI. To install it, simply call:

python3 -m pip install fpsl

For now, you can install it from github. Download the repo and setup an env with with fpsl installed with uv. If you do not have uv you can get it here.

uv sync --extra cuda  # if you have an Nvidia GPU

Usage

Add here a short example.

import fpsl

ddm = fps.DrivenDDM(
    sigma_min=1e-3,
    symmetric=True,
    fourier_features=4,
    ...,
)
# load x position of MD trajectory and forces f
ddm.train(
    ...
)
...

Metadata

Release files for fpsl 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fpsl 0.2.0
File Size Uploaded
fpsl-0.2.0.tar.gz 500.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fpsl 0.2.0
File Interpreter ABI Platform
fpsl-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 528.2 kB

Release files / fpsl-0.2.0.tar.gz

Download URL fpsl-0.2.0.tar.gz
Size 500.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9164fc49c8e67afd8abd52e81621a66aaaa92080fa4beaf20c2c4848671da4bc
BLAKE2b-256 checksum
How to use checksums
66f06cbef0f03b201b4a5cc93ca616bacb983969af4e7e1402e823b4ad01ef15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.5

Release files / fpsl-0.2.0-py3-none-any.whl

Download URL fpsl-0.2.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dee029a84d30c5526778349179fb2d9729982840011873d7e56c6c9839d35629
BLAKE2b-256 checksum
How to use checksums
5699b457cdd4e9bf189fa5b34d7e24ea7576b4e6929363cedd18b488f14ba12b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page