Did I find the right examples for you? yes no

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/importer/emsa.py   pyHMSA(Download)
from pyhmsa.spec.condition.acquisition import AcquisitionPoint
from pyhmsa.spec.condition.specimenposition import SpecimenPosition
from pyhmsa.spec.condition.detector import \
    (DetectorSpectrometer, DetectorSpectrometerXEDS, DetectorSpectrometerCL,
     Window)
            c = DetectorSpectrometerXEDS(**kwargs)
        elif signal_type == SIGNAL_TYPE_CLS:
            c = DetectorSpectrometerCL(**kwargs)
        else:
            c = DetectorSpectrometer(**kwargs)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/detector.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.detector import \
    (DetectorCamera, DetectorSpectrometer, DetectorSpectrometerCL,
     DetectorSpectrometerWDS, DetectorSpectrometerXEDS, Window, WindowLayer)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_detector.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.detector import \
    (DetectorCamera, DetectorSpectrometer, DetectorSpectrometerCL,
     DetectorSpectrometerWDS, DetectorSpectrometerXEDS,
 
        calibration = CalibrationConstant('Energy', 'eV', -237.098251)
        self.obj = DetectorSpectrometerCL(4096, calibration, 800.0)
 
        source = '<Detector Class="Spectrometer/CL"><ChannelCount DataType="uint32">4096</ChannelCount><Calibration Class="Constant"><Quantity>Energy</Quantity><Unit>eV</Unit><Value DataType="float">-237.098251</Value></Calibration><Grating-d Unit="mm-1" DataType="float">800</Grating-d></Detector>'

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_detector.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.detector import \
    (PulseHeightAnalyser, WindowLayer, Window,
     _Detector, DetectorCamera, DetectorSpectrometer,
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        calibration = CalibrationConstant('Energy', 'eV', -237.098251)
        self.det = DetectorSpectrometerCL(4096, calibration)