<gh_stars>1-10
import os

dipferromagtheorydir = os.path.dirname(os.path.abspath(__file__))
resdir = os.path.join(dipferromagtheorydir, "res")
import os

dipferromagtheorydir = os.path.dirname(os.path.abspath(__file__))
resdir = os.path.join(dipferromagtheorydir, "res")