def set_sample_rate(self, sample_rate_mhz):
		"""Set tuner sample rate to provided frequency in megahertz."""
		try:
			self.sdr.set_sample_rate(sample_rate_mhz*1000000.0)
		except __HOLE__:
			# Error setting value, ignore it for now but in the future consider
			# adding an error message dialog.
			pass
dataset/ETHPy150Open adafruit/FreqShow/model.py/FreqShowModel.set_sample_rate