Rectangular

class kgpy.optics.surface.aperture.Rectangular(plot_kwargs=<factory>, num_samples=1000, is_obscuration=False, decenter=<factory>, half_width_x=<Quantity 0. mm>, half_width_y=<Quantity 0. mm>)

Bases: Polygon

Parameters
__init__(plot_kwargs=<factory>, num_samples=1000, is_obscuration=False, decenter=<factory>, half_width_x=<Quantity 0. mm>, half_width_y=<Quantity 0. mm>)
Parameters
Return type

None

Attributes

broadcasted

half_width_x

half_width_y

is_obscuration

max

min

num_samples

shape

shapely_poly

vertices

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.Rectangular

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
half_width_x: astropy.units.Quantity = <Quantity 0. mm>
half_width_y: astropy.units.Quantity = <Quantity 0. mm>
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
property wire: Quantity