nikamap: a package to manipulate data produced by the IDL NIKA2 pipeline
Project description
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nikamap-1.2.tar.gz
.
File metadata
- Download URL: nikamap-1.2.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f55a6b732d737541f76344c6a782ec54740ba0c3cd0a054c42959e741e6b7c27 |
|
MD5 | 5a61f06e2f09b6ba3f81e0ccffbb66f7 |
|
BLAKE2b-256 | 02b996552d6385c2bfb4f0c6862bd32abcd16b8c244fc61446b7488b29156c0b |
File details
Details for the file nikamap-1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: nikamap-1.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/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f96f359f80e3c952463c1e9c7ecb340a891b2203667c39b56bbb1d7621ca46c9 |
|
MD5 | d7ef4fd2f238ee0aaa7a3de426e44f32 |
|
BLAKE2b-256 | 3c886eedd2ae0d56299eb2b8ed79236e15acf9d8e38f4912dc448907f78303a0 |