Macro mwalib::get_fits_float_image_into_buffer

source ·
macro_rules! get_fits_float_image_into_buffer {
    ($fptr:expr, $hdu:expr, $buffer:expr) => { ... };
}
Expand description

Given a FITS file pointer and a HDU, read the associated float image.

§Arguments

  • fits_fptr - A reference to the FITSFile object.

  • hdu - A reference to the HDU you want to find keyword in the header of.

  • buffer - Buffer of floats (as a slice) to fill with data from the HDU.

§Returns

  • A Result of Ok on success, Err on error.