Skip to content

Computing from .shp, "time_elapsed" is physically incorrect #13

Open
@dbetchkal

Description

@dbetchkal

In Convert an ESRI shapefile (.shp) to a NMSIM trajectory (.trj).ipynb the line

time_elapsed = np.cumsum(velocity/np.array([np.linalg.norm(v) for v in V]))

should really be

time_elapsed = np.cumsum(np.array([np.linalg.norm(v) for v in V])/velocity)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions