common.io.fits_tools Module

Created on 20 mars 2018

based on ‘Tools.py’ python program of Cyril Lachaud Generic functions to manipulate fits file

@author: Catalano Camille, APC

Functions

common_keyword(fits_header, tstart, tstop[, …]) add to the fits header the common keywords used in all the pipeline products
energy_keywords(fits_header, chanmin, …) add to fits header the keywords related to energy
get_mjd_ref() return the mjd reference for the SVOM mission
grouphdu_keyword(fits_header, grp_table_name) add to the fits header the specific keywords for a group HDU
image_plot(image[, save, show, title, clim, …]) plot/show/save the image of the array
read_fits(name[, ugts_standard]) Read an array from a fits file
set_array_and_header_from_file(filename[, …]) read a fits file
set_array_from_file(filename[, ugts_standard]) read a fits file (using read_fits)
wcs_keyword(fits_header, attitude) add to the fits header the wcs keywords
write_fits(filename, data) Save an array into a fits file