Ejemplo n.º 1
0
    def get_limits(self):
        """SynthHD Pro limits"""
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.SWEEP
                                  )  # MicrowaveMode.LIST)

        limits.min_frequency = 53e6
        limits.max_frequency = 14e9

        limits.min_power = -60
        limits.max_power = 20

        limits.list_minstep = 0.01
        limits.list_maxstep = 14e9
        limits.list_maxentries = 100

        limits.sweep_minstep = 0.01
        limits.sweep_maxstep = 14e9
        limits.sweep_maxentries = 100
        return limits
Ejemplo n.º 2
0
    def get_limits(self):
        """ Right now, this is for Anritsu MG37022A with Option 4 only."""
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST,
                                  MicrowaveMode.SWEEP)

        limits.min_frequency = 10e6
        limits.max_frequency = 20e9

        limits.min_power = -105
        limits.max_power = 30

        limits.list_minstep = 0.001
        limits.list_maxstep = 20e9
        limits.list_maxentries = 10001

        limits.sweep_minstep = 0.001
        limits.sweep_maxstep = 20e9
        limits.sweep_maxentries = 10001
        return limits
    def get_limits(self):
        """Dummy limits"""
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST,
                                  MicrowaveMode.SWEEP)

        limits.min_frequency = 100e3
        limits.max_frequency = 20e9

        limits.min_power = -120
        limits.max_power = 30

        limits.list_minstep = 0.001
        limits.list_maxstep = 20e9
        limits.list_maxentries = 10001

        limits.sweep_minstep = 0.001
        limits.sweep_maxstep = 20e9
        limits.sweep_maxentries = 10001
        return limits
Ejemplo n.º 4
0
    def get_limits(self):
        """ Return the device-specific limits in a nested dictionary.

        @return MicrowaveLimits: object containing Microwave limits
        """

        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST)
        # Exclude for now the sweep mode since not tested, MicrowaveMode.SWEEP)

        # SRS has two output connectors. The specifications
        # are used for the Type N output.
        if self._MODEL == 'SG392':
            limits.max_frequency = 2.025e9
        elif self._MODEL == 'SG394':
            limits.max_frequency = 4.050e9
        elif self._MODEL == 'SG396':
            limits.max_frequency = 6.075e9
        else:
            self.log.error('Model brand "{0}" unknown, hardware limits may '
                           'be wrong!'.format(self._MODEL))

        limits.min_power = -110  # in dBm
        limits.max_power = 16.5  # in dBm

        # FIXME: Not quite sure about this:
        limits.list_minstep = 1e-6  # in Hz
        limits.list_maxstep = limits.max_frequency  # in Hz
        limits.list_maxentries = self._MAX_LIST_ENTRIES

        # FIXME: Not quite sure about this:
        limits.sweep_minstep = 1e-6  # in Hz
        limits.sweep_maxstep = limits.max_frequency  # in Hz
        limits.sweep_maxentries = 10001

        # FIXME: Not quite sure about this:
        limits.sweep_minslope = 1  # slope in Hz/s
        limits.sweep_maxslope = 1e9  # slope in Hz/s

        return limits
Ejemplo n.º 5
0
    def get_limits(self):
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST,
                                  MicrowaveMode.SWEEP)

        limits.min_frequency = 300e3
        limits.max_frequency = 6.4e9

        limits.min_power = -144
        limits.max_power = 10

        limits.list_minstep = 0.1
        limits.list_maxstep = 6.4e9
        limits.list_maxentries = 4000

        limits.sweep_minstep = 0.1
        limits.sweep_maxstep = 6.4e9
        limits.sweep_maxentries = 10001

        if self.model == 'SMIQ02B':
            limits.max_frequency = 2.2e9
            limits.max_power = 13
        elif self.model == 'SMIQ03B':
            limits.max_frequency = 3.3e9
            limits.max_power = 13
        elif self.model == 'SMIQ03HD':
            limits.max_frequency = 3.3e9
            limits.max_power = 13
        elif self.model == 'SMIQ04B':
            limits.max_frequency = 4.4e9
        elif self.model == 'SMIQ06B':
            pass
        elif self.model == 'SMIQ06ATE':
            pass
        else:
            self.log.warning(
                'Model string unknown, hardware limits may be wrong.')
        limits.list_maxstep = limits.max_frequency
        limits.sweep_maxstep = limits.max_frequency
        return limits
Ejemplo n.º 6
0
    def get_limits(self):
        """ Return the device-specific limits in a nested dictionary.

          @return MicrowaveLimits: limits object
        """
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST)

        limits.min_frequency = self._FREQ_MIN
        limits.max_frequency = self._FREQ_MAX

        limits.min_power = self._POWER_MIN
        limits.max_power = self._POWER_MAX

        limits.list_minstep = 0.1
        limits.list_maxstep = 6.4e9
        limits.list_maxentries = self._MAX_LIST_ENTRIES

        limits.sweep_minstep = 0.1
        limits.sweep_maxstep = 10e9
        limits.sweep_maxentries = 10e6

        return limits
    def get_limits(self):
        """ Create an object containing parameter limits for this microwave source.

            @return MicrowaveLimits: device-specific parameter limits
        """
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.SWEEP)

        limits.min_frequency = 9000
        limits.max_frequency = 4.0e9

        limits.min_power = -30
        limits.max_power = 18
        # fake data for list
        limits.list_minstep = 0.1
        limits.list_maxstep = 3.0e9
        limits.list_maxentries = 4000

        limits.sweep_minstep = 2.5
        limits.sweep_maxstep = (limits.max_frequency -
                                limits.min_frequency) / 2
        limits.sweep_maxentries = 65000
        return limits
Ejemplo n.º 8
0
    def get_limits(self):
        """ Right now, this is for Anritsu MG3691C with Option 2 only."""
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST)

        limits.min_frequency = 10e6
        limits.max_frequency = 20e9

        limits.min_power = -130
        limits.max_power = 30

        limits.list_minstep = 0.001
        limits.list_maxstep = 10e9
        limits.list_maxentries = 10001

        limits.sweep_minstep = 0.001
        limits.sweep_maxstep = 10e9
        limits.sweep_maxentries = 10001
        if self.model == 'MG3961C':
            limits.max_frequency = 10e9
            limits.min_frequency = 10e6
            limits.min_power = -130
            limits.max_power = 30
        return limits
    def get_limits(self):
        """ Retrieve the limits of the device.

        @return: object MicrowaveLimits: Serves as a container for the limits
                                         of the microwave device.
        """
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST)
        # the sweep mode seems not to work properly, comment it out:
                                  #MicrowaveMode.SWEEP)

        limits.min_frequency = self._FREQ_MIN
        limits.max_frequency = self._FREQ_MAX
        limits.min_power = self._POWER_MIN
        limits.max_power = self._POWER_MAX

        limits.list_minstep = self._LIST_FREQ_STEP_MIN
        limits.list_maxstep = self._LIST_FREQ_STEP_MAX
        limits.list_maxentries = self._MAX_LIST_ENTRIES

        limits.sweep_minstep = self._SWEEP_FREQ_STEP_MIN
        limits.sweep_maxstep = self._SWEEP_FREQ_STEP_MAX
        limits.sweep_maxentries = self._MAX_SWEEP_ENTRIES
        return limits
Ejemplo n.º 10
0
    def get_limits(self):
        limits = MicrowaveLimits()
        limits.supported_modes = (MicrowaveMode.CW, MicrowaveMode.LIST,
                                  MicrowaveMode.SWEEP)

        # SRS has two output connectors. The specifications
        # are used for the Type N output.
        limits.min_frequency = 950e3
        limits.max_frequency = 6.4e9

        limits.min_power = -110
        limits.max_power = 16.5

        # FIXME: Not quite sure about this:
        limits.list_minstep = 1e-6
        limits.list_maxstep = 2.025e9
        limits.list_maxentries = 4000

        # FIXME: Not quite sure about this:
        limits.sweep_minstep = 0.1
        limits.sweep_maxstep = 6.4e9
        limits.sweep_maxentries = 10001

        if self.model == 'SG392':
            limits.max_frequency = 2.025e9
        elif self.model == 'SG394':
            limits.max_frequency = 4.050e9
        elif self.model == 'SG396':
            limits.max_frequency = 6.075e9
        else:
            self.log.warning(
                'Model string unknown, hardware limits may be wrong.')

        limits.list_maxstep = limits.max_frequency
        limits.sweep_maxstep = limits.max_frequency
        return limits