def validate_known_curve():
plt.figure()<EOL>N = <NUM_LIT:100><EOL>x = numpy.linspace(-<NUM_LIT:1>, <NUM_LIT:1>, N)<EOL>y = numpy.sin(<NUM_LIT:4> * x)<EOL>smoother.DEFAULT_BASIC_SMOOTHER = smoother.BasicFixedSpanSmootherSlowUpdate<EOL>smooth = smoother.perform_smooth(x, y, smoother_cls=supersmoother.SuperSmoother)<EOL>plt.plot(x, smooth.smooth_result, label='<STR_LIT>')<EOL>smoother.DEFAULT_BASIC_SMOOTHER = smoother.BasicFixedSpanSmoother<EOL>smooth = smoother.perform_smooth(x, y, smoother_cls=supersmoother.SuperSmoother)<EOL>plt.plot(x, smooth.smooth_result, label='<STR_LIT>')<EOL>plt.plot(x, y, '<STR_LIT:.>', label='<STR_LIT:data>')<EOL>plt.legend()<EOL>plt.show()<EOL>
Validate on a sin function.