def _calc_uvw_per_ant(cache, name, ant):
    """Calculate (u,v,w) coordinates per antenna using sensor cache contents."""
    array_antenna = cache.get('Antennas/array/antenna')[0]
    antenna = cache.get('Antennas/%s/antenna' % (ant,))[0]
    basis = cache.get('Antennas/array/basis_' + name[-1])
    # Obtain baseline vector from array reference to specified antenna
    baseline_m = array_antenna.baseline_toward(antenna)
    coord = basis.dot(baseline_m)
    cache[name] = coord
    return coord