Guard Section

Inheritance diagram of hermespy.modem.waveforms.orthogonal.waveform.GuardSection
class GuardSection(duration, num_repetitions=1, frame=None)[source]

Bases: GridSection[OrthogonalWaveform], Serializable

Parameters:
  • num_repetitions (int, optional) – Number of times this section is repeated in time-domain.

  • sample_offset (int, optional) – Offset in samples to the start of the section.

  • wave (OWT, optional) – Waveform this section is associated with. Defaults to None.

pick_samples(signal)[source]

Pick this section’s samples from the time-domain signal.

Parameters:

signal (numpy.ndarray) – Time-domain signal to be picked from. Numpy vector of size num_samples.

Return type:

ndarray

Returns: Time-domain signal with the section’s samples picked.

place_samples(signal)[source]

Place this section’s samples into the time-domain signal.

Parameters:

signal (numpy.ndarray) – Time-domain signal to be placed. Numpy vector of size num_samples.

Return type:

ndarray

Returns: Time-domain signal with the section’s samples placed.

property duration: float

Guard section duration in seconds.

Returns:

Duration in seconds.

Return type:

float

property num_samples: int

Number of samples within this OFDM time-section.

Returns:

Number of samples

Return type:

int