#ifndef PP_STATS_DATA_H
#define PP_STATS_DATA_H

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

typedef struct {
    // Inputs
    psFits *fits;                       // Input file handle
    pmFPA *fpa;                         // FPA to analyse
    pmFPAview *view;                    // View to analyse
    // Stuff to output
    psStats *stats;                     // Statistics to calculate
    bool doStats;                       // Do statistics?
    psList *headers;                    // Headers to read
    psList *concepts;                   // Concepts to read
    // Options for input data
    float sample;                       // Fraction of cell to sample for statistics
    psMaskType maskVal;                 // Mask value for images
    psList *chips;                      // Chips to look at
    psList *cells;                      // Cells to look at
} ppStatsData;

// Allocator
ppStatsData *ppStatsDataAlloc(void);

#endif
