ENH: normalize by metadata