Trait fitsio::ReadsImage
[−]
[src]
pub trait ReadsImage { fn read_section(fits_file: &FitsFile,
start: usize,
end: usize)
-> Result<Vec<Self>> where Self: Sized; fn read_region(fits_file: &FitsFile,
lower_left: &Coordinate,
upper_right: &Coordinate)
-> Result<Vec<Self>> where Self: Sized; }
Reading fits images
Required Methods
fn read_section(fits_file: &FitsFile,
start: usize,
end: usize)
-> Result<Vec<Self>> where Self: Sized
start: usize,
end: usize)
-> Result<Vec<Self>> where Self: Sized
fn read_region(fits_file: &FitsFile,
lower_left: &Coordinate,
upper_right: &Coordinate)
-> Result<Vec<Self>> where Self: Sized
lower_left: &Coordinate,
upper_right: &Coordinate)
-> Result<Vec<Self>> where Self: Sized
Read a square region from the chip.
Lower left indicates the starting point of the square, and the upper right defines the pixel beyond the end. The range of pixels included is inclusive of the lower end, and exclusive of the upper end.