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 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.tar.gz (5.9 MB view hashes)

Uploaded Source

Built Distribution

nikamap-1.2-py2.py3-none-any.whl (5.9 MB view hashes)

Uploaded Python 2 Python 3

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