// Copyright (C) 1999-2018 // Smithsonian Astrophysical Observatory, Cambridge, MA, USA // For conditions of distribution and use, see copyright notice in "copyright" #include "wcsast.h" int wcsSystem(AstFrameSet* ast, Coord::CoordSystem sys) { int nn = astGetI(ast,"nframe"); char cc = ' '; int ww = sys-Coord::WCS; if (ww < 0) return 0; if (ww) cc = ww+'@'; for (int ss=0; ss