can you catch the `KeyError` here as well and provide a more informative error message? it's slightly annoying when you pass a frequency that isn't defined and you get a `KeyError`. there *is* a test for this, so it's acknowledged that it does raise but it's not very user-friendly