-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from apax-hub/docs
Docs update
- Loading branch information
Showing
29 changed files
with
2,163 additions
and
2,068 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
jobs: | ||
post_install: | ||
- pip install poetry | ||
- poetry config virtualenvs.create false | ||
- poetry install --with=docs | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/source/conf.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Tutorials | ||
========= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
md_with_ase | ||
molecular_dynamics | ||
training_a_model | ||
transfer_learning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Getting Started | ||
=============== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
============ | ||
Installation | ||
============ | ||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,14 @@ | ||
.. apax documentation master file, created by | ||
sphinx-quickstart on Wed Jan 25 21:12:03 2023. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
=================================================== | ||
apax: Gaussian Moment Neural Networks - in Jax! | ||
apax: Atomistic learned Potentials in JAX! | ||
=================================================== | ||
|
||
`apax` is an implementation of Gaussian Moment Neural Networks in Jax. | ||
It facilitates the training and evaluation of atomistic neural networks, notably GM-NN, for molecular simulations. | ||
Building on top of Jax allows for easy integration with the high-performance molecular dynamics engine `JaxMD <https://github.com/jax-md/jax-md>`_ | ||
|
||
Contents | ||
======== | ||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Getting Started | ||
|
||
getting_started/install | ||
|
||
.. .. toctree:: TODO | ||
.. :maxdepth: 1 | ||
.. :caption: Tutorials | ||
|
||
.. tutorials/... | ||
`apax` is a high-performance, extendable package for training of and inference with atomistic neural networks., most prominently the Gaussian Moment Neural Network. | ||
It is based on [JAX](https://jax.readthedocs.io/en/latest/) and uses [JaxMD](https://github.com/jax-md/jax-md) as a molecular dynamics engine. | ||
|
||
Package | ||
======= | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Package | ||
|
||
Config | ||
===================== | ||
.. automodule:: apax.config | ||
:members: | ||
|
||
.. modules/index | ||
Indices and Tables | ||
================== | ||
:hidden: | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
getting_started/index | ||
_tutorials/index | ||
modules/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Batch Active Learning | ||
===================== | ||
|
||
.. automodule:: apax.bal.api | ||
:members: | ||
|
||
.. automodule:: apax.bal.feature_maps | ||
:members: | ||
|
||
.. automodule:: apax.bal.kernel | ||
:members: | ||
|
||
.. automodule:: apax.bal.selection | ||
:members: | ||
|
||
.. automodule:: apax.bal.transforms | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Command Line Interface | ||
====================== | ||
|
||
.. automodule:: apax.cli.apax_app | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
Data Pipeline | ||
============== | ||
============== | ||
|
||
:mod:`apax.data` | ||
|
||
.. automodule:: apax.data.preprocessing | ||
:members: | ||
|
||
.. automodule:: apax.data.initialization | ||
:members: | ||
|
||
.. automodule:: apax.data.input_pipeline | ||
:members: | ||
|
||
.. automodule:: apax.data.statistics | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
Layers | ||
====== | ||
|
||
|
||
.. automodule:: apax.layers.activation | ||
:members: | ||
|
||
.. automodule:: apax.layers.empirical | ||
:members: | ||
|
||
.. automodule:: apax.layers.initializers | ||
:members: | ||
|
||
.. automodule:: apax.layers.masking | ||
:members: | ||
|
||
.. automodule:: apax.layers.ntk_linear | ||
:members: | ||
|
||
.. automodule:: apax.layers.properties | ||
:members: | ||
|
||
.. automodule:: apax.layers.readout | ||
:members: | ||
|
||
.. automodule:: apax.layers.scaling | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
Molecular Dynamics | ||
================== | ||
|
||
.. automodule:: apax.md.ase_calc | ||
:members: | ||
|
||
.. automodule:: apax.md.function_transformations | ||
:members: | ||
|
||
.. automodule:: apax.md.io | ||
:members: | ||
|
||
.. automodule:: apax.md.nvt | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
Model | ||
===== | ||
===== | ||
|
||
.. automodule:: apax.model.builder | ||
:members: | ||
|
||
.. automodule:: apax.model.gmnn | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
Optimizers | ||
========== | ||
|
||
.. automodule:: apax.optimizer.get_optimizer | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
Training | ||
======== | ||
|
||
.. automodule:: apax.train.callbacks | ||
:members: | ||
|
||
.. automodule:: apax.train.checkpoints | ||
:members: | ||
|
||
.. automodule:: apax.train.eval | ||
:members: | ||
|
||
.. automodule:: apax.train.loss | ||
:members: | ||
|
||
.. automodule:: apax.train.metrics | ||
:members: | ||
|
||
.. automodule:: apax.train.run | ||
:members: | ||
|
||
.. automodule:: apax.train.trainer | ||
:members: |
Oops, something went wrong.