wcscelsys.h 1.79 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1
/*
2
3
4
5
6
7
8
*				wcscelsys.h
*
* Celestial system definitions.
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
*	This file part of:	AstrOmatic software
Emmanuel Bertin's avatar
Emmanuel Bertin committed
9
*
10
*	Copyright:		(C) 1998-2010 IAP/CNRS/UPMC
Emmanuel Bertin's avatar
Emmanuel Bertin committed
11
*
12
*	Author:			Emmanuel Bertin (IAP)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
13
*
14
*	License:		GNU General Public License
Emmanuel Bertin's avatar
Emmanuel Bertin committed
15
*
16
17
18
19
20
21
22
23
24
25
26
*	AstrOmatic software is free software: you can redistribute it and/or
*	modify it under the terms of the GNU General Public License as
*	published by the Free Software Foundation, either version 3 of the
*	License, or (at your option) any later version.
*	AstrOmatic software is distributed in the hope that it will be useful,
*	but WITHOUT ANY WARRANTY; without even the implied warranty of
*	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*	GNU General Public License for more details.
*	You should have received a copy of the GNU General Public License
*	along with AstrOmatic software.
*	If not, see <http://www.gnu.org/licenses/>.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
27
*
28
29
30
*	Last modified:		10/10/2010
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
Emmanuel Bertin's avatar
Emmanuel Bertin committed
31
32
33

/*-------------------------------- constants --------------------------------*/

34
35
36
37
/* Equatorial coordinates of origin and pole and rotation sign of equatorial,*/
/* galactic, ecliptic and supergalactic reference frames, from Allen Astron. */
/* Quantities, 4th ed. */

Emmanuel Bertin's avatar
Emmanuel Bertin committed
38
39
40
char	celsysname[][2][8] = {  {"RA--", "DEC-"},
				{"GLON", "GLAT"},
				{"ELON", "ELAT"},
41
				{"SLON", "SLAT"},
Emmanuel Bertin's avatar
Emmanuel Bertin committed
42
43
44
				{""}};
double	celsysorig[][2] = {	{0.0, 0.0},
				{266.40499625, -28.93617242},
45
46
				{0.0, 0.0},
				{42.29235, 59.52315}},
Emmanuel Bertin's avatar
Emmanuel Bertin committed
47
48
	celsyspole[][2] = {	{0.0, 90.0},
				{192.85948123, 27.12825120},
49
50
				{273.85261111, 66.99111111},
				{283.7514, 15.70480}},
Emmanuel Bertin's avatar
Emmanuel Bertin committed
51
52
/* Note: the code to handle the rotation sign is not yet implemented!!! */
	celsyssign[]	= {	 1.0,
53
				 1.0,
Emmanuel Bertin's avatar
Emmanuel Bertin committed
54
55
56
				 1.0,
				 1.0};