4 #ifndef GloriaMedianMap_h
5 #define GloriaMedianMap_h 1
7 #include "GloriaValueMap.h"
8 #include "gloria/GloriaFitsImage.h"
117 long CalculateMap(
int iVar,
int nVal,
double* Xpos,
double* Ypos,
double* Val);
130 long CalculateMap(
int iVar, vector<double>* Xpos, vector<double>* Ypos, vector<double>* Val);
159 inline double GetMedian(
int ivar,
int ix,
int iy,
int ipol=1)
163 inline double GetMedian(
int ivar,
double x,
double y,
int ipol=1)
167 inline double GetMedian(
int ivar,
long ipix,
int ipol=1)
171 inline double GetSpread(
int ivar,
int ix,
int iy,
int ipol=1)
175 inline double GetSpread(
int ivar,
double x,
double y,
int ipol=1)
179 inline double GetSpread(
int ivar,
long ipix,
int ipol=1)
207 inline double GetNoise(
double x,
double y,
int ipol=1)
220 inline double*
GetSpreadMap(
int ivar=0) {
return _valueMaps.at(2*ivar+1); };
223 inline double*
GetBgMap() {
return _valueMaps.at(0); };
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
GloriaFitsImage * GetMapImage(int imap, int ipol=1)
Return image filled with parameter values.
Definition: GloriaValueMap.cc:457
double GetMapValue(int imap, int ix, int iy, int ipol=1)
Get value from map imap for pixel (ix,iy)
Definition: GloriaValueMap.cc:278
Class for constructing parameter/value maps for an image.
Definition: GloriaValueMap.h:33
Class for reading and processing fits tables in Luiza.
Definition: GloriaFitsTable.h:109
Class for reading and processing fits images in Luiza.
Definition: GloriaFitsImage.h:43
double GetMapMean(int imap)
Returns mean value of map entries.
Definition: GloriaValueMap.cc:256