5GNR Slot¶
Warning
HermesPy’s implementation of the 5G New Radio (5GNR) standard is currently under active development. It is, by no means, a valid implementation of the standard.

- class NRSlot(num_resource_blocks=24)[source]¶
Bases:
OFDMWaveformMock of a 5G NR slot.
Note that only the rough frame structure is implemented, reference symbols and synchronization patterns are not placed according to the actual 5G NR standard. This is intended for testing and demonstration purposes only.
- Parameters:
num_resource_blocks (
int) – Number of resource blocks within a single slot. Must be at least 24 to meet the minimum slot bandwidth requirements of 5G NR. The maximum number depends on the overall bandwidth available for the given frequency range.
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type: