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. |
|
Adds zero-mean complex additive white Gaussian noise with power of noise_power_db. |
|
Carrier frequency drift from a Local Oscillator (LO), with drift modeled as accumulated gaussian random phase. |
|
Carrier phase noise from a Local Oscillator (LO) with the noise modeled as a Gaussian RV. |
|
Swap I and Q channels of IQ data. |
|
Clock drift from a Local Oscillator (LO), modeled as accumulated gaussian random noise impacting the sampling rate. |
|
Clock jitter from a Local Oscillator (LO), modeled as gaussian random noise impacting the sampling phase. |
|
Implements a large instantaneous jump in receiver gain. |
|
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. |
|
Automatic Gain Control algorithm (deterministic). |
|
Applies wideband Doppler effect through time scaling. |
|
Drop samples at given locations/durations with fill technique. |
|
Apply fading channel to signal. |
|
Converts complex vectors into real interleaved IQ vector. |
|
Pass IQ data through an optimized memoryless nonlinear response model that creates local intermodulation distortion (IMD) products. |
|
Applies IQ imbalance to IQ data. |
|
A memoryless AM/AM, AM/PM nonlinear amplifier function-based model using a hyperbolic tangent output power response defined by gain and saturation power, and a hyperbolic tangent phase response defined by maximum relative phase shift. |
|
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 specified norm computes to 1. |
|
Functional for passband ripple transforms. |
|
Apply shuffling of patches specified by num_patches. |
|
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. |
|
Creates spectrogram from IQ samples. |
|
Adds spurs to the input data. |
|
Applies time reversal to data (flips horizontally). |
|
Adds time-varying complex additive white Gaussian noise. |