Filter CHOP: Mathematical definition of Gaussian filter width

Hi, I’m working on reproducing the Filter CHOP’s Gaussian smoothing behavior in JavaScript.

I’ve been using Gaussian filtering with a Filter Width of 1 second, and I’d like to understand the exact mathematical implementation.

Specifically, how does Filter Width relate to the Gaussian standard deviation (σ)? Is the kernel truncated at a particular number of standard deviations?

I’m also curious how the filter handles samples near the boundaries of a channel.

Is this documented anywhere, or could someone from Derivative clarify the implementation?

Thanks!