torchsig.transforms.functionalΒΆ
Functional transforms for reuse and custom fine-grained control
Functions
Add slope between each sample and its preceding sample is added to every sample. |
|
Additive complex noise with specified parameters. |
|
Adds adjacent channel interference to the baseband data at a specified center frequency and power level. |
|
Automatic Gain Control algorithm (deterministic). |
|
Adds zero-mean complex additive white Gaussian noise with power of noise_power_db. |
|
Implements a large instantaneous jump in receiver gain. |
|
Swap I and Q channels of IQ data. |
|
Applies uncorrelated co-channel interference to the baseband data, modeled as shaped noise with specified parameters. |
|
Converts IQ data to two channels (real and imaginary parts). |
|
Performs CutOut: replacing values with fill. |
|
Applies wideband Doppler effect through time scaling. |
|
Drop samples at given locations/durations with fill technique. |
|
Apply fading channel to signal. |
|
Pass IQ data through an optimized memoryless nonlinear response model that creates local intermodulation distortion (IMD) products. |
|
Applies IQ imbalance to IQ data. |
|
Mixes data with a frequency drifting Local Oscillator (LO), with drift modeled as a random walk. |
|
Apply rescaling of input rescale starting at time start. |
|
A memoryless AM/AM, AM/PM nonlinear amplifier function-based model using a hyperbolic tangent output power response defined by gain and saturation power. |
|
A nonlinear amplifier (AM/AM, AM/PM) memoryless model that distorts an input complex signal to simulate an amplifier response, based on interpolating a table of provided power input, power output, and phase change data points. |
|
Scale data so that a specfied norm computes to 1. For detailed information, see |
|
Functional for passband ripple transforms. |
|
Apply shuffling of patches specified by num_patches. |
|
Mixes data with a Local Oscillator (LO) with phase noise modeled as a Gaussian RV. |
|
Applies a phase rotation to data. |
|
Quantize input to number of levels specified. |
|
Applies RF shadowing to the data, assuming the channel obstructions' loss are lognormal. |
|
Applies a spectral inversion to input data. |
|
Computes spectrogram from IQ data. |
|
Drop samples at given locations/durations with fill technique. |
|
Applies time reversal to data (flips horizontally). |
|
Adds time-varying complex additive white Gaussian noise with power levels in range (noise_power_low, noise_power_high) dB and with inflections number of inflection points spread over the input iq data randomly if random_regions is True or evenly spread if False. |