public software.sextractor

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

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