Did I find the right examples for you? yes no

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

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/importer/emsa.py   pyHMSA(Download)
 
# Globals and constants variables.
from pyhmsa.spec.condition.detector import \
    (COLLECTION_MODE_PARALLEL, COLLECTION_MODE_SERIAL,
     XEDS_TECHNOLOGY_GE, XEDS_TECHNOLOGY_SILI, XEDS_TECHNOLOGY_SDD,
     EMSA_EDS_DETECTOR_GEUTW: XEDS_TECHNOLOGY_GE,
     EMSA_EDS_DETECTOR_GEWLS: XEDS_TECHNOLOGY_GE,
     EMSA_EDS_DETECTOR_SDBEW: XEDS_TECHNOLOGY_SDD,
     EMSA_EDS_DETECTOR_SDUTW: XEDS_TECHNOLOGY_SDD,
     EMSA_EDS_DETECTOR_SDWLS: XEDS_TECHNOLOGY_SDD,

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/test_datafile.py   pyHMSA(Download)
# Globals and constants variables.
from pyhmsa.spec.condition.probe import GUN_TYPE_SCHOTTKY_FEG
from pyhmsa.spec.condition.detector import XEDS_TECHNOLOGY_SDD, SIGNAL_TYPE_EDS
 
class TestDataFileReader(unittest.TestCase):
        calibration = CalibrationLinear('Energy', 'eV', 2.49985, -237.098251)
        detector = DetectorSpectrometerXEDS(4096, calibration,
                                            technology=XEDS_TECHNOLOGY_SDD,
                                            nominal_throughput=(180.0, 'kcounts/s'),
                                            strobe_rate=2000.0,

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/exporter/test_emsa.py   pyHMSA(Download)
 
# Globals and constants variables.
from pyhmsa.spec.condition.detector import XEDS_TECHNOLOGY_SDD, SIGNAL_TYPE_EDS
 
class TestExporterEMSA(unittest.TestCase):
        calibration = CalibrationLinear('Energy', 'eV', 2.49985, -237.098251)
        detector = DetectorSpectrometerXEDS(4096, calibration,
                                            technology=XEDS_TECHNOLOGY_SDD,
                                            nominal_throughput=(180.0, 'kcounts/s'),
                                            strobe_rate=2000.0,