def number_of_short_term_peaks(n, t, t_st):
    """
    Estimate the number of peaks in a specified period.

    Parameters
    ----------
    n : int
        Number of peaks in analyzed timeseries.
    t : float
        Length of time of analyzed timeseries.
    t_st: float
        Short-term period for which to estimate the number of peaks.

    Returns
    -------
    n_st : float
        Number of peaks in short term period.
    """
    assert isinstance(n, int), 'n must be of type int'
    assert isinstance(t, float), 't must be of type float'
    assert isinstance(t_st, float), 't_st must be of type float'

    return n * t_st / t