<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_center_of_mass(image):
 """ Compute an image center of mass in physical space which is defined as the mean of the intensity weighted voxel coordinate system. ANTsR function: `getCenterOfMass` Arguments --------- image : ANTsImage image from which center of mass will be computed Returns ------- scalar Example ------- """

    if image.pixeltype != 'float':
        image = image.clone('float')

    libfn = utils.get_lib_fn('centerOfMass%s' % image._libsuffix)
    com = libfn(image.pointer)

    return tuple(com)