save_stack

tayph.save_stack(filename, list_of_2D_frames)[source] [edit on github]

This code saves a stack of fits-files to a 3D cube, that you can play through in DS9. For diagnostic purposes.

Parameters
filenamestr, Path

Output filename/path.

list_of_2D-frameslist

A list with 2D arrays

Returns
elapsedfloat

The time elapsed since start.