qsrlib_qsrs.qsr_qtc_bc_simplified module

Example that shows how to implement QSR makers.

Author:Christan Dondrup <cdondrup@lincoln.ac.uk>
Organization:University of Lincoln
Date:10 September 2014
Version:0.1
Status:Development
Copyright:STRANDS default
Notes:future extension to handle polygons, to do that use matplotlib.path.Path.contains_points although might want to have a read on the following also... http://matplotlib.1069221.n5.nabble.com/How-to-properly-use-path-Path-contains-point-td40718.html
class qsrlib_qsrs.qsr_qtc_bc_simplified.QSR_QTC_BC_Simplified[source]

Bases: qsrlib_qsrs.qsr_qtc_simplified_abstractclass.QSR_QTC_Simplified_Abstractclass

Make default QSRs and provide an example for others

make_world_qsr_trace(world_trace, timestamps, qsr_params, req_params, **kwargs)[source]
qtc_to_output_format(qtc)[source]

Overwrite this for the different QTC veriants to select only the parts from the QTCC tuple that you would like to return. Example for QTCB: return qtc[0:2]

Parameters:qtc – The full QTCC tuple [q1,q2,q4,q5]
Returns:“q1,q2,q4,q5” or {“qtcbcs”: “q1,q2,q4,q5”} if future is True