pub struct Response {
pub instrument_sensitivity: Option<InstrumentSensitivity>,
pub stages: Vec<ResponseStage>,
}Expand description
Full instrument response — describes how to convert counts to physical units.
Contains both a quick overall sensitivity and detailed per-stage information.
See docs/guide/03-instrument-response.md for background.
Fields§
§instrument_sensitivity: Option<InstrumentSensitivity>Overall sensitivity (product of all stage gains). Used for quick counts-to-physical conversion at a single frequency.
stages: Vec<ResponseStage>Detailed per-stage response information. Stage 1 is typically the sensor, stage 2+ are digitizer/filters.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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