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 (http://geojson.org/).
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]
[INPUT.fits[.gz]]
Positional Arguments¶
- INPUT.fits[.gz]
Input FITS file
Default:
-
Named Arguments¶
- --version
show program’s version number and exit
- -l, --loglevel
Default:
INFO
- -o, --output
output file [default: stdout]
Default:
-
- --contour
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