modified sim_npy to use population signals