torchsig.transforms.functional.shadowing¶
- torchsig.transforms.functional.shadowing(data: ~numpy.ndarray, mean_db: float = 4.0, sigma_db: float = 2.0, rng: ~numpy.random._generator.Generator = Generator(PCG64) at 0x7694D3FA5C40) ndarray[source]¶
Applies RF shadowing to the data, assuming the channel obstructions’ loss are lognormal. Refer to T.S. Rappaport, Wireless Communications, Prentice Hall, 2002.
- Parameters:
- Returns:
Data with shadowing.
- Return type:
np.ndarray