AsymmetricRectangular

class kgpy.optics.surface.aperture.AsymmetricRectangular(plot_kwargs=<factory>, num_samples=1000, is_obscuration=False, decenter=<factory>, width_x_neg=<Quantity 0. mm>, width_x_pos=<Quantity 0. mm>, width_y_neg=<Quantity 0. mm>, width_y_pos=<Quantity 0. mm>)

Bases: Polygon

Parameters
__init__(plot_kwargs=<factory>, num_samples=1000, is_obscuration=False, decenter=<factory>, width_x_neg=<Quantity 0. mm>, width_x_pos=<Quantity 0. mm>, width_y_neg=<Quantity 0. mm>, width_y_pos=<Quantity 0. mm>)
Parameters
Return type

None

Attributes

broadcasted

is_obscuration

max

min

num_samples

shape

shapely_poly

vertices

width_x_neg

width_x_pos

width_y_neg

width_y_pos

wire

Methods

__init__([plot_kwargs, num_samples, ...])

copy()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

copy_shallow()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

is_unvignetted(points[, num_extra_dims])

rtype

numpy.ndarray

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

rtype

typing.List[matplotlib.lines.Line2D]

write_to_dxf(file_writer, unit[, ...])

rtype

None

Inheritance Diagram

Inheritance diagram of kgpy.optics.surface.aperture.AsymmetricRectangular

copy()
Return type

typing.TypeVar(CopyableT, bound= Copyable)

Parameters

self (CopyableT) –

copy_shallow()
Return type

typing.TypeVar(CopyableT, bound= Copyable)

Parameters

self (CopyableT) –

is_unvignetted(points, num_extra_dims=0)
Return type

numpy.ndarray

Parameters
plot(ax, components=('x', 'y'), component_z=None, plot_kwargs=None, transform_extra=None, sag=None)
Return type

typing.List[matplotlib.lines.Line2D]

Parameters
write_to_dxf(file_writer, unit, transform_extra=None, sag=None)
Return type

None

Parameters
property broadcasted
decenter: kgpy.transform.rigid.Translate
is_obscuration: bool = False
property max: Vector3D
property min: Vector3D
num_samples: int = 1000
plot_kwargs: typing.Dict[str, typing.Any]
property shape
property shapely_poly: Polygon
property vertices: Vector3D
width_x_neg: astropy.units.Quantity = <Quantity 0. mm>
width_x_pos: astropy.units.Quantity = <Quantity 0. mm>
width_y_neg: astropy.units.Quantity = <Quantity 0. mm>
width_y_pos: astropy.units.Quantity = <Quantity 0. mm>
property wire: Quantity