PistonComponent

class kgpy.optics.component.PistonComponent(name=<factory>, plot_kwargs=<factory>, piston=<Quantity 0. mm>, piston_error=<Quantity 0. mm>)

Bases: Component[SurfaceT]

__init__(name=<factory>, plot_kwargs=<factory>, piston=<Quantity 0. mm>, piston_error=<Quantity 0. mm>)
Parameters
Return type

None

Attributes

dataframe

piston

piston_error

surface

transform

Methods

__init__([name, plot_kwargs, piston, ...])

copy()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

copy_shallow()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

plot(ax[, components, component_z, ...])

rtype

typing.List[matplotlib.lines.Line2D]

Inheritance Diagram

Inheritance diagram of kgpy.optics.component.PistonComponent

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)
Return type

typing.List[matplotlib.lines.Line2D]

Parameters
property dataframe: DataFrame
name: Name
piston: astropy.units.Quantity = <Quantity 0. mm>
piston_error: astropy.units.Quantity = <Quantity 0. mm>
plot_kwargs: typ.Dict[str, typ.Any]
property surface: SurfaceT
property transform: TransformList