Crate mwalib[][src]

Definitions for what we expose to the library

Re-exports

pub use antenna::*;
pub use correlator_context::CorrelatorContext;
pub use error::MwalibError;
pub use metafits_context::CorrelatorVersion;
pub use metafits_context::MetafitsContext;
pub use rfinput::*;
pub use voltage_context::VoltageContext;
pub use fitsio;
pub use fitsio_sys;

Modules

antenna

Structs and helper methods for antenna metadata

baseline

Structs and helper methods for baseline metadata

coarse_channel

Structs and helper methods for coarse channel metadata

correlator_context

The main interface to MWA data.

error

Structs and helper methods for Error handling

error

Errors associated with reading in fits files.

gpubox_files

Functions for organising and checking the consistency of gpubox files.

metafits_context

The main interface to MWA data.

misc

General helper/utility methods

rfinput

Structs and helper methods for rf_input metadata

timestep

Structs and helper methods for timestep metadata

visibility_pol

Structs and helper methods for visibility polarisations metadata

voltage_context

The main interface to MWA data.

voltage_files

Functions for organising and checking the consistency of voltage files.

Macros

fits_open

Open a fits file.

fits_open_hdu

Open a fits file’s HDU.

get_fits_col

Get a column from a fits file’s HDU.

get_fits_image

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

get_hdu_image_size

Get the size of the image on the supplied FITS file pointer and HDU.

get_optional_fits_key

Given a FITS file pointer, a HDU that belongs to it, and a keyword that may or may not exist, pull out the value of the keyword, parsing it into the desired type.

get_optional_fits_key_long_string

Given a FITS file pointer, and a keyword to a long string keyword that may or may not exist, pull out the long string of the keyword. This deals with FITSs CONTINUE mechanism by calling a low level fits function.

get_required_fits_key

Given a FITS file pointer, a HDU that belongs to it, and a keyword, pull out the value of the keyword, parsing it into the desired type.

get_required_fits_key_long_string

Given a FITS file pointer, and a keyword to a long string keyword, pull out the long string of the keyword. This deals with FITSs CONTINUE mechanism by calling a low level fits function.

Enums

FitsError

Constants

MWA_ALTITUDE_METRES

The MWA’s altitude in metres.

MWA_LATITUDE_RADIANS

The MWA’s latitude on Earth in radians. This is -26d42m11.94986s.

MWA_LONGITUDE_RADIANS

The MWA’s longitude on Earth in radians. This is 116d40m14.93485s.