Added get_sampling_frequency to the decorator