It doesn't make sense to pass in vectors of the constants (if it does that).
It's also hard to get the scalar and vector working nicely. Maybe we should just use vectorize.
Here is what a ramp input function has to look like:
def eval_ramp(Ft, time):
if np.isscalar(time):
if time < 3.0:
return 0.0
else:
return Ft*time - Ft*3.0
else:
return (time >= 3.0) * (Ft*time - Ft*3.0)
sys.add_measurement('F', eval_ramp)