heat 1d np program to generate halide schedules