2. Filtering
The default grid-independent filter function used in HyMD is a Gaussian
with reciprocal space representation
The coarse-graining parameter
sigma = 0.75
2.1. Implementing new filters
Implementing new filter functions is straightforward by hijacking
the setup
method of the Hamiltonian superclass. The new filter is
automatically applied and differentiated through the potential and interaction
energy functional.