class ShortRateCurve(InterestRateCurve):
    r"""Interest rate curve storing and interpolating data as short rate

    $$r(t)=y_t$$