pub enum CalibrationError {
ChannelSizeMismatch {
calsol_chans: usize,
data_chans: usize,
},
BadArrayShape {
argument: String,
function: String,
expected: String,
received: String,
},
}Expand description
Errors that can occur when calibrating visibilities.
Variants§
ChannelSizeMismatch
When the number of channels in the calibration solution does not match the number of channels in the data.
Fields
BadArrayShape
Error for bad array shape in provided argument
Trait Implementations§
Source§impl Debug for CalibrationError
impl Debug for CalibrationError
Source§impl Display for CalibrationError
impl Display for CalibrationError
Source§impl Error for CalibrationError
impl Error for CalibrationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CalibrationError> for BirliError
impl From<CalibrationError> for BirliError
Source§fn from(source: CalibrationError) -> Self
fn from(source: CalibrationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CalibrationError
impl RefUnwindSafe for CalibrationError
impl Send for CalibrationError
impl Sync for CalibrationError
impl Unpin for CalibrationError
impl UnsafeUnpin for CalibrationError
impl UnwindSafe for CalibrationError
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> 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