def make_df_paths(path_root, platform):

    # Actual Dwarf Fortress install directory.
    # Ex: df_linux, df_osx, df_windows
    name_main = "df_{platform}".format(platform=platform)
    path_main = path.join(path_root, name_main)

    return {
        "root":    path_root,
        "main":    path_main,
        "data":    path.join(path_main, "data/"),
        "init":    path.join(path_main, "data/init"),
        "raw":     path.join(path_main, "raw/"),
        "objects": path.join(path_main, "raw/objects"),
        "libs":    path.join(path_main, "libs"),
        }
Kalman gain
dataset/ETHPy150Open haesken/dftools/lib/dftlib.py/make_df_paths--crossover with--dataset/ETHPy150Open rlabbe/filterpy/filterpy/kalman/square_root.py/SquareRootKalmanFilter.K