# Module `ammosreader.AmmosConstants`

I provide several constants used in R&S software.

Expand source code

    """I provide several constants used in R&S software."""

    from enum import Enum

    class FrameType(int, Enum):
        """I map numbers to human readable format specifiers."""

        TEST_DATA = 0x00
        IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT = 0x01
        IF_DATA_16BIT_REAL_IMAGINARY_FIXEDPOINT = 0x02
        IF_DATA_16BIT_REAL_REAL = 0x03
        IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT_RESCALED = 0x04
        IF_DATA_32BIT_REAL_IMAGINARY_FLOATINGPOINT_RESCALED = 0x05
        SPECTRUM_DATA_8BIT = 0x10
        SPECTRUM_DATA_16BIT = 0x11
        SPECTRUM_DATA_32BIT = 0x12
        SPECTRUM_DATA_32BIT_FLOATINGPOINT = 0x13
        SEGMENTATION_SPECTRUM_DATA_32BIT_FLOATINGPOINT = 0x14
        HF_TUNING_INDICATOR_DATA = 0x20
        HF_SCAN_CHANNEL_FOUND_DATA = 0x22
        HF_SCAN_FREQUENCY_FOUND_DATA = 0x23
        HF_SCAN_SWEEP_RESTARTED_DATA = 0x24
        HF_DEMODULATION_SYMBOL_STREAM_DATA = 0x30
        HF_DECODER_TEXT_DATA = 0x40
        HF_SPECTRUM_VISUALIZATION_DATA = 0x50
        HF_TIMEDOMAIN_VISUALIZATION_DATA = 0x51
        AUDIO_DATA = 0x100
        EMISSION_LIST_DATA = 0x110
        LEVEL_DATA = 0x120
        SYMBOL_DATA = 0x130
        INSTANTANEOUS_DATA = 0x140
        BURST_EMMISION_LIST = 0x150
        IMAGE_DATA = 0x160
        TRANSMISSION_SYSTEM_RESULT_DATA = 0x170
        PULSE_DESCRIPTION_WORD_DATA = 0x200
        PULSE_REPETITION_WORD_DATA = 0x210
        EM050_SCAN_DATA = 0x4000
        SCAN_LEVEL = 0x4001
        SCAN_TUNING = 0x4002
        SCAN_LEVEL_TUNING = 0x4003
        DDF_RESERVED_START = 0x5000
        DDF_RESERVED_END = 0x50FF

    class AmmosAudioDemodType(int, Enum):
        """I map numbers to human readable demodulation types."""

        FM = 0
        AM = 1
        ISB = 5
        CW = 6
        USB = 7
        LSB = 8
        DIGITAL = 256
        UNKNOWN = 0xFFFFFFFF

## Classes

`class AmmosAudioDemodType (value, names=None, *, module=None, qualname=None, type=None, start=1)`

  I map numbers to human readable demodulation types.

  Expand source code

      class AmmosAudioDemodType(int, Enum):
          """I map numbers to human readable demodulation types."""

          FM = 0
          AM = 1
          ISB = 5
          CW = 6
          USB = 7
          LSB = 8
          DIGITAL = 256
          UNKNOWN = 0xFFFFFFFF

  ### Ancestors

  - builtins.int
  - enum.Enum

  ### Class variables

  `var AM`
  `var CW`
  `var DIGITAL`
  `var FM`
  `var ISB`
  `var LSB`
  `var UNKNOWN`
  `var USB`
`class FrameType (value, names=None, *, module=None, qualname=None, type=None, start=1)`

  I map numbers to human readable format specifiers.

  Expand source code

      class FrameType(int, Enum):
          """I map numbers to human readable format specifiers."""

          TEST_DATA = 0x00
          IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT = 0x01
          IF_DATA_16BIT_REAL_IMAGINARY_FIXEDPOINT = 0x02
          IF_DATA_16BIT_REAL_REAL = 0x03
          IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT_RESCALED = 0x04
          IF_DATA_32BIT_REAL_IMAGINARY_FLOATINGPOINT_RESCALED = 0x05
          SPECTRUM_DATA_8BIT = 0x10
          SPECTRUM_DATA_16BIT = 0x11
          SPECTRUM_DATA_32BIT = 0x12
          SPECTRUM_DATA_32BIT_FLOATINGPOINT = 0x13
          SEGMENTATION_SPECTRUM_DATA_32BIT_FLOATINGPOINT = 0x14
          HF_TUNING_INDICATOR_DATA = 0x20
          HF_SCAN_CHANNEL_FOUND_DATA = 0x22
          HF_SCAN_FREQUENCY_FOUND_DATA = 0x23
          HF_SCAN_SWEEP_RESTARTED_DATA = 0x24
          HF_DEMODULATION_SYMBOL_STREAM_DATA = 0x30
          HF_DECODER_TEXT_DATA = 0x40
          HF_SPECTRUM_VISUALIZATION_DATA = 0x50
          HF_TIMEDOMAIN_VISUALIZATION_DATA = 0x51
          AUDIO_DATA = 0x100
          EMISSION_LIST_DATA = 0x110
          LEVEL_DATA = 0x120
          SYMBOL_DATA = 0x130
          INSTANTANEOUS_DATA = 0x140
          BURST_EMMISION_LIST = 0x150
          IMAGE_DATA = 0x160
          TRANSMISSION_SYSTEM_RESULT_DATA = 0x170
          PULSE_DESCRIPTION_WORD_DATA = 0x200
          PULSE_REPETITION_WORD_DATA = 0x210
          EM050_SCAN_DATA = 0x4000
          SCAN_LEVEL = 0x4001
          SCAN_TUNING = 0x4002
          SCAN_LEVEL_TUNING = 0x4003
          DDF_RESERVED_START = 0x5000
          DDF_RESERVED_END = 0x50FF

  ### Ancestors

  - builtins.int
  - enum.Enum

  ### Class variables

  `var AUDIO_DATA`
  `var BURST_EMMISION_LIST`
  `var DDF_RESERVED_END`
  `var DDF_RESERVED_START`
  `var EM050_SCAN_DATA`
  `var EMISSION_LIST_DATA`
  `var HF_DECODER_TEXT_DATA`
  `var HF_DEMODULATION_SYMBOL_STREAM_DATA`
  `var HF_SCAN_CHANNEL_FOUND_DATA`
  `var HF_SCAN_FREQUENCY_FOUND_DATA`
  `var HF_SCAN_SWEEP_RESTARTED_DATA`
  `var HF_SPECTRUM_VISUALIZATION_DATA`
  `var HF_TIMEDOMAIN_VISUALIZATION_DATA`
  `var HF_TUNING_INDICATOR_DATA`
  `var IF_DATA_16BIT_REAL_IMAGINARY_FIXEDPOINT`
  `var IF_DATA_16BIT_REAL_REAL`
  `var IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT`
  `var IF_DATA_32BIT_REAL_IMAGINARY_FIXEDPOINT_RESCALED`
  `var IF_DATA_32BIT_REAL_IMAGINARY_FLOATINGPOINT_RESCALED`
  `var IMAGE_DATA`
  `var INSTANTANEOUS_DATA`
  `var LEVEL_DATA`
  `var PULSE_DESCRIPTION_WORD_DATA`
  `var PULSE_REPETITION_WORD_DATA`
  `var SCAN_LEVEL`
  `var SCAN_LEVEL_TUNING`
  `var SCAN_TUNING`
  `var SEGMENTATION_SPECTRUM_DATA_32BIT_FLOATINGPOINT`
  `var SPECTRUM_DATA_16BIT`
  `var SPECTRUM_DATA_32BIT`
  `var SPECTRUM_DATA_32BIT_FLOATINGPOINT`
  `var SPECTRUM_DATA_8BIT`
  `var SYMBOL_DATA`
  `var TEST_DATA`
  `var TRANSMISSION_SYSTEM_RESULT_DATA`