Grating#
- class esis.optics.Grating(serial_number: str = '', manufacturing_number: str = '', angle_input: astropy.units.quantity.Quantity = <Quantity 0. deg>, angle_output: astropy.units.quantity.Quantity = <Quantity 0. deg>, sag: None | optika.sags.AbstractSag = None, material: None | optika.materials._materials.AbstractMaterial = None, rulings: None | optika.rulings._rulings.AbstractRulings = None, num_folds: int = 0, halfwidth_inner: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, halfwidth_outer: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, width_border: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, width_border_inner: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, clearance: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, distance_radial: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. mm>, azimuth: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. deg>, translation: astropy.units.quantity.Quantity | named_arrays._vectors.cartesian.vectors_cartesian_3d.AbstractCartesian3dVectorArray = <Quantity 0. mm>, pitch: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. deg>, yaw: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. deg>, roll: astropy.units.quantity.Quantity | named_arrays._scalars.scalars.AbstractScalar = <Quantity 0. deg>)#
Bases:
AbstractGrating
Attributes
the coordinate transformation between the global coordinate system and this object's local coordinate system
Methods
__init__
([serial_number, ...])to_string
([prefix])Public-facing version of the
__repr__
method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.Inheritance Diagram
- Parameters:
serial_number (str)
manufacturing_number (str)
angle_input (Quantity)
angle_output (Quantity)
sag (None | AbstractSag)
material (None | AbstractMaterial)
rulings (None | AbstractRulings)
num_folds (int)
halfwidth_inner (Quantity | AbstractScalar)
halfwidth_outer (Quantity | AbstractScalar)
width_border (Quantity | AbstractScalar)
width_border_inner (Quantity | AbstractScalar)
clearance (Quantity | AbstractScalar)
distance_radial (Quantity | AbstractScalar)
azimuth (Quantity | AbstractScalar)
translation (Quantity | AbstractCartesian3dVectorArray)
pitch (Quantity | AbstractScalar)
yaw (Quantity | AbstractScalar)
roll (Quantity | AbstractScalar)
- to_string(prefix=None)#
Public-facing version of the
__repr__
method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.
- property angle_aperture: Quantity | AbstractScalar#
- azimuth: Quantity | AbstractScalar = <Quantity 0. deg>#
- clearance: Quantity | AbstractScalar = <Quantity 0. mm>#
- distance_radial: Quantity | AbstractScalar = <Quantity 0. mm>#
- halfwidth_inner: Quantity | AbstractScalar = <Quantity 0. mm>#
- halfwidth_outer: Quantity | AbstractScalar = <Quantity 0. mm>#
- material: None | AbstractMaterial = None#
- pitch: Quantity | AbstractScalar = <Quantity 0. deg>#
- roll: Quantity | AbstractScalar = <Quantity 0. deg>#
- rulings: None | AbstractRulings = None#
- sag: None | AbstractSag = None#
- property transformation: AbstractTransformation#
the coordinate transformation between the global coordinate system and this object’s local coordinate system
- translation: Quantity | AbstractCartesian3dVectorArray = <Quantity 0. mm>#
- width_border: Quantity | AbstractScalar = <Quantity 0. mm>#
- width_border_inner: Quantity | AbstractScalar = <Quantity 0. mm>#
- yaw: Quantity | AbstractScalar = <Quantity 0. deg>#