Tissue-weighted smoothing little demo.
The repo contains some code to generate synthetic 1D signal "as in the brain", i.e. for 3 tissue classes, then classical Gaussian smoothing and tissue-weighted smoothing are applied.
See the technical note for further explanations.