pub struct SpectralChannel {
pub channel_id: String,
pub optics: Optics,
pub calibration: SourceCalibration,
pub acquisition: AcquisitionPlan,
}Expand description
One narrowband channel’s optics, source powers, and local acquisition rows.
The channel ID is stable metadata; its position in the input list is used by
SpectralContribution. Geometry is supplied separately by SpectralGeometry.
Fields§
§channel_id: StringNon-empty, unique channel identifier.
optics: OpticsChannel-specific optics with an explicit vacuum wavelength in metres.
calibration: SourceCalibrationFixed relative source powers, including known spectral response if desired.
acquisition: AcquisitionPlanOrdinary local acquisition rows; their gains precede the spectral sum.
Trait Implementations§
Source§impl Clone for SpectralChannel
impl Clone for SpectralChannel
Source§fn clone(&self) -> SpectralChannel
fn clone(&self) -> SpectralChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpectralChannel
impl Debug for SpectralChannel
Source§impl<'de> Deserialize<'de> for SpectralChannel
impl<'de> Deserialize<'de> for SpectralChannel
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
Auto Trait Implementations§
impl Freeze for SpectralChannel
impl RefUnwindSafe for SpectralChannel
impl Send for SpectralChannel
impl Sync for SpectralChannel
impl Unpin for SpectralChannel
impl UnsafeUnpin for SpectralChannel
impl UnwindSafe for SpectralChannel
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,
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