Skip to content

tikk3r/FastFitsCutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast FITS Cutter

Fast FITS Cutter uses the unsafe bindings to CFITSIO from fitsio to quickly make cutouts of FITS images by using the capability of reading only a small region instead of the entire image.

Installation

To install this package, first install CFITSIO e.g. through

dnf install cfitsio cfitsio-devel

Afterwards, simply clone the repository and run

cargo build --release
cargo install --path .

Usage

 Usage: ffc [OPTIONS] --size <SIZE> <FITSIMAGE> 
 Arguments:
  <FITSIMAGE>  Input image to make a cutout out of

Options:
      --ra <RA>                    Right ascension to centre cutout on [default: 0.0]
      --dec <DEC>                  Declination to centre cutout on [default: 0.0]
      --size <SIZE>                Size of the cutout in degrees
      --outfile <OUTFILE>          Name of the output file [default: output]
      --sourcetable <SOURCETABLE>  CSV table to read cutout positions from. Should contain three columns with name, right ascension and declination [default: ]
  -h, --help                       Print help
  -V, --version                    Print version

About

Fast no-nonsense FITS cutter using Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages