Struct fitrs::Fits[][src]

pub struct Fits { /* fields omitted */ }

Represent an open FITS file.

Implement caching. Thread-safe.

Methods

impl Fits
[src]

Open FITS file given in provided path.

Important traits for FitsIter<'f>

Iterate over references to Hdus.

Important traits for FitsIterMut<'f>

Iterate over mutable references to Hdus.

Force-read the whole FITS file and cache it.

Beware of the size of the file you are loading before doing that.

Get reference to Hdu by index. Use 0 for primary HDU.

Get mutable reference to Hdu by index. Use 0 for primary HDU.

Get reference to Hdu by EXTNAME. Defined in FIST standard 5.4.2.6

Get mutable reference to Hdu by EXTNAME. Defined in FIST standard 5.4.2.6

Trait Implementations

impl Debug for Fits
[src]

Formats the value using the given formatter. Read more

impl Drop for Fits
[src]

We must release the Hdu cache!

Executes the destructor for this type. Read more

impl Index<usize> for Fits
[src]

Hdu at index.

Get Hdu by index. Panic if index is larger than the number of Hdus. Prefer Fits::get if you need to check.

impl IndexMut<usize> for Fits
[src]

Get mutable Hdu by index. Panic if index is larger than the number of Hdus. Prefer Fits::get_mut if you need to check.

impl<'s> Index<&'s str> for Fits
[src]

Hdu with provided EXTNAME.

Get Hdu by EXTNAME. Panic if EXTNAME is not found. Prefer Fits::get_by_name if you need to check.

impl<'s> IndexMut<&'s str> for Fits
[src]

Get mutable Hdu by EXTNAME. Panic if EXTNAME is not found. Prefer Fits::get_mut_by_name if you need to check.

impl IntoIterator for Fits
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for Fits

impl Sync for Fits