Here’s an implementation that’s part of one of our in-progress PRs. You should be able to just copy that implementation into your own code to give it a try, too. It’s slightly different than yours; you can use the example code to plot the frequency response of both of them to compare.
And yes, you can use it in the synapse on a Connection
.