broadcast_to_cube

mpdaf.tools.broadcast_to_cube(arr, shape)[source]

Broadcast an array (image or spectrum to a cube.