Skip to main content

nikamap: a package to manipulate data produced by the IDL NIKA2 pipeline

Project description

Latest Version License Wheels Format pyversions Read the doc

nikamap is a python package to manipulate data produced by the IDL or PIIC NIKA2 pipeline.

from nikamap import NikaMap

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

or alternatively

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

We love contributions! cruft_openastro is open source, built on open source, and we’d love to have you hang out in our community.

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one’s coding skills. Writing perfect code isn’t the measure of a good developer (that would disqualify all of us!); it’s trying to create something, making mistakes, and learning from those mistakes. That’s how we all improve, and we are happy to help others learn.

Being an open source contributor doesn’t just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you’re coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

Note: This disclaimer was originally written by Adrienne Lowe for a PyCon talk, and was adapted by cruft_openastro based on its use in the README file for the MetPy project.

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

nikamap-1.2.2.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nikamap-1.2.2-py2.py3-none-any.whl (5.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file nikamap-1.2.2.tar.gz.

File metadata

  • Download URL: nikamap-1.2.2.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nikamap-1.2.2.tar.gz
Algorithm Hash digest
SHA256 160dd129b024aa3e5da0293aad15b094c661a43962b7103d4ecd96bbef6aff8c
MD5 b39c5cad41e81c22ccf55fd7eb0ace12
BLAKE2b-256 012924bee3868a957fe9beb2e526092fbea77e3a74adb567334e77b7e0c46c20

See more details on using hashes here.

File details

Details for the file nikamap-1.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: nikamap-1.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nikamap-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 417166081495bc312ab5a7055266e43d57d3d3265de2d979ee8103f07406e15e
MD5 6422c3b0648c2ea42067071408bf1d31
BLAKE2b-256 dbd7e116d4b1b5b41b87eb65daa8e779d7f16a317de9937ac6b5cb32eebc5e84

See more details on using hashes here.

Supported by

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