pdaAngle

Define angle, default unit is degree.

Structure

This element does not have elements. The attributes are shown below, in a sorted per type fashion.


<angle  pdaValueDouble:doc="..."  pdaValueDouble:max="..."  pdaValueDouble:min="..." ... > ... </angle>

XSD

The schema file can be downloaded or viewed at xPDK_Base.

Details

Type pdaValueDouble

Define some (double) value, unit is micron for position and degrees for angles. The expression is in the content.

Type pdaExpression

Define an expression.

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.

doc

Type pdaDocumentation documentation: Document anything relevant for the topic you want to define.

This field allows some (short, few lines) documentation to be written. It can be a long string, but the idea is not to replace a design manual.
This fields is like tex which allows documentation in LaTex format; doc is restricted to plain text.

max

Optional maximum value which can be used for design rule checking or user interface aspects. Type pdaExpression documentation: Define an expression.

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.

min

Optional minimum value which can be used for design rule checking or user interface aspects. Type pdaExpression documentation: