Closed guiguem closed 7 years ago
What about using a butterworth? It is smooth and somewhat reminiscent of the bandpass filter physically there.
That might be enough. What would be the order of the butterworth?
A butterworth filter method has been added to the private functions directory: its amplitude is set to one and has two edges.
A true Heaviside function as prior is not very nice with Stan, because of the discontinuities. We need to define a new prior function which provides continuous edges (L2 might be enough) and implement it in the functions folder in scripts.