pdaNamedNormalDistributionValue
The default type is double and the unit is none (dimensionless).
Structure
This element does not have elements. The attributes are shown below, in a sorted per type fashion.<local name="..." stddev="..." type="..." unit="..." ... > ... </local>
XSD The schema file can be downloaded or viewed at xPDK_Base.
Details
Type pdaExpression
Expression need to be commonly evaluated by many software, so having a restricted set of math / types and so on is key. In PDAFlow lib2/expr there is a yacc/lex parser available with some unit support as well as double / complex expressions. An alternative is tinyexpr, but this is more restrictive, so may be very unhandy for things like waveguide model expressions.
name
Type pdaIdentifier documentation:Identifiers are used in the Python library for the
getName()
and
setName()
function and can thus be used to identify the different elements in list
s.In text the specification is a letter, followed by letters, numbers, underscore. The XSD schema validation is a regular expression: [A-Za-z]([A-Za-z0-9_])*
stddev
Type pdaExpression documentation:Expression need to be commonly evaluated by many software, so having a restricted set of math / types and so on is key. In PDAFlow lib2/expr there is a yacc/lex parser available with some unit support as well as double / complex expressions. An alternative is tinyexpr, but this is more restrictive, so may be very unhandy for things like waveguide model expressions.
type
Type pdaValueType documentation: expression is an extension to what the 'simple code' can do, but runs partly in xPDK:expr spt.Allowed types:
boolean
:int
: xPDK:expr supportedunsigned
: xPDK:expr supporteddouble
: xPDK:expr supportedstring
:point
: xPDK:expr supportedcomplex
: xPDK:expr supported