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/xmlhandler/condition/instrument.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.instrument import Instrument
from pyhmsa.fileformat.xmlhandler.xmlhandler import _XMLHandler
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_instrument.py   pyHMSA(Download)
# Local modules.
from pyhmsa.fileformat.xmlhandler.condition.instrument import InstrumentXMLHandler
from pyhmsa.spec.condition.instrument import Instrument
 
# Globals and constants variables.
        self.h = InstrumentXMLHandler(1.0)
 
        self.obj = Instrument('Example Inc.', 'Example Model 123',
                              '12345-abc-67890')
 

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_instrument.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.instrument import Instrument
 
# Globals and constants variables.
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.instrument = Instrument('Example Inc', 'Example Model 123')
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/test_datafile.py   pyHMSA(Download)
from pyhmsa.datafile import DataFile
from pyhmsa.spec.datum.analysis import Analysis1D
from pyhmsa.spec.condition.instrument import Instrument
from pyhmsa.spec.condition.probe import ProbeEM
from pyhmsa.spec.condition.detector import DetectorSpectrometerXEDS
 
        manufacturer = langstr('JEOL Ltd.', {'ja': b'\xe6\x97\xa5\xe6\x9c\xac\xe9\x9b\xbb\xe5\xad\x90\xe6\xa0\xaa\xe5\xbc\x8f\xe4\xbc\x9a\xe7\xa4\xbe'.decode('utf-8')})
        instrument = Instrument(manufacturer, 'JXA 8500F-CL')
        self.datafile.conditions['Inst0'] = instrument