File: magnitude.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 (25 lines) | stat: -rw-r--r-- 800 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
/*****************************************************************************/
/* magnitude.h								     */
/*****************************************************************************/

#ifndef	__MAGNITUDE_H_INCLUDED
#define	__MAGNITUDE_H_INCLUDED	1

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

typedef struct
 {	double	magnitude;
	double	intensity;
 } magflux;

double	mag_to_flux(double magn,magflux *mf);
double	flux_to_mag(double flux,magflux *mf);

int	flux_to_mag_magerr(double f,double fe,magflux *mf,double *rm,double *rme);

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

#endif

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