def calc_noise_dr(minor_cycle, major_cycle, c0):
    """
    Calculates the noise dynamic range
    minor_cycle (int): the current minor cycle the self-calibration is in
    major_cycle (int): the current major cycle the self-calibration is in
    returns (float): the noise dynamic range
    """
    noise_dr = (c0 + minor_cycle * c0) * (major_cycle + 1)
    return noise_dr
