pub struct Plate {
pub material: String,
pub thickness: f64,
pub axis_deg: f64,
pub o: Option<Glass>,
pub e: Option<Glass>,
}Expand description
波長板の複屈折材の板 1 枚: 常光の屈折率はガラス material、異常光は material-E(OpticStudio の
複屈折材の名前の約束)。板の光学軸は板の面内で、速い軸の向きは axis_deg(波長板の axis_deg からの角度)。
遅延は φ(λ) = 2π·s·(ne − no)(λ)·d/λ(s は設計波長での ne − no の符号で、設計波長で速い軸が axis_deg になる)。
斜めに入る光での遅延の変化は見ない(垂直入射の値)
Fields§
§material: String§thickness: f64厚さ [mm]
axis_deg: f64§o: Option<Glass>常光・異常光のガラス(Retarder::resolve で引く)
e: Option<Glass>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plate
impl<'de> Deserialize<'de> for Plate
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 Plate
impl JsonSchema for Plate
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 moreimpl StructuralPartialEq for Plate
Auto Trait Implementations§
impl Freeze for Plate
impl RefUnwindSafe for Plate
impl Send for Plate
impl Sync for Plate
impl Unpin for Plate
impl UnsafeUnpin for Plate
impl UnwindSafe for Plate
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