Skip to main content

NikaMap

Latest Version License Wheels Format pyversions Read the doc

nikamap is a Python package built around ContMap, a general-purpose class for processing and analysing continuum maps from radio/millimetre observatories. It provides beam handling, match-filtering, point-source detection and photometry, and cutout / simultaneous stacking.

For NIKA2 users, nikamap offers first-class support for the FITS data products of both the IDL and PIIC NIKA2 reduction pipelines through NikaMap and NikaFits, thin subclasses of ContMap that handle multi-band files and scan-level jackknife realisations.

Quick start with generic continuum data

from nikamap import ContMap

cm = ContMap.read('mymap.fits')
cm.plot()

Quick start with NIKA2 data

from nikamap import NikaMap

nm = NikaMap.read('map.fits', band='1mm')
nm.plot()

or using the multi-band container:

from nikamap import NikaFits

data = NikaFits.read('map.fits')
data['1mm'].plot()

Read the documentation on readthedoc.

Features

  • reading, slicing, plotting

  • match filtering, point source detection and photometry

  • powspec spectra estimation

  • bootstraping and jackknife

Requirements

You need python 3.10 or later to run nikamap. You will also need numpy, scipy, matplotlib, astropy>=2.0 and photutils>=1.13. The master branch is based on newert photutils API>=1.8, while the tag:0.6 branch follow the old API and python up to 3.8

Installation

nikamap can be installed with

pip install nikamap

But if you prefer to work on the master branch, you can clone the git repository, and install it

git clone https://gitlab.lam.fr/N2CLS/nikamap.git
cd nikamap
pip install -e .

or directly install it from git

pip install git+https://gitlab.lam.fr/N2CLS/nikamap.git

License

This project is licensed under the MIT license.

Travis Master Build AppVeoyr Maintainability Code Health SonarQube

Contributing

See CONTRIBUTING.rst for the development setup, test commands, documentation build, and contribution expectations.

Metadata

Release files for nikamap 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nikamap 1.3
File Size Uploaded Provenance Actions
nikamap-1.3.tar.gz 8.0 MB Without provenance Details for nikamap-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nikamap 1.3
File Interpreter ABI Platform Actions
nikamap-1.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for nikamap-1.3-py2.py3-none-any.whl

Total release size: 8.7 MB

Release files / nikamap-1.3.tar.gz

Download URL nikamap-1.3.tar.gz
Size 8.0 MB
Tags Source
SHA-256 checksum
How to use checksums
45f89a16d77cb7024dccae92dfc8a0f0efbe1712c0d08b92b4a36784ce289a41
BLAKE2b-256 checksum
How to use checksums
89f45a30c38f29955bdfd4647353a0212353a32ac80c6082a07337fbb3ec73a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / nikamap-1.3-py2.py3-none-any.whl

Download URL nikamap-1.3-py2.py3-none-any.whl
Size 664.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0d7339c07a0d8cb5090496c685b1ed8a5d635cc4dbf8e22fdc957dfa29975dc0
BLAKE2b-256 checksum
How to use checksums
0526f2143ccb8851ebea775a503c7f538b01dadffe8b9f8127a44c2ddb64036c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for nikamap 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page