#ifndef PP_MERGE_COMBINE_H
#define PP_MERGE_COMBINE_H

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

#include "ppMergeData.h"
#include "ppMergeOptions.h"

// Combine readouts
bool ppMergeCombine(psImage *scales,    // Scales for each cell of each integration, or NULL
                    psImage *zeros,     // Zeros for each cell of each integration, or NULL
                    psArray *shutters, // Shutter correction data for each cell, or NULL
                    ppMergeData *data,  // Data
                    ppMergeOptions *options, // Options
                    pmConfig *config    // Configuration
    );

#endif
