pub struct ChannelInfo {
pub index: u32,
pub name: Option<String>,
pub fluorophore: Option<String>,
pub excitation_nm: Option<f64>,
pub emission_nm: Option<f64>,
pub emission_range_nm: Option<[f64; 2]>,
pub emission_band_start_nm: Option<f64>,
pub emission_band_end_nm: Option<f64>,
pub emission_band_center_nm: Option<f64>,
pub color: Option<String>,
pub acquisition_mode: Option<String>,
pub exposure_ms: Option<f64>,
}Expand description
One acquisition channel.
Fields§
§index: u32Zero-based channel index (the c of a plane).
name: Option<String>Channel name as the acquisition software shows it.
fluorophore: Option<String>Fluorescent dye or protein imaged in this channel (e.g. DAPI, GFP), if recorded.
excitation_nm: Option<f64>Excitation wavelength in nanometres: the light used to make the sample fluoresce.
emission_nm: Option<f64>Emission wavelength in nanometres: the light collected from the sample. What the file
records varies by format (a dye’s emission peak, a filter’s centre, the start of a
spectral detection window for Leica λ scans); docs/formats/<fmt>.md says which. When
a detection band is known, emission_band_*_nm give it explicitly.
emission_range_nm: Option<[f64; 2]>Detection band [start_nm, end_nm] when the instrument records a range instead of a single emission wavelength.
emission_band_start_nm: Option<f64>Short-wavelength edge of the detection band in nanometres (spectral detector window or emission filter), when the file records the band.
emission_band_end_nm: Option<f64>Long-wavelength edge of the detection band in nanometres.
emission_band_center_nm: Option<f64>Centre of the detection band in nanometres: (start + end) / 2.
color: Option<String>Display colour as #RRGGBB if the file records one.
acquisition_mode: Option<String>Acquisition mode as a readable label, <technique>[ <contrast>] (e.g. Laser Scanning Confocal, Widefield Fluorescence, Brightfield, Phase Contrast); OME enumeration
tokens (WideField) are turned into these labels, other vendor wording is kept.
exposure_ms: Option<f64>Exposure (integration) time of the detector in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelInfo
impl Clone for ChannelInfo
Source§impl Debug for ChannelInfo
impl Debug for ChannelInfo
Source§impl Default for ChannelInfo
impl Default for ChannelInfo
Source§impl<'de> Deserialize<'de> for ChannelInfo
impl<'de> Deserialize<'de> for ChannelInfo
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>,
Source§impl JsonSchema for ChannelInfo
impl JsonSchema for ChannelInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ChannelInfo
impl PartialEq for ChannelInfo
Source§impl Serialize for ChannelInfo
impl Serialize for ChannelInfo
impl StructuralPartialEq for ChannelInfo
Auto Trait Implementations§
impl Freeze for ChannelInfo
impl RefUnwindSafe for ChannelInfo
impl Send for ChannelInfo
impl Sync for ChannelInfo
impl Unpin for ChannelInfo
impl UnsafeUnpin for ChannelInfo
impl UnwindSafe for ChannelInfo
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
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> ⓘ
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> ⓘ
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