File: common.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 (37 lines) | stat: -rw-r--r-- 1,206 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
35
36
37
/*****************************************************************************/
/* common.h								     */
/*****************************************************************************/

#ifndef	__FITSH_COMMON_H_INCLUDED
#define	__FITSH_COMMON_H_INCLUDED

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

#include <fits/fits.h>
#include "fitsmask.h"

#define		OOSQ2PI		0.3989422804014326779
#define		OOSQ2		0.7071067811865475244

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

typedef struct 
 {	double	x,y;
 	double	dx,dy;
 } dpoint;

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

int	mark_saturated_pixels(fitsimage *img,char **mask,fitsimage *satimg,double param,int method);

int	join_masks_from_files(char **mask,int sx,int sy,char **inmasklist);

int	mark_integerlimited_pixels(fitsimage *img,char **mask,int bitpix,int is_corr,int mvlo,int mvhi);

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

#endif

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