Struct fitsio::FitsFile [] [src]

pub struct FitsFile {
    pub filename: String,
    // some fields omitted
}

Main entry point to the FITS file format

Fields

Methods

impl FitsFile
[src]

Open a fits file from disk

Examples

use fitsio::FitsFile;

let f = FitsFile::open("../testdata/full_example.fits").unwrap();

// Continue to use `f` afterwards

Create a new fits file on disk

Change the current HDU

Get the current HDU type

Read header key

Write header key

Read a binary table column

Read an image between pixel a and pixel b into a Vec

Read a square region into a Vec

Get the current hdu info

Trait Implementations

impl Clone for FitsFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for FitsFile
[src]

A method called when the value goes out of scope. Read more