class HazardRateCurve(CreditCurve):
    r"""Credit curve storing and interpolating data as hazard rate

    $$hz(t)=y_t$$