Skip to content

interpolate positions of points as they drift through space and time

License

Notifications You must be signed in to change notification settings

eurochriskelly/drift-slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drift-slicer

Interpolate positions of points as they drift through space and time The location (coordinates) of any point drifts over time. The data for each point is stored for known epochs only. drift-slicer will take a set of points, and their histories, and return a set of points at a given time. Interpolation is linear between the previous and next point relative to the point-in-time in question.

Example

Age(s) = T(a..z) - : Time spans. + : Known(/expected) position at give epoch. | : Interpolated point in time slice +--+ : Segement is subset of data, for a marker, between 2 adjacent epochs.

   Time->      T(a)                 T(b)
                |                    |
P1 +----+-----+-|-------+----+-------|-------+
P2    +------+--|-----+------------+
P3       +------|------+
P4                +------+--++-------|--+

Age T1 generates time-slice [P1,P2,P3](a) Age T2 generates time-slice [P1,P4](b)

TODO

Data format is common to multiple modules. Use JSONSchema to define data format and validate in each module.

About

interpolate positions of points as they drift through space and time

Resources

License

Stars

Watchers

Forks

Packages