pylegs.io#

Functions

compress_fits_image(file[, save_path, ...])

Compress a FITS image and optionally save the compressed image to a file.

concat_tables(tables, **kwargs)

Concatenate tables into a single one.

download_file(url[, save_path, query, ...])

Download a file from a URL and save it to a specified path.

parallel_function_executor(func[, params, ...])

Execute a function in parallel using multiple threads.

read_table(path[, fmt, columns, low_memory, ...])

This function tries to detect the table type comparing the file extension and returns a pandas dataframe of the loaded table.

write_table(data, path[, fmt])

Write a table to a file in various formats.