Skip to content

Commit 8268751

Browse files
Add a tutorial on rotating equivariants (#102)
Add a tutorial on rotating equivariants --------- Co-authored-by: Michelangelo Domina <[email protected]>
1 parent cea3528 commit 8268751

File tree

6 files changed

+391
-0
lines changed

6 files changed

+391
-0
lines changed

docs/src/software/rascaline.sec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ version from the `github repository <https://github.com/Luthaf/rascaline>`_
1515
- examples/roy-gch/roy-gch
1616
- examples/sample-selection/sample-selection
1717
- examples/periodic-hamiltonian/periodic-hamiltonian
18+
- examples/rotate-equivariants/rotate-equivariants

examples/heat-capacity/heat-capacity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
model <http://doi.org/10.1063/1.3167790>`_.
1515
"""
1616

17+
# %%
18+
1719
import os
1820
import subprocess
1921
import time
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Rotating equivariant properties
2+
===============================
3+
4+
This example goes through the rotation of spherical tensor properties.
5+
This basic, but not obvious, technique is useful in the context of
6+
training non-equivariant neural networks with rotational augmentation
7+
or writing tests for equivariant operations within rotationally equivariant
8+
models.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- python=3.11
5+
- pip
6+
- pip:
7+
- ase==3.22.1
8+
- spherical
9+
- featomic
Loading

0 commit comments

Comments
 (0)