Skip to content

IsaacLP/cmbstack

Repository files navigation

Made at Code/Astro PyPI version Python version License: MIT Development Status

cmbstack

Stack patches of the Cosmic Microwave Background (CMB) temperature sky. Go here to see the full documentation and a worked example.

Installation

Install the latest release from PyPI:

pip install cmbstack

Or install the development version from GitHub:

git clone https://github.com/IsaacLP/cmbstack.git
cd cmbstack
pip install -e .

Quick Start

From a power spectrum file:

from cmbstack import StackingPipeline

pipeline = StackingPipeline.from_cl("path/to/spectrum.cl", nside=1024, seed=42)
stacked_result = pipeline.run()

From an existing FITS map:

pipeline = StackingPipeline.from_fits("path/to/map.fits", field=0)
stacked_result = pipeline.run()

From a map array already in memory:

pipeline = StackingPipeline.from_map(sky_map)
stacked_result = pipeline.run()

About

Stack patches of the CMB temperature sky around local maxima

Resources

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages