Foton should give useful warnings when users put in frequencies past the nyquist frequency.
Right now if you put a frequency that's too big, you get obscure errors that don't immediately make sense, but foton should let it be known the frequency is out of range.