Skip to main content

mollview is a command line tool for plotting HEALPix maps from fits files.

Project description

PyPI version Tests

mollview is a command line tool for plotting HEALPix maps from fits files. mollview wraps healpy's read_map and mollview functions. Most mollview keywords are supported (see the documentation for mollview for more information).

Installation

pip install mollview.

Examples

>>> mollview my_map.fits

>>> python -m mollview my_map.fits
>>> mollview --help                           
Usage: mollview [OPTIONS] FILENAME

  Plots a HEALPix map from the commandline given a fits file.

Arguments:
  FILENAME  Name of HEALPIX fits file  [required]

Options:
  --field INTEGER                 Column to read. 0 is I, 1 is Q, and 2 is U
                                  [default: 0]
  --min FLOAT                     Minimum value
  --max FLOAT                     Maximum value
  --norm TEXT                     Normalization method
  --cmap TEXT                     Color map
  --unit TEXT                     Unit
  --title TEXT                    Title
  --save / --no-save              Save the figure  [default: no-save]
  --coord <TEXT TEXT>...          Coordinate system  [default: None, None]
  --cbar / --no-cbar              Show color bar  [default: cbar]
  --notext / --no-notext          Do not show text  [default: no-notext]
  --xsize INTEGER                 Size of the figure  [default: 800]
  --nest / --no-nest              Use NESTED pixel ordering  [default: no-
                                  nest]
  --remove-dip / --no-remove-dip  Remove the dipole  [default: no-remove-dip]
  --gal-cut FLOAT                 Symmetric galactic cut for the
                                  dipole/monopole fit. Removes points in
                                  latitude range [-gal_cut, +gal_cut]
  --remove-mono / --no-remove-mono
                                  Remove the monopole  [default: no-remove-
                                  mono]
  --badcolor TEXT                 Color of bad pixels  [default: gray]
  --help                          Show this message and exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mollview-1.0.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

mollview-1.0.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file mollview-1.0.0.tar.gz.

File metadata

  • Download URL: mollview-1.0.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.16 Darwin/22.3.0

File hashes

Hashes for mollview-1.0.0.tar.gz
Algorithm Hash digest
SHA256 82a501ccec4bdc59bb1e0d8290675063f287f78854f923e682bcbd52533b4317
MD5 4491d21eeccce8cc43095ca5ef21fa66
BLAKE2b-256 22132aa54f8ad7ec6a3e5c6588a60bad98c5f6ab0324b577009a800a3207b374

See more details on using hashes here.

File details

Details for the file mollview-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mollview-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.16 Darwin/22.3.0

File hashes

Hashes for mollview-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7105e05ae5c08922f3194f7290cf012f004de981ba32124791cb8097df434802
MD5 0823de3a742e6faf2009c8f2ea3c9a96
BLAKE2b-256 07e49557f02ae02ca07847b5213e56752949665c901eac419e13ebb7929d9d7f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page