File: background.h

package info (click to toggle)
fitsh 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,768 kB
  • ctags: 4,050
  • sloc: ansic: 53,352; makefile: 1,120; sh: 25
file content (34 lines) | stat: -rw-r--r-- 1,000 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*****************************************************************************/
/* background.h								     */
/*****************************************************************************/

#ifndef	__BACKGROUND_H_DEFINED
#define	__BACKGROUND_H_DEFINED	1

/*****************************************************************************/

#define		BACKGROUND_POLYNOMIAL		1
#define		BACKGROUND_SPLINE		2

/*****************************************************************************/

typedef struct
 {	int	type,blocks,order;
	double	sx,sy,scale;
	double	*xfit,*yfit;
 } background;

typedef struct
 {      int     order;
        double  ox,oy,scale;
        double  *coeff;
 } spatial;

int	determine_background(fitsimage *img,spatial *bg,int gx,int gy,int order);

/*****************************************************************************/

#endif

/*****************************************************************************/