add_mpdaf_keywords_to_file(path, method, …) |
Add keywords in a FITS file header to describe the method and the corresponding parameters. |
add_mpdaf_method_keywords(header, method, …) |
Add keywords in a FITS header to describe the method and the corresponding parameters. |
broadcast_to_cube(arr, shape) |
Broadcast an array (image or spectrum to a cube. |
chdir(dirname) |
Context manager to change the current working directory. |
copy_header(srchdr[, dsthdr, exclude, unit]) |
Copy all keywords from a FITS header to another. |
copy_keywords(srchdr, dsthdr, keys) |
Copy a list of FITS keywords from one header to another. |
deprecated(instructions) |
Flags a method as deprecated. |
fix_unit_read(x) |
|
fix_unit_write(x) |
|
is_valid_fits_file(filename) |
Return True is a file exist and is a valid FITS file (based on its extension). |
read_slice_from_fits(filename_or_hdu[, …]) |
Read data from a FITS file. |
timeit(f) |
Decorator which prints the execution time of a function. |
timer() |
Context manager which prints the execution time. |