Did I find the right examples for you? yes no

All Samples(15)  |  Call(0)  |  Derive(8)  |  Import(7)

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 PulseHeightAnalyser(Parameter):
 
    bias = NumericalAttribute('V', False, 'Bias', 'bias')
    gain = NumericalAttribute(None, False, 'Gain', 'gain')
    base_level = NumericalAttribute('V' , False, 'BaseLevel', 'base level')
class WindowLayer(Parameter):
 
    material = TextAttribute(True, doc='material')
    thickness = NumericalAttribute('um', True, doc='thickness')
 
class Window(Parameter):
 
    layers = FrozenAttribute(list, doc='modifiable list of layers')
 
    def __init__(self, layers=None):

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)

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 SpecimenLayer(Parameter):
 
    name = TextAttribute(False, doc='name')
    thickness = NumericalAttribute('nm', False, 'Thickness', 'thickness')
    formula = TextAttribute(False, 'Formula', 'formula')

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):

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/condition.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.util.parameter import Parameter
 
# Globals and constants variables.
 
class _Condition(Parameter):

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,
class MockParameter(Parameter):
 
    required = _Attribute(True, xmlname='XMLNAME')
    notrequired = _Attribute(False)
    frozen = FrozenAttribute(list)

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')