Did I find the right examples for you? yes no

All Samples(29)  |  Call(21)  |  Derive(0)  |  Import(8)

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/detector.py   pyHMSA(Download)
from pyhmsa.spec.condition.condition import _Condition
from pyhmsa.spec.condition.calibration import _Calibration
from pyhmsa.util.parameter import \
    (Parameter, NumericalAttribute, EnumAttribute, TextAttribute,
     FrozenAttribute, UnitAttribute, ObjectAttribute)
class WindowLayer(Parameter):
 
    material = TextAttribute(True, doc='material')
    thickness = NumericalAttribute('um', True, doc='thickness')
 
 
    signal_type = EnumAttribute(_SIGNAL_TYPES, False, 'SignalType', 'type of signal')
    manufacturer = TextAttribute(False, 'Manufacturer', 'manufacturer')
    model = TextAttribute(False, 'Model', 'model')
    serial_number = TextAttribute(False, 'SerialNumber', 'serial number')

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/specimen.py   pyHMSA(Download)
from pyhmsa.spec.condition.condition import _Condition
from pyhmsa.spec.condition.composition import _Composition
from pyhmsa.util.parameter import \
    (Parameter, NumericalAttribute, TextAttribute, ObjectAttribute,
     FrozenAttribute)
class Specimen(_Condition):
 
    TEMPLATE = 'Specimen'
 
    name = TextAttribute(True, 'Name', 'name')
    description = TextAttribute(False, 'Description', 'description')
    origin = TextAttribute(False, 'Origin', 'origin')
    formula = TextAttribute(False, 'Formula', 'formula')

src/p/y/pyHMSA-0.1/pyhmsa/spec/header.py   pyHMSA(Download)
# Local modules.
from pyhmsa.type.identifier import validate_identifier
from pyhmsa.util.parameter import \
    (ParameterMetaclass, Parameter, TextAttribute, DateAttribute,
     TimeAttribute, ChecksumAttribute)
class Header(_BaseHeader):
 
    title = TextAttribute(False, 'Title', 'title')
    author = TextAttribute(False, 'Author', 'author')
    owner = TextAttribute(False, 'Owner', 'legal owner')
    date = DateAttribute(False, 'Date', 'date')
    time = TimeAttribute(False, 'Time', 'time')
    timezone = TextAttribute(False, 'Timezone', 'timezone')

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/calibration.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.util.parameter import \
    Parameter, TextAttribute, NumericalAttribute, UnitAttribute
 
# Globals and constants variables.
 
class _Calibration(Parameter):
 
    quantity = TextAttribute(True, 'Quantity', 'physical quantity')

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/instrument.py   pyHMSA(Download)
# Local modules.
from pyhmsa.spec.condition.condition import _Condition
from pyhmsa.util.parameter import TextAttribute
 
# Globals and constants variables.
class Instrument(_Condition):
 
    TEMPLATE = 'Instrument'
 
    manufacturer = TextAttribute(True, 'Manufacturer', 'manufacturer')
    model = TextAttribute(True, 'Model', 'model')
    serial_number = TextAttribute(False, 'SerialNumber', 'serial number')

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/xmlhandler.py   pyHMSA(Download)
from pyhmsa.type.checksum import Checksum
from pyhmsa.type.xrayline import xrayline
from pyhmsa.util.parameter import \
    (NumericalAttribute, TextAttribute, ObjectAttribute, DateAttribute,
     TimeAttribute, ChecksumAttribute, XRayLineAttribute)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/test_xmlhandler.py   pyHMSA(Download)
# Local modules.
from pyhmsa.fileformat.xmlhandler.xmlhandler import _XMLHandler
from pyhmsa.util.parameter import \
    Parameter, NumericalAttribute, TextAttribute, XRayLineAttribute
from pyhmsa.type.language import langstr
class MockParameter(Parameter):
 
    value1 = NumericalAttribute('s', True, 'Value1')
    value2 = NumericalAttribute('m', False, 'Value2')
    value3 = TextAttribute(False, 'Value3')

src/p/y/pyHMSA-0.1/pyhmsa/util/test_parameter.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.util.parameter import \
    (Parameter, _Attribute, FrozenAttribute, NumericalAttribute, TextAttribute,
     AtomicNumberAttribute, UnitAttribute, XRayLineAttribute, ObjectAttribute,
    frozen = FrozenAttribute(list)
    numerical = NumericalAttribute('m')
    text = TextAttribute()
    atomic_number = AtomicNumberAttribute()
    unit = UnitAttribute()