def compute_bytes_per_voxel(file_data_type):
    """Returns number of bytes required to store one voxel for the given
    ElementType """

    switcher = {
        'VolumeDataType_Float': 4
    }
    return switcher.get(file_data_type, 2)