Make the SNR calculation identical if done with an dataframe or dict
The SNR calculation was different if you use a single sample (a dict) or a set of samples (a dataframe). This unifies the two approaches to use the improved interface.
The SNR calculation was different if you use a single sample (a dict) or a set of samples (a dataframe). This unifies the two approaches to use the improved interface.