function obj = load(trk_file)
    % load tracks from file
    ds  = load(trk_file);

    % create new object based on setup/opts
    obj = ShadowTrack(ds.setup, ds.opts);

    % assign tracks
    padded = obj.pad(ds.tracks);
    obj.add_track(padded);
end