NAME
astmoctool - Utility for manipulating MOC files using AST
USAGE
Command line options are processed in the order given. These can either be the names of files to read, or options giving other operations to perform. For example to load a file and then display information:
astmoctool MOC.fits --info
Note: AST performs all MOC operations at a particular "MaxOrder" value. This will be determined by the first loaded MOC or can be specified via the "--max-order" option.
OPTIONS
- --info, -i
-
Display information about the current MOC.
- --output, -o FILENAME
-
Write the current MOC to the given file.
- --intersection FILENAME
-
Perform an intersection between the current MOC and the MOC in the given file.
- --subtract FILENAME
-
Subtract the MOC in the given file from the current MOC.
- --show
-
Display a description of the current AST MOC object.
- --max-order
-
Set the maximum order. This must be done before any MOC is loaded.
COPYRIGHT
Copyright (C) 2019-2022 East Asian Observatory All Rights Reserved.
This program 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 3 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, see <http://www.gnu.org/licenses/>.