In #19, we discovered that sampling rates can interact with the default parametrization of the Savitzgy Golay filter, leading to inappropriate filter set up that causes remodnav to crash.
This change safe-guards a crash by failing slightly earlier, checking if the parametrization is correct, and advising how to fix it if not. @mih, I appreciate your feedback. :)
In #19, we discovered that sampling rates can interact with the default parametrization of the Savitzgy Golay filter, leading to inappropriate filter set up that causes remodnav to crash. This change safe-guards a crash by failing slightly earlier, checking if the parametrization is correct, and advising how to fix it if not. @mih, I appreciate your feedback. :)