pub struct InputPolarization {
pub unpolarized: bool,
pub jx: f64,
pub jy: f64,
pub phase_x: f64,
pub phase_y: f64,
}Expand description
系の入射偏光(OpticStudio の System Explorer の Polarization、.zmx の POLS): 膜・偏光を入れる解析(MTF・PSF・相対照度の
polarization)の入射の偏光。既定は偏光なし(光線に垂直な面の正規直交の 2 つの偏光の平均)
Fields§
§unpolarized: bool偏光なし(true なら jx・jy・位相は使わない)
jx: f64電場の x・y の振幅(正規化しない。強度をそろえて使う)
jy: f64§phase_x: f64x・y の位相 [deg]
phase_y: f64Implementations§
Trait Implementations§
Source§impl Clone for InputPolarization
impl Clone for InputPolarization
impl Copy for InputPolarization
Source§impl Debug for InputPolarization
impl Debug for InputPolarization
Source§impl Default for InputPolarization
impl Default for InputPolarization
Source§fn default() -> InputPolarization
fn default() -> InputPolarization
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputPolarization
impl<'de> Deserialize<'de> for InputPolarization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for InputPolarization
impl JsonSchema for InputPolarization
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InputPolarization
impl PartialEq for InputPolarization
Source§impl Serialize for InputPolarization
impl Serialize for InputPolarization
impl StructuralPartialEq for InputPolarization
Auto Trait Implementations§
impl Freeze for InputPolarization
impl RefUnwindSafe for InputPolarization
impl Send for InputPolarization
impl Sync for InputPolarization
impl Unpin for InputPolarization
impl UnsafeUnpin for InputPolarization
impl UnwindSafe for InputPolarization
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more