WCSLIB: wcslimits.h Source File

WCSLIB 8.7

Loading...
Searching...
No Matches
wcslimits.h
Go to the documentation of this file.
1/*============================================================================
2 WCSLIB 8.7 - an implementation of the FITS WCS standard.
3 Copyright (C) 1995-2026, Mark Calabretta
4
5 This file is part of WCSLIB.
6
7 WCSLIB is free software: you can redistribute it and/or modify it under the
8 terms of the GNU Lesser General Public License as published by the Free
9 Software Foundation, either version 3 of the License, or (at your option)
10 any later version.
11
12 WCSLIB is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15 more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with WCSLIB. If not, see http://www.gnu.org/licenses.
19
20 Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
21 http://www.atnf.csiro.au/computing/software/wcs
22 $Id: wcslimits.h,v 8.7 2026/05/11 12:01:10 mcalabre Exp $
23*=============================================================================
24*
25* WCSLIB 8.7 - C routines that implement the FITS World Coordinate System
26* (WCS) standard. Refer to the README file provided with WCSLIB for an
27* overview of the library.
28*
29*
30* Summary of wcslimits.h
31* ----------------------
32* Declaration of global variables that set limits for arrays used by WCSLIB.
33* The external variables are defined in wcs.c.
34*
35*===========================================================================*/
36
37#ifndef WCSLIB_WCSLIMITS
38#define WCSLIB_WCSLIMITS
39
40// Maximum number of image axes, NAXIS. Limited to 31 by cylfix().
41#define NAXMAX 31
42
43// Maximum number of PVi_ma and PSi_ma keywords. May be changed by wcsnpv().
44extern int NPVMAX;
45extern int NPSMAX;
46
47// Maximum number of DPja or DQia keywords. May be changed by disndp().
48extern int NDPMAX;
49
50#endif // WCSLIB_WCSLIMITS
NDPMAX
int NDPMAX
NPVMAX
int NPVMAX
NPSMAX
int NPSMAX