pub struct WaveplateSpec {
pub retardance: f64,
pub wavelength_um: f64,
pub axis_deg: f64,
pub order: u32,
pub transmittance: f64,
pub material: Option<String>,
pub thickness_mm: Option<f64>,
pub plates: Vec<PlateSpec>,
}Expand description
波長板: 速い軸 axis_deg に対する遅い軸の遅延。理想(材料なし)は (order + retardance)·wavelength_um/λ 波長。
material(複屈折材、常光はガラス material、異常光は material-E)か plates(2 材の組など)があれば
遅延は板ごとの Δn(λ)·d/λ。material で厚さを省くと、設計波長の遅延 order + retardance から決める
Fields§
§retardance: f64設計波長での遅延 [波長](λ/4 板は 0.25、λ/2 板は 0.5)。厚さを書いた板では使わない
wavelength_um: f64設計波長 [µm]
axis_deg: f64速い軸の向き [deg](x から y へ)
order: u32多次の波長板の整数の次数(ゼロ次は 0)
transmittance: f64強度透過率
material: Option<String>複屈折材(1 枚の板。速い軸が axis_deg)
thickness_mm: Option<f64>material の板の厚さ [mm](省略なら設計波長の遅延から)
plates: Vec<PlateSpec>複屈折材の板の組(光の通る順。アクロマティック波長板は速い軸を直交させた 2 材など)
Implementations§
Trait Implementations§
Source§impl Clone for WaveplateSpec
impl Clone for WaveplateSpec
Source§impl Debug for WaveplateSpec
impl Debug for WaveplateSpec
Source§impl<'de> Deserialize<'de> for WaveplateSpec
impl<'de> Deserialize<'de> for WaveplateSpec
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 WaveplateSpec
impl JsonSchema for WaveplateSpec
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 WaveplateSpec
impl PartialEq for WaveplateSpec
Source§impl Serialize for WaveplateSpec
impl Serialize for WaveplateSpec
impl StructuralPartialEq for WaveplateSpec
Auto Trait Implementations§
impl Freeze for WaveplateSpec
impl RefUnwindSafe for WaveplateSpec
impl Send for WaveplateSpec
impl Sync for WaveplateSpec
impl Unpin for WaveplateSpec
impl UnsafeUnpin for WaveplateSpec
impl UnwindSafe for WaveplateSpec
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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