Skip to content

brampf/fitstool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FitsTool

MIT License Swift 5.2

A simple commad line tool to read FITS files

Description

FITSTool is a command line tool to read, manipulate and write files conforming to the FITS 4.0 file format, commonly used to store astronomical data.

FITSCore FITSCore FITSCore
FITSCore FITSKit FITSTool
Fits file format read & write Image rendering & manipulation Command line tool
macOS, iOS & Linux iOS / macCatalyst Linux

Documentation

Usage

OVERVIEW: A Swift command-line tool to process FITS files

USAGE: fitstool <subcommand>

OPTIONS:
  -h, --help              Show help information.

SUBCOMMANDS:
  search (default)        Search through all headers.
  plot                    Plot headers and (optional) tables to stdout.
  verify                  Verify FITS files according to the 4.0 starndard.

  See 'fitstool help <subcommand>' for detailed help.

fitstool search

OVERVIEW: Search through all headers.

USAGE: fitstool search [<term>] [-v] [-r] [<path> ...]

ARGUMENTS:
  <term>                  The string to search for 
  <path>                  The path to the FITS file(s) 

OPTIONS:
  -v                      Show extra logging for debugging purposes 
  -r                      Recursive traversion through directories 
  -h, --help              Show help information.

fitstool plot

OVERVIEW: Plot headers and (optional) tables to stdout.

USAGE: fitstool plot [-t] [-v] [-r] [<path> ...]

ARGUMENTS:
  <path>                  The path to the FITS file(s) 

OPTIONS:
  -t                      Plot content of tables 
  -v                      Show extra logging for debugging purposes 
  -r                      Recursive traversion through directories 
  -h, --help              Show help information.
  

fitstool verify

OVERVIEW: Verify FITS files according to the 4.0 starndard.

USAGE: fitstool verify [-v] [-r] [<path> ...]

ARGUMENTS:
  <path>                  The path to the FITS file(s) 

OPTIONS:
  -v                      Show extra logging for debugging purposes 
  -r                      Recursive traversion through directories 
  -h, --help              Show help information.


License

MIT license; see LICENSE. (c) 2020