stronger validation for spectrum analyzer input