public software.sextractor

[/] [trunk/] [src/] [wcscelsys.h] - Blame information for rev 233

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 95 bertin
/*
2 233 bertin
*                               wcscelsys.h
3 95 bertin
*
4 233 bertin
* Celestial system definitions.
5 95 bertin
*
6 233 bertin
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 95 bertin
*
8 233 bertin
*       This file part of:      AstrOmatic software
9 95 bertin
*
10 233 bertin
*       Copyright:              (C) 1998-2010 IAP/CNRS/UPMC
11 95 bertin
*
12 233 bertin
*       Author:                 Emmanuel Bertin (IAP)
13
*
14
*       License:                GNU General Public License
15
*
16
*       AstrOmatic software is free software: you can redistribute it and/or
17
*       modify it under the terms of the GNU General Public License as
18
*       published by the Free Software Foundation, either version 3 of the
19
*       License, or (at your option) any later version.
20
*       AstrOmatic software is distributed in the hope that it will be useful,
21
*       but WITHOUT ANY WARRANTY; without even the implied warranty of
22
*       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
*       GNU General Public License for more details.
24
*       You should have received a copy of the GNU General Public License
25
*       along with AstrOmatic software.
26
*       If not, see <http://www.gnu.org/licenses/>.
27
*
28
*       Last modified:          10/10/2010
29
*
30
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
31 95 bertin
 
32
/*-------------------------------- constants --------------------------------*/
33
 
34 233 bertin
/* Equatorial coordinates of origin and pole and rotation sign of equatorial,*/
35
/* galactic, ecliptic and supergalactic reference frames, from Allen Astron. */
36
/* Quantities, 4th ed. */
37
 
38 95 bertin
char    celsysname[][2][8] = {  {"RA--", "DEC-"},
39
                                {"GLON", "GLAT"},
40
                                {"ELON", "ELAT"},
41 233 bertin
                                {"SLON", "SLAT"},
42 95 bertin
                                {""}};
43
double  celsysorig[][2] = {     {0.0, 0.0},
44
                                {266.40499625, -28.93617242},
45 233 bertin
                                {0.0, 0.0},
46
                                {42.29235, 59.52315}},
47 95 bertin
        celsyspole[][2] = {     {0.0, 90.0},
48
                                {192.85948123, 27.12825120},
49 233 bertin
                                {273.85261111, 66.99111111},
50
                                {283.7514, 15.70480}},
51 95 bertin
/* Note: the code to handle the rotation sign is not yet implemented!!! */
52
        celsyssign[]    = {      1.0,
53
                                 1.0,
54 233 bertin
                                 1.0,
55 95 bertin
                                 1.0};
56