zospy.analyses.raysandspots.single_ray_trace.SingleRayTraceTransformer

zospy.analyses.raysandspots.single_ray_trace.SingleRayTraceTransformer#

class zospy.analyses.raysandspots.single_ray_trace.SingleRayTraceTransformer#

Bases: ZospyTransformer

Transformer for the output of the Single Ray Trace analysis.

Methods

DATE

FLOAT(f)

Floating point number with localized decimal separator.

INT(i)

Integer number.

NAN(args)

Transform a NaN value.

UINT(i)

Unsigned integer number.

WORD

dict(args)

Transform a key-value mapping.

field_group(args)

Transform a group of fields under a common key to a SimpleField.

field_name(name)

Transform a field name.

field_parameters(args)

Transform field parameters.

field_value(value)

Transform a field value.

list

Built-in mutable sequence.

multi_string(iterable, /)

Concatenate any number of strings.

parametric_field(args)

Transform a field with parameters.

parametric_unit_field(args)

Transform a field with parameters and a unit.

ray_trace_data_table(args)

Transform the ray trace data table to a DataFrame.

simple_field(args)

Transform a simple field with a name and a value.

start(args)

Transform the root of the parse tree.

string_list(args)

List of whitespace-separated strings.

table(args)

Transform a table with a header and one or more rows.

text(args)

Discard text that can be ignored.

transform(tree)

Transform the given tree, and return the final result

tuple(args)

Transform a tuple of values.

unit(args)

Transform a unit of measurement.

unit_field(args)

Transform a field with a unit.

NAN(args)#

Transform a NaN value.

ray_trace_data_table(args)#

Transform the ray trace data table to a DataFrame.