Module: hybrid_vector_model.traveltime_model

Classes:

BaseTrafficDensityDayTime()

TrafficDensityDayTime_PLinear(tMin, tMax, …)

TrafficDensityDayTime_StepFun(tMin, tMax, …)

TrafficDensityVonMises([location, kappa])

Functions:

cropData(data, left, right)

fitEstimator(fileName, intervalNumber)

readTimeData(fileName[, delimiter, …])

class BaseTrafficDensityDayTime[source]

Bases: object

Methods:

interval_probability([tStart, tEnd])

maximize_likelihood(obsTime, shiftStart, …)

neg_log_likelihood(coefficients, obsTime, …)

pdf(t)

plot([show, scalingFactor])

interval_probability(tStart=None, tEnd=None)[source]
maximize_likelihood(obsTime, shiftStart, shiftEnd, x0, ineqConstr=None)[source]
neg_log_likelihood(coefficients, obsTime, shiftStart, shiftEnd)[source]
pdf(t)[source]
plot(show=True, scalingFactor=1)[source]
class TrafficDensityDayTime_PLinear(tMin, tMax, intervalNumber, coefficients=None)[source]

Bases: hybrid_vector_model.traveltime_model.BaseTrafficDensityDayTime

Methods:

interval_probability([tStart, tEnd, …])

maximize_likelihood(obsTime, shiftStart, …)

pdf(t[, coefficients])

plot([show, scalingFactor])

interval_probability(tStart=None, tEnd=None, coefficients=None)[source]
maximize_likelihood(obsTime, shiftStart, shiftEnd)[source]
pdf(t, coefficients=None)[source]
plot(show=True, scalingFactor=1)[source]
class TrafficDensityDayTime_StepFun(tMin, tMax, intervalNumber, coefficients=None)[source]

Bases: hybrid_vector_model.traveltime_model.BaseTrafficDensityDayTime

Methods:

interval_probability([tStart, tEnd, …])

maximize_likelihood(obsTime, shiftStart, …)

pdf(t[, coefficients])

plot([show, scalingFactor])

interval_probability(tStart=None, tEnd=None, coefficients=None)[source]
maximize_likelihood(obsTime, shiftStart, shiftEnd)[source]
pdf(t, coefficients=None)[source]
plot(show=True, scalingFactor=1)[source]
class TrafficDensityVonMises(location=None, kappa=None)[source]

Bases: hybrid_vector_model.traveltime_model.BaseTrafficDensityDayTime

Methods:

interval_probability(tStart, tEnd[, …])

maximize_likelihood(obsTime, shiftStart, …)

neg_log_likelihood(coeff, obsTime, …)

pdf(t)

plot([normInterval, show, fileName])

sample([n])

interval_probability(tStart, tEnd, location=None, kappa=None)[source]
maximize_likelihood(obsTime, shiftStart, shiftEnd, getCI=False)[source]
neg_log_likelihood(coeff, obsTime, shiftStart, shiftEnd)[source]
pdf(t)[source]
plot(normInterval=None, show=True, fileName=None)[source]
sample(n=None)[source]
cropData(data, left, right)[source]
fitEstimator(fileName, intervalNumber)[source]
readTimeData(fileName, delimiter=',', missing_values='', crop=None)[source]