GeoJSON Contours (ligo-skymap-contour)

Create a contours for the credible levels of an all-sky probability map. The input is a HEALPix probability map. The output is a GeoJSON FeatureCollection (

usage: ligo-skymap-contour [-h] [--version]
                           [-l CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET]
                           [-o FILE.geojson] --contour PERCENT [PERCENT ...]
                           [-i {nearest,nested,bilinear}] [-s] [-n NSIDE]

Positional Arguments


Input FITS file

Default: -

Named Arguments


show program’s version number and exit

-l, --loglevel

Default: INFO

-o, --output

output file [default: stdout]

Default: -


plot contour enclosing this percentage of probability mass

-i, --interpolate

Possible choices: nearest, nested, bilinear

resampling interpolation method

Default: “nearest”

-s, --simplify

simplify contour paths

Default: False

-n, --nside

optionally resample to the specified resolution before generating contours