A free and open source programming library for landscape metrics calculations