flattop
Command
blend window1d -R0/10 -I0.1 -Fflattop -T0.3/0.3 > flattop.txt
Figure
Source
#!/bin/sh
set -eu
if [ "${BLEND:-}" ]; then
blend_program=$BLEND
elif [ -x "../../../build/blend" ]; then
blend_program="../../../build/blend"
else
blend_program="blend"
fi
"$blend_program" window1d -R0/10 -I0.1 -Fflattop -T0.3/0.3 > flattop.txt
printf 'Wrote flattop.txt\n'