#ifndef PP_MERGE_DATA_H
#define PP_MERGE_DATA_H

#include <pslib.h>
#include <psmodules.h>

// Container for the data
typedef struct {
    int numCells;                       // Number of (valid) cells in the FPA
    psArray *files;                     // Input file pointers
    psArray *in;                        // Input FPA structures
    pmFPA *out;                         // Output FPA structure
    psFits *outFile;                    // FITS file handle for output
    psMetadata *stats;                  // Statistics on the combined image
    FILE *statsFile;                    // File stream for statistics output
} ppMergeData;


// Allocator
ppMergeData *ppMergeDataAlloc(void);


#endif
