Source code for pychron.spectrometer.thermo.spectrometer.helix
# ===============================================================================
# Copyright 2015 Jake Ross
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ===============================================================================
# ============= enthought library imports =======================
from traits.api import Str
from pychron.hardware.thermo_spectrometer_controller import HelixController
from pychron.spectrometer.thermo.detector.helix import HelixDetector
from pychron.spectrometer.thermo.magnet.helix import HelixMagnet
from pychron.spectrometer.thermo.source.helix import HelixSource, HelixSFTSource
from pychron.spectrometer.thermo.spectrometer.base import ThermoSpectrometer
# ============= standard library imports ========================
# ============= local library imports ==========================
[docs]class HelixSpectrometer(ThermoSpectrometer):
magnet_klass = HelixMagnet
source_klass = HelixSource
detector_klass = HelixDetector
microcontroller_klass = HelixController
def hardware_names(self):
hn = super(HelixSpectrometer, self).hardware_names()
hn["flatapole"] = "DAC_1_0_(Flata-Pole)"
hn["rotation_quad"] = "RotationQuad"
hn["vertical_deflection_n"] = "DAC_0_0_(Pole-N)"
hn["vertical_deflection_s"] = "DAC_0_4_(Pole-S)"
hn["horizontal_symmetry"] = "Horizontal Symmetry Set"
hn["extraction_focus"] = "Extraction Focus Set"
hn["extraction_symmetry"] = "Extraction Symmetry Set"
return hn
class HelixPlusSpectrometer(HelixSpectrometer):
pass
class HelixSFTSpectrometer(HelixSpectrometer):
source_klass = HelixSFTSource
reference_detector = Str("Cup")
# ============= EOF =============================================