#ifndef PM_FPA_WRITE_H
#define PM_FPA_WRITE_H

#include "pslib.h"
#include "pmFPA.h"

bool pmFPAWrite(psFits *fits,           // FITS file to which to write
                pmFPA *fpa,             // FPA to write
                psDB *db                // Database to update
               );

bool pmFPAWriteMask(pmFPA *fpa,         // FPA containing mask to write
                    psFits *fits        // FITS file for image
                   );

bool pmFPAWriteWeight(pmFPA *fpa,       // FPA containing mask to write
                      psFits *fits      // FITS file for image
                     );


#endif
