ivis.types

Classes

VisIData(frequency, velocity, centers, nvis, ...)

class ivis.types.VisIData(frequency, velocity, centers, nvis, uu, vv, ww, data_I, sigma_I, flag_I)[source]

Bases: object

centers: ndarray
data_I: ndarray
flag_I: ndarray
frequency: ndarray
iter_chan_beam_I()[source]
Return type:

Iterator[Tuple[int, int, ndarray, ndarray, ndarray, ndarray, ndarray]]

iter_single_channel(copy=False)[source]

Iterate over channels, yielding (c, VisIData_with_only_that_channel).

nvis: ndarray
sigma_I: ndarray
single_channel(c, copy=False)[source]

Return a VisIData containing only channel c (shape (1, nbeam, nvis_max)). By default returns views (no copy); set copy=True for independent arrays.

Return type:

VisIData

slice_chan_beam_I(c, b)[source]

Return I, σ, and (u,v,w) in WAVELENGTHS for the given channel & beam, with flagged visibilities removed.

uu: ndarray
velocity: ndarray
vv: ndarray
ww: ndarray