Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/elementalid.py   pyHMSA(Download)
# Local modules.
from pyhmsa.spec.condition.condition import _Condition
from pyhmsa.util.parameter import \
    NumericalAttribute, XRayLineAttribute, AtomicNumberAttribute
from pyhmsa.util.element_properties import get_symbol, get_atomic_number
class ElementalID(_Condition):
 
    TEMPLATE = 'ElementalID'
 
    atomic_number = AtomicNumberAttribute(True, 'Element', "atomic number")

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,
    numerical = NumericalAttribute('m')
    text = TextAttribute()
    atomic_number = AtomicNumberAttribute()
    unit = UnitAttribute()
    line = XRayLineAttribute()