Critical current anisotropy in YBCO superconducting samples