Comparison of the critical current anisotropy in YBaCuO and BiSrCaCuO films