#ifndef DROPDEGEN_HPP
#define DROPDEGEN_HPP

//#include <fitsio.h>

//#include <stdio.h>

// Drop all degenerated axes from a header of a FITS file.
// Degenerate axis is such that NAXISi = 1
// dropdegen() will adjust NAXIS keyword, remove NAXISi keyword(s)
// and remove all keywords related to the degenerated axis 'i'.

// drop degen in an opened file fptr
//void dropdegen(fitsfile *fptr);

// drop degen in all HDU of a fits file given by fitsname
int vlkb_dropdegen(const char * fitsfname);

#endif
