<human>:  Creating a numpy array of 3D coordinates from three 1D arrays
<bot>: Here is some code to creating a numpy array of 3d coordinates from three 1d arrays `x_p`, `y_p` and `z_p`

np.vstack(np.meshgrid(x_p, y_p, z_p)).reshape(3, -1).T

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.