electricpy.hartleydata¶
- electricpy.hartleydata(BW, M)[source]¶
Hartley Data Function.
Function to calculate Hartley’s Law, the maximum data rate achievable for a given noiseless channel.
- Parameters:
BW (float) – Bandwidth of the data channel.
M (float) – Number of signal levels.
- Returns:
C – Capacity of channel (in bits per second)
- Return type:
float