python - Step function with linear inteval in numpy - Stack Overflow

python - Step function with linear inteval in numpy - Stack Overflow