tonyear.core.get_discounted_curve

tonyear.core.get_discounted_curve#

tonyear.core.get_discounted_curve(discount_rate: float, curve: ndarray) ndarray[source]#

Get discounted curve

Parameters:
discount_ratefloat

Discount rate expressed as a fraction.

curvenp.ndarray
Returns:
discounted_curvenp.ndarray

Curve with discount rate applied.