pub enum PixelType {
F32,
F64,
}Expand description
In-memory pixel precision for streaming a cube, derived from FITS BITPIX.
F32 covers BITPIX = -32 (and is the working precision for integer cubes,
matching long-standing behaviour); F64 covers BITPIX = -64. Channels are
read, convolved, and written in this precision so the FFT runs at the data’s
native precision rather than always upcasting to f64.
Variants§
Implementations§
Trait Implementations§
impl Copy for PixelType
impl Eq for PixelType
impl StructuralPartialEq for PixelType
Auto Trait Implementations§
impl Freeze for PixelType
impl RefUnwindSafe for PixelType
impl Send for PixelType
impl Sync for PixelType
impl Unpin for PixelType
impl UnsafeUnpin for PixelType
impl UnwindSafe for PixelType
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