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)

Arguments

vtrack

virtual track name.

src, func, params, keepref, time.shift, id.map, filter

virtual track attributes.

Value

None.

Details

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'.

Examples


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"