Limiting bandwidth by adjusting sample rate I have an SDR that is capabple of 2.4Ms/s.  I am using it to measure the power of signals.  Right now I am setting the sample rate to 2M, collecting a burst of samples, and calculating the average power using

10 * log10(sum(abs(sample)**2 for sample in samples) / len(samples))


This gives me the average power over 2MHz, I think.  I'd like to limit that.  One approach is to use a filter.  But it would be simpler just to sample less frequently (sample at my target bandwidth).  But will the output measurements be as accurate?
Depends on your signal. Typically we try to sample at the Nyquist rate, which is equal to two times the maximum frequency of your signal. If you sample less often than this, you will lose information and your answer will not be correct, I think.