"""
Creation of Anisotropy Functions
================================

This examples shows how to use GeoAssistant capabilities to define anisotropy functions for
slopes using structural domains info and slopes orientations.
"""

fdir = "../../02. Antecedentes/13. Modelo estructural/02. Structural domains/02. Stereonets/"

# sdomains = geoassistant.StructuralDomainsCollection(name="DE PANA CTM")
# for fname in os.listdir(fdir):
#     ext = fname.split(".")[-1]
#     if ext == "dips8":
#         sdomain_id = fname.split(".")[0]
#         sdomain = geoassistant.readStructuralDomainDipsFile(filepath=fdir+fname, name=sdomain_id)
#         sdomains.addElement(element=sdomain)