SurfaceList¶
- class kgpy.optics.surface.SurfaceList(data=<factory>, transform=<factory>, plot_kwargs=<factory>)¶
Bases:
WritableMixin,Plottable,Transformable,DataclassList[Surface]- __init__(data=<factory>, transform=<factory>, plot_kwargs=<factory>)¶
- Parameters
data (List[ItemT]) –
transform (TransformList) –
- Return type
None
Attributes
Methods
__init__([data, transform, plot_kwargs])append(item)- rtype
copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
count(value)- rtype
index(value)- rtype
plot(ax[, components, component_z, ...])raytrace(rays[, surface_last, intercept_error])reverse()write_to_dxf(file_writer, unit[, ...])- rtype
Inheritance Diagram
- append(item)¶
- Return type
- Parameters
item (ItemT) –
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- plot(ax, components=('x', 'y'), component_z=None, plot_kwargs=None, transform_extra=None, to_global=False, plot_annotations=True, annotation_text_y=1.05)¶
- raytrace(rays, surface_last=None, intercept_error=<Quantity 0.1 nm>)¶
- Return type
- Parameters
- reverse()¶
- write_to_dxf(file_writer, unit, transform_extra=None)¶
- data: typ.List[ItemT]¶
- property flat_global: SurfaceList¶
- property flat_local: SurfaceList¶
-
plot_kwargs:
typing.Dict[str,typing.Any]¶
- property tol_iter: Iterator[Transformable]¶
- transform: TransformList¶