Get or set attributes of a virtual track.
emr_vtrack.attr.src(vtrack, src)
emr_vtrack.attr.func(vtrack, func)
emr_vtrack.attr.params(vtrack, params)
emr_vtrack.attr.keepref(vtrack, keepref)
emr_vtrack.attr.time.shift(vtrack, time.shift)
emr_vtrack.attr.id.map(vtrack, id.map)
emr_vtrack.attr.filter(vtrack, filter)
virtual track name.
virtual track attributes.
None.
When only 'vtrack' argument is used in the call, the functions return the corresponding attribute of the virtual track. Otherwise a new attribute value is set.
Note: since inter-dependency exists between certain attributes, the correctness of the attributes as a whole can only be verified when the virtual track is used in a track expression.
For more information about the valid attribute values please refer to the documentation of 'emr_vtrack.create'.
emr_db.init_examples()
#> NULL
emr_vtrack.create("vtrack1", "dense_track")
emr_vtrack.attr.src("vtrack1")
#> [1] "dense_track"
emr_vtrack.attr.src("vtrack1", "sparse_track")
emr_vtrack.attr.src("vtrack1")
#> [1] "sparse_track"