﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
722	psFits ImageCube functions; Image and Table functions	Paul Price	Paul Price	"It's kind of annoying to have to get NAXIS3 and do multiple calls to
psFitsReadImage, etc, so I propose a new set of functions: psFitsReadImageCube,
psFitsWriteImageCube, psFitsUpdateImageCube, psFitsInsertImageCube.  Instead of
working on a single 2D image, these functions will work on a psArray of images.

psArray *psFitsReadImageCube(const psFits *fits, psRegion region);
bool psFitsUpdateImageCube(psFits *fits, const psArray *input, int x0, int y0);
bool psFitsWriteImageCube(psFits *fits, psMetadata *header, const psArray
*input, const char *extname);
bool psFitsInsertImageCube(psFits *fits, psMetadata *header, const psArray
*input, const char *extname, bool after);

In the process of putting these together, I noticed differences between the
Image (or the ImageCube) functions and the Table functions, specifically in the
use of the extname.

bool psFitsWriteImageCube(psFits *fits, psMetadata *header, const psArray
*input, const char *extname);
bool psFitsWriteTable(psFits* fits, const psMetadata *header, const psArray*
table); 

bool psFitsInsertImageCube(psFits *fits, psMetadata *header, const psArray
*input, const char *extname, bool after);
bool psFitsInsertTable(psFits *fits, const psMetadata *header, const psArray*
table, bool after);

I propose adding the extname to the Table functions, following the Image
functions.  This would mean that it is the responsibility of pslib to update the
header with the EXTNAME."	defect	closed	high		fits	0.10.0	normal	fixed	PSLib	robert.desonia@…
