tracktable.core module

Submodules

Module contents

Tracktable Trajectory Library - Core

Basic types (point, trajectory) live in this module. They are in turn imported from the small C extension libraries.

tracktable.core.data_directory()[source]

Return path to Tracktable example data files

We bundle a few example data files inside Tracktable. This function will give you the path to those. Use it as follows:

import os.path
    from tracktable.core import data_directory

    with open(os.path.join(data_directory(), "SampleASDI.csv")) as asdi_file:
        # Do your own stuff with the data
Returns

Path to Tracktable example data files.