<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _scale_shape(dshape, scale = (1,1,1)):
 """returns the shape after scaling (should be the same as ndimage.zoom"""

    nshape = np.round(np.array(dshape) * np.array(scale))
    return tuple(nshape.astype(np.int))