Пример #1
0
    def bit_matrix(self):
        """numpy.array(int) : Matrix of bit patterns.

        The size of the matrix should be N x M, where N is the size of the
        alphabet and M is the number of bits per symbol. The n-th row of the
        matrix contains the bit pattern of the n-th symbol in the alphabet. The
        allowed values in the matrix are zero and one."""

        return checked_get(self, "_bit_matrix", np.ndarray)
Пример #2
0
 def rx_filter(self):
     """Provides read-only access to self._rx_filter."""
     return checked_get(self, "_rx_filter", BaseFilter)
Пример #3
0
 def normalization(self):
     """Provides read-only access to self._normalization."""
     return checked_get(self, "_normalization", BaseNormalization)
Пример #4
0
 def link(self):
     """Provides read-only access to self._link."""
     return checked_get(self, "_link", BaseLink)
Пример #5
0
 def modulator(self):
     """Provides read-only access to self._modulator."""
     return checked_get(self, "_modulator", BaseModulator)
Пример #6
0
 def constellation(self):
     """Provides read-only access to self._constellation."""
     return checked_get(self, "_constellation", BaseConstellation)
Пример #7
0
    def name(self):
        """str : Identifcation string for the constellation, should also specify parameters."""

        return checked_get(self, "_name", str)
Пример #8
0
    def alphabet(self):
        """numpy.array (complex) : Vector of constellation points. The number of
        points has to be a power of two."""

        return checked_get(self, "_alphabet", np.ndarray)
Пример #9
0
 def n_symbols_per_block(self):
     """Number of symbols embedded in each fiber input / output
     (read-only)."""
     return checked_get(self, "_n_symbols_per_block", int)
Пример #10
0
 def n_samples(self):
     """Number of samples per fiber input / fiber output (read-only)."""
     return checked_get(self, "_n_samples", int)
Пример #11
0
 def normalized_dt(self):
     """Time difference, in normalized units, between consecutive samples of
     fiber inputs / outputs (read-only)."""
     return checked_get(self, "_normalized_dt", float)