RaysList¶
- class kgpy.optics.rays.RaysList(data=<factory>, plot_kwargs=<factory>)¶
Bases:
WritableMixin,Plottable,DataclassList[Rays]- __init__(data=<factory>, plot_kwargs=<factory>)¶
Attributes
Methods
__init__([data, 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, ...])reverse()to_dxf(filename[, dxf_unit])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, color_axis=-2, plot_vignetted=False, plot_colorbar=True)¶
- Return type
typing.Tuple[typing.List[matplotlib.lines.Line2D],typing.Optional[matplotlib.colorbar.Colorbar]]- Parameters
- reverse()¶
- write_to_dxf(file_writer, unit, transform_extra=None)¶
- data: typ.List[ItemT]¶
-
plot_kwargs:
typing.Dict[str,typing.Any]¶
- property tol_iter: Iterator[DataclassList]¶