Utils (radiotools.utils)#

Utils module of radiotools.

Reference/API#

radiotools.utils Package#

Functions#

get_array_names(url)

Fetches array names from a given URL leading to a directory.

beam2pix(image, cell_size, bmin, bmaj)

Converts an image from Jy/beam to Jy/px.

pix2beam(image, cell_size, bmin, bmaj)

Converts an image from Jy/pix to Jy/beam.

rms(a, *[, axis])

Return an array of the root-mean-square (RMS) value of the passed array.

uvfits2ms(fits_path, ms_path)

Converts a uvfits_file into a measurement set (ms file).

rmtree(root)

Recursively remove directories and files starting from root directory.