torchsig.datasets.dataset_utilsΒΆ

Dataset Utilities

Functions

collate_fn

Collates a batch by zipping its elements together.

dataset_full_path

Generates the full path for a dataset based on its type, impairment level, and whether it is for training.

frequency_shift_signal

Randomly shifts the frequency of a signal to a new center frequency and applies aliasing filters if necessary.

save_type

Determines if the dataset will generate 'raw' IQ data, which means no transform and target transforms have been applied.

to_dataset_metadata

Converts the input dataset metadata to an appropriate DatasetMetadata object.