lofarSun.cli.h5_to_fits_spec

Module Contents

Functions

parse_args()

compress_h5(fname_DS, out_dir, t_c_ratio, t_idx_cut, ...)

fname_DS: relative (or absolute) directory+fname to the .h5

main()

Attributes

DESCRIPTION

device

lofar_logo_base64

idols_logo_base64

lofarSun.cli.h5_to_fits_spec.DESCRIPTION = Multiline-String
Show Value
"""
Split and down sample the dynamic spectrum of LOFAR observation

Input  :  Huge hdf5 file of LOFAR Tied array beam formed observation
Output :  Small fits file with json and png quickview

(by Peijin.Zhang & Pietro Zucca 2019.08)
"""
lofarSun.cli.h5_to_fits_spec.device
lofarSun.cli.h5_to_fits_spec.lofar_logo_base64 = 'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAURklEQVR4nLx6CXRcZfn3733vMlsmy2RfmrXpkhRo0i0tXUEE2...'
lofarSun.cli.h5_to_fits_spec.idols_logo_base64 = 'iVBORw0KGgoAAAANSUhEUgAAAIAAAAA1CAYAAACJOeMNAAAWsHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZppkiO3t...'
lofarSun.cli.h5_to_fits_spec.parse_args()
lofarSun.cli.h5_to_fits_spec.compress_h5(fname_DS, out_dir, t_c_ratio, t_idx_cut, f_c_ratio, minutes_per_chunk, num_chunks, chop_off, averaging, flagging, target_directory, date_directory, simple_fname, add_ksp_logo, add_idols_logo, flip_freq)

fname_DS: relative (or absolute) directory+fname to the .h5 out_dir: relative (or absolute) directory+fname to the .h5

lofarSun.cli.h5_to_fits_spec.main()