Commit a92cb815 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

last

parent 9efa1873
#!/bin/bash #!/bin/bash
git archive --format=tar --output nilc.tar --prefix=nilc/ HEAD COPYING healpix include lib nilc ./org.css README.org waf wscript git archive --format=tar --output nilc.tar --prefix=nilc/ HEAD COPYING healpix include lib/src nilc ./org.css README.org waf wscript
\ No newline at end of file \ No newline at end of file
...@@ -40,7 +40,7 @@ template <typename T> Status KPMask (arr<T> covers, MapExt<T> &Map, const MapExt ...@@ -40,7 +40,7 @@ template <typename T> Status KPMask (arr<T> covers, MapExt<T> &Map, const MapExt
if ((ncovers == 1 ) && (covers[0]==1)) if ((ncovers == 1 ) && (covers[0]==1))
{ {
Map.fill(0); Map.fill(1);
return 0; return 0;
} }
...@@ -82,7 +82,7 @@ template <typename T> Status KPMask (arr<T> covers, MapExt<T> &Map, const MapExt ...@@ -82,7 +82,7 @@ template <typename T> Status KPMask (arr<T> covers, MapExt<T> &Map, const MapExt
Mask[p] = ncovers; Mask[p] = ncovers;
Map.Import(Mask); Map.Import(Mask);
for (int p=0; p<Map.Npix(); p++) for (int p=0; p<Map.Npix(); p++)
Map[p] = round(Map[p]); Map[p] = round(Map[p])+1;
return 0; return 0;
} }
......
// Copyright (C) (2006-2007) Observatoire de Paris
//
// This file is part of TPCT (Tangent Plane C++ Tools) .
// TPCT 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 2 of the License, or
// (at your option) any later version.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
/*! \file atlasmanager.cpp
* \brief Defines the class AtlasManager
*
* \author Marc Betoule <marc.betoule@wanadoo.fr>
*/
#include "atlasmanager.h" #include "atlasmanager.h"
#include <fstream> #include <fstream>
......
// Copyright (C) (2006-2007) Observatoire de Paris
//
// This file is part of TPCT (Tangent Plane C++ Tools) .
// TPCT 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 2 of the License, or
// (at your option) any later version.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
/*! \file catalog.cpp
* \brief Defines classes to manage point sources catalogs
*
* \author Marc Betoule <betoule@apc.univ-paris7.fr>
*/
#include "catalog.h" #include "catalog.h"
#include "profile.h" #include "profile.h"
......
// Copyright (C) (2006-2007) Observatoire de Paris
//
// This file is part of TPCT (Tangent Plane C++ Tools) .
// TPCT 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 2 of the License, or
// (at your option) any later version.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#include "maptools.h" #include "maptools.h"
#include <algorithm> #include <algorithm>
#include <fitshandle.h> #include <fitshandle.h>
......
// Copyright (C) (2006-2007) Observatoire de Paris
//
// This file is part of TPCT (Tangent Plane C++ Tools) .
// TPCT 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 2 of the License, or
// (at your option) any later version.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#ifndef MAPTOOLS_H #ifndef MAPTOOLS_H
#define MAPTOOLS_H #define MAPTOOLS_H
......
// Copyright (C) (2006) Observatoire de Paris
//
// This file is part of TPCT (Tangent Plane C++ Tools) .
// TPCT 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 2 of the License, or
// (at your option) any later version.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
/*! \file tangentPlane.cpp
* \brief Defines the class TangentPlane and TangentPlaneException
*
* \author Marc Betoule <marc.betoule@wanadoo.fr>
*/
#include "tangentPlane.h" #include "tangentPlane.h"
#include <math.h> #include <math.h>
#include <string> #include <string>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment